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 (Aaron Levitt) Date: Wed, 14 Jan 2004 15:42:34 -0800 Subject: nrpe 2.0 with AIX 4.3.2 Message-ID: <7473201406D1FE4CBAD4096D6BD1E92108C07A@hqexch01.hq.navis.net> Greets everyone- I'm having some issues getting nrpe to work with AIX 4.3.2. I am in the process of migrating from an older installation of netsaint with nrpep to nagios with nrpe. I have ./configured nrpe with --disable-ssl and I am running it via inetd. However, everything sent to the AIX box is getting a "CHECK_NRPE: Response packet had invalid CRC32." And I'm not sure what I'm missing. The nrpe agent seems to run fine on the AIX box locally, but remotely it's getting that error. I put nrpe in debug mode, and I'm not getting anything logged to syslog and I am capturing everything at debug or higher. I added the port for nrpe to /etc/services and these are the applicable settings in inetd.conf: nrpe stream tcp nowait nobody /usr/sbin/tcpd /sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd I get the same error if I am not using TCP wrappers and these are the settings for nrpep that currently work (which rules out a problem with tcp wrappers): nrpep stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/nrpep -c /usr/local/netsaint/etc/nrpep.cfg Any help would be greatly appreciated! -=Aaron ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 00:40:34 2004 From: jrhett at isite.net (Joe Rhett) Date: Wed, 14 Jan 2004 15:40:34 -0800 Subject: [OT] Posting etiquette [APOLOGY] In-Reply-To: <3927BED6-46C5-11D8-97F1-0030657DF28A@airmail.net> References: <40056E3A.9020101@pbp.net> <3927BED6-46C5-11D8-97F1-0030657DF28A@airmail.net> Message-ID: <20040114234034.GA16643@isite.net> On Wed, Jan 14, 2004 at 01:09:48PM -0600, Michael Tucker wrote: > 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? NICE! Conversation is dead and gone, and here come the insults again. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Jan 15 01:04:21 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 14 Jan 2004 16:04:21 -0800 (PST) Subject: nrpe 2.0 with AIX 4.3.2 In-Reply-To: <7473201406D1FE4CBAD4096D6BD1E92108C07A@hqexch01.hq.navis.net> References: <7473201406D1FE4CBAD4096D6BD1E92108C07A@hqexch01.hq.navis.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This usually implies that the plugin is exiting with a nonstandard (ie 0-3) exit code or does not exist. - -Jason Martin On Wed, 14 Jan 2004, Aaron Levitt wrote: > Greets everyone- > > I'm having some issues getting nrpe to work with AIX 4.3.2. I am in the > process of migrating from an older installation of netsaint with nrpep > to nagios with nrpe. > > I have ./configured nrpe with --disable-ssl and I am running it via > inetd. However, everything sent to the AIX box is getting a > "CHECK_NRPE: Response packet had invalid CRC32." And I'm not sure what > I'm missing. The nrpe agent seems to run fine on the AIX box locally, > but remotely it's getting that error. > > I put nrpe in debug mode, and I'm not getting anything logged to syslog > and I am capturing everything at debug or higher. I added the port for > nrpe to /etc/services and these are the applicable settings in > inetd.conf: > > nrpe stream tcp nowait nobody /usr/sbin/tcpd /sbin/nrpe -c > /usr/local/nagios/etc/nrpe.cfg --inetd > > I get the same error if I am not using TCP wrappers and these are the > settings for nrpep that currently work (which rules out a problem with > tcp wrappers): > > nrpep stream tcp nowait nobody /usr/sbin/tcpd > /usr/sbin/nrpep -c /usr/local/netsaint/etc/nrpep.cfg > > Any help would be greatly appreciated! > > -=Aaron > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFABdkbl2ODWuqVSBMRAp1vAJ9Sf4qEYghJpuYxq6BLxo2Y9iHUtQCeN1b2 KHaqPazkCPH4n5vQWKqD6Mc= =Dw8U -----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 simon at ecnetwork.co.nz Thu Jan 15 01:29:14 2004 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Thu, 15 Jan 2004 13:29:14 +1300 Subject: nrpe 2.0 with AIX 4.3.2 In-Reply-To: References: <7473201406D1FE4CBAD4096D6BD1E92108C07A@hqexch01.hq.navis.net> Message-ID: <1074126553.3542.94.camel@pcsimon.ecnnz.ecnetwork.co.nz> Hi Aaron, Did you see my reply to Mauro on exactly this topic earlier today? > 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. The cause of the rather misleading/uninformative error message is described here: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 Regards, Simon On Thu, 2004-01-15 at 13:04, Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > This usually implies that the plugin is exiting with a nonstandard (ie > 0-3) exit code or does not exist. > > - -Jason Martin > > On Wed, 14 Jan 2004, Aaron Levitt wrote: > > > Greets everyone- > > > > I'm having some issues getting nrpe to work with AIX 4.3.2. I am in the > > process of migrating from an older installation of netsaint with nrpep > > to nagios with nrpe. > > > > I have ./configured nrpe with --disable-ssl and I am running it via > > inetd. However, everything sent to the AIX box is getting a > > "CHECK_NRPE: Response packet had invalid CRC32." And I'm not sure what > > I'm missing. The nrpe agent seems to run fine on the AIX box locally, > > but remotely it's getting that error. > > > > I put nrpe in debug mode, and I'm not getting anything logged to syslog > > and I am capturing everything at debug or higher. I added the port for > > nrpe to /etc/services and these are the applicable settings in > > inetd.conf: > > > > nrpe stream tcp nowait nobody /usr/sbin/tcpd /sbin/nrpe -c > > /usr/local/nagios/etc/nrpe.cfg --inetd > > > > I get the same error if I am not using TCP wrappers and these are the > > settings for nrpep that currently work (which rules out a problem with > > tcp wrappers): > > > > nrpep stream tcp nowait nobody /usr/sbin/tcpd > > /usr/sbin/nrpep -c /usr/local/netsaint/etc/nrpep.cfg > > > > Any help would be greatly appreciated! > > > > -=Aaron > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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/ > > iD8DBQFABdkbl2ODWuqVSBMRAp1vAJ9Sf4qEYghJpuYxq6BLxo2Y9iHUtQCeN1b2 > KHaqPazkCPH4n5vQWKqD6Mc= > =Dw8U > -----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 > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwhuff at ucdavis.edu Thu Jan 15 01:55:13 2004 From: rwhuff at ucdavis.edu (Ron Huff) Date: Wed, 14 Jan 2004 16:55:13 -0800 Subject: extended information handling... Message-ID: <200401150056.i0F0u2LM017267@pop17.ucdavis.edu> I've set up a RHE 2.1 system with nagios 1.1 and the 1.3.1 plugins. right now I have most of the core functionality working on a small subset of the network; this is the test-and-learn phase...got the Indiana University stuff too, but so far I'm only using a couple of their plugins. I can get nagios to use my custom display in statusmap.cgi as far as layout is councerned, using: hostextinfo.cfg/cgi.cfg BUT, it will NOT pick up my custom icons; I'm using .gif files for now. I have used (mostly) default pathing for the setup: /usr/local/nagios/share/images/logos/... That's where the .gif files are... Like I said, nagios is picking up my 2D map...but using nothing but default images??!?! What have I missed? - Ron Huff / UCD NOC ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Thu Jan 15 02:32:59 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 15 Jan 2004 01:32:59 +0000 Subject: extended information handling... In-Reply-To: <200401150056.i0F0u2LM017267@pop17.ucdavis.edu> References: <200401150056.i0F0u2LM017267@pop17.ucdavis.edu> Message-ID: <20040115013301.9141.qmail@minnow.softflare.net> Ron Huff writes: > Like I said, nagios is picking up my 2D map...but using nothing but > default images??!?! What have I missed? You could have made all sorts of errors in the format of your hostextinfo file. But the thing that bit me was that the internal format of GD images (recommended for use in status maps to reduce CPU load) can change subtly between versions of GD. If you convert your images to GD format on a machine with a different version of GD to the machine running Nagios (particularly if the the machine doing the conversion is running a later version of GD) then it is quite possible that Nagios will be unable to display the images and will use the defaults instead. If you didn't do so, convert the images to GD format on the machine running Nagios and see if that fixes things. -- 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 Thu Jan 15 03:43:55 2004 From: cjdock at excite.com (ChuckDock) Date: Wed, 14 Jan 2004 21:43:55 -0500 (EST) Subject: [OT] Posting etiquette [APOLOGY] Message-ID: <20040115024355.08690BFDB@xprdmailfe13.nwk.excite.com> Mike, shut the hell up and get over it, I'm sick of seeing your crap on this list. Get a clue jackass --- On Wed 01/14, Joe Rhett < jrhett at isite.net > wrote: From: Joe Rhett [mailto: jrhett at isite.net] To: mtucker at airmail.net Cc: nagios-users at lists.sourceforge.net Date: Wed, 14 Jan 2004 15:40:34 -0800 Subject: Re: [Nagios-users] [OT] Posting etiquette [APOLOGY] On Wed, Jan 14, 2004 at 01:09:48PM -0600, Michael Tucker wrote:
> 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?

NICE! Conversation is dead and gone, and here come the insults again.



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce /loadprog.html
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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 jamie.baddeley at vpc.co.nz Thu Jan 15 06:52:10 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 15 Jan 2004 18:52:10 +1300 Subject: 2.0? In-Reply-To: <40059C37.3020907@rockriver.net> References: <40059C37.3020907@rockriver.net> Message-ID: <1074145933.1522.2.camel@munter> install nag1.1. A lot of the concepts are portable, plus 2.0 is a little way off. nag2 ain't *that* different. (apart from servicegroups which IMHO is cool) jump right in. jamie On Thu, 2004-01-15 at 08:44, Roger wrote: > 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 > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 08:52:46 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 15 Jan 2004 01:52:46 -0600 Subject: passive service checks, check that data is sent as it should In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A17F@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A17F@mismail2.ena.com> Message-ID: <20040115075246.28459.qmail@restricted.dyndns.org> Hey guys, Is there any other advantage of passive checks against active checks other than firewall issues fix? Thanks. Ronneil Marc Powell writes: > 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 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at neuwied.de Thu Jan 15 12:14:20 2004 From: dtuecks at neuwied.de (Daniel Tuecks) Date: Thu, 15 Jan 2004 12:14:20 +0100 Subject: Nagios 2.0 Servicegroups Message-ID: <20040115T121420Z_BD3300140000@neuwied.de> Hi I recently installed Nagios 2.0 CVS. Now I'd like to try the servicegroups, but unfortunally I can't find out how... Is there any documentation I haven't found yet? I also can't access the "Servicegroups Overview/Summary/Grid" in my webinterface ("It appears as though you do not have permission to view information ...") although my cgi.cfg is configured as follows: use_authentication=1 authorized_for_system_information=* authorized_for_configuration_information=* authorized_for_system_commands=* authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=* authorized_for_all_host_commands=* --Daniel ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 14:33:29 2004 From: Thomas.Schweikle at fiducia.de (Thomas.Schweikle at fiducia.de) Date: Thu, 15 Jan 2004 14:33:29 +0100 Subject: check_nt and "Connection refused by host" Message-ID: Hi! I am trying to check if the terminal services are running on a Windows 2000 sever. I am using the command: /usr/lib/nagios/plugins/check_nt -H xcnlm04s.fag.fiducia.de -p 1248 -v SERVICESTATE -d SHOWALL -l TermService Connection refused by host But this is answered with "Connection refused". What do I have to do to make it work? -- 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 Karl.Yost at mptotalcare.com Thu Jan 15 14:49:41 2004 From: Karl.Yost at mptotalcare.com (Yost, Karl) Date: Thu, 15 Jan 2004 08:49:41 -0500 Subject: check_nt and "Connection refused by host" Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF7C0@em_exchange.express-med.com> Thomas.Schweikle at fiducia.de wrote: > Hi! > > I am trying to check if the terminal services are running on a > Windows 2000 sever. I am using the command: > > /usr/lib/nagios/plugins/check_nt -H xcnlm04s.fag.fiducia.de -p 1248 > -v SERVICESTATE -d SHOWALL -l TermService Connection refused by host > > But this is answered with "Connection refused". What do I have to do > to make it work? > > Presuming you are using NS client, I would setup a checkcommand as follows : # 'check_nt_service' command definition define command{ command_name check_nt_service command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ } Then you service check would be something like this: # Service definition for Terminal Service Check define service{ use generic-service ; Name of service template to use host_name host1 service_description Terminal Service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c check_command check_nt_service!TermService } ***** 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 BolducB at brandonrha.mb.ca Thu Jan 15 15:23:51 2004 From: BolducB at brandonrha.mb.ca (Bolduc, Blair) Date: Thu, 15 Jan 2004 08:23:51 -0600 Subject: strange cgi/hostextinfo behavior Message-ID: <2600AAE14FB2CB449B1DA853FFF558760260E5E4@brha-exch-2k.brandonrha.mb.ca> I am about a month into getting nagios 1.1 set up with mysql 4.0.17 on a RH9 machine and using nagmin 2.0.6 to set things up. Everything is working really well except that 3 (and only three) of the 50 devices I currently have configured will not take the ext host info and display the proper icon on the statusmap. It's a mild annoyance and not critically important, but I was wondering if anyone else has encountered this. Even if I delete the three culprits, restart (they disappear from map) and recreate them - they still come up with the same icon (win40.gd2). I've looked at the cfg files and the mysql tables for any incorrect info but have not found anything that shouldn't be there. Anyone??? Suggestions?? Blair Bolduc Operations/Monitoring, Information Technology Brandon Regional Health Authority "CONFIDENTIALITY NOTICE: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient you are hereby notified that any distribution, copying, disclosure and use of, or reliance on the contents of this transmission is strictly prohibited. If you have received this transmission in error, please notify us immediately by return e-mail and destroy the transmission by deleting the original message, attachments and all copies." ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 16:24:29 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Thu, 15 Jan 2004 16:24:29 +0100 Subject: check_rrd_data.pl In-Reply-To: <012801c3db62$4e40bf90$2605020a@enlacesbqt> References: <012801c3db62$4e40bf90$2605020a@enlacesbqt> Message-ID: i don't find the file 'File.pm', maybe an old version i have modified 'check_rrd_data.pl' with: require '/your_path/libexec/utils.pm'; use RRDs; #use RRD::File; it's good? thanks JJ -----Message d'origine----- De : Jeyri bautista [mailto:jbautista at intercable.net.ve] Envoy? : jeudi 15 janvier 2004 13:23 ? : Jean-Jacques.siquet; Marcio Queiroz; 'Francois JEANMOUGIN' Cc : Subhendu Ghosh Objet : Re: [Nagios-users] check_rrd_data.pl The problem is that the RRD/File.pm (perl library) isn?t installed, download from www.cpan.org, later be sure that the permissions to the file.pm be the correct, because one time I had this problem and I had installed the library but the permissions was incorrect. Jeyri bautista ----- Original Message ----- From: "Jean-Jacques.siquet" To: "Marcio Queiroz" ; "'Francois JEANMOUGIN'" ; Cc: "Subhendu Ghosh" Sent: Wednesday, January 14, 2004 11:01 AM Subject: [Nagios-users] check_rrd_data.pl > 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 ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 16:47:29 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Thu, 15 Jan 2004 16:47:29 +0100 Subject: check_rrd_data.pl In-Reply-To: References: Message-ID: not the solution where is the lib on internet? -----Message d'origine----- De : Jean-Jacques.siquet [mailto:Jean-Jacques.siquet at experian.fr] Envoy? : jeudi 15 janvier 2004 16:24 ? : Jeyri bautista; Marcio Queiroz; nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] check_rrd_data.pl Importance : Haute i don't find the file 'File.pm', maybe an old version i have modified 'check_rrd_data.pl' with: require '/your_path/libexec/utils.pm'; use RRDs; #use RRD::File; it's good? thanks JJ -----Message d'origine----- De : Jeyri bautista [mailto:jbautista at intercable.net.ve] Envoy? : jeudi 15 janvier 2004 13:23 ? : Jean-Jacques.siquet; Marcio Queiroz; 'Francois JEANMOUGIN' Cc : Subhendu Ghosh Objet : Re: [Nagios-users] check_rrd_data.pl The problem is that the RRD/File.pm (perl library) isn?t installed, download from www.cpan.org, later be sure that the permissions to the file.pm be the correct, because one time I had this problem and I had installed the library but the permissions was incorrect. Jeyri bautista ----- Original Message ----- From: "Jean-Jacques.siquet" To: "Marcio Queiroz" ; "'Francois JEANMOUGIN'" ; Cc: "Subhendu Ghosh" Sent: Wednesday, January 14, 2004 11:01 AM Subject: [Nagios-users] check_rrd_data.pl > 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marlon at propus.com.br Thu Jan 15 16:51:17 2004 From: marlon at propus.com.br (Marlon Dutra) Date: Thu, 15 Jan 2004 11:51:17 -0400 Subject: i18n Message-ID: <20040115155117.GB1637@debian-rs.org> Hey guys, This is my first post to this list. I've looked for messages in the archives talking about i18n in Nagios, but I haven't found anything. Is there an idea (TODO?) to internationalize Nagios? I think it would be very interesting and a goal to the project. I'd be the first person to make a translation, into pt_BR (Brazil). Regards. -- MARLON DUTRA Propus GnuPG ID: 0x3E2060AC pgp.mit.edu http://www.propus.com.br/ http://hackers.propus.com.br/~marlon/ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 16:50:40 2004 From: cgill at newworldapps.com (Chris Gill) Date: Thu, 15 Jan 2004 10:50:40 -0500 Subject: Nagios zombies take down system. Message-ID: <211FA8F7D88B7A43AA24C138502259780608CC@nwa-dcsrv-01.newworldapps.com> Hello all, I've got a problem I've been wrestling with for a couple weeks now. A new monitoring server we're deploying winds up freezing overnight. This seems to be the result of check modules going zombie and hanging around. The machine becomes exceedingly slow and effectively unresponsive. The thing that really gets me is that this is a slow process. The machine usually runs, nice and snappy, for 12-18 hours. I've tried tuning the service_reaper setting and set it down to 2, which seems to help some but not enough to make the system stable. In addition to the zombied checks, I've also got a number of nagios processes left lying about, even after doing a nagios stop and killing all the bad checks. A sample from ps -xa 1770 tty1 S 0:00 /sbin/mingetty tty1 1771 tty2 S 0:00 /sbin/mingetty tty2 1772 tty3 S 0:00 /sbin/mingetty tty3 1773 tty4 S 0:00 /sbin/mingetty tty4 1774 tty5 S 0:00 /sbin/mingetty tty5 1781 tty6 S 0:00 /sbin/mingetty tty6 3635 ? SW 0:02 [nagios] 17743 ? S 0:01 /usr/bin/python /usr/local/sbin/nagios-statd -a 127.0 32158 ? SW 0:00 [nagios] 32547 ? SW 0:00 [nagios] 32588 ? SW 0:00 [nagios] 521 ? SW 0:00 [nagios] 524 ? SW 0:00 [nagios] 568 ? SW 0:00 [nagios] 571 ? Z 0:00 [nagios ] 621 ? SW 0:00 [nagios] 10854 ? S 0:00 [httpd] 11007 ? S 0:00 [httpd] 21525 ? SW 0:00 [httpd] 2524 ? SW 0:00 [httpd] 2859 ? SW 0:00 [httpd] 5372 ? R 0:00 /usr/sbin/sshd 5728 pts/0 S 0:00 -bash 8841 ? SW 0:00 [httpd] 9086 ? SW 0:00 [httpd] 9900 pts/0 R 0:00 ps -xa Here's what uptime had to say when I finally got into the box this morning: 09:50:52 up 23:59, 1 user, load average: 24.28, 37.35, 66.70 Getting all the bad nagios stuff killed off does get the system righted. It's running 150 hosts with 219 checks, so this seems like a small install, compared to what I've read about some people doing. The system's a dual P3 800 running Redhat 9. I've used RH9 before on other monitoring systems without any problems, although without quite so many checks, and on less powerful machines. I can provide clips from my nagios.conf if that'd help, but I don't want to load up this e-mail too much. Any ideas would be appreciated, as they would help me from ripping all my hair out. Thanks. ----------------------------------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 (Cell/Business) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16:56:54 2004 From: marc at ena.com (Marc Powell) Date: Thu, 15 Jan 2004 09:56:54 -0600 Subject: setup problems Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A181@mismail2.ena.com> andy shared with us: > Hi there, Im am trying to set up nagios and have been reasonably > successful with it so far. > However, I have come accross an issue I cant find any info on in the > FAQ so Ill ask here. > > I get this in the nagios logs: > > [1074161796] Error: Invalid hostgroup object directive > 'contact_groups'. [1074161796] Error: Could not add object property > in file '/usr/local/nagios/etc/hostgroups.cfg' on line 24. [snip] > > Error: Invalid hostgroup object directive 'contact_groups'. > write_to_console() end > write_to_logs_and_console() end > write_to_logs_and_console() start > write_to_all_logs() start > write_to_syslog() start > write_to_log() start > write_to_all_logs() end > write_to_console() start > Error: Could not add object property in file > '/usr/local/nagios/etc/hostgroups.cfg' on line 24. > > > I have grepped the src for contact_groups and its there, so it is > meant to be there. > > Anyone got any idea's as to why these errors are occuring? > It sounds like you might be using 2.0alpha out of CVS. Contact_groups are no longer valid objects in hostgroup definitions -- http://cvs.sourceforge.net/viewcvs.py/*checkout*/nagios/nagios/html/docs /xodtemplate.html#hostgroup If you are, and you're asking this question, you should probably be aware that 2.0 is not complete yet, especially the documentation so YMMV. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 17:12:19 2004 From: nagios at planetsphinx.com (Mike Cannon) Date: Thu, 15 Jan 2004 10:12:19 -0600 (CST) Subject: How To use User-defined coordinates In-Reply-To: <1074025770.11343.1090.camel@unixgod.hq.nasa.gov> References: <22645.204.96.220.49.1074024441.squirrel@www.planetsphinx.com> <1074025770.11343.1090.camel@unixgod.hq.nasa.gov> Message-ID: <24322.204.96.220.49.1074183139.squirrel@www.planetsphinx.com> What do you mean you don't think I'm looking at the user definable settings? That's the question I asked about.. is there an easier way than the "2d_coords".. but I do have a question for you.. Are you using the "3d_coords" user definable setting? If so I can see a few examples? (like your first few parent coordinates off the nagios process..?) Mike C > 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! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at neuwied.de Thu Jan 15 18:09:18 2004 From: dtuecks at neuwied.de (Daniel Tuecks) Date: Thu, 15 Jan 2004 18:09:18 +0100 Subject: Antw: Service group definition ? References: 0689F.CNM30299887 Message-ID: <20040115T180918Z_BD3300140000@neuwied.de> Hi Romain As far as I know "members" must be defined as follows: sample: -------- define servicegroup{ servicegroup_name PING alias PING members server1,ping,server2,ping,server3,ping } -- Daniel >>> Romain DEGEZ 09.01.2004 19:03:38 >>> 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 18:13:49 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 15 Jan 2004 11:13:49 -0600 Subject: user defined coordinates Message-ID: <20040115171349.85864.qmail@restricted.dyndns.org> Good day guys, Please help, I cannot find the tutorial about user defined coordinates for map. And also, if it's ok, can someone send me a sample screenshot of your map so I can have a better idea on how I will layout mine. Thanks in advance. neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cory.Hollingsworth at pima.edu Thu Jan 15 16:59:29 2004 From: Cory.Hollingsworth at pima.edu (Cory Hollingsworth) Date: Thu, 15 Jan 2004 08:59:29 -0700 Subject: Combining services for one histogram Message-ID: <7eb9be7e711e.7e711e7eb9be@pima.edu> I've set up Nagios 1.1 to monitor a variety of services in our DMZ. I would like to set up a host type for each high level service so we can get a histogram of the high level service. For instance, email consists of 47 separate services I'm monitoring with Nagios spread across 5 machines. I'd like to set up a single service which will be registered as critical if any of the 47 services that make up EMail register as critical. I've tried setting up servicedependency's but have had no luck yet at getting the desired behavior. Does someone know of a good way of doing this in Nagios. At this point the only thing I can think of doing is write my own check which will redundantly check the 47 services and give an OK or critical based on it's result, but that seem inefficient. Any one else trying to do this with Nagios? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Jan 15 18:32:35 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 15 Jan 2004 10:32:35 -0700 Subject: user defined coordinates Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F21C@golden-m.mactec.com> > Please help, I cannot find the tutorial about user defined > coordinates for map. And also, if it's ok, can someone send me a > sample screenshot of your map so I can have a better idea on how I > will layout mine. > > Thanks in advance. > > neil On Monday, 1/12/04, at 2:52PM, I sent a message to the list with a subject of 'RE: [Nagios-users] RE: Nagios Status Map - Center of the universe'. This email had two partial statusmap images attached. You should be able to locate it in the archive. HTH Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 18:44:21 2004 From: grunky at rockriver.net (Roger) Date: Thu, 15 Jan 2004 11:44:21 -0600 Subject: 2.0? In-Reply-To: <1074145933.1522.2.camel@munter> References: <40059C37.3020907@rockriver.net> <1074145933.1522.2.camel@munter> Message-ID: <4006D175.4030201@rockriver.net> Jamie Baddeley wrote: >install nag1.1. A lot of the concepts are portable, plus 2.0 is a little >way off. nag2 ain't *that* different. (apart from servicegroups which >IMHO is cool) > >jump right in. > > Hey thanks. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jan 15 18:43:48 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 15 Jan 2004 11:43:48 -0600 Subject: setup problems In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A181@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A181@mismail2.ena.com> Message-ID: <1074188628.23349.133.camel@localhost> On Thu, 2004-01-15 at 09:56, Marc Powell wrote: > It sounds like you might be using 2.0alpha out of CVS. Contact_groups > are no longer valid objects in hostgroup definitions -- contact_groups are still in the hostgroups.cfg-sample file, notably. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Thu Jan 15 18:43:39 2004 From: twelsh at square-box.com (Tom Welsh) Date: Thu, 15 Jan 2004 17:43:39 +0000 Subject: user defined coordinates In-Reply-To: <20040115171349.85864.qmail@restricted.dyndns.org> References: <20040115171349.85864.qmail@restricted.dyndns.org> Message-ID: <20040115174339.1310.qmail@pod-163.dolphin-server.co.uk> Have you loked at our demo? http://nagios.square-box.com Login/Password both guest We are not using User defined co-ordinates but you will see we are ysing parents to break out the network Cheers Tom Welsh Neil writes: > Good day guys, > > Please help, I cannot find the tutorial about user defined coordinates for > map. And also, if it's ok, can someone send me a sample screenshot of your > map so I can have a better idea on how I will layout mine. > > Thanks in advance. > > neil > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18:47:24 2004 From: marc at ena.com (Marc Powell) Date: Thu, 15 Jan 2004 11:47:24 -0600 Subject: Combining services for one histogram Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A185@mismail2.ena.com> Cory Hollingsworth shared with us: > I've set up Nagios 1.1 to monitor a variety of services in our DMZ. > I would like to set up a host type for each high level service so we > can get a histogram of the high level service. > > For instance, email consists of 47 separate services I'm monitoring > with Nagios spread across 5 machines. I'd like to set up a single > service which will be registered as critical if any of the 47 > services that make up EMail register as critical. > > I've tried setting up servicedependency's but have had no luck yet at > getting the desired behavior. > > Does someone know of a good way of doing this in Nagios. At this > point the only thing I can think of doing is write my own check which > will redundantly check the 47 services and give an OK or critical > based on it's result, but that seem inefficient. > > Any one else trying to do this with Nagios? You're looking for check_cluster. It's in CVS in the contrib folder. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18:50:33 2004 From: marc at ena.com (Marc Powell) Date: Thu, 15 Jan 2004 11:50:33 -0600 Subject: Combining services for one histogram Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A186@mismail2.ena.com> Cory Hollingsworth shared with us: > I've set up Nagios 1.1 to monitor a variety of services in our DMZ. > I would like to set up a host type for each high level service so we > can get a histogram of the high level service. > Sorry for the followup. I really meant to say it's in nagios-plugins >= 1.3.0 ;) -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 19:35:27 2004 From: Karl.Yost at mptotalcare.com (Yost, Karl) Date: Thu, 15 Jan 2004 13:35:27 -0500 Subject: APAN Error Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF7C3@em_exchange.express-med.com> I am getting the following error from APAN "Disk utilization: Invalid host name 'emfs3'", in the debug file I find the following Thu Jan 15 13:43:05 EST 2004 Args: nt-disk emfs3 Disk-usage 1074192185 85 90 Could not insert '' , '1074192185' into /usr/local/nagios/rrd/emfs3-Disk-usage.rrd I have gone over and over this and I can't figure out where the problem is. Below are my cfg files. Any help would be greatly appreciated. # Service definition define service{ use generic-service ; Name of service template to use host_name emfs3 service_description Disk-usage is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nt-admins notification_interval 120 check_command apan!nt-disk!85!90 } # 'check_apan' command definition define command { command_name apan command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ } # 'emfs3' host definition define host{ use generic-host ; Name of host template to use host_name emfs3 alias Wink-2k-File-Server address 10.1.1.87 parents emswitch2 check_command check-host-alive max_check_attempts 10 notification_interval 30 notification_period 24x7 notification_options d,u,r } define serviceextinfo{ host_name emfs3 service_description Disk-usage notes_url /nagios/cgi-bin/apan.cgi?host=emfs3&service=Disk-usage icon_image graph.png icon_image_alt View graphs } Apan.cfg emfs3;Disk-usage;/usr/local/nagios/rrd/emfs3-Disk-usage.rrd;d|e;d-used:AREA d-free:STACK e-used:AREA e-free:STACK;Disk usage;Bytes ;-l 1 -b 1024 RRD file created with (the file is there with correct r/w perms - rrdtool create /usr/local/nagios/rrd/emfs3-Disk-usage.rrd -s 60 DS:d-used:GAUGE:300:0:U DS:d-free:GAUGE:300:0:U DS:e-used:GAUGE:300:0:U DS:e-free:GAUGE:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 Thanks, Karl ***** 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 nagios at muck.net Thu Jan 15 20:26:10 2004 From: nagios at muck.net (Doug Peterson) Date: Thu, 15 Jan 2004 11:26:10 -0800 Subject: Questions on compilation, plugins, and trending.. Message-ID: Howdy -- New user.. I'm reading through all the docs I can, but if I ask a dumb question, please just give me a gentle push in the direction of the docs :)) Question 1) While compiling nagios 1.1 (redhat 7.1), even though I didn't specify jpeg support, and jpeg support was not found (because I don't have libjpeg!), every time I went to compile nagios CGI's it would complain about an undefined reference to ImageCreateFromJpeg.. So in cgi/statusmap.c I commented out line 2221 and 2222: else if(!strcasecmp(ext,".jpg") || !strcasecmp(ext,".jpeg")) im=gdImageCreateFromJpeg(fp); As long as I don't want jpeg's, that won't be a problem right? There should be no problems using png's exclusively right? :) Question 2) I'm now about to install plugin's, and the RPM installed them in a directory structure other than /usr/local/nagios (where my install is located).. so I uninstalled that, and downloaded the source.. and I notice that the default is to use directories other than /usr/local/nagios as well.. is this ok? will nagios find them? Should I set the prefix to /usr/local/nagios ? Question 3) One of the things I would like to do with nagios is trend stats from servers over time.. so I want to poll windows CPU utilization via SNMP every 5 seconds, log it, and be able to pull it up in 6 months to get a report... and show what the CPU utilization was.. not just if it went over a threshold.. I realize this will be disk heavy.. Is this possible, and if so, mind pointing me in the right direction? Question 4) If I'm going to be holding a ton of stats, I might want to switch over to logging everything in mySQL (or SQL Server?).. Is there a tutorial someplace online abouts toring this info in MYSQL? Thanks! :) -- Doug Peterson ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 21:29:47 2004 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Fri, 16 Jan 2004 09:29:47 +1300 Subject: nrpe 2.0 with AIX 4.3.2 In-Reply-To: <4006D6B1.40105@lehigh.edu> References: <7473201406D1FE4CBAD4096D6BD1E92108C07A@hqexch01.hq.navis.net> <1074126553.3542.94.camel@pcsimon.ecnnz.ecnetwork.co.nz> <4006D6B1.40105@lehigh.edu> Message-ID: <1074198586.15326.169.camel@pcsimon.ecnnz.ecnetwork.co.nz> On Fri, 2004-01-16 at 07:06, Wayne Mery wrote: > Simon Kitching wrote: > > > > The cause of the rather misleading/uninformative error message is > > described here: > > http://sourceforge.net/mailarchive/message.php?msg_id=6818296 > > FWR, this link on longer pulls an article. Hmm .. looks like the entire nagios-users mail archive at sourceforge is gone! It worked yesterday.. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 15 23:47:44 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 15 Jan 2004 16:47:44 -0600 Subject: statd on solaris Message-ID: <20040115224744.20324.qmail@restricted.dyndns.org> hi guys, I only have just read about statd to monitor solaris' diskspace, cpu and so on. But my question is, is this statd ready for production? Does it have any remote vulnerability? Please send me some inputs of how you think about statd daemon. Thanks in advance. neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 01:46:49 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 15 Jan 2004 19:46:49 -0500 (EST) Subject: check_rrd_data.pl In-Reply-To: References: Message-ID: RRD/File.pm is a library that is shipped with Cricket (cricket.sf.net) and is not avaiable via CPAN). The dependency should probably be changed... -sg On Thu, 15 Jan 2004, Jean-Jacques.siquet wrote: > not the solution > > where is the lib on internet? > > -----Message d'origine----- > De : Jean-Jacques.siquet [mailto:Jean-Jacques.siquet at experian.fr] > Envoy? : jeudi 15 janvier 2004 16:24 > ? : Jeyri bautista; Marcio Queiroz; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] check_rrd_data.pl > Importance : Haute > > > i don't find the file 'File.pm', maybe an old version > > i have modified 'check_rrd_data.pl' with: > > require '/your_path/libexec/utils.pm'; > use RRDs; > #use RRD::File; > > it's good? > > > thanks > > JJ > > > > -----Message d'origine----- > De : Jeyri bautista [mailto:jbautista at intercable.net.ve] > Envoy? : jeudi 15 janvier 2004 13:23 > ? : Jean-Jacques.siquet; Marcio Queiroz; 'Francois JEANMOUGIN' > Cc : Subhendu Ghosh > Objet : Re: [Nagios-users] check_rrd_data.pl > > > The problem is that the RRD/File.pm (perl library) isn?t installed, download > from www.cpan.org, later be sure that the permissions to the file.pm be the > correct, because one time I had this problem and I had installed the library > but the permissions was incorrect. > > Jeyri bautista > > ----- Original Message ----- > From: "Jean-Jacques.siquet" > To: "Marcio Queiroz" ; "'Francois JEANMOUGIN'" > ; > > Cc: "Subhendu Ghosh" > Sent: Wednesday, January 14, 2004 11:01 AM > Subject: [Nagios-users] check_rrd_data.pl > > > > 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 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bdunn at rdac.com.au Fri Jan 16 04:13:47 2004 From: bdunn at rdac.com.au (Brad Dunn) Date: Fri, 16 Jan 2004 11:13:47 +0800 Subject: Statusmap./ Message-ID: <47287D7F1C9A1C4B99EB7D407FCEE69601667A@rdaex01.rdac.com.au> Hi, I've got the ever so usual "cant view status map" problem. I had a similar problem a long time ago but it's a different system now and I've got a different problem. I think it's actually related to the zlib library. Anyway.. The OS is rh9, nagios 1.0 Nagios is working fine, the stausmap.cgi and trends.cgi are installed fine, except the images are broken I'm assuming due to library problems. As it currently stands. I have run the following to see if my libraries are ok. ldconfig -v > check.txt Ive grepped this file and it seems the following exsist. libgd.so.1.8 -> libgd.so.1.8.4 libpng12.so.0 -> libpng12.so.0.1.2.2 libjpeg.so.62 -> libjpeg.so.62.0.0 however I cant see any zlib libraries. I have checked /etc/ld.so.conf /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib And none of those directories contain any zlib files. I did a locate for zlib /usr/lib/python2.2/lib-dynload/zlibmodule.so /usr/lib/python2.2/test/output/test_zlib /usr/lib/python2.2/test/test_zlib.py /usr/lib/python2.2/encodings/zlib_codec.py /usr/lib/python2.2/encodings/zlib_codec.pyc /usr/lib/python2.2/encodings/zlib_codec.pyo /usr/share/doc/zlib-1.1.4 /usr/share/doc/zlib-1.1.4/README /usr/share/doc/zlib-devel-1.1.4 /usr/share/doc/zlib-devel-1.1.4/algorithm.txt /usr/share/doc/zlib-devel-1.1.4/ChangeLog /usr/share/doc/zlib-devel-1.1.4/example.c /usr/share/doc/zlib-devel-1.1.4/minigzip.c /usr/share/man/man3/zlib.3.gz /usr/include/zlib.h /home/brad/nagios_image_librarys/zlib-1.2.0.7-2.i386.rpm /lib/modules/2.4.20-8/kernel/lib/zlib_deflate /lib/modules/2.4.20-8/kernel/lib/zlib_deflate/zlib_deflate.o And I'm slightly unsure about if its installed properly, or even if it's the correct version. I've tried adding what I thought might be the correct directories into ld.so.conf Eg the /usr/include/ and even gave /usr/lib/python2.2/lib-dynload/ directories but they didn't seem to help. When I ran the configure including --with-gd-lib=LIBDIR --with-gd-inc=INCDIR I did notice one thing that makes me think it might not be zlib, It displays checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no is this stating that the libpng files arnt correct or something? anyway, any help anyone could give me in locating whats wrong with my libraries I would be in debt. Thanks again. - Brad Dunn ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 04:26:42 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Thu, 15 Jan 2004 20:26:42 -0700 Subject: Statusmap./ References: <47287D7F1C9A1C4B99EB7D407FCEE69601667A@rdaex01.rdac.com.au> Message-ID: <000901c3dbe0$8f901e90$0200000a@digitalmarauder.com> Why not just go install zlib from source & recompile nagios? http://www.gzip.org/zlib/ Jeff ----- Original Message ----- From: "Brad Dunn" To: Sent: Thursday, January 15, 2004 20:13 Subject: [Nagios-users] Statusmap./ Hi, I've got the ever so usual "cant view status map" problem. I had a similar problem a long time ago but it's a different system now and I've got a different problem. I think it's actually related to the zlib library. Anyway.. The OS is rh9, nagios 1.0 Nagios is working fine, the stausmap.cgi and trends.cgi are installed fine, except the images are broken I'm assuming due to library problems. As it currently stands. I have run the following to see if my libraries are ok. ldconfig -v > check.txt Ive grepped this file and it seems the following exsist. libgd.so.1.8 -> libgd.so.1.8.4 libpng12.so.0 -> libpng12.so.0.1.2.2 libjpeg.so.62 -> libjpeg.so.62.0.0 however I cant see any zlib libraries. I have checked /etc/ld.so.conf /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib And none of those directories contain any zlib files. I did a locate for zlib /usr/lib/python2.2/lib-dynload/zlibmodule.so /usr/lib/python2.2/test/output/test_zlib /usr/lib/python2.2/test/test_zlib.py /usr/lib/python2.2/encodings/zlib_codec.py /usr/lib/python2.2/encodings/zlib_codec.pyc /usr/lib/python2.2/encodings/zlib_codec.pyo /usr/share/doc/zlib-1.1.4 /usr/share/doc/zlib-1.1.4/README /usr/share/doc/zlib-devel-1.1.4 /usr/share/doc/zlib-devel-1.1.4/algorithm.txt /usr/share/doc/zlib-devel-1.1.4/ChangeLog /usr/share/doc/zlib-devel-1.1.4/example.c /usr/share/doc/zlib-devel-1.1.4/minigzip.c /usr/share/man/man3/zlib.3.gz /usr/include/zlib.h /home/brad/nagios_image_librarys/zlib-1.2.0.7-2.i386.rpm /lib/modules/2.4.20-8/kernel/lib/zlib_deflate /lib/modules/2.4.20-8/kernel/lib/zlib_deflate/zlib_deflate.o And I'm slightly unsure about if its installed properly, or even if it's the correct version. I've tried adding what I thought might be the correct directories into ld.so.conf Eg the /usr/include/ and even gave /usr/lib/python2.2/lib-dynload/ directories but they didn't seem to help. When I ran the configure including --with-gd-lib=LIBDIR --with-gd-inc=INCDIR I did notice one thing that makes me think it might not be zlib, It displays checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no is this stating that the libpng files arnt correct or something? anyway, any help anyone could give me in locating whats wrong with my libraries I would be in debt. Thanks again. - Brad Dunn ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jan 16 05:51:20 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 16 Jan 2004 15:51:20 +1100 Subject: Statusmap - gd problem. In-Reply-To: <200401160409.i0G4984D026055@figg.securenet.com.au>; from nagios-users-request@lists.sourceforge.net on Thu, Jan 15, 2004 at 08:01:43PM -0800 References: <200401160409.i0G4984D026055@figg.securenet.com.au> Message-ID: <20040116155115.D77374@IPAustralia.Gov.AU> Dear SIr, I am writing to thank you for your letter and say, On Thu, Jan 15, 2004 at 08:01:43PM -0800, nagios-users-request at lists.sourceforge.net wrote: > ----- Original Message ----- > From: "Brad Dunn" > To: > Subject: [Nagios-users] Statusmap./ > > > Hi, > > I've got the ever so usual "cant view status map" problem. I had a > similar problem a long time ago but it's a different system now and I've > got a different problem. > > I did notice one thing that makes me think it might not be zlib, > > It displays > > checking for gdImagePng in -lgd (order 1)... no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > This is the key observation (although there may be other problems). Configure confirms the lib/header locations by compiling a few lines of code using the paths it found in the gcc options (-I -L -l) . If it fails, it means that either the libraries _or_ headers are not where it thought they were or there is another problem (perhaps with autoconf, but this is almost certainly not the problem here). Is it psssible that you have a system without the gd headers ? I have heard it said that one must install the devel RPMS to get the headers (so that you can compile against the lib rather than using it). You may want to check that the function gdImagePng _is_ in the libs that ldconfig says it is eg eg on this non RH system FreeBSD 4.9 October 3, 1993 FreeBSD 4.9 tsitc> ldconfig -r | grep -i gd 115:-lgdk12.2 => /usr/X11R6/lib/libgdk12.so.2 126:-lgdbm.2 => /usr/local/lib/libgdbm.so.2 128:-lgd.2 => /usr/local/lib/libgd.so.2 148:-lgd.0 => /usr/local/lib/compat/pkg/libgd.so.0 tsitc> nm /usr/local/lib/libgd.so.2 | grep gdImagePng 00008d60 T gdImagePng 00008dfc T gdImagePngCtx 00008da4 T gdImagePngPtr 0000826c T gdImagePngToSink tsitc> When you see T you are in luck, U means out of it. 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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jan 16 06:02:36 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 16 Jan 2004 16:02:36 +1100 Subject: The polite way to use gdb on Nagios. Message-ID: <20040116160234.F77374@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, Please would some helpful person share some clues about the use of gdb with Nagios ? I would like to examine code in base/checks.c that is run by child processes. Even with 'follow-fork-mode' set (to either child or parent), the only code that gdb wants to know about is that run by the parent. Set the pid to 0 ? The gdb tutorials I have found don't seem helpful. Are the debugging #ifdefs/configure --DEBUGn the only way ? Thank you, Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 08:30:09 2004 From: mauog at interfree.it (Mauro) Date: Fri, 16 Jan 2004 08:30:09 +0100 Subject: Passing ARGS to checkcommand Message-ID: <001a01c3dc02$92232d10$5dc810ac@graitmgatt> I use chek_oracle plugin to test some oracle istances. I use nrpe to do check on remote host because I haven't oracle on my nagios host. So I defined one service and one check command for each oracle istance: define service{ ... check_command check_oracle_login_istance1 ... } define command{ command_name check_oracle_login_istance1 command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c check_oracle_login -a ISTANCE1 } So I must have an entry in service.cfg and in checkcommands.cfg for each istance. It is possible to pass some arguments to check command to have only one entry in checkcommands.cfg and multiple entry in services.cfg (somthing like where $ARG1$ is equal then "ISTANCE1")? define service{ ... check_command check_oracle_login ISTANCE1 ... } define command{ command_name check_oracle_login command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c check_oracle_login -a $ARG1$ } Thank You Mauro -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.koch at eurodata.de Fri Jan 16 09:02:01 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Fri, 16 Jan 2004 09:02:01 +0100 Subject: Passing ARGS to checkcommand In-Reply-To: <001a01c3dc02$92232d10$5dc810ac@graitmgatt> References: <001a01c3dc02$92232d10$5dc810ac@graitmgatt> Message-ID: <1074240121.11132.8.camel@dresden.eurodata.de> Hello Mauro, Am Fr, den 16.01.2004 schrieb Mauro um 08:30: > I use chek_oracle plugin to test some oracle istances. > I use nrpe to do check on remote host because I haven't oracle on my > nagios host. > So I defined one service and one check command for each oracle > istance: > > > > define service{ > ... > check_command check_oracle_login_istance1 > ... > } > > > > > define command{ > command_name check_oracle_login_istance1 > command_line /usr/local/nagios/libexec/check_nrpe -H > $HOSTADDRESS$ -c check_oracle_login -a ISTANCE1 > } > That is Correct that you run the check on the Server. > So I must have an entry in service.cfg and in checkcommands.cfg for > each istance. > It is possible to pass some arguments to check command to have only > one entry in checkcommands.cfg and multiple entry in services.cfg > (somthing like where $ARG1$ is equal then "ISTANCE1")? > > > > define service{ > ... > check_command check_oracle_login ISTANCE1 > ... > } you must try this: check_oracle_login!ISTANCE1 > > > > > define command{ > command_name check_oracle_login > command_line /usr/local/nagios/libexec/check_nrpe -H > $HOSTADDRESS$ -c check_oracle_login -a $ARG1$ > } > > > > Thank You > > > Mauro Andreas > -- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jan 16 10:06:22 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 16 Jan 2004 20:06:22 +1100 Subject: The polite way to use gdb on Nagios. Message-ID: <20040116200620.A231@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, Debugging Nagios with gdb is facilitated by using gdb's "set" facility to set the variable containing the pid to zero. For example it is as easy as setting a breakpoint at checks.c:276 and then 'set pid = 0'. Gdb then happily executes the child logic. Sorry for the noise. -- ------------------------------------------------------------------------ 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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 11:28:17 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Fri, 16 Jan 2004 05:28:17 -0500 Subject: Ping WARNING and CRITICAL Message-ID: <000601c3dc1b$748a8a50$513a6618@netcraftinc.int> I read at post at one time as to how to implement WARNINGS and CRITICAL status when PING (ICMP) either drops enough packets or has longer latency. Searching through the archives I have been unsuccessful at find how to implement this in the configuration files. The only item found was: check_ping!100.0,20%!500.0,60% What is the correct syntax and where do I specify this? Thank you, Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at neuwied.de Fri Jan 16 11:44:54 2004 From: dtuecks at neuwied.de (Daniel Tuecks) Date: Fri, 16 Jan 2004 11:44:54 +0100 Subject: Antw: Ping WARNING and CRITICAL References: 0D859.CNM30305BC3 Message-ID: <20040116T114454Z_BD3300140000@neuwied.de> HI check_ping is a "checkcommand" (see checkcommands.cfg) used in your services.cfg file: sample: define service{ use generic-service host_name someserver service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups somegroup notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ping!100.0,20%!500.0,60% } see the last line? this is how you implement check_ping. The default syntax of check_ping is: check_ping!warningRTA,warningPacketDrop!criticalRTA,criticalPacketDrop hope this helps... btw you can find most of this in the nagios-docs :) --Daniel >>> Frank Pikelner 16.01.2004 11:28:17 >>> I read at post at one time as to how to implement WARNINGS and CRITICAL status when PING (ICMP) either drops enough packets or has longer latency. Searching through the archives I have been unsuccessful at find how to implement this in the configuration files. The only item found was: check_ping!100.0,20%!500.0,60% What is the correct syntax and where do I specify this? Thank you, Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Jan 16 11:48:28 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 16 Jan 2004 10:48:28 +0000 Subject: Ping WARNING and CRITICAL In-Reply-To: <000601c3dc1b$748a8a50$513a6618@netcraftinc.int> References: <000601c3dc1b$748a8a50$513a6618@netcraftinc.int> Message-ID: <4007C17C.8080301@exponential-e.com> Frank Pikelner wrote: > I read at post at one time as to how to implement WARNINGS and CRITICAL > status when PING (ICMP) either drops enough packets or has longer latency. > Searching through the archives I have been unsuccessful at find how to > implement this in the configuration files. The only item found was: > > check_ping!100.0,20%!500.0,60% > > What is the correct syntax and where do I specify this? Does the info below help? # ./check_ping --help check_ping (nagios-plugins 1.3.0) 1.11 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 1999-2001 Ethan Galstad/Karl DeBisschop Use ping to check connection statistics for a remote host. Usage: check_ping -H -w ,%% -c ,%% [-p packets] [-t timeout] [-L] check_ping (-h | --help) for detailed help check_ping (-V | --version) for version information Options: -H, --hostname=HOST host to ping -w, --warning=THRESHOLD warning threshold pair -c, --critical=THRESHOLD critical threshold pair -p, --packets=INTEGER number of ICMP ECHO packets to send (Default: 5) -t, --timeout=INTEGER optional specified timeout in second (Default: 10) -L, --link show HTML in the plugin output (obsoleted by urlize) THRESHOLD is ,% where is the round trip average travel time (ms) which triggers a WARNING or CRITICAL state, and is the percentage of packet loss to trigger an alarm state. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 12:22:27 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Fri, 16 Jan 2004 12:22:27 +0100 Subject: nsca Message-ID: <5.0.2.1.2.20040116121619.022f3060@195.220.107.3> hi i have a ngios server and a redundancy server i do it like in the doc all seems to work fine the central server give the second status of hosts and services but all host and services appears in green in the web interface i have for exemple PING OK last_check duration attempt CRITICAL Plugin timed out after 10 seconds and that the same for all host and services in the logs i have line like this date EXTERNAL COMMAND PROCESS_SERVICE_CHECK_RESULT machine PING;0;CRITICAL - Plugins times out after 10 seconds thanks for help me i don t understand ( maybe it s normal ) basile ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 13:43:29 2004 From: extern.Lars.Oeschey at audi.de (extern.Lars.Oeschey at audi.de) Date: Fri, 16 Jan 2004 13:43:29 +0100 Subject: nagmin verify error Message-ID: <3A51ADC7DE201748AE224D58A8CA83B502256F83@deaudiis1127.audi.de> > Error: Could not add object property in file > '/usr/local/nagmin/nagios/Command.cfg' on line 71. I tried like five installs/setup of nagmin, never got it to work, and usually it's because of the same error you get. It seems that the reading of the config files during setup isn't error free, and there are linebreaks inserted into the database, which shouldn't. Also the handling of generating tables during setup never worked for me (take alone the fact that "nagmin_drop.sql" never drops the databse itself, but "nagmin_load.sql" tries to create the database. To me that all looks still buggy, and i'm leaving it alone for now. Lars ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Fri Jan 16 15:36:30 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 16 Jan 2004 06:36:30 -0800 Subject: statd on solaris In-Reply-To: <20040115224744.20324.qmail@restricted.dyndns.org> References: <20040115224744.20324.qmail@restricted.dyndns.org> Message-ID: <1074263789.2000.195.camel@sabaki.dcs.uci.edu> On Thu, 2004-01-15 at 14:47, Neil wrote: > hi guys, > > I only have just read about statd to monitor solaris' diskspace, cpu and so > on. But my question is, is this statd ready for production? Does it have any > remote vulnerability? Please send me some inputs of how you think about > statd daemon. statd != rstatd. I believe statd is the one that's part of NFS, and rstatd is the one you use for monitoring statistics remotely. I believe both have probably had security problems at some time in the past, but if you stay up to date on patches, Bob's yer Uncle. I believe neither have had as many problems as sendmail or ethereal or KDE. > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From strombrg at dcs.nac.uci.edu Fri Jan 16 15:52:24 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 16 Jan 2004 06:52:24 -0800 Subject: The polite way to use gdb on Nagios. In-Reply-To: <20040116160234.F77374@IPAustralia.Gov.AU> References: <20040116160234.F77374@IPAustralia.Gov.AU> Message-ID: <1074264744.2000.205.camel@sabaki.dcs.uci.edu> On Thu, 2004-01-15 at 21:02, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > > > > Please would some helpful person share some clues about the use of gdb > with Nagios ? > > I would like to examine code in base/checks.c that is run by child > processes. > > Even with 'follow-fork-mode' set (to either child or parent), the only > code that gdb wants to know about is that run by the parent. > > Set the pid to 0 ? > > The gdb tutorials I have found don't seem helpful. > > Are the debugging #ifdefs/configure --DEBUGn the only way ? > > > > Thank you, > > Yours sincerely. Hm. Not sure about convincing gdb to follow forks, but what if you make a shell wrapper for the process you want to monitor? Like say you want to monitor foo. Then mv foo to foo.bin, and create a "foo" shell script that gdb's foo.bin. You may have to redirect all I/O from and to a tty. You for this you can: 1) Start an xterm (or rxvt, or gnome-terminal, or konsole or whatever) 2) Inside that xterm, say "tty". For the sake of discussion, say the output is "/dev/tty06". 3) Then in foo, use "gdb /path/to/foo.bin > /dev/tty06 2>&1 < /dev/tty06" ...or something like that. :) I wouldn't be terribly surprised if using gdb this way makes nagios trigger a timeout somewhere though. -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From thilanka at sbcglobal.net Fri Jan 16 15:54:40 2004 From: thilanka at sbcglobal.net (Thilanka Samarasekera) Date: Fri, 16 Jan 2004 06:54:40 -0800 (PST) Subject: Quick question Message-ID: <20040116145440.99030.qmail@web80011.mail.yahoo.com> I am new to this monitoring tool. And I have tried various ways to install this but something is not quite right. Can someone lend a hand to this newbie. Thanks in advance. I ran the command: # ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios As you can see everything is default values, and I get this: *** Configuration summary for nagios 1.1 06-02-2003 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios// CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. htmurl doesn't seem to be right with two trailing slashes. My other question is in the httpd.conf, can you Alias any directory ( not within the htdocs on apache ) to be your htmurl as I have done? Or does it have to be inside the htdocs folder ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From thilanka at sbcglobal.net Fri Jan 16 15:46:35 2004 From: thilanka at sbcglobal.net (Thilanka) Date: Fri, 16 Jan 2004 14:46:35 +0000 (UTC) Subject: Installations Message-ID: Simple question. If this sounds like a newbie question, you are right I have not used nagios before and I am a newbie. 1. should the htmurl be some location inside the htdocs folder ? Or can it be anywhere on the box as long as the folder /usr/local/nagios is owned by nagios? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 16:20:47 2004 From: marc at ena.com (Marc Powell) Date: Fri, 16 Jan 2004 09:20:47 -0600 Subject: Installations Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A18E@mismail2.ena.com> Thilanka shared with us: > 1. should the htmurl be some location inside the htdocs folder ? Or > can it be > > anywhere on the box as long as the folder /usr/local/nagios is owned > by nagios? It doesn't really matter where it's at physically on the machine as long as you tell your web server how to get to it. As far as compilation, it should be relative to how you'll get to it via URL. The CGI's use it to create the necessary backreferences and links to other pages in Nagios. General practice is to have everything under /user/local/nagios on the file system. http://nagios.example.foo/ (virtual hosting) htmurl=/ http://www.example.foo/nagios htmurl=/nagios http://www.example.foo/webpages/nagios htmurl=/webpages/nagios -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 16:28:12 2004 From: marc at ena.com (Marc Powell) Date: Fri, 16 Jan 2004 09:28:12 -0600 Subject: Quick question Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A18F@mismail2.ena.com> _____ From: Thilanka Samarasekera [mailto:thilanka at sbcglobal.net] Sent: Friday, January 16, 2004 8:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Quick question I am new to this monitoring tool. And I have tried various ways to install this but something is not quite right. Can someone lend a hand to this newbie. Thanks in advance. I ran the command: # ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios [snip] ------------------------ HTML URL: http://localhost/nagios// CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ [snip] htmurl doesn't seem to be right with two trailing slashes. My other question is in the httpd.conf, can you Alias any directory ( not within the htdocs on apache ) to be your htmurl as I have done? Or does it have to be inside the htdocs folder ? change --with-htmurl=/nagios without the trailing slash (it really doesn't make that big of a difference though). Your Alias can point to any directory as long as apache has the permissions to read the files within it. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco at sd.com Fri Jan 16 16:45:37 2004 From: marco at sd.com (Marco Supino) Date: Fri, 16 Jan 2004 17:45:37 +0200 Subject: Flap detection ignored Message-ID: <40080721.1040704@sd.com> Hi, I have a problem with the flap detection, its enabled in the nagios.cfg file, and a general template enables it for most services, i have two services which i have specificaly defined flap detection off, still, they both enter the "service flapping" state if the status changes too often, in the "view config", i can see that the services have "No" in the flap detection table, Anyone has this working like it should be ? Marco. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 17:34:33 2004 From: alevitt at navis.com (Aaron Levitt) Date: Fri, 16 Jan 2004 08:34:33 -0800 Subject: nrpe 2.0 with AIX 4.3.2 Message-ID: <7473201406D1FE4CBAD4096D6BD1E92108C07C@hqexch01.hq.navis.net> Unfortunately, I didn't see it, and this article (along with the rest of the list archive) no longer seems to exist on sourceforge. However, if you could give me the subject of the thread I could probably locate it in the gmane archive. Thanks! -=Aaron -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Simon Kitching Sent: Wednesday, January 14, 2004 4:29 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nrpe 2.0 with AIX 4.3.2 Hi Aaron, Did you see my reply to Mauro on exactly this topic earlier today? > 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. The cause of the rather misleading/uninformative error message is described here: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 Regards, Simon On Thu, 2004-01-15 at 13:04, Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > This usually implies that the plugin is exiting with a nonstandard (ie > 0-3) exit code or does not exist. > > - -Jason Martin > > On Wed, 14 Jan 2004, Aaron Levitt wrote: > > > Greets everyone- > > > > I'm having some issues getting nrpe to work with AIX 4.3.2. I am in the > > process of migrating from an older installation of netsaint with nrpep > > to nagios with nrpe. > > > > I have ./configured nrpe with --disable-ssl and I am running it via > > inetd. However, everything sent to the AIX box is getting a > > "CHECK_NRPE: Response packet had invalid CRC32." And I'm not sure what > > I'm missing. The nrpe agent seems to run fine on the AIX box locally, > > but remotely it's getting that error. > > > > I put nrpe in debug mode, and I'm not getting anything logged to syslog > > and I am capturing everything at debug or higher. I added the port for > > nrpe to /etc/services and these are the applicable settings in > > inetd.conf: > > > > nrpe stream tcp nowait nobody /usr/sbin/tcpd /sbin/nrpe -c > > /usr/local/nagios/etc/nrpe.cfg --inetd > > > > I get the same error if I am not using TCP wrappers and these are the > > settings for nrpep that currently work (which rules out a problem with > > tcp wrappers): > > > > nrpep stream tcp nowait nobody /usr/sbin/tcpd > > /usr/sbin/nrpep -c /usr/local/netsaint/etc/nrpep.cfg > > > > Any help would be greatly appreciated! > > > > -=Aaron > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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/ > > iD8DBQFABdkbl2ODWuqVSBMRAp1vAJ9Sf4qEYghJpuYxq6BLxo2Y9iHUtQCeN1b2 > KHaqPazkCPH4n5vQWKqD6Mc= > =Dw8U > -----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 > ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 17:49:29 2004 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 16 Jan 2004 14:49:29 -0200 Subject: RES: check_rrd_data.pl Message-ID: Jean, i use this two files that i found in the internet. I thought that was a problem in my instalation, but it seens it?s not. Just copy then to the RRD directory in any of the path listsed below. IF RRD does not exist, just creat it. <> Sorry for the delay, but i was out of the office. 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: Jean-Jacques.siquet [SMTP:Jean-Jacques.siquet at experian.fr] > Enviada em: quarta-feira, 14 de janeiro de 2004 13:01 > Para: Marcio Queiroz; 'Francois JEANMOUGIN'; > nagios-users at lists.sourceforge.net > Cc: Subhendu Ghosh > Assunto: check_rrd_data.pl > Prioridade: Alta > > 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: pms.zip Type: application/octet-stream Size: 5637 bytes Desc: not available URL: From thilanka at sbcglobal.net Fri Jan 16 18:40:57 2004 From: thilanka at sbcglobal.net (Thilanka Samarasekera) Date: Fri, 16 Jan 2004 09:40:57 -0800 (PST) Subject: help Message-ID: <20040116174057.98521.qmail@web80009.mail.yahoo.com> First of all thanks for answering my question. I appreciate you taking the time to help me understand somethings. I have a follow-up question. Following are all the apache processes that are running. And as you can see apache is running as user nobody. nobody 326 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 335 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 331 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 327 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 325 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 326 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 335 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 331 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 798 319 0 Jan 06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL nobody 3173 319 0 16:13:06 ? 0:00 /opt/csw/apache/bin/httpd -DSSL Here are the permissions on the "/usr/local/nagios" folder: drwxr-xr-x 9 nagios nagios 512 Jan 15 15:38 nagios And these are the permissions on the folders that are inside the nagios folder: drwxrwxr-x 2 nagios nagios 512 Jan 16 10:39 bin drwxrwxr-x 2 nagios nagios 512 Jan 16 10:58 etc drwxr-xr-x 2 root other 512 Jan 15 17:19 lib drwxr-xr-x 2 root other 1024 Jan 15 17:19 libexec drwxrwxr-x 2 nagios nagios 512 Jan 16 10:40 sbin drwxrwxr-x 9 nagios nagios 512 Jan 16 10:40 share drwxrwxr-x 4 nagios nagios 512 Jan 14 16:52 var So my question is, are these permissions set correctly. I have not edited any permissions and this is the way how it looks when I have completed the installation of the core nagios program....................before I install the plugins. Any help would be appreciated. Regards, Thilanka -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwhuff at ucdavis.edu Fri Jan 16 18:52:09 2004 From: rwhuff at ucdavis.edu (Ron Huff) Date: Fri, 16 Jan 2004 09:52:09 -0800 Subject: extended information handling... In-Reply-To: <20040115013301.9141.qmail@minnow.softflare.net> References: <200401150056.i0F0u2LM017267@pop17.ucdavis.edu> <20040115013301.9141.qmail@minnow.softflare.net> Message-ID: <200401161752.i0GHqsLM029408@pop17.ucdavis.edu> Thanks for you quick reply to my iocn-display-problem; it was indeed an image-format issue, but this is what I found: ...nagios could not properly display .gif or .jpg images (these worked just fine in the browser); as soon as I supplied .png, my icons were displayed correctly; haven't gotten to .gd2 yet. I'm be using the extended info handling to display custom icons and provide links to 'more info' ...thanks again. - Ron Huff > You could have made all sorts of errors in the format of your > hostextinfo file. But the thing that bit me was that the internal > format of GD images (recommended for use in status maps to reduce > CPU load) can change subtly between versions of GD. If you convert > your images to GD format on a machine with a different version of > GD to the machine running Nagios (particularly if the the machine > doing the conversion is running a later version of GD) then it is quite > possible that Nagios will be unable to display the images and will use > the defaults instead. > > If you didn't do so, convert the images to GD format on the machine > running Nagios and see if that fixes things. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlacey at cybermesa.com Fri Jan 16 19:06:51 2004 From: dlacey at cybermesa.com (Dan Lacey) Date: Fri, 16 Jan 2004 11:06:51 -0700 Subject: nagmin verify error In-Reply-To: <3A51ADC7DE201748AE224D58A8CA83B502256F83@deaudiis1127.audi.de> References: <3A51ADC7DE201748AE224D58A8CA83B502256F83@deaudiis1127.audi.de> Message-ID: <4008283B.90608@cybermesa.com> extern.Lars.Oeschey at audi.de wrote: >>Error: Could not add object property in file >>'/usr/local/nagmin/nagios/Command.cfg' on line 71. >> >> > >I tried like five installs/setup of nagmin, never got it to work, and >usually it's because of the same error you get. It seems that the reading of >the config files during setup isn't error free, and there are linebreaks >inserted into the database, which shouldn't. Also the handling of generating >tables during setup never worked for me (take alone the fact that >"nagmin_drop.sql" never drops the databse itself, but "nagmin_load.sql" >tries to create the database. To me that all looks still buggy, and i'm >leaving it alone for now. > >Lars > > > > I had the same problems. I edited the .sql files generated by the config script and ran the them from the command line. Then I restarted the script and answered no when the script tried to create the DB. After that, it was pretty easy sailing!!! Well worth the effort! I am now struggling with using the DB to log instead of files. I believe that it is sorta working.... Anybody got this to work??? I read the docs and followed directions, but it doesn't seem to be updating all the fields... Later, Dan -- Dan Lacey Cyber Mesa Computer Systems 1830 Fifth Street Santa Fe, New Mexico 87505 505 988-9200 Voice 505 988-8875 Fax ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bst0ver at comcast.net Fri Jan 16 20:24:44 2004 From: bst0ver at comcast.net (Sillz <-----) Date: Fri, 16 Jan 2004 11:24:44 -0800 Subject: Plugin: To Confirm SMTP Mail Delivery Message-ID: <002f01c3dc66$65dc30d0$9532010a@norcalmutual.com> Does anyone out there know of a plugin that will actually send a mail to a test account on regular intervals then confirm the delivery? I'm using NAGIOS v1, and it works great for service and process checks, but I need something to actually confirm delivery and receipt. I'm not a programmer, so I can't really write something of my own. Any help would be appreciated. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 20:27:11 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 13:27:11 -0600 Subject: fast reboot Message-ID: <20040116192711.1260.qmail@restricted.dyndns.org> hey guys, what if we are monitoring a server in the interval of 2 minutes then the server we are monitoring went down but was able to reboot in just 45 seconds? How does nagios takes care of this situation? Thanks. neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Jan 16 20:32:21 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 16 Jan 2004 11:32:21 -0800 (PST) Subject: fast reboot In-Reply-To: <20040116192711.1260.qmail@restricted.dyndns.org> References: <20040116192711.1260.qmail@restricted.dyndns.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nagios would not know of the failure, unless you wrote a plugin that detected that the uptime timer reset. - -Jason Martin On Fri, 16 Jan 2004, Neil wrote: > hey guys, > > what if we are monitoring a server in the interval of 2 minutes then the > server we are monitoring went down but was able to reboot in just 45 > seconds? How does nagios takes care of this situation? > > Thanks. > > neil > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFACDxRl2ODWuqVSBMRAgVKAJ9J5I+f8DXRX9TfMIrPRKpyWrv9EACeOelv mJGAI0P0E8ViOinP/afIRR8= =KObj -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 20:40:34 2004 From: marc at ena.com (Marc Powell) Date: Fri, 16 Jan 2004 13:40:34 -0600 Subject: fast reboot Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A198@mismail2.ena.com> -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Friday, January 16, 2004 1:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] fast reboot hey guys, what if we are monitoring a server in the interval of 2 minutes then the server we are monitoring went down but was able to reboot in just 45 seconds? How does nagios takes care of this situation? Chances are great that nagios wouldn't even notice. A check would have to occur within that 45 second window to fail once. Assuming that you have a max_check_attempts of 1 then nagios would flag it as critical, but on the next check it would be OK. IANAStatistician, but I think there's a 1 in 3 chance that nagios would be checking when the service was down during that 2 minute window. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 20:58:55 2004 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 16 Jan 2004 13:58:55 -0600 Subject: fast reboot In-Reply-To: <20040116192711.1260.qmail@restricted.dyndns.org> References: <20040116192711.1260.qmail@restricted.dyndns.org> Message-ID: <6A3C3291-485E-11D8-97DD-0030657DF28A@airmail.net> On Friday, January 16, 2004, at 01:27 PM, Neil wrote: > hey guys, > what if we are monitoring a server in the interval of 2 minutes then > the server we are monitoring went down but was able to reboot in just > 45 seconds? How does nagios takes care of this situation? > Thanks. > neil > You could create a service to report the system's uptime. If the number is small (indicating a reboot), issue an alert. You didn't say what OS the monitored server is running; if it's a flavor of Unix, you can use the "uptime" command. Just a thought. Yours, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 20:58:33 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 13:58:33 -0600 Subject: fast reboot In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A198@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A198@mismail2.ena.com> Message-ID: <20040116195833.4620.qmail@restricted.dyndns.org> Am I correct that nagios doesn't implement queueing system when doing the checks? What I mean here is that, nagios can check different machines or services at the same time (parallelized). Thanks. Marc Powell writes: > > > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Friday, January 16, 2004 1:27 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] fast reboot > > hey guys, > > what if we are monitoring a server in the interval of 2 minutes then the > server we are monitoring went down but was able to reboot in just 45 > seconds? How does nagios takes care of this situation? > > Chances are great that nagios wouldn't even notice. A check would have > to occur within that 45 second window to fail once. Assuming that you > have a max_check_attempts of 1 then nagios would flag it as critical, > but on the next check it would be OK. IANAStatistician, but I think > there's a 1 in 3 chance that nagios would be checking when the service > was down during that 2 minute window. > > -- > Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 21:01:48 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 14:01:48 -0600 Subject: fast reboot In-Reply-To: <6A3C3291-485E-11D8-97DD-0030657DF28A@airmail.net> References: <6A3C3291-485E-11D8-97DD-0030657DF28A@airmail.net> Message-ID: <20040116200148.4986.qmail@restricted.dyndns.org> This would be nice. Btw guys, I am post another mail about NRPE. Michael Tucker writes: > On Friday, January 16, 2004, at 01:27 PM, Neil wrote: > >> hey guys, >> what if we are monitoring a server in the interval of 2 minutes then the >> server we are monitoring went down but was able to reboot in just 45 >> seconds? How does nagios takes care of this situation? >> Thanks. >> neil >> > > You could create a service to report the system's uptime. If the number is > small (indicating a reboot), issue an alert. You didn't say what OS the > monitored server is running; if it's a flavor of Unix, you can use the > "uptime" command. > > Just a thought. > > Yours, > Michael > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 21:08:10 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 14:08:10 -0600 Subject: nrpe on Microsoft machines Message-ID: <20040116200810.5652.qmail@restricted.dyndns.org> It's me again. I have question about security in NRPE service on windows machines. Nagios is getting good visibility in where I work. But their concern is that it's opensource. What can you say guys about NRPE service? What's the best way of protecting it? The reason I am asking this is because, nagios will be monitoring production servers. And also, rstatd on solaris. Our solaris are in production too. What can you say about security issues in rstatd if there are? Are there any other alternatives to monitor solaris cpu, disk, etc? Thanks guys for your help. neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 21:12:54 2004 From: marc at ena.com (Marc Powell) Date: Fri, 16 Jan 2004 14:12:54 -0600 Subject: fast reboot Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A199@mismail2.ena.com> -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Friday, January 16, 2004 1:59 PM To: Marc Powell Cc: nagios-users at lists.sourceforge.net Subject: Re: fast reboot Am I correct that nagios doesn't implement queueing system when doing the checks? What I mean here is that, nagios can check different machines or services at the same time (parallelized). >marc> Yes, max_concurrent_checks in nagios.cfg controls parallelization. Run 'nagios -s /path/to/nagios.cfg' to get a recommended value. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Fri Jan 16 21:13:27 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Fri, 16 Jan 2004 15:13:27 -0500 Subject: fast reboot Message-ID: Mine can check on multiple things at once. If I look at the process list in the command line I can sometimes see nagios pinging a few hosts at the same time. -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Friday, January 16, 2004 2:59 PM To: Marc Powell Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: fast reboot Am I correct that nagios doesn't implement queueing system when doing the checks? What I mean here is that, nagios can check different machines or services at the same time (parallelized). Thanks. Marc Powell writes: > > > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Friday, January 16, 2004 1:27 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] fast reboot > > hey guys, > > what if we are monitoring a server in the interval of 2 minutes then > the server we are monitoring went down but was able to reboot in just > 45 seconds? How does nagios takes care of this situation? > > Chances are great that nagios wouldn't even notice. A check would have > to occur within that 45 second window to fail once. Assuming that you > have a max_check_attempts of 1 then nagios would flag it as critical, > but on the next check it would be OK. IANAStatistician, but I think > there's a 1 in 3 chance that nagios would be checking when the service > was down during that 2 minute window. > > -- > Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Fri Jan 16 21:14:14 2004 From: PShelfo at embrex.com (Pete Shelfo) Date: Fri, 16 Jan 2004 15:14:14 -0500 Subject: Forum Access Error Message-ID: <7D2C8C6CF98C7F4C9FC0DE4E5ACEC617CADECF@mail01.embrex.com> When I try to access the Nagios forums for searching I keep receiving the following error for the past week: ERROR Forum no found Has anything changed? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Fri Jan 16 21:14:21 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Fri, 16 Jan 2004 15:14:21 -0500 Subject: Nice feature... Message-ID: Just like downtime, except for contacts... if a contact will be unavailable or on vacation or something, you could schedule "downtime" for that contact, so they won't receive notifications. Optionally provide a contact who will "cover" for him. ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Fri Jan 16 21:18:10 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 16 Jan 2004 14:18:10 -0600 Subject: fast reboot In-Reply-To: <20040116195833.4620.qmail@restricted.dyndns.org> References: <370ACCFA5BB3B346A31222E5559BF91F03A198@mismail2.ena.com> <20040116195833.4620.qmail@restricted.dyndns.org> Message-ID: <1074284290.25032.151.camel@localhost> On Fri, 2004-01-16 at 13:58, Neil wrote: > Am I correct that nagios doesn't implement queueing system when doing the > checks? What I mean here is that, nagios can check different machines or > services at the same time (parallelized). Yes. max_concurrent_checks in nagios.cfg ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 21:23:51 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 14:23:51 -0600 Subject: fast reboot In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A199@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A199@mismail2.ena.com> Message-ID: <20040116202351.7325.qmail@restricted.dyndns.org> Marc Powell writes: > > Yes, max_concurrent_checks in nagios.cfg controls parallelization. Run > 'nagios -s /path/to/nagios.cfg' to get a recommended value. > This is cool. Here is what I got: SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 66 Total hosts: 26 Command check interval: -1 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 241.818 sec Inter-check delay: 3.664 sec Interleave factor method: SMART Average services per host: 2.538 Service interleave factor: 3 Initial service check scheduling info: -------------------------------------- First scheduled check: 1074284209 -> Fri Jan 16 14:16:49 2004 Last scheduled check: 1074284447 -> Fri Jan 16 14:20:47 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 3 Recommend value: 9 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 21:54:08 2004 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 16 Jan 2004 14:54:08 -0600 Subject: nrpe on Microsoft machines In-Reply-To: <20040116200810.5652.qmail@restricted.dyndns.org> References: <20040116200810.5652.qmail@restricted.dyndns.org> Message-ID: <214B03E5-4866-11D8-97DD-0030657DF28A@airmail.net> On Friday, January 16, 2004, at 02:08 PM, Neil wrote: > It's me again. I have question about security in NRPE service on > windows machines. Nagios is getting good visibility in where I work. > But their concern is that it's opensource. What can you say guys about > NRPE service? What's the best way of protecting it? The reason I am > asking this is because, nagios will be monitoring production servers. Under Unix, nrpe can be run under inetd; so you have the benefit of tcp wrappers to improve security (a little). In theory, you also have SSL security available, which would be very nice; but in practice, I have been unable to get that to work (for Solaris 9). Under Windows, I have to leave that answer to someone else. :-) > And also, rstatd on solaris. Our solaris are in production too. What > can you say about security issues in rstatd if there are? Are there > any other alternatives to monitor solaris cpu, disk, etc? > Thanks guys for your help. > neil > As of 1997, there was a well-documented vulnerability in statd/rstatd (see CERT ?Advisory CA-97.26.statd, , "Buffer Overrun Vulnerability in statd(1M) Program"). But there have been effective patches that solve that problem since 1999. If your Solaris machines are up to date on their patches, don't think you should have a problem with that particular vulnerability. Of course, any time you have a machine with RPC services (such as rstatd) exposed to the Internet, you face a certain amount of risk. My advice is to shelter your production servers behind a good firewall. Don't allow the Internet to "see" their RPC service ports. Only allow a server running Nagios *behind* the firewall to access those machines. If it must report to a Nagios server outside the firewall, you can do so via nsca (which has some nice encryption schemes available to it, including Blowfish and 3DES). At worst, the Nagios distributed server is the "sacrificial goat" that is visible to the Internet, and therefore subject to being hacked. Your production machines should be relatively secure in such a configuration. I am using check_disk, check_users, etc., locally on a monitored Solaris host; using nrpe and check_nrpe to collect the results on a distributed Nagios server on that host's LAN (which does checks, but not notifications); and using nsca and send_nsca to pass the results to a central Nagios server, which does notifications, etc., but no active checks (only passive service checks). Obviously, you have to be the final judge of your own security policies and how they are implemented, but personally, I feel pretty secure with such a setup. Your mileage may vary. Yours, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 21:58:13 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 14:58:13 -0600 Subject: nrpe on Microsoft machines In-Reply-To: <214B03E5-4866-11D8-97DD-0030657DF28A@airmail.net> References: <214B03E5-4866-11D8-97DD-0030657DF28A@airmail.net> Message-ID: <20040116205813.11046.qmail@restricted.dyndns.org> Am I correct that nrpe on unix and rstatd on unix are 2 separate options? If it is, I just might as well go with nrpe. I thought, it was only for Windows machine. Problem is, where can I find nrpe for unix that will work on Solaris? About security, you're right. I will have to ask the guys to enable tcpwrapper the nrpe service. In that way, nagios will be the only one to connect to the daemon. Also eventually, if the managers will like nagios(coz now they liked it), I will present to them a distributed nagios setup. Does this mean that all the monitoring hosts will only be doing passive checks? Thanks for the advice. It really helped. Michael Tucker writes: > > On Friday, January 16, 2004, at 02:08 PM, Neil wrote: > >> It's me again. I have question about security in NRPE service on windows >> machines. Nagios is getting good visibility in where I work. But their >> concern is that it's opensource. What can you say guys about NRPE >> service? What's the best way of protecting it? The reason I am asking >> this is because, nagios will be monitoring production servers. > > Under Unix, nrpe can be run under inetd; so you have the benefit of tcp > wrappers to improve security (a little). In theory, you also have SSL > security available, which would be very nice; but in practice, I have been > unable to get that to work (for Solaris 9). > > Under Windows, I have to leave that answer to someone else. :-) > >> And also, rstatd on solaris. Our solaris are in production too. What can >> you say about security issues in rstatd if there are? Are there any other >> alternatives to monitor solaris cpu, disk, etc? >> Thanks guys for your help. >> neil >> > > As of 1997, there was a well-documented vulnerability in statd/rstatd (see > CERT ?Advisory CA-97.26.statd, > , "Buffer Overrun > Vulnerability in statd(1M) Program"). But there have been effective > patches that solve that problem since 1999. If your Solaris machines are > up to date on their patches, don't think you should have a problem with > that particular vulnerability. > > Of course, any time you have a machine with RPC services (such as rstatd) > exposed to the Internet, you face a certain amount of risk. My advice is > to shelter your production servers behind a good firewall. Don't allow the > Internet to "see" their RPC service ports. Only allow a server running > Nagios *behind* the firewall to access those machines. If it must report > to a Nagios server outside the firewall, you can do so via nsca (which has > some nice encryption schemes available to it, including Blowfish and > 3DES). At worst, the Nagios distributed server is the "sacrificial goat" > that is visible to the Internet, and therefore subject to being hacked. > Your production machines should be relatively secure in such a > configuration. > > I am using check_disk, check_users, etc., locally on a monitored Solaris > host; using nrpe and check_nrpe to collect the results on a distributed > Nagios server on that host's LAN (which does checks, but not > notifications); and using nsca and send_nsca to pass the results to a > central Nagios server, which does notifications, etc., but no active > checks (only passive service checks). > > Obviously, you have to be the final judge of your own security policies > and how they are implemented, but personally, I feel pretty secure with > such a setup. Your mileage may vary. > > Yours, > Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 22:11:13 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Fri, 16 Jan 2004 16:11:13 -0500 (EST) Subject: Passing Macros to $ARG1$ Message-ID: I have a command definition that includes command_line $USER1$/check_something -H $HOSTADDRESS$ -C $ARG1$ Often times I have a different argument that needs to be passed to -C So I have various macros defined $USER5$=A $USER6$=B $USER7$=C In my service definition I'm trying to do the following define service{ use telepathic-service hostgroup_name something service_description TEST is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 15 retry_check_interval 2 contact_groups me,myself,andi notification_interval 60 notification_period 24x7 notification_options c,r check_command check_something!$USER15$ register 1 } It does not appear that $USER15$ is passed as $ARG1$ however as I get invalid argument = from check_something. Is there any way around this? Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 22:21:08 2004 From: seppy at chartermi.net (Brian E. Seppanen) Date: Fri, 16 Jan 2004 16:21:08 -0500 (EST) Subject: Passing Macros to $ARG1$ In-Reply-To: References: Message-ID: In the below text I should have indicated that I'm running nagios 1.1 with plugins 1.3.1, on a debian 3.0 test host. The reason I'm trying to use the macro is that I have multiple service definitions in different files that will be using the same definition with only one argument different, being either $USER5$, $USER6$, or $USER7$. I'd rather use the shorthand macro than have to hardcode the value as that's what macros are for.... On Fri, 16 Jan 2004, Brian E. Seppanen wrote: > I have a command definition that includes > > command_line $USER1$/check_something -H $HOSTADDRESS$ -C $ARG1$ > > Often times I have a different argument that needs to be passed to -C > > So I have various macros defined > > $USER5$=A > $USER6$=B > $USER7$=C > > In my service definition I'm trying to do the following > > define service{ > use telepathic-service > > > hostgroup_name something > service_description TEST > is_volatile 0 > check_period 24x7 > max_check_attempts 2 > normal_check_interval 15 > retry_check_interval 2 > contact_groups me,myself,andi > notification_interval 60 > notification_period 24x7 > notification_options c,r > check_command check_something!$USER5$ > register 1 > } > > It does not appear that $USER15$ is passed as $ARG1$ however > > as I get invalid argument = > > from check_something. > > Is there any way around this? > > > > > Brian Seppanen > seppy at chartermi.net > 906-475-0107 ext 1040 > Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 22:29:44 2004 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 16 Jan 2004 15:29:44 -0600 Subject: nrpe on Microsoft machines In-Reply-To: <20040116205813.11046.qmail@restricted.dyndns.org> References: <20040116205813.11046.qmail@restricted.dyndns.org> Message-ID: <1A3BDFE0-486B-11D8-97DD-0030657DF28A@airmail.net> On Friday, January 16, 2004, at 02:58 PM, Neil wrote: > Am I correct that nrpe on unix and rstatd on unix are 2 separate > options? If it is, I just might as well go with nrpe. Yes, nrpe is the "Nagios remote plug-in executor". It's a program for running Nagios plugins locally on a remote host. (The plugin runs locally on the host; nrpe collects the output and returns it over the network to the Nagios server that initiated the query.) This is different from running rstatd (or any other RPC command) to query the status of a machine over the network. (Well, ok, there are certain similarities... the bottom line is similar, but the path is different.) The only drawback to nrpe is that you are limited to plugins that other people have written, unless you can write one on your own. But there are a *lot* of plugins available. > I thought, it was only for Windows machine. Problem is, where can I > find nrpe for unix that will work on Solaris? Actually, on the contrary: nrpe is written for Unix. Go to the Nagios web site , downloads area ; there's a link for nrpe, which will allow you to download the source code. You'll have to compile it, preferably using gcc. You can download the gcc compiler for free from . Specify your version of Solaris (upper right scrollable list), then click the package you want to download (lower right scrollable list). There is a NRPE_NT project also listed on that page, but I don't know anything about it. You'll have to explore that one on your own. :-) I'm running Solaris 9. If you are, too, I don't mind sending you my compiled version of nrpe. However, from a strict security standpoint, if I were in your shoes I wouldn't accept it. I'm not a "trusted host", per se. You don't know who I am, or what I might have done to that program before sending it to you. You might trust me, but how would you answer the question if your boss asked you: "How do you know that guy didn't put something malicious in the code?" It would be best if you download the source yourself from the official site, and compile it yourself. > About security, you're right. I will have to ask the guys to enable > tcpwrapper the nrpe service. In that way, nagios will be the only one > to connect to the daemon. It's very easy to set that part up. Just edit /etc/inetd.conf, /etc/services, /etc/hosts.allow and /etc/hosts.deny; then restart the inetd daemon. The README file that comes with nrpe tells you how. If you have any trouble, I'd be happy to help you out since I got it working. > Also eventually, if the managers will like nagios(coz now they liked > it), I will present to them a distributed nagios setup. Does this mean > that all the monitoring hosts will only be doing passive checks? No, it works like this: For a group of hosts to be monitored, there is a server doing the monitoring ("active checks"). This server is called a "distributed server". There might be more than one distributed server in your network, each monitoring a different group of hosts. Each distributed server actively collects status information, then forwards it to the one server that does notifications, reports, etc. That server is called the "central server". It does *no* active checks of its own (unless you want it to); instead, it just checks "passively" for the reports forwarded to it by the distributed server(s). There's a very good description of distributed monitoring in the Nagios documentation. Bring up your Nagios web interface and click on "Documentation" (at the top left, under "General"). Then click on "Table of Contents", then look for and click on "Distributed monitoring" (under "Advanced Topics"). There are even some nifty graphics and diagrams you can show your boss. :-) > Thanks for the advice. It really helped. > Glad to help. I'm very new at this (Nagios) myself; I've only been trying to implement Nagios since late November. But I'm happy to share with you the things I've figured out. It's a way of giving back to the community, as thanks for the help that others have given me. Yours, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 22:41:17 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 15:41:17 -0600 Subject: nrpe on Microsoft machines In-Reply-To: <1A3BDFE0-486B-11D8-97DD-0030657DF28A@airmail.net> References: <1A3BDFE0-486B-11D8-97DD-0030657DF28A@airmail.net> Message-ID: <20040116214117.15424.qmail@restricted.dyndns.org> Hi Michael, I got the nrpe working in FreeBSD. And it's able to monitor my /usr and /var. I also got it compiled and installed in Solaris 8. Problem is that, I tried running the check_disk which I copied from my freebsd or linux and this is what I got in solaris: check_disk: Cannot find /lib/ld-linux.so.2 So looks like i need to install a linux dependency. What would it be then? Michael Tucker writes: > > On Friday, January 16, 2004, at 02:58 PM, Neil wrote: > >> Am I correct that nrpe on unix and rstatd on unix are 2 separate options? >> If it is, I just might as well go with nrpe. > > Yes, nrpe is the "Nagios remote plug-in executor". It's a program for > running Nagios plugins locally on a remote host. (The plugin runs locally > on the host; nrpe collects the output and returns it over the network to > the Nagios server that initiated the query.) This is different from > running rstatd (or any other RPC command) to query the status of a machine > over the network. (Well, ok, there are certain similarities... the bottom > line is similar, but the path is different.) > > The only drawback to nrpe is that you are limited to plugins that other > people have written, unless you can write one on your own. But there are a > *lot* of plugins available. > >> I thought, it was only for Windows machine. Problem is, where can I find >> nrpe for unix that will work on Solaris? > > Actually, on the contrary: nrpe is written for Unix. Go to the Nagios web > site , downloads area > ; there's a link for nrpe, > which will allow you to download the source code. You'll have to compile > it, preferably using gcc. You can download the gcc compiler for free from > . Specify your version of Solaris (upper right > scrollable list), then click the package you want to download (lower right > scrollable list). > > There is a NRPE_NT project also listed on that page, but I don't know > anything about it. You'll have to explore that one on your own. :-) > > I'm running Solaris 9. If you are, too, I don't mind sending you my > compiled version of nrpe. However, from a strict security standpoint, if I > were in your shoes I wouldn't accept it. I'm not a "trusted host", per se. > You don't know who I am, or what I might have done to that program before > sending it to you. You might trust me, but how would you answer the > question if your boss asked you: "How do you know that guy didn't put > something malicious in the code?" It would be best if you download the > source yourself from the official site, and compile it yourself. > >> About security, you're right. I will have to ask the guys to enable >> tcpwrapper the nrpe service. In that way, nagios will be the only one to >> connect to the daemon. > > It's very easy to set that part up. Just edit /etc/inetd.conf, > /etc/services, /etc/hosts.allow and /etc/hosts.deny; then restart the > inetd daemon. The README file that comes with nrpe tells you how. If you > have any trouble, I'd be happy to help you out since I got it working. > >> Also eventually, if the managers will like nagios(coz now they liked it), >> I will present to them a distributed nagios setup. Does this mean that >> all the monitoring hosts will only be doing passive checks? > > No, it works like this: > > For a group of hosts to be monitored, there is a server doing the > monitoring ("active checks"). This server is called a "distributed > server". There might be more than one distributed server in your network, > each monitoring a different group of hosts. > > Each distributed server actively collects status information, then > forwards it to the one server that does notifications, reports, etc. That > server is called the "central server". It does *no* active checks of its > own (unless you want it to); instead, it just checks "passively" for the > reports forwarded to it by the distributed server(s). > > There's a very good description of distributed monitoring in the Nagios > documentation. Bring up your Nagios web interface and click on > "Documentation" (at the top left, under "General"). Then click on "Table > of Contents", then look for and click on "Distributed monitoring" (under > "Advanced Topics"). There are even some nifty graphics and diagrams you > can show your boss. :-) > >> Thanks for the advice. It really helped. >> > > Glad to help. I'm very new at this (Nagios) myself; I've only been trying > to implement Nagios since late November. But I'm happy to share with you > the things I've figured out. It's a way of giving back to the community, > as thanks for the help that others have given me. > > Yours, > Michael > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 22:52:10 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 15:52:10 -0600 Subject: nrpe on Microsoft machines In-Reply-To: <20040116214117.15424.qmail@restricted.dyndns.org> References: <1A3BDFE0-486B-11D8-97DD-0030657DF28A@airmail.net> <20040116214117.15424.qmail@restricted.dyndns.org> Message-ID: <20040116215210.16565.qmail@restricted.dyndns.org> Forget it guys, I also recompiled nagios-plugins in Solaris. It's working now like a charm. :) Btw, can you please lists some other plugins for nrpe that we can use for Solaris other than disk, load, users, procs? Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 23:03:37 2004 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 16 Jan 2004 16:03:37 -0600 Subject: nrpe on Microsoft machines In-Reply-To: <20040116214117.15424.qmail@restricted.dyndns.org> References: <20040116214117.15424.qmail@restricted.dyndns.org> Message-ID: On Friday, January 16, 2004, at 03:41 PM, Neil wrote: > Hi Michael, > I got the nrpe working in FreeBSD. And it's able to monitor my /usr > and /var. I also got it compiled and installed in Solaris 8. Problem > is that, I tried running the check_disk which I copied from my freebsd > or linux and this is what I got in solaris: > check_disk: Cannot find /lib/ld-linux.so.2 > So looks like i need to install a linux dependency. What would it be > then? > A program compiled for Linux is unlikely to run on Solaris. In the first place, the hardware is different (assuming that you are running on Sun hardware, and not Solaris/x86 running on Intel hardware). In the second place, the operating systems are different. You might as well compile a program for MacOS (on Macintosh) and expect it to run on Windows. As we say in the south, "That dog won't hunt." You need to compile Nagios on the Solaris 8 box; that will create your check_disk executable, for the correct operating system and hardware. Yours, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 23:12:28 2004 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 16 Jan 2004 16:12:28 -0600 Subject: nrpe on Microsoft machines In-Reply-To: References: Message-ID: <1220FF6B-4871-11D8-97DD-0030657DF28A@airmail.net> On Friday, January 16, 2004, at 04:03 PM, Michael Tucker wrote: > You need to compile Nagios on the Solaris 8 box; that will create your > check_disk executable, for the correct operating system and hardware. > > Oops! I meant to write "you need to compile Nagios plugins..." Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Jan 16 23:39:08 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 16 Jan 2004 16:39:08 -0600 Subject: nagios -s info [Was: fast reboot] In-Reply-To: <20040116202351.7325.qmail@restricted.dyndns.org> References: <370ACCFA5BB3B346A31222E5559BF91F03A199@mismail2.ena.com> <20040116202351.7325.qmail@restricted.dyndns.org> Message-ID: <1074292747.23342.161.camel@localhost> Was wondering if anyone else is interested in sharing/comparing their 'nagios -s nagios.cfg' outputs. Maybe get some hints from the "winner's" configuration as to the best way to do things.... Here's mine: SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 1096 Total hosts: 246 Command check interval: 5 sec Check reaper interval: 15 sec Inter-check delay method: SMART Average check interval: 393.723 sec Inter-check delay: 0.359 sec Interleave factor method: SMART Average services per host: 4.455 Service interleave factor: 5 Initial service check scheduling info: -------------------------------------- First scheduled check: 1074292448 -> Fri Jan 16 16:34:08 2004 Last scheduled check: 1074292842 -> Fri Jan 16 16:40:42 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 42 Recommend value: 126 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 23:32:18 2004 From: mmusone at shatterit.com (Mark Musone) Date: Fri, 16 Jan 2004 17:32:18 -0500 Subject: fast reboot In-Reply-To: <20040116200148.4986.qmail@restricted.dyndns.org> References: <20040116200148.4986.qmail@restricted.dyndns.org> Message-ID: <001901c3dc80$99c36570$3301a8c0@usa.shatterit.com> You can also send a passive check result upon bootup in the rc scripts.. Once 2.0 comes out and you can have passive host checks, it'll be nicer, but for now, you can just setup a service "reboot", "uptime"..whatever, And use ncsa send a CRITICAL passive check result upon bootup. -Mark -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil Sent: Friday, January 16, 2004 3:02 PM To: Michael Tucker Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: fast reboot This would be nice. Btw guys, I am post another mail about NRPE. Michael Tucker writes: > On Friday, January 16, 2004, at 01:27 PM, Neil wrote: > >> hey guys, >> what if we are monitoring a server in the interval of 2 minutes then the >> server we are monitoring went down but was able to reboot in just 45 >> seconds? How does nagios takes care of this situation? >> Thanks. >> neil >> > > You could create a service to report the system's uptime. If the number is > small (indicating a reboot), issue an alert. You didn't say what OS the > monitored server is running; if it's a flavor of Unix, you can use the > "uptime" command. > > Just a thought. > > Yours, > Michael > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 16 23:48:16 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 16:48:16 -0600 Subject: nagios -s info [Was: fast reboot] In-Reply-To: <1074292747.23342.161.camel@localhost> References: <370ACCFA5BB3B346A31222E5559BF91F03A199@mismail2.ena.com> <20040116202351.7325.qmail@restricted.dyndns.org> <1074292747.23342.161.camel@localhost> Message-ID: <20040116224816.22297.qmail@restricted.dyndns.org> Why is it that my recommended value for max_concurrent_checks is just 9? Can it be because, I am running it on a low end machine with low memory? Thanks. jeff vier writes: > Was wondering if anyone else is interested in sharing/comparing their > 'nagios -s nagios.cfg' outputs. Maybe get some hints from the > "winner's" configuration as to the best way to do things.... > > Here's mine: > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 1096 > Total hosts: 246 > > Command check interval: 5 sec > Check reaper interval: 15 sec > > Inter-check delay method: SMART > Average check interval: 393.723 sec > Inter-check delay: 0.359 sec > > Interleave factor method: SMART > Average services per host: 4.455 > Service interleave factor: 5 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1074292448 -> Fri Jan 16 16:34:08 > 2004 > Last scheduled check: 1074292842 -> Fri Jan 16 16:40:42 > 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 42 > Recommend value: 126 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Jan 16 23:57:33 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 16 Jan 2004 16:57:33 -0600 Subject: nagios -s info [Was: fast reboot] In-Reply-To: <20040116224816.22297.qmail@restricted.dyndns.org> References: <370ACCFA5BB3B346A31222E5559BF91F03A199@mismail2.ena.com> <20040116202351.7325.qmail@restricted.dyndns.org> <1074292747.23342.161.camel@localhost> <20040116224816.22297.qmail@restricted.dyndns.org> Message-ID: <1074293853.23342.168.camel@localhost> On Fri, 2004-01-16 at 16:48, Neil wrote: > Why is it that my recommended value for max_concurrent_checks is just 9? Can > it be because, I am running it on a low end machine with low memory? Dunno. Possibly. My machine is a dual 1.4Ghz Intel (PIII) with a gig of ram. And here's my nagios.cfg (stripped of comments, blank lines, and non-performance stuff), if you're curious: (run 'grep -v "^#" nagios.cfg |grep -v "^$' to get this) ------------- check_external_commands=1 command_check_interval=5s log_rotation_method=d 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=150 service_reaper_frequency=15 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 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 --------- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 00:21:29 2004 From: marc at ena.com (Marc Powell) Date: Fri, 16 Jan 2004 17:21:29 -0600 Subject: nagios -s info [Was: fast reboot] Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A19C@mismail2.ena.com> -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Friday, January 16, 2004 4:48 PM To: jeff vier Cc: nagios-users Subject: [Nagios-users] Re: nagios -s info [Was: fast reboot] Why is it that my recommended value for max_concurrent_checks is just 9? Can it be because, I am running it on a low end machine with low memory? >marc> I don't really think that's taken into account at all. It's more a function of the factors listed below. Primary among those is going to be the total hosts and services, average check interval and the interleave method. -- Marc jeff vier writes: > Was wondering if anyone else is interested in sharing/comparing their > 'nagios -s nagios.cfg' outputs. Maybe get some hints from the > "winner's" configuration as to the best way to do things.... > > Here's mine: > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 1096 > Total hosts: 246 > > Command check interval: 5 sec > Check reaper interval: 15 sec > > Inter-check delay method: SMART > Average check interval: 393.723 sec > Inter-check delay: 0.359 sec > > Interleave factor method: SMART > Average services per host: 4.455 > Service interleave factor: 5 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1074292448 -> Fri Jan 16 16:34:08 > 2004 > Last scheduled check: 1074292842 -> Fri Jan 16 16:40:42 > 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 42 > Recommend value: 126 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 17 02:17:54 2004 From: Thomas.Schweikle at fiducia.de (Thomas.Schweikle at fiducia.de) Date: Sat, 17 Jan 2004 02:17:54 +0100 Subject: check_nt and "Connection refused by host" Message-ID: Hi, > Thomas.Schweikle at fiducia.de wrote: >> I am trying to check if the terminal services are running on a >> Windows 2000 sever. I am using the command: >> >> /usr/lib/nagios/plugins/check_nt -H xcnlm04s.fag.fiducia.de -p 1248 >> -v SERVICESTATE -d SHOWALL -l TermService Connection refused by host >> >> But this is answered with "Connection refused". What do I have to do >> to make it work? > > Presuming you are using NS client, I would setup a checkcommand as follows : > # 'check_nt_service' command definition > define command{ > command_name check_nt_service > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ > } > > Then you service check would be something like this: > # Service definition for Terminal Service Check > define service{ > use generic-service ; Name of service template to use > > host_name host1 > service_description Terminal Service > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c > check_command check_nt_service!TermService > } This is a bit more universal than my setup, but does not help with the error I am receiving: ~> /usr/lib/nagios/plugins/check_nt \ > -H xcnlm04s.fag.fiducia.de -p1248 \ > -v SERVICESTATE -l TermService Connection refused by host The Host rejects my request! So again: how do I have to set up my Host to make this command work? -- Thomas ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 17 04:12:09 2004 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Sat, 17 Jan 2004 16:12:09 +1300 Subject: nrpe 2.0 with AIX 4.3.2 In-Reply-To: <7473201406D1FE4CBAD4096D6BD1E92108C07C@hqexch01.hq.navis.net> References: <7473201406D1FE4CBAD4096D6BD1E92108C07C@hqexch01.hq.navis.net> Message-ID: <1074309129.3416.5.camel@pcsimon.ecnnz.ecnetwork.co.nz> Hi Aaron, On Sat, 2004-01-17 at 05:34, Aaron Levitt wrote: > Unfortunately, I didn't see it, and this article (along with the rest of > the list archive) no longer seems to exist on sourceforge. However, if > you could give me the subject of the thread I could probably locate it > in the gmane archive. Below is the original posting re "CRC32" error when using check_nrpe/nrpe. PS: the nagios archives appear to be up again... Sent: Dec 22 Author: Simon Kitching Subject: nrpe: fails when check command outputs to stderr Hi, I have been having some problems with "check_nrpe" reporting: CHECK_NRPE: Response packet had invalid CRC32. I believe I have located the cause of the problem, which is as follows... When the nrpe app forks a child and calls popen(...) to execute the target command, the STDERR filedescriptor isn't overridden. Therefore if the target command ever outputs data to STDERR, that goes via the inherited STDERR: straight back across the socket to the check_nrpe process! Only *later* does the nrpe process send the packet version, checksum, and message. The result is obvious: check_nrpe looks for the checksum but finds only the STDERR output from the check command and so reports "invalid CRC32". It should be simple to duplicate this problem: a shellscript which prints to STDERR should do the trick I think. I have fixed this by ensuring my (custom) check command suppresses all STDERR output, but I think it would be nice to fix this in nrpe as the error message is difficult to understand. Perhaps also an FAQ entry would be good for this? If you don't have time to look into this, but would be willing to look at a patch for nrpe.c then please let me know and I will prepare one. Thanks for some great software! Regards, Simon ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 17 04:53:46 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 21:53:46 -0600 Subject: check_nt and =?iso-8859-1?Q?=22Connection?= refused by =?iso-8859-1?Q?host=22?= In-Reply-To: References: Message-ID: <20040117035346.52743.qmail@restricted.dyndns.org> Looks like that the remote host is not listening on that specified port. Why don't you do this to check connectivity. On the nagios server: telnet xcnlm04s.fag.fiducia.de 1248 or nmap -vv -sS -P0 -jn xcnlm04s.fag.fiducia.de -p1200-1300 With the former, should should get a response similar to the text below: Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. This is showing us that TCP connection was successful. Another example but failed: Trying 192.168.1.2... telnet: connect to address 192.168.1.2: Connection refused I tried to connect to 192.168.1.2 on port 55555 which the machine wasn't listening to. Another test that you can do is to go to xcnlm04s.fag.fiducia.de and on the msdos prompt, do this netstat -na|find "1248" If it gives you a line with LISTENING in it, it means the service is listening. We can now say that it could be a firewall issue. Here is my testing: C:\>netstat -na|find "445" TCP 0.0.0.0:445 0.0.0.0:0 LISTENING JUST MY 2cents..... Thomas.Schweikle at fiducia.de writes: > Hi, > > >> Thomas.Schweikle at fiducia.de wrote: >>> I am trying to check if the terminal services are running on a >>> Windows 2000 sever. I am using the command: >>> >>> /usr/lib/nagios/plugins/check_nt -H xcnlm04s.fag.fiducia.de -p 1248 >>> -v SERVICESTATE -d SHOWALL -l TermService Connection refused by host >>> >>> But this is answered with "Connection refused". What do I have to do >>> to make it work? >> >> Presuming you are using NS client, I would setup a checkcommand as > follows : >> # 'check_nt_service' command definition >> define command{ >> command_name check_nt_service >> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > SERVICESTATE -l $ARG1$ >> } >> >> Then you service check would be something like this: >> # Service definition for Terminal Service Check >> define service{ >> use generic-service ; Name of > service template to use >> >> host_name host1 >> service_description Terminal Service >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 5 >> retry_check_interval 1 >> contact_groups nt-admins >> notification_interval 120 >> notification_period 24x7 >> notification_options w,u,c >> check_command check_nt_service!TermService >> } > > This is a bit more universal than my setup, but does not help with the > error I am receiving: > ~> /usr/lib/nagios/plugins/check_nt \ >> -H xcnlm04s.fag.fiducia.de -p1248 \ >> -v SERVICESTATE -l TermService > Connection refused by host > > The Host rejects my request! So again: how do I have to set up my Host to > make this command work? > > -- > Thomas > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 17 05:15:53 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 16 Jan 2004 22:15:53 -0600 Subject: check_nt and =?iso-8859-1?Q?=22Connection?= refused by =?iso-8859-1?Q?host=22?= In-Reply-To: References: Message-ID: <20040117041553.55008.qmail@restricted.dyndns.org> Thomas.Schweikle at fiducia.de writes: > > This is a bit more universal than my setup, but does not help with the > error I am receiving: > ~> /usr/lib/nagios/plugins/check_nt \ >> -H xcnlm04s.fag.fiducia.de -p1248 \ >> -v SERVICESTATE -l TermService > Connection refused by host > > The Host rejects my request! So again: how do I have to set up my Host to > make this command work? Here is how I wrote mine: #services.cfg define service{ use generic-service ; Name of service template to use host_name winxp service_description Terminal Services is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups xp-admins notification_interval 5 notification_period 24x7 notification_options c,r check_command check_nrpe!check_service_TerminalServices } #c:\nrpe\bin\nrpe.cfg command[check_service_TerminalServices]=c:\windows\system32\cscript.exe //NoLogo //T:10 c:\nrpe\chkwin_service.wsf TermService I am using check_nrpe on the nagios server ang nrpe_nt on my windows xp. It's workine fine. I have another check and that is check_tcp!3389 and it's used to check if something went wrong with connections such as somebody played with the firewall rules which resulted to port 3389 being blocked. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Sat Jan 17 07:27:21 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 17 Jan 2004 17:27:21 +1100 Subject: Macros in service checks .. In-Reply-To: <200401170410.i0H4Aq4D031521@figg.securenet.com.au>; from nagios-users-request@lists.sourceforge.net on Fri, Jan 16, 2004 at 08:01:15PM -0800 References: <200401170410.i0H4Aq4D031521@figg.securenet.com.au> Message-ID: <20040117172718.A237@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Jan 16, 2004 at 08:01:15PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > On Fri, 16 Jan 2004, Brian E. Seppanen wrote: > > > I have a command definition that includes > > > > command_line $USER1$/check_something -H $HOSTADDRESS$ -C $ARG1$ > > > > Often times I have a different argument that needs to be passed to -C > > > > So I have various macros defined > > > > $USER5$=A > > $USER6$=B > > $USER7$=C > > > > In my service definition I'm trying to do the following > > > > define service{ > > use telepathic-service > > > > > > hostgroup_name something > > service_description TEST > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 2 > > normal_check_interval 15 > > retry_check_interval 2 > > contact_groups me,myself,andi > > notification_interval 60 > > notification_period 24x7 > > notification_options c,r > > check_command check_something!$USER5$ > > register 1 > > } > > > > It does not appear that $USER15$ is passed as $ARG1$ however > > > > as I get invalid argument = > > > > from check_something. > > > > Is there any way around this? > > >From the docco macros are available from $USER1$ to 32$, and the values set in the resource config file (see the sameple). Is this how you are setting the value of $USER15$ ? There may be a docco or Nag macro bug involved. It would be useful to do any of 1 Post the exact error message, and where it was reported. I can't find 'invalid argument' in the Nag sources except for the CGIs (and this doesn't seem to be the right place). tsitc> grep -i -2 -r 'invalid argument' * | more cgi/config.c- } cgi/config.c- cgi/config.c: /* we recieved an invalid argument */ cgi/config.c- else cgi/config.c- error=TRUE; -- cgi/showlog.c- display_timebreaks=FALSE; cgi/showlog.c- cgi/showlog.c: /* we recieved an invalid argument */ cgi/showlog.c- else cgi/showlog.c- error=TRUE; -- cgi/tac.c- display_header=FALSE; cgi/tac.c- cgi/tac.c: /* we recieved an invalid argument */ cgi/tac.c- else cgi/tac.c- error=TRUE; tsitc> 2 Post the macro values/check them for characters that are forbidden 3 Look for the boundary cases Does it work for _any_ $USERn$ Macro ? How far can you get in setting $USERn$ ? 4 Consider firing up a newly configured Nag with the appropriate DEBUGn option to configure, with a --prefix to a sandbox (ie _non_ production path) that you can give a cutdown config to and maybe run in foreground to capture the fault errors. Maybe DEBUG1, (or DEBUG2 and or DEBUG3) will help. If you think this is a bug, it would be helpful to report it with some of this information. 5 Have a look at the CVS log on Nagios.ORG for the checkin messages on the bug fix branch. Some bugs have been corrected _only_ in this branch. However, I have a feeling you are out of luck, since I would gues that the check_command in services.cfg is _not_ scanned for macros; only the check_command in checkcommands.cfg. Dumb work around ?= pass the service check coded values that the corresp plugin decodes. Could be stupidly like check_something!A_B_C_D_E!n # 0 1 2 3 4 Meanwhile back in your plugin (Perl illustration): my $arg_string = shift @ARGV; my $arg_index = shift @ARGV; my @args = split(/_/, $arg_string) ; my $arg = ( $arg_index <= 4 and $arg_index >= 0) ? $args[$arg_index] : &outahere('bad arg', $arg_index); ==> Involves hacking plugins. 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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 18:53:46 2004 From: marc at ena.com (Marc Powell) Date: Sat, 17 Jan 2004 11:53:46 -0600 Subject: questions Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A19D@mismail2.ena.com> > From: Thilanka Samarasekera [mailto:thilanka at sbcglobal.net] > Sent: Saturday, January 17, 2004 10:27 AM > To: Marc Powell > Subject: questions > > > Marc, Please send all questions to the list instead of me directly. I'm not a Nagios developer, nor am I dedicated Nagios support ;) You'll also get a wider variety of answers from people who have done more with Nagios than I have. > I was just wondering do you happen to know how the communication > between the nagios monitoring box and the hosts that are being > monitored takes place ...I mean is the data transfer encrypted ? This greatly depends on your implementation, what you're checking and how you're checking it. For example, if you're using check_pop to check a remote pop3 server then no, that communication is not going to be encrypted. NRPE, which allows you to run plugins on remote machines can use encryption I believe. Check_by_ssh is obviously encrypted. Each plugin or add-on program is different and you first need to determine what you want to check, where you want to check it and how secure you want that communication to be, _then_ you look at what plugins or addons allow you to accomplish your goals. > And my other question is can a notification be sent through nagios > even if the internet is down is there is a modem attached to the > nagios monitoring box? Yes, basically if you can do something from the command line, you can do it from Nagios. There are people on this list who are using modems for pager notifications, sms, etc. You'll probably want to look in the FAQ and the mailling list archives for more information. It may even be documented in the main Nagios documentation. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 17 21:50:00 2004 From: ric at nkn.net (Ric Moseley) Date: Sat, 17 Jan 2004 14:50:00 -0600 Subject: parent host relatiionship In-Reply-To: <200401141502.JAA41121@mail1.theplanet.com> References: <200401141502.JAA41121@mail1.theplanet.com> Message-ID: <200401172050.OAA67371@mail1.theplanet.com> No one attempted to answer this so I am sending it again. 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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 advancen.com Sun Jan 18 02:52:17 2004 From: luke at advancen.com (Luke Worthy) Date: Sun, 18 Jan 2004 12:52:17 +1100 Subject: problems with notifications Message-ID: <200401181252.17630.luke@advancen.com> I am setting up nagios to use the check_http plugin to check for certain text on a web page, indicating that the backend server that displays this text is running. When the plugin fails, the log says this: SERVICE ALERT: jenner;TOMCAT-HARROP;CRITICAL;HARD;1;HTTP CRITICAL: string not found but there is no notification! but when it recovers, Nagios sends a notification *argh*: EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;jenner;TOMCAT-HARROP;1073878174 [1073878179] SERVICE ALERT: jenner;TOMCAT-HARROP;OK;HARD;1;HTTP ok: HTTP/1.1 200 OK - 0.149 second response time [1073878179] SERVICE NOTIFICATION: luke;jenner; TOMCAT-HARROP;OK; notify-by-email; HTTP ok: HTTP/1.1 200 OK - 0.149 second response time here is the setup for the services.cfg: define service{ use generic-service host_name jenner service_description TOMCAT-HARROP is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 2 retry_check_interval 1 contact_groups luke-gr,dom-gr,carl-gr notification_interval 15 notification_period 24x7 notification_options c,r check_command check_tomcat_h } learly I have asked it to send notifications for recovery (which works) and for critical problems which this plugin seems to say it is. I thought it was because it was not a "hard" problem, so I changed the max_check_attempts to 1 to make it always "hard", thinking this would solve it, but it didn't :( Any ideas? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 18 07:37:58 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 18 Jan 2004 19:37:58 +1300 Subject: Nagios 2.0 Servicegroups In-Reply-To: <20040115T121420Z_BD3300140000@neuwied.de> References: <20040115T121420Z_BD3300140000@neuwied.de> Message-ID: <1074407881.1430.11.camel@munter> Hey, I ran into this the other day. '/etc/init.d/nagios restart'. For some reason the usual trick '/etc/init.d/nagios reload' doesn't work. (developers - buglet?) You've probably got this working now however. Make sure of course you have created the appropriate file etc jamie On Fri, 2004-01-16 at 00:14, Daniel Tuecks wrote: > Hi > > I recently installed Nagios 2.0 CVS. Now I'd like to try the servicegroups, but unfortunally I can't find out how... Is there any documentation I haven't found yet? > I also can't access the "Servicegroups Overview/Summary/Grid" in my webinterface ("It appears as though you do not have permission to view information ...") although my cgi.cfg is configured as follows: > > use_authentication=1 > authorized_for_system_information=* > authorized_for_configuration_information=* > authorized_for_system_commands=* > authorized_for_all_services=* > authorized_for_all_hosts=* > authorized_for_all_service_commands=* > authorized_for_all_host_commands=* > > --Daniel > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From monitor at ehp2.hostinx.com Sun Jan 18 20:47:20 2004 From: monitor at ehp2.hostinx.com (EHP) Date: Sun, 18 Jan 2004 20:47:20 +0100 Subject: Accurate check time Message-ID: <200401182047.20639.monitor@ehp2.hostinx.com> Hello, I have net with cca 400 servers and 2000 services. Nagios can check all hosts and services but time between checks is too long - I need 1 minute period by critical services. I have tried all possible configuration options, limits are very high (more than I need) but Nagios cannot run checks in time. My latest configuration is 4 Nagios instances (3 monitoring + 1 for collecting data) but periods are still too big (from 1.5 min to 5 mins). Pipe buffer is 32Kb, cpu and ram are unused, but nagios don't run next checks until all previous are completed (and some are too slow - ie. ping - 4s). Some ideas how ensure accurate timing of checks ? Petr ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darrenh at gallagher.co.nz Sun Jan 18 20:54:25 2004 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Mon, 19 Jan 2004 08:54:25 +1300 Subject: Plugin: To Confirm SMTP Mail Delivery Message-ID: Hi, This probably doesn't really help you but what I do is use BLAT to send mail from one of our external servers. When it's received by Lotus Notes, it writes the email to file and then I have Nagios (using the file time checking via check_nt) check that the file is 'fresh'. Darren. ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff at unixisgod.com Sun Jan 18 21:04:33 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Sun, 18 Jan 2004 13:04:33 -0700 Subject: Accurate check time References: <200401182047.20639.monitor@ehp2.hostinx.com> Message-ID: <000c01c3ddfe$4a2d2490$0200000a@digitalmarauder.com> We have a similiar configuration (400/2000). We're getting a Dell 1750 (Dual P4 w/HT, 2GB Ram) to perform all the checks for us. The way we've managed to get nagios running as fast as possible is to change the service check interleave to s[mart] and crank up the max checks to 300. It seems to do well on a Dell 350 (P4 2.4G, 512MB Ram) but the box is ALWAYS taxed. Jeff ----- Original Message ----- From: "EHP" To: Sent: Sunday, January 18, 2004 12:47 Subject: [Nagios-users] Accurate check time > Hello, > > I have net with cca 400 servers and 2000 services. Nagios can check all hosts > and services but time between checks is too long - I need 1 minute period by > critical services. I have tried all possible configuration options, limits > are very high (more than I need) but Nagios cannot run checks in time. > My latest configuration is 4 Nagios instances (3 monitoring + 1 for collecting > data) but periods are still too big (from 1.5 min to 5 mins). > Pipe buffer is 32Kb, cpu and ram are unused, but nagios don't run next checks > until all previous are completed (and some are too slow - ie. ping - 4s). > > Some ideas how ensure accurate timing of checks ? > > Petr > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 18 23:08:50 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sun, 18 Jan 2004 16:08:50 -0600 Subject: Accurate check time In-Reply-To: <000c01c3ddfe$4a2d2490$0200000a@digitalmarauder.com> References: <200401182047.20639.monitor@ehp2.hostinx.com> <000c01c3ddfe$4a2d2490$0200000a@digitalmarauder.com> Message-ID: <20040118220850.3448.qmail@restricted.dyndns.org> Hi Jeff, Would you mind sending me your nagios.cfg coz eventually, I will reach this point too. Thanks. Neil Jeff Rodriguez writes: > We have a similiar configuration (400/2000). > > We're getting a Dell 1750 (Dual P4 w/HT, 2GB Ram) to perform all the checks > for us. > > The way we've managed to get nagios running as fast as possible is to change > the service check interleave to s[mart] and crank up the max checks to 300. > > It seems to do well on a Dell 350 (P4 2.4G, 512MB Ram) but the box is ALWAYS > taxed. > > Jeff > ----- Original Message ----- > From: "EHP" > To: > Sent: Sunday, January 18, 2004 12:47 > Subject: [Nagios-users] Accurate check time > > >> Hello, >> >> I have net with cca 400 servers and 2000 services. Nagios can check all > hosts >> and services but time between checks is too long - I need 1 minute period > by >> critical services. I have tried all possible configuration options, limits >> are very high (more than I need) but Nagios cannot run checks in time. >> My latest configuration is 4 Nagios instances (3 monitoring + 1 for > collecting >> data) but periods are still too big (from 1.5 min to 5 mins). >> Pipe buffer is 32Kb, cpu and ram are unused, but nagios don't run next > checks >> until all previous are completed (and some are too slow - ie. ping - 4s). >> >> Some ideas how ensure accurate timing of checks ? >> >> Petr >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at vijaykiran.com Sun Jan 18 23:18:20 2004 From: mail at vijaykiran.com (Vijay Kiran) Date: Sun, 18 Jan 2004 14:18:20 -0800 Subject: Nagios CGI error Message-ID: <400B062C.2050601@vijaykiran.com> Hi, I've just installed the Nagios on one of our shared servers. And everything seems to be okay.. I've configured the webinterface, authentication and when I type http://xx.xx.xx.xx/nagios/ it asks for a password and logs in perfectly. The documenation is working fine. But when I try to run the cgi's I am getting an internal server error. And the apache error log says : premature end of script headers.. Any help ?!?!! Vijay ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bipsen-sender-25cac0 at andebakken.dk Sun Jan 18 23:21:24 2004 From: bipsen-sender-25cac0 at andebakken.dk (Brian Ipsen) Date: Sun, 18 Jan 2004 23:21:24 +0100 Subject: Service freshness ? Message-ID: Hi! I consider moving a lot of SNMP checks to local hosts, and let them submit the result via NSCA ... But checking the docs for services definitions let me to wonder about these: check_freshness *: This directive is used to determine whether or not freshness checks are enabled for this service. Values: 0 = disable freshness checks, 1 = enable freshness checks. freshness_threshold: This directive is used to specify the freshness threshold (in seconds) for this service. If you set this directive to a value of 0, Nagios will determine a freshness threshold to use automatically. Since NSCA will be used, is is a passive service-check being submitted to Nagios. But my question is how to set up my alerting for this kind of services. If e.g. in a normal service check I have a normal_check_interval of 5 minutes, retry_check_interval 1 minute - and max_check_attemps 3 .. How would this be configures in freshness ?? set threshold to 8 minutes (640 seconds) ? Regards, /Brian ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 18 23:48:57 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Sun, 18 Jan 2004 15:48:57 -0700 Subject: [Fwd: Re: Accurate check time] Message-ID: <400B0D59.2020303@unixisgod.com> Forwarding to list after 2 requests for it ;) We've seen as many was 800 Checks per minute with this config. Here's my template for all my services: define service{ name generic_service is_volatile 0 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 freshness_threshold 0 event_handler_enabled 1 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 15 notification_period none notification_options w,c,r notifications_enabled 1 stalking_options w,u,c contact_groups noc register 0 } ############################################################################## # # NAGIOS.CFG - Sample Main Config File for Nagios # # Read the documentation for more information on this configuration # file. I've provided some comments here, but things may not be so # clear without further explanation. # # Last Modified: 07-04-2002 # ############################################################################## # LOG FILE # This is the main log file where service and host events are logged # for historical purposes. This should be the first option specified # in the config file!!! log_file=/usr/local/nagios/var/nagios.log # OBJECT CONFIGURATION FILE(S) # This is the configuration file in which you define hosts, host # groups, contacts, contact groups, services, etc. I guess it would # be better called an object definition file, but for historical # reasons it isn't. You can split object definitions into several # different config files by using multiple cfg_file statements here. # Nagios will read and process all the config files you define. # This can be very useful if you want to keep command definitions # separate from host and contact definitions... # Plugin commands (service and host check commands) # Arguments are likely to change between different releases of the # plugins, so you should use the same config file provided with the # plugin release rather than the one provided with Nagios. cfg_file=/usr/local/nagios/etc/checkcommands.cfg # Misc commands (notification and event handler commands, etc) cfg_file=/usr/local/nagios/etc/misccommands.cfg # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. 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 # This is an optional resource file that contains $USERx$ macro # definitions. Multiple resource files can be specified by using # multiple resource_file definitions. The CGIs will not attempt to # read the contents of resource files, so information that is # considered to be sensitive (usernames, passwords, etc) can be # defined as macros in this file and restrictive permissions (600) # can be placed on this file. resource_file=/usr/local/nagios/etc/resource.cfg # STATUS FILE # This is where the current status of all monitored services and # hosts is stored. Its contents are read and processed by the CGIs. # The contentsof the status file are deleted every time Nagios # restarts. status_file=/usr/local/nagios/var/status.log # NAGIOS USER # This determines the effective user that Nagios should run as. # You can either supply a username or a UID. nagios_user=nagios # NAGIOS GROUP # This determines the effective group that Nagios should run as. # You can either supply a group name or a GID. nagios_group=nagios # EXTERNAL COMMAND OPTION # This option allows you to specify whether or not Nagios should check # for external commands (in the command file defined below). By default # Nagios will *not* check for external commands, just to be on the # cautious side. If you want to be able to use the CGI command interface # you will have to enable this. Setting this value to 0 disables command # checking (the default), other values enable it. check_external_commands=1 # EXTERNAL COMMAND CHECK INTERVAL # This is the interval at which Nagios should check for external commands. # This value works of the interval_length you specify later. If you leave # that at its default value of 60 (seconds), a value of 1 here will cause # Nagios to check for external commands every minute. If you specify a # number followed by an "s" (i.e. 15s), this will be interpreted to mean # actual seconds rather than a multiple of the interval_length variable. # Note: In addition to reading the external command file at regularly # scheduled intervals, Nagios will also check for external commands after # event handlers are executed. # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. #command_check_interval=1 #command_check_interval=15s command_check_interval=1s # EXTERNAL COMMAND FILE # This is the file that Nagios checks for external command requests. # It is also where the command CGI will write commands that are submitted # by users, so it must be writeable by the user that the web server # is running as (usually 'nobody'). Permissions should be set at the # directory level instead of on the file, as the file is deleted every # time its contents are processed. command_file=/usr/local/nagios/var/rw/nagios.cmd # COMMENT FILE # This is the file that Nagios will use for storing host and service # comments. comment_file=/usr/local/nagios/var/comment.log # DOWNTIME FILE # This is the file that Nagios will use for storing host and service # downtime data. downtime_file=/usr/local/nagios/var/downtime.log # LOCK FILE # This is the lockfile that Nagios will use to store its PID number # in when it is running in daemon mode. lock_file=/usr/local/nagios/var/nagios.lock # TEMP FILE # This is a temporary file that is used as scratch space when Nagios # updates the status log, cleans the comment file, etc. This file # is created, used, and deleted throughout the time that Nagios is # running. temp_file=/usr/local/nagios/var/nagios.tmp # LOG ROTATION METHOD # This is the log rotation method that Nagios should use to rotate # the main log file. Values are as follows.. # n = None - don't rotate the log # h = Hourly rotation (top of the hour) # d = Daily rotation (midnight every day) # w = Weekly rotation (midnight on Saturday evening) # m = Monthly rotation (midnight last day of month) log_rotation_method=d # LOG ARCHIVE PATH # This is the directory where archived (rotated) log files should be # placed (assuming you've chosen to do log rotation). log_archive_path=/usr/local/nagios/var/archives # LOGGING OPTIONS # If you want messages logged to the syslog facility, as well as the # NetAlarm log file set this option to 1. If not, set it to 0. use_syslog=1 # NOTIFICATION LOGGING OPTION # If you don't want notifications to be logged, set this value to 0. # If notifications should be logged, set the value to 1. log_notifications=1 # SERVICE RETRY LOGGING OPTION # If you don't want service check retries to be logged, set this value # to 0. If retries should be logged, set the value to 1. log_service_retries=1 # HOST RETRY LOGGING OPTION # If you don't want host check retries to be logged, set this value to # 0. If retries should be logged, set the value to 1. log_host_retries=1 # EVENT HANDLER LOGGING OPTION # If you don't want host and service event handlers to be logged, set # this value to 0. If event handlers should be logged, set the value # to 1. log_event_handlers=1 # INITIAL STATES LOGGING OPTION # If you want Nagios to log all initial host and service states to # the main log file (the first time the service or host is checked) # you can enable this option by setting this value to 1. If you # are not using an external application that does long term state # statistics reporting, you do not need to enable this option. In # this case, set the value to 0. log_initial_states=0 # EXTERNAL COMMANDS LOGGING OPTION # If you don't want Nagios to log external commands, set this value # to 0. If external commands should be logged, set this value to 1. # Note: This option does not include logging of passive service # checks - see the option below for controlling whether or not # passive checks are logged. log_external_commands=1 # PASSIVE SERVICE CHECKS LOGGING OPTION # If you don't want Nagios to log passive service checks, set this # value to 0. If passive service checks should be logged, set this # value to 1. log_passive_service_checks=1 # GLOBAL HOST AND SERVICE EVENT HANDLERS # These options allow you to specify a host and service event handler # command that is to be run for every host or service state change. # The global event handler is executed immediately prior to the event # handler that you have optionally specified in each host or # service definition. The command argument is the short name of a # command definition that you define in your host configuration file. # Read the HTML docs for more information. #global_host_event_handler=somecommand #global_service_event_handler=somecommand # INTER-CHECK DELAY METHOD # This is the method that Nagios should use when initially # "spreading out" service checks when it starts monitoring. The # default is to use smart delay calculation, which will try to # space all service checks out evenly to minimize CPU load. # Using the dumb setting will cause all checks to be scheduled # at the same time (with no delay between them)! This is not a # good thing for production, but is useful when testing the # parallelization functionality. # n = None - don't use any delay between checks # d = Use a "dumb" delay of 1 second between checks # s = Use "smart" inter-check delay calculation # x.xx = Use an inter-check delay of x.xx seconds inter_check_delay_method=s # SERVICE CHECK INTERLEAVE FACTOR # This variable determines how service checks are interleaved. # Interleaving the service checks allows for a more even # distribution of service checks and reduced load on remote # hosts. Setting this value to 1 is equivalent to how versions # of Nagios previous to 0.0.5 did service checks. Set this # value to s (smart) for automatic calculation of the interleave # factor unless you have a specific reason to change it. # s = Use "smart" interleave factor calculation # x = Use an interleave factor of x, where x is a # number greater than or equal to 1. service_interleave_factor=s # MAXIMUM CONCURRENT SERVICE CHECKS # This option allows you to specify the maximum number of # service checks that can be run in parallel at any given time. # Specifying a value of 1 for this variable essentially prevents # any service checks from being parallelized. A value of 0 # will not restrict the number of concurrent checks that are # being executed. max_concurrent_checks=300 #max_concurrent_checks=50 # SERVICE CHECK REAPER FREQUENCY # This is the frequency (in seconds!) that Nagios will process # the results of services that have been checked. service_reaper_frequency=3 # SLEEP TIME # This is the number of seconds to sleep between checking for system # events and service checks that need to be run. I would recommend # *not* changing this from its default value of 1 second. sleep_time=1 # TIMEOUT VALUES # These options control how much time Nagios will allow various # types of commands to execute before killing them off. Options # are available for controlling maximum time allotted for # service checks, host checks, event handlers, notifications, the # ocsp command, and performance data commands. All values are in # seconds. service_check_timeout=30 host_check_timeout=5 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 # RETAIN STATE INFORMATION # This setting determines whether or not Nagios will save state # information for services and hosts before it shuts down. Upon # startup Nagios will reload all saved service and host state # information before starting to monitor. This is useful for # maintaining long-term data on state statistics, etc, but will # slow Nagios down a bit when it (re)starts. Since its only # a one-time penalty, I think its well worth the additional # startup delay. retain_state_information=1 # STATE RETENTION FILE # This is the file that Nagios should use to store host and # service state information before it shuts down. The state # information in this file is also read immediately prior to # starting to monitor the network when Nagios is restarted. # This file is used only if the preserve_state_information # variable is set to 1. state_retention_file=/usr/local/nagios/var/status.sav # RETENTION DATA UPDATE INTERVAL # This setting determines how often (in minutes) that Nagios # will automatically save retention data during normal operation. # If you set this value to 0, Nagios will not save retention # data at regular interval, but it will still save retention # data before shutting down or restarting. If you have disabled # state retention, this option has no effect. retention_update_interval=15 # USE RETAINED PROGRAM STATE # This setting determines whether or not Nagios will set # program status variables based on the values saved in the # retention file. If you want to use retained program status # information, set this value to 1. If not, set this value # to 0. use_retained_program_state=1 # INTERVAL LENGTH # This is the seconds per unit interval as used in the # host/contact/service configuration files. Setting this to 60 means # that each interval is one minute long (60 seconds). Other settings # have not been tested much, so your mileage is likely to vary... interval_length=60 # AGRESSIVE HOST CHECKING OPTION # If you don't want to turn on agressive host checking features, set # this value to 0 (the default). Otherwise set this value to 1 to # enable the agressive check option. Read the docs for more info # on what agressive host check is or check out the source code in # base/checks.c use_agressive_host_checking=0 # SERVICE CHECK EXECUTION OPTION # This determines whether or not Nagios will actively execute # service checks when it initially starts. If this option is # disabled, checks are not actively made, but Nagios can still # receive and process passive check results that come in. Unless # you're implementing redundant hosts or have a special need for # disabling the execution of service checks, leave this enabled! # Values: 1 = enable checks, 0 = disable checks execute_service_checks=1 # PASSIVE CHECK ACCEPTANCE OPTION # This determines whether or not Nagios will accept passive # service checks results when it initially (re)starts. # Values: 1 = accept passive checks, 0 = reject passive checks accept_passive_service_checks=1 # NOTIFICATIONS OPTION # This determines whether or not Nagios will sent out any host or # service notifications when it is initially (re)started. # Values: 1 = enable notifications, 0 = disable notifications enable_notifications=0 # EVENT HANDLER USE OPTION # This determines whether or not Nagios will run any host or # service event handlers when it is initially (re)started. Unless # you're implementing redundant hosts, leave this option enabled. # Values: 1 = enable event handlers, 0 = disable event handlers enable_event_handlers=1 # PROCESS PERFORMANCE DATA OPTION # This determines whether or not Nagios will process performance # data returned from service and host checks. If this option is # enabled, host performance data will be processed using the # host_perfdata_command (defined below) and service performance # data will be processed using the service_perfdata_command (also # defined below). Read the HTML docs for more information on # performance data. # Values: 1 = process performance data, 0 = do not process performance data process_performance_data=1 # HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS # These commands are run after every host and service check is # performed. These commands are executed only if the # enable_performance_data option (above) is set to 1. The command # argument is the short name of a command definition that you # define in your host configuration file. Read the HTML docs for # more information on performance data. #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata # OBSESS OVER SERVICE CHECKS OPTION # This determines whether or not Nagios will obsess over service # checks and run the ocsp_command defined below. Unless you're # planning on implementing distributed monitoring, do not enable # this option. Read the HTML docs for more information on # implementing distributed monitoring. # Values: 1 = obsess over services, 0 = do not obsess (default) obsess_over_services=0 # OBSESSIVE COMPULSIVE SERVICE PROCESSOR COMMAND # This is the command that is run for every service check that is # processed by Nagios. This command is executed only if the # obsess_over_service option (above) is set to 1. The command # argument is the short name of a command definition that you # define in your host configuration file. Read the HTML docs for # more information on implementing distributed monitoring. #ocsp_command=somecommand # ORPHANED SERVICE CHECK OPTION # This determines whether or not Nagios will periodically # check for orphaned services. Since service checks are not # rescheduled until the results of their previous execution # instance are processed, there exists a possibility that some # checks may never get rescheduled. This seems to be a rare # problem and should not happen under normal circumstances. # If you have problems with service checks never getting # rescheduled, you might want to try enabling this option. # Values: 1 = enable checks, 0 = disable checks check_for_orphaned_services=1 # SERVICE FRESHNESS CHECK OPTION # This option determines whether or not Nagios will periodically # check the "freshness" of service results. Enabling this option # is useful for ensuring passive checks are received in a timely # manner. # Values: 1 = enabled freshness checking, 0 = disable freshness checking check_service_freshness=1 # FRESHNESS CHECK INTERVAL # This setting determines how often (in seconds) Nagios will # check the "freshness" of service check results. If you have # disabled service freshness checking, this option has no effect. freshness_check_interval=60 # AGGREGATED STATUS UPDATES # This option determines whether or not Nagios will # aggregate updates of host, service, and program status # data. Normally, status data is updated immediately when # a change occurs. This can result in high CPU loads if # you are monitoring a lot of services. If you want Nagios # to only refresh status data every few seconds, disable # this option. # Values: 1 = enable aggregate updates, 0 = disable aggregate updates aggregate_status_updates=1 # AGGREGATED STATUS UPDATE INTERVAL # Combined with the aggregate_status_updates option, # this option determines the frequency (in seconds!) that # Nagios will periodically dump program, host, and # service status data. If you are not using aggregated # status data updates, this option has no effect. status_update_interval=15 # FLAP DETECTION OPTION # This option determines whether or not Nagios will try # and detect hosts and services that are "flapping". # Flapping occurs when a host or service changes between # states too frequently. When Nagios detects that a # host or service is flapping, it will temporarily supress # notifications for that host/service until it stops # flapping. Flap detection is very experimental, so read # the HTML documentation before enabling this feature! # Values: 1 = enable flap detection # 0 = disable flap detection (default) enable_flap_detection=1 # FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES # Read the HTML documentation on flap detection for # an explanation of what this option does. This option # has no effect if flap detection is disabled. 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 OPTION # This option determines how short dates are displayed. Valid options # include: # us (MM-DD-YYYY HH:MM:SS) # euro (DD-MM-YYYY HH:MM:SS) # iso8601 (YYYY-MM-DD HH:MM:SS) # strict-iso8601 (YYYY-MM-DDTHH:MM:SS) # date_format=us # ILLEGAL OBJECT NAME CHARACTERS # This options allows you to specify illegal characters that cannot # be used in host names, service descriptions, or names of other # object types. illegal_object_name_chars=`~!$%^&*|'"<>?,()= # ILLEGAL MACRO OUTPUT CHARACTERS # This options allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $OUTPUT$, $PERFDATA$ illegal_macro_output_chars=`~$&|'"<> # ADMINISTRATOR EMAIL ADDRESS # The email address of the administrator of *this* machine (the one # doing the monitoring). Nagios never uses this value itself, but # you can access this value by using the $ADMINEMAIL$ macro in your # notification commands. admin_email=jeff at unixisgod.com # ADMINISTRATOR PAGER NUMBER/ADDRESS # The pager number/address for the administrator of *this* machine. # Nagios never uses this value itself, but you can access this # value by using the $ADMINPAGER$ macro in your notification # commands. admin_pager=pagenagios # EOF (End of file) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From monitor at ehp2.hostinx.com Mon Jan 19 10:42:36 2004 From: monitor at ehp2.hostinx.com (EHP) Date: Mon, 19 Jan 2004 10:42:36 +0100 Subject: Accurate check time Message-ID: <200401190942.i0J9gbDd044837@pinokio.kancelar.seznam.cz> All services are checked in 15 mins period, not 1 min (very different situation). I have similar configuration in monitoring Nagios instances, but it isn't sufficient (especially pings). I can run some services in 1 min, but not all. Second problem is hundreds processes of Nagios waiting (and maybe timeouting ?). Petr ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Mon Jan 19 10:52:52 2004 From: christian.masopust at siemens.com (Masopust Christian) Date: Mon, 19 Jan 2004 10:52:52 +0100 Subject: Service for all Hosts but one... Message-ID: Hi folks, is there an easy way to create a service for all hosts but one? thanks, Chris ___________________________________________________________ Christian Masopust SIEMENS AG PSE SMC CI E CM Tel: +43 (0) 5 1707 26866 E-mail: christian.masopust at siemens.com Addr: Austria, 1210 Vienna, Siemensstra?e 90-92, B. 34, Rm. 3057 ___________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Mon Jan 19 11:23:37 2004 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 19 Jan 2004 20:23:37 +1000 Subject: Service for all Hosts but one... In-Reply-To: References: Message-ID: <5.2.0.9.2.20040119202214.01498480@imap.qut.edu.au> Christian, In Nagios 1.x, you will have to create a new group that lacks that one host. In Nagios 2.x, you can use boolean expressions when applying services to host groups. Greg At 07:52 PM 19/01/2004, Masopust Christian wrote: >Hi folks, > >is there an easy way to create a service for all hosts but one? > >thanks, >Chris > >___________________________________________________________ >Christian >Masopust SIEMENS >AG PSE SMC CI E CM Tel: +43 (0) 5 1707 26866 E-mail: >christian.masopust at siemens.com Addr: Austria, 1210 Vienna, Siemensstra?e >90-92, B. 34, Rm. 3057 >___________________________________________________________ ================================= 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.koch at eurodata.de Mon Jan 19 11:42:40 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Mon, 19 Jan 2004 11:42:40 +0100 Subject: Service for all Hosts but one... In-Reply-To: References: Message-ID: <1074508960.571.4.camel@dresden.eurodata.de> YES use the Group Name in the service.cfg hostgroup_name "Group-Name" Andreas Am Mo, den 19.01.2004 schrieb Masopust Christian um 10:52: > Hi folks, > > is there an easy way to create a service for all hosts but one? > > thanks, > Chris > > > ___________________________________________________________ > > Christian Masopust > > SIEMENS AG PSE SMC CI E CM > Tel: +43 (0) 5 1707 26866 > E-mail: christian.masopust at siemens.com > Addr: Austria, 1210 Vienna, Siemensstra?e 90-92, B. > 34, Rm. 3057 > ___________________________________________________________ > > -- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Jan 19 12:05:12 2004 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 19 Jan 2004 21:05:12 +1000 Subject: weird permissions problem Message-ID: <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> Hi all, I'm running Nagios 1.1 under Debian and I have observed this strange problem: If any of my config files are permissions o-r, I get 'not authorized' for any host/service in Nagios. Here is a sample of a config file: vickersg at host:/etc/nagios/objects/hostgroups/blah/blah/blah$ ll total 4 -rw-rw-r-- 1 vickersg nagios 164 Jan 19 20:50 servers.hostgroup.cfg If I 'chmod o-r servers.hostgroup.cfg' then the web page won't show me any information at all. Has anyone else seen this problem or am I just thinking strangely? ================================= 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surya at divre1.telkom.co.id Mon Jan 19 12:02:19 2004 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Mon, 19 Jan 2004 18:02:19 +0700 Subject: Service for all Hosts but one... In-Reply-To: References: Message-ID: <5.1.0.14.2.20040119180149.01e202b0@10.16.3.240> Try ' * ' for all host At 10:52 AM 1/19/2004 +0100, Masopust Christian wrote: >Hi folks, > >is there an easy way to create a service for all hosts but one? > >thanks, >Chris > >___________________________________________________________ >Christian >Masopust SIEMENS >AG PSE SMC CI E CM Tel: +43 (0) 5 1707 26866 E-mail: >christian.masopust at siemens.com Addr: Austria, 1210 Vienna, Siemensstra?e >90-92, B. 34, Rm. >3057 ___________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Mon Jan 19 12:46:00 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 19 Jan 2004 11:46:00 +0000 Subject: questions In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A19D@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A19D@mismail2.ena.com> Message-ID: <20040119114600.16815.qmail@minnow.softflare.net> Marc Powell writes: > NRPE, which allows you to run plugins on remote machines can > use encryption I believe. With encryption but (as I understand it) without authentication. The results cannot be deciphered by eavesdroppers but it relies upon tcpwrappers to limit who can connect to it. This can be a problem if your monitoring machine is on ADSL or cable modem and its IP address can change (not a problem for most people but this one is a problem for me because of a PHB who insists on running nagios on his home computer to save on chargeable bandwidth). Note that somebody in a position to eavesdrop on traffic could probably use IP spoofing and pick up a result that he or she could decipher. > Check_by_ssh is obviously encrypted. And authenticated, which means that you don't have to use tcpwrappers (although you can if you're really paranoid or worried about DoS attacks) or sniffers who use IP spoofing. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charbonnel at lal.in2p3.fr Mon Jan 19 12:58:14 2004 From: charbonnel at lal.in2p3.fr (Jacquelin Charbonnel) Date: Mon, 19 Jan 2004 12:58:14 +0100 Subject: "Caught SIGSEGV, shutting down..." under Fedora 1 Message-ID: <61419296.1074517094@nb-jacquelin.lal.in2p3.fr> Hello, I have built Nagios 1.1 undef Fedora 1, with no error, but at runtime, it aborts immediately with the message : "Caught SIGSEGV, shutting down..." The same configuration (compilation options and .cfg files) runs since several months under RedHat with no problem. (in particular, I use MySql databases for all the data). Has anyone else seen this problem ? --------------------------------------------- Jacquelin Charbonnel CNRS - Laboratoire de l'Acc?l?rateur Lin?aire Bat 200 - Centre Scientifique d'Orsay - BP 34 91898 Orsay Cedex - France mail : charbonnel at lal.in2p3.fr web : www.lal.in2p3.fr t?l : 1 64 46 89 28 fax : 1 69 07 94 04 --------------------------------------------- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Jan 19 13:04:23 2004 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 19 Jan 2004 22:04:23 +1000 Subject: weird permissions problem In-Reply-To: <400BBBE7.5050702@mobeon.com> References: <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> <400BBBE7.5050702@mobeon.com> Message-ID: <5.2.0.9.2.20040119215358.02314df8@imap.qut.edu.au> I would have thought that the web server wouldn't need to read the Nagios config files??? I mean that's what I would have thought. So if (under Debian) I add www-data to the nagios group, I won't need o+r on my Nagios config files. (But if Apache is hijacked, it could be used to read all the Nagios config files, right?) G At 09:13 PM 19/01/2004, Fredrik W?nglund wrote: >If the WEB-server is not run by the user 'vickersg', then it's the >expected behaviour. > >The files must be readable by the user (or group) that runs the WEB-server. > > >/FredrikW > > > >Greg Vickers wrote: > >>Hi all, >>I'm running Nagios 1.1 under Debian and I have observed this strange problem: >>If any of my config files are permissions o-r, I get 'not authorized' for >>any host/service in Nagios. >>Here is a sample of a config file: >>vickersg at host:/etc/nagios/objects/hostgroups/blah/blah/blah$ ll >>total 4 >>-rw-rw-r-- 1 vickersg nagios 164 Jan 19 20:50 servers.hostgroup.cfg >>If I 'chmod o-r servers.hostgroup.cfg' then the web page won't show me >>any information at all. >>Has anyone else seen this problem or am I just thinking strangely? >> >>================================= >>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 >> >>------------------------------------------------------- >>The SF.Net email is sponsored by EclipseCon 2004 >>Premiere Conference on Open Tools Development and Integration >>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >>http://www.eclipsecon.org/osdn >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. ::: Messages without supporting info will risk being >>sent to /dev/null > ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at mobeon.com Mon Jan 19 13:11:12 2004 From: fredrik.wanglund at mobeon.com (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 19 Jan 2004 13:11:12 +0100 Subject: weird permissions problem Message-ID: <400BC960.2080807@mobeon.com> If the WEB-server is not run by the user 'vickersg', then it's the expected behaviour. The files must be readable by the user (or group) that runs the WEB-server. /FredrikW Greg Vickers wrote: > Hi all, > > I'm running Nagios 1.1 under Debian and I have observed this strange > problem: > > If any of my config files are permissions o-r, I get 'not authorized' > for any host/service in Nagios. > > Here is a sample of a config file: > vickersg at host:/etc/nagios/objects/hostgroups/blah/blah/blah$ ll > total 4 > -rw-rw-r-- 1 vickersg nagios 164 Jan 19 20:50 > servers.hostgroup.cfg > > If I 'chmod o-r servers.hostgroup.cfg' then the web page won't show me > any information at all. > > Has anyone else seen this problem or am I just thinking strangely? > > > ================================= > 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 > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 13:44:59 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 19 Jan 2004 12:44:59 +0000 Subject: extended information handling... In-Reply-To: <200401161752.i0GHqsLM029408@pop17.ucdavis.edu> References: <200401150056.i0F0u2LM017267@pop17.ucdavis.edu> <20040115013301.9141.qmail@minnow.softflare.net> <200401161752.i0GHqsLM029408@pop17.ucdavis.edu> Message-ID: <20040119124459.17790.qmail@minnow.softflare.net> Ron Huff writes: > Thanks for you quick reply to my iocn-display-problem; > it was indeed an image-format issue, but this is what I found: > ...nagios could not properly display .gif or .jpg > images (these worked just fine in the browser); as soon as I supplied > .png, my icons were displayed correctly; Sounds like you have problems with the jpeg libraries. You need libjpeg and libjpeg-devel. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 14:07:53 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Mon, 19 Jan 2004 08:07:53 -0500 Subject: weird permissions problem In-Reply-To: <5.2.0.9.2.20040119215358.02314df8@imap.qut.edu.au> References: <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> <5.2.0.9.2.20040119215358.02314df8@imap.qut.edu.au> Message-ID: <1074517673.1120.2.camel@miles.debisschop.net> On Mon, 2004-01-19 at 07:04, Greg Vickers wrote: > I would have thought that the web server wouldn't need to read the Nagios > config files??? I mean that's what I would have thought. Think further. Since the web interface can display group info, service cammand definitions, etc, the web interface must be able to read them. > So if (under Debian) I add www-data to the nagios group, I won't need o+r > on my Nagios config files. (But if Apache is hijacked, it could be used to > read all the Nagios config files, right?) IIRC, all file except user.cfg, which is specifically set up to allow you to put sensitive user data without causing the web display to fail. > G > > At 09:13 PM 19/01/2004, Fredrik W?nglund wrote: > >If the WEB-server is not run by the user 'vickersg', then it's the > >expected behaviour. > > > >The files must be readable by the user (or group) that runs the WEB-server. > > > > > >/FredrikW > > > > > > > >Greg Vickers wrote: > > > >>Hi all, > >>I'm running Nagios 1.1 under Debian and I have observed this strange problem: > >>If any of my config files are permissions o-r, I get 'not authorized' for > >>any host/service in Nagios. > >>Here is a sample of a config file: > >>vickersg at host:/etc/nagios/objects/hostgroups/blah/blah/blah$ ll > >>total 4 > >>-rw-rw-r-- 1 vickersg nagios 164 Jan 19 20:50 servers.hostgroup.cfg > >>If I 'chmod o-r servers.hostgroup.cfg' then the web page won't show me > >>any information at all. > >>Has anyone else seen this problem or am I just thinking strangely? > >> > >>================================= > >>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 > >> > >>------------------------------------------------------- > >>The SF.Net email is sponsored by EclipseCon 2004 > >>Premiere Conference on Open Tools Development and Integration > >>See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > >>http://www.eclipsecon.org/osdn > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > >>reporting any issue. ::: Messages without supporting info will risk being > >>sent to /dev/null > > > > ================================= > Greg Vickers > Computer Systems Officer > Student Support and Systems, > Teaching and Learning Support Systems, > Queensland University of Technology, > Kelvin Grove Campus, > Brisbane, > Australia > > CRICOS No 00213J > > Ph: 07 3864 8276 Fax: 07 3864 5425 > Mob: 0416 001 674 SD: #66147 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 14:39:49 2004 From: rob at capband.net (rob at capband.net) Date: Mon, 19 Jan 2004 08:39:49 -0500 Subject: questions Message-ID: > tcpwrappers to limit who can connect to it. This can be a problem if > your monitoring machine is on ADSL or cable modem and its IP address > can change (not a problem for most people but this one is a problem > for me because of a PHB who insists on running nagios on his home > computer to save on chargeable bandwidth). Note that somebody in a I'm sure you're aware of this, but we use VPN tunnels to get around this. Yeah, one side of the VPN tunnel has to accept connections from at least a class B network, but the target and source addresses for NRPE would then both be RFC1918 numbers and wouldn't change *shrug* ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simon.lorenz at fresca.co.uk Mon Jan 19 15:00:28 2004 From: simon.lorenz at fresca.co.uk (Simon Lorenz) Date: Mon, 19 Jan 2004 14:00:28 +0000 Subject: Nagios Negate Message-ID: Am I correct in thinking that the Nagios negate plug-in only works as a wrapper for plug-ins that require no options? When running it always returns an error that suggests this is so: ./negate ./check_http -H 192.168.0.100 ./negate: invalid option -- H negate: Unknown argument - H If so are there other options out there, or will I need to write my own? What I am trying to do is get the check_http plug-in to check for a specific piece of content, that will only be shown if there IS a problem. To do this I need to reverse the response generated by this plug-in, so that it generates a CRITICAL alert if it finds the string. Many thanks Simon ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sue.davies at lbbd.gov.uk Mon Jan 19 15:01:19 2004 From: sue.davies at lbbd.gov.uk (Davies Sue) Date: Mon, 19 Jan 2004 14:01:19 -0000 Subject: NRPE Message-ID: I'm trying to install nrpe 2.0 on AIX 4.3, I can compile without any errors but when I come to do a make all get this error. Can anyone tell me please what I'm doing wrong. Many Thanks Sue Davies Error message: nrpe.c: In function `main': nrpe.c:198: warning: assignment makes pointer from integer without a cast ld: 0711-317 ERROR: Undefined symbol: .get_dh512 ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. ********************************************************************** http://www.barking-dagenham.gov.uk E-mail confidentiality notice. This message is intended for the addressee(s) only. It may be private, confidential and may be covered by legal professional privilege or other confidentiality requirements. If you are not one of the intended recipients, please notify the sender immediately on +44(0)20-8592-4500 and delete the message from all locations in your computer network. Do not copy this e-mail or use it for any purpose or disclose its contents to any person: to do so may be unlawful' ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Mon Jan 19 15:18:44 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 19 Jan 2004 14:18:44 +0000 Subject: questions Message-ID: <20040119141844.12540.qmail@minnow.softflare.net> rob at capband.net writes: >> tcpwrappers to limit who can connect to it. This can be a problem if >> your monitoring machine is on ADSL or cable modem and its IP address >> can change (not a problem for most people but this one is a problem >> for me because of a PHB who insists on running nagios on his home >> computer to save on chargeable bandwidth). > I'm sure you're aware of this, but we use VPN tunnels to get around this. Yeah, that's another way around the problem. If you are monitoring many independent clients (which we are) then check_by_ssh may be a simpler option. Also, I'm none too happy with any VPN technology I've seen. IPSec comes in for a lot of criticism from Schneier over security issues, vtund I've found to be intolerant of network outages and needs manually resetting, pptp uses weak encryption of passwords, one of the other technologies tunnels tcp over tcp (bad idea because backoffs get compounded). -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 15:25:28 2004 From: ejl at man.fwltech.com (Ewan Leith) Date: Mon, 19 Jan 2004 14:25:28 -0000 Subject: NRPE Message-ID: <1012BD903945D411915500105A48FF5701C73D99@nt.man.fwltech.com> Hmm, i didn't have any problems getting nrpe 2 to compile on aix 4.3 using gcc and gmake instead of make - do you know if you've got the GNU tools installed or just the IBM ones? Ewan -----Original Message----- From: Davies Sue [mailto:sue.davies at lbbd.gov.uk] Sent: 19 January 2004 14:01 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NRPE I'm trying to install nrpe 2.0 on AIX 4.3, I can compile without any errors but when I come to do a make all get this error. Can anyone tell me please what I'm doing wrong. Many Thanks Sue Davies Error message: nrpe.c: In function `main': nrpe.c:198: warning: assignment makes pointer from integer without a cast ld: 0711-317 ERROR: Undefined symbol: .get_dh512 ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. ********************************************************************** http://www.barking-dagenham.gov.uk E-mail confidentiality notice. This message is intended for the addressee(s) only. It may be private, confidential and may be covered by legal professional privilege or other confidentiality requirements. If you are not one of the intended recipients, please notify the sender immediately on +44(0)20-8592-4500 and delete the message from all locations in your computer network. Do not copy this e-mail or use it for any purpose or disclose its contents to any person: to do so may be unlawful' ********************************************************************** ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 15:28:15 2004 From: w.pfeiffer at enbw.com (w.pfeiffer at enbw.com) Date: Mon, 19 Jan 2004 15:28:15 +0100 Subject: Nagios Negate Message-ID: <949B03E209CCCE43A00F0BBEA2FB4034018C8D@s2h3148r> Simon Lorenz wrote: > Am I correct in thinking that the Nagios negate plug-in only > works as a wrapper for plug-ins that require no options? > When running it always returns an error that suggests this is so: > > ./negate ./check_http -H 192.168.0.100 > ./negate: invalid option -- H > negate: Unknown argument - H > > If so are there other options out there, or will I need to > write my own? Strange... It shouldn't do that. It works for me: $ ./negate -V negate (nagios-plugins 1.3.1) 1.5.2.2 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. $ ./check_http -V check_http (nagios-plugins 1.3.1) 1.24.2.4 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. $ ./negate ./check_http -H 127.0.0.1 HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003 $ echo $? 2 What version of the plugins are you using? What happens if you quote the argument to negate, i.e. ./negate './check_http -H 192.168.0.100'? > What I am trying to do is get the check_http plug-in to check > for a specific piece of content, that will only be shown if > there IS a problem. To do this I need to reverse the response > generated by this plug-in, so that it generates a CRITICAL > alert if it finds the string. I'm using a custom check http plugin (written in Perl) that, among other things, also allows to specify a regex that a webpage must NOT match. If you're somewhat fluent in Perl something like that is quite easy to do using the LWP module. This could at least provide a temporary workaround for your problem. Regards, Wolfram Pfeiffer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgarcias at ing-coam.com.mx Mon Jan 19 16:10:07 2004 From: jgarcias at ing-coam.com.mx (Jose Garcia Sabbagh) Date: Mon, 19 Jan 2004 09:10:07 -0600 Subject: HP-UX nrpe permissions Message-ID: <3BD5FCC8AC38C340B18D727F50133F5948F8A9@exchtlalpan.ing-coam.com.mx> Hi all: I'm using Nagios with RedHat 7.3 I already have used nrpe with Solaris and it works fine Now I need to run the nrpe agent on HP-UX 11 and 11i I downloaded precompiled version of the nrpe agent from www.bennyvision.com The agent is running fine without inetd daemon, and the permissions for the Nagios host are configured in the conf file. There's no problem If I run a local test of the plug-in (for example: /usr/local/nagios/libexec/check_procs -w 150 -c 200) on the agent host The problem is when I call the agent from the Nagios host. The message is: CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? I don't find where the problem is. Please help me with it Thank you very much. Jos? Garc?a Sabbagh Seguridad Inform?tica (5255) 5169.2500 ext. 3389 La informaci?n contenida en este correo electr?nico es confidencial y est? legalmente protegida. Est? dirigido solamente a la direcci?n de correo se?alada. El acceso a este correo electr?nico por cualquier otra persona, No est? autorizado. Si Ud. no es el receptor deliberado de este correo electr?nico, cualquier difusi?n, copia o distribuci?n est? prohibida y puede ser ilegal.? Si lo ha recibido por error, por favor notifique al emisor e inmediatamente? b?rrelo de forma permanente y destruya cualquier copia impresa. En caso de que el correo est? dirigido a alguno de nuestros clientes, la opini?n o recomendaci?n contenida est? sujeta a las condiciones regulatorias de ING que resulten aplicables o a los acuerdos comerciales suscritos con el cliente. ? The information in this Internet e-mail is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this Internet e-mail by anyone else is unauthorized. If you are not the intended recipient of this e-mail, any disclosure, copying, or distribution of it is prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender and immediately and permanently delete it and destroy any copies of it that were printed out.? When addressed to our clients any opinions or advice contained in this Internet e-mail is subject to the terms and conditions expressed in any applicable governing ING terms of business or client engagement letter. -------------- next part -------------- An HTML attachment was scrubbed... URL: From miglionni at ig.com.br Mon Jan 19 16:53:22 2004 From: miglionni at ig.com.br (Alberto Miglionni) Date: Mon, 19 Jan 2004 13:53:22 -0200 Subject: Error not read host In-Reply-To: <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> References: <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> Message-ID: <400BFD72.3030802@ig.com.br> I am with the following error: * Error: Could not read host and service status information!* The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios. Some other things you should check in order to resolve this error include: 1. Check the Nagios log file for messages relating to startup or status data errors. 2. Always verify configuration options using the *-v* command-line option before starting or restarting Nagios! 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems 1 e 2 Okay 3? thanks Alberto -------------- next part -------------- An HTML attachment was scrubbed... URL: From alevitt at navis.com Mon Jan 19 17:05:30 2004 From: alevitt at navis.com (Aaron Levitt) Date: Mon, 19 Jan 2004 08:05:30 -0800 Subject: nrpe 2.0 with AIX 4.3.2 Message-ID: <7473201406D1FE4CBAD4096D6BD1E92108C086@hqexch01.hq.navis.net> Simon- Thanks for the information, would you mind posting a patch or what changes you made to the code of check_nrpe? Thanks! -=Aaron -----Original Message----- From: Simon Kitching [mailto:simon at ecnetwork.co.nz] Sent: Friday, January 16, 2004 7:12 PM To: Aaron Levitt Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe 2.0 with AIX 4.3.2 Hi Aaron, On Sat, 2004-01-17 at 05:34, Aaron Levitt wrote: > Unfortunately, I didn't see it, and this article (along with the rest of > the list archive) no longer seems to exist on sourceforge. However, if > you could give me the subject of the thread I could probably locate it > in the gmane archive. Below is the original posting re "CRC32" error when using check_nrpe/nrpe. PS: the nagios archives appear to be up again... Sent: Dec 22 Author: Simon Kitching Subject: nrpe: fails when check command outputs to stderr Hi, I have been having some problems with "check_nrpe" reporting: CHECK_NRPE: Response packet had invalid CRC32. I believe I have located the cause of the problem, which is as follows... When the nrpe app forks a child and calls popen(...) to execute the target command, the STDERR filedescriptor isn't overridden. Therefore if the target command ever outputs data to STDERR, that goes via the inherited STDERR: straight back across the socket to the check_nrpe process! Only *later* does the nrpe process send the packet version, checksum, and message. The result is obvious: check_nrpe looks for the checksum but finds only the STDERR output from the check command and so reports "invalid CRC32". It should be simple to duplicate this problem: a shellscript which prints to STDERR should do the trick I think. I have fixed this by ensuring my (custom) check command suppresses all STDERR output, but I think it would be nice to fix this in nrpe as the error message is difficult to understand. Perhaps also an FAQ entry would be good for this? If you don't have time to look into this, but would be willing to look at a patch for nrpe.c then please let me know and I will prepare one. Thanks for some great software! Regards, Simon ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Jan 19 17:03:06 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 19 Jan 2004 10:03:06 -0600 (CST) Subject: HP-UX nrpe permissions In-Reply-To: <3BD5FCC8AC38C340B18D727F50133F5948F8A9@exchtlalpan.ing-coam.com.mx> References: <3BD5FCC8AC38C340B18D727F50133F5948F8A9@exchtlalpan.ing-coam.com.mx> Message-ID: <1302.134.244.169.17.1074528208.squirrel@webmail.stinkweasel.net> > I downloaded precompiled version of the nrpe agent from > www.bennyvision.com > Note, I have a request in the middle of that page asking people with problems to ask _me_ first, before going to the list. :) That's just so the entire list isn't bothered if it turns out I'm a bonehead. ;) I don't want a problem with my build to tie up the experts' time. > The agent is running fine without inetd daemon, and the permissions for > the > Nagios host are configured in the conf file. > > There's no problem If I run a local test of the plug-in (for example: > /usr/local/nagios/libexec/check_procs -w 150 -c 200) on the agent host > > The problem is when I call the agent from the Nagios host. The message is: > > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? The NRPE build on my site wasn't compiled with any funky options or anything, just SSL disabled. Are you trying to use SSL? Can you telnet to the NRPE port from your Nagios machine? Benny -- "Have you ever tried simply turning off the TV, sitting down with your children, and hitting them?" -- Bender, "Futurama" ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 18:54:04 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 19 Jan 2004 12:54:04 -0500 (EST) Subject: parent host relatiionship In-Reply-To: <200401172050.OAA67371@mail1.theplanet.com> References: <200401172050.OAA67371@mail1.theplanet.com> Message-ID: On Sat, 17 Jan 2004, Ric Moseley wrote: > No one attempted to answer this so I am sending it again. > > 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? It sounds a bit like you might be confusing two related, but different features of Nagios. I'll try and give you a quick rundown on how this works, from which I think you should be able to pick out the things you need for your setup. First, let's assume a simple set of hosts. The Nagios machine (N), N connected to a switch (S) which has two other machines connected in | turn to it (A and B). | S If you want Nagios to be able to draw you a useful status map, /\ you should set the "parents" for hosts A and B to S. This / \ indicates to Nagios that, in order to reach A or B, packets must A B flow through S. Now, the other option involved here is the 'notification_options'. Notification option 'D' tells nagios to complain when a host is down. A host is down when at least one of its parents are reachable, but it is not. Notification option 'U' tells nagios to complain when a host is unreachable. A host is unreachable when all of its parents are either down or unreachable. So, if your 'notification_options' for S, A and B are all set to "D,R" (R is Recovery), and if you were to pull the power on S, you would only be notified about S being down, since A and B get marked as Unreachable, and you haven't included the Unreachable option for notification. If, instead of pulling the plug on S you left it up and pulled the plug on A and B, then you'd get notified of A and B being down. If you also want to be notified when hosts are unreachable, then include the 'U' option in notification_options. Does that answer your question? -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 18:57:21 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 19 Jan 2004 12:57:21 -0500 (EST) Subject: weird permissions problem In-Reply-To: <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> References: <5.2.0.9.2.20040119210145.0287e1f0@imap.qut.edu.au> Message-ID: On Mon, 19 Jan 2004, Greg Vickers wrote: > -rw-rw-r-- 1 vickersg nagios 164 Jan 19 20:50 servers.hostgroup.cfg > > If I 'chmod o-r servers.hostgroup.cfg' then the web page won't show me any > information at all. This really isn't that weird when you consider that your web server probably isn't running as user "vickersg", and probably isn't part of the "nagios" group. Your Nagios CGIs are likely relying on 'other' permissions in order to read your config files. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Mon Jan 19 19:30:46 2004 From: twelsh at square-box.com (Tom Welsh) Date: Mon, 19 Jan 2004 18:30:46 -0000 Subject: Comparison of Big Brother and Nagios Message-ID: <000901c3deba$5cff1490$0400a8c0@squarebox.com> Hi All, Has anyone got a comparison report between Nagios and Big brother? It would save me a lot of time if I could get it from some one and update / plagiarise your efforts so far. I have a client who wants such a comparison and I know I have seen it around somewhere before but cant find it now. I will post the doc when I have finished with it to Ethan for possible dissemination on the propaganda page. Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 19:49:50 2004 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 19 Jan 2004 12:49:50 -0600 Subject: [BUG] check_nrpe fails, SSL handshake error SOLVED In-Reply-To: <63DDF35D-4152-11D8-AD27-0030657DF28A@airmail.net> References: <63DDF35D-4152-11D8-AD27-0030657DF28A@airmail.net> Message-ID: <42E8BFB2-4AB0-11D8-A700-0030657DF28A@airmail.net> On Wednesday, January 7, 2004, at 02:45 PM, Michael Tucker wrote: > 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 quite 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 > > [lengthy details snipped] I have SOLVED this problem, at least for my Solaris installation. It turns out that you need the SSL libraries in your system default runtime link path. This seems obvious in retrospect, but nobody else thought of it either, so I don't feel too bad. :-P In Solaris, you can check (and fix) this with the crle command ("configure runtime linking environment"): > # crle This will display the current default library path, and configuration file (if any). On new installs of Solaris, there's no configuration file, and the path is just /usr/lib. You'll need to change this to include /usr/local/lib and /usr/local/ssl/lib: > # crle -l /usr/lib:/usr/local/lib:/usr/local/ssl/lib > # crle > > Configuration file [3]: /var/ld/ld.config > Default Library Path (ELF): > /usr/lib:/usr/local/lib:/usr/local/ssl/lib > Trusted Directories (ELF): /usr/lib/secure (system default) > > Command line: > crle -c /var/ld/ld.config -l > /usr/lib:/usr/local/lib:/usr/local/ssl/lib Without making any other modifications to the nrpe configuration (or to /etc/inetd.conf or /etc/services, which are already configured to run nrpe under inetd with tcp wrappers), I made the above change on both the monitoring server and the monitored host. Then I copied my already-compiled nrpe and check_nrpe (with SSL enabled) to their respective runtime directories. Voila! It works. :-) *doing the happy Snoopy dance* :-) Yours, Mcihael -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 2322 bytes Desc: not available URL: From jeff at unixisgod.com Mon Jan 19 20:04:32 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Mon, 19 Jan 2004 12:04:32 -0700 Subject: Nagios Negate References: <949B03E209CCCE43A00F0BBEA2FB4034018C8D@s2h3148r> Message-ID: <001801c3debf$12b3f810$0200000a@digitalmarauder.com> Try quoting it: ./negate './check_http -H 192.168.0.100' Jeff ----- Original Message ----- From: To: Sent: Monday, January 19, 2004 07:28 Subject: [Nagios-users] Re: Nagios Negate Simon Lorenz wrote: > Am I correct in thinking that the Nagios negate plug-in only > works as a wrapper for plug-ins that require no options? > When running it always returns an error that suggests this is so: > > ./negate ./check_http -H 192.168.0.100 > ./negate: invalid option -- H > negate: Unknown argument - H > > If so are there other options out there, or will I need to > write my own? Strange... It shouldn't do that. It works for me: $ ./negate -V negate (nagios-plugins 1.3.1) 1.5.2.2 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. $ ./check_http -V check_http (nagios-plugins 1.3.1) 1.24.2.4 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. $ ./negate ./check_http -H 127.0.0.1 HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003 $ echo $? 2 What version of the plugins are you using? What happens if you quote the argument to negate, i.e. ./negate './check_http -H 192.168.0.100'? > What I am trying to do is get the check_http plug-in to check > for a specific piece of content, that will only be shown if > there IS a problem. To do this I need to reverse the response > generated by this plug-in, so that it generates a CRITICAL > alert if it finds the string. I'm using a custom check http plugin (written in Perl) that, among other things, also allows to specify a regex that a webpage must NOT match. If you're somewhat fluent in Perl something like that is quite easy to do using the LWP module. This could at least provide a temporary workaround for your problem. Regards, Wolfram Pfeiffer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 20:37:51 2004 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 19 Jan 2004 13:37:51 -0600 Subject: How to compile nrpe with static linking on Solaris? Message-ID: The subject says it all. I've managed to work around a problem I was having running nrpe (and check_nrpe) with SSL enabled, by running the "crle" command to include SSL's libraries in the system-global default library path. However, I don't want to have to modify the runtime link environment, nor install the SSL libraries, on every host I want to monitor. It's an ok workaround for testing and development, but an unacceptable solution for the general case. So, how do I compile nrpe (and check_nrpe) with static linking on Solaris? Specifically, what options do I need to feed to "./configure" and/or "make", in order for all required libraries to be included? Thanks, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 21:00:22 2004 From: ric at nkn.net (Ric Moseley) Date: Mon, 19 Jan 2004 14:00:22 -0600 Subject: parent host relatiionship In-Reply-To: References: Message-ID: <200401192000.OAA32416@mail1.theplanet.com> This sounds right. Basically I just don't want Nagios emails out if it can't get to its gateway. I created a host called Nagios-gateway and I am going to set all of the hosts Nagios monitors to use Nagios-gateway as its parent. If Nagios-gateway goes down then it will not email out for all of the servers that are unreachable. Thanks. Ric. -----Original Message----- From: mattp at office-mail.cira.ca [mailto:mattp at office-mail.cira.ca] On Behalf Of Matt Pounsett Sent: Monday, January 19, 2004 11:54 AM To: Ric Moseley Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] parent host relatiionship On Sat, 17 Jan 2004, Ric Moseley wrote: > No one attempted to answer this so I am sending it again. > > 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? It sounds a bit like you might be confusing two related, but different features of Nagios. I'll try and give you a quick rundown on how this works, from which I think you should be able to pick out the things you need for your setup. First, let's assume a simple set of hosts. The Nagios machine (N), N connected to a switch (S) which has two other machines connected in | turn to it (A and B). | S If you want Nagios to be able to draw you a useful status map, /\ you should set the "parents" for hosts A and B to S. This / \ indicates to Nagios that, in order to reach A or B, packets must A B flow through S. Now, the other option involved here is the 'notification_options'. Notification option 'D' tells nagios to complain when a host is down. A host is down when at least one of its parents are reachable, but it is not. Notification option 'U' tells nagios to complain when a host is unreachable. A host is unreachable when all of its parents are either down or unreachable. So, if your 'notification_options' for S, A and B are all set to "D,R" (R is Recovery), and if you were to pull the power on S, you would only be notified about S being down, since A and B get marked as Unreachable, and you haven't included the Unreachable option for notification. If, instead of pulling the plug on S you left it up and pulled the plug on A and B, then you'd get notified of A and B being down. If you also want to be notified when hosts are unreachable, then include the 'U' option in notification_options. Does that answer your question? -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 21:29:07 2004 From: cjdock at excite.com (ChuckDock) Date: Mon, 19 Jan 2004 15:29:07 -0500 (EST) Subject: email notification steps.. Message-ID: <20040119202907.99504B6EA@xprdmailfe18.nwk.excite.com> Ok, I'm being lazy/impatient...does anyone have a quick and easy "how to" to set-up email notification if a host goes down? Like which cfg file to fill out, what switches to use? I have sendEmail installed and working so I don't need to have smtp running. Thanks. _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 21:37:57 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 19 Jan 2004 15:37:57 -0500 (EST) Subject: Nagios Negate In-Reply-To: References: Message-ID: On Mon, 19 Jan 2004, Simon Lorenz wrote: > Am I correct in thinking that the Nagios negate plug-in only works as a > wrapper for plug-ins that require no options? When running it always returns > an error that suggests this is so: > > ./negate ./check_http -H 192.168.0.100 > ./negate: invalid option -- H > negate: Unknown argument - H > > If so are there other options out there, or will I need to write my own? > > What I am trying to do is get the check_http plug-in to check for a specific > piece of content, that will only be shown if there IS a problem. To do this > I need to reverse the response generated by this plug-in, so that it > generates a CRITICAL alert if it finds the string. Not really - it only changes the return code - the text is left as is... negate did work in the last stable release... The error you are seeing was fixed... [sghosh at calcutta plugins]$ ./negate ./check_fping -H jersey ; echo $? FPING CRITICAL - jersey (loss=100% )|loss=100%;;;0;100 0 [sghosh at calcutta plugins]$ ./check_fping -H jersey ; echo $? FPING CRITICAL - jersey (loss=100% )|loss=100%;;;0;100 2 -- -sg ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcr2z at cs.virginia.edu Mon Jan 19 21:49:16 2004 From: mcr2z at cs.virginia.edu (Mark Reis) Date: Mon, 19 Jan 2004 15:49:16 -0500 Subject: Checking CPU Utilization In-Reply-To: <20040119202907.99504B6EA@xprdmailfe18.nwk.excite.com> References: <20040119202907.99504B6EA@xprdmailfe18.nwk.excite.com> Message-ID: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> Hello, I'm looking for a light weight command which will return current cpu percentages and then quits like uptime, but with percentages and not load? What I'd ideally like to do is to combine this tool with NRPE and mrtg so I can graph the %CPU usage on compute servers our students use to run jobs. Does anyone have a suggestion for a tool? Thanks, Mark R. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 21:55:30 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 19 Jan 2004 12:55:30 -0800 (PST) Subject: Checking CPU Utilization In-Reply-To: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> References: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You didn't specify what platform, but on Solaris the 'iostat' command does such a thing. - -Jason Martin On Mon, 19 Jan 2004, Mark Reis wrote: > Hello, > > I'm looking for a light weight command which will return current cpu > percentages and then quits like uptime, but with percentages and not load? > What I'd ideally like to do is to combine this tool with NRPE and mrtg so I > can graph the %CPU usage on compute servers our students use to run jobs. > > Does anyone have a suggestion for a tool? > > Thanks, > Mark R. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFADERLl2ODWuqVSBMRAjB2AJwId0P/OboSngGz3BK2B8aT1XOQYQCfYRRf lg+qLMRBHIggoj1KYx4dco0= =IuBS -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 21:58:00 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 19 Jan 2004 14:58:00 -0600 Subject: email notification steps.. In-Reply-To: <20040119202907.99504B6EA@xprdmailfe18.nwk.excite.com> References: <20040119202907.99504B6EA@xprdmailfe18.nwk.excite.com> Message-ID: <1074545880.25032.237.camel@localhost> On Mon, 2004-01-19 at 14:29, ChuckDock wrote: > Ok, I'm being lazy/impatient...does anyone have a quick and easy "how to" to set-up email notification if a host goes down? Like which cfg file to fill out, what switches to use? I have sendEmail installed and working so I don't need to have smtp running. Thanks. RTFM. That's as quick as I can make it. If you want to do less work, pay me and I'll set you up. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 22:08:53 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 19 Jan 2004 16:08:53 -0500 (EST) Subject: Checking CPU Utilization In-Reply-To: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> References: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> Message-ID: On Mon, 19 Jan 2004, Mark Reis wrote: > Does anyone have a suggestion for a tool? Off the top of my head, 'top -n 1' will give you that and more.. you can grep the CPU utilization percentages out of the first few lines. I thought Linux had something in /proc that you could check (similarly to /proc/loadavg) that would give you what you want, but I can't seem to spot it now. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 22:11:54 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 19 Jan 2004 15:11:54 -0600 Subject: Checking CPU Utilization In-Reply-To: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> References: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> Message-ID: <1074546714.25032.244.camel@localhost> On Mon, 2004-01-19 at 14:49, Mark Reis wrote: > I'm looking for a light weight command which will return current cpu > percentages and then quits like uptime, but with percentages and not load? > What I'd ideally like to do is to combine this tool with NRPE and mrtg so I > can graph the %CPU usage on compute servers our students use to run jobs. > > Does anyone have a suggestion for a tool? What OS? Unix doesn't really work that way - Load is the correct measurement of CPU activity in Unix. For Windows, apan does good work checking load. ('nt-load' service) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcr2z at cs.virginia.edu Mon Jan 19 22:22:06 2004 From: mcr2z at cs.virginia.edu (Mark Reis) Date: Mon, 19 Jan 2004 16:22:06 -0500 Subject: Checking CPU Utilization In-Reply-To: <1074546714.25032.244.camel@localhost> References: <1074546714.25032.244.camel@localhost> Message-ID: <200401192122.i0JLM6Sj014379@ares.cs.Virginia.EDU> I'm doing this for Solaris and Linux. I understand that load is a true indication of the stress. The reason I want to monitor %CPU is that I work for a Computer Science Department at a University and we have multiple machines that are for processing jobs. Most of the jobs that students run are CPU intensive, but they don't drive the load up very high. So what I would like to do is provide a web page that students can go and see at a glace which compute servers are idle. Thanks to Jason Martin for suggesting iostat, which does exactly what I want. The problem I had with top is that on our Solaris boxes, it takes a while for the %CPU fields to populate and sometimes they are blank. I appreciate all of the help from the list. -Mark -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Monday, January 19, 2004 4:12 PM To: Mark Reis Cc: nagios-users Subject: Re: [Nagios-users] Checking CPU Utilization On Mon, 2004-01-19 at 14:49, Mark Reis wrote: > I'm looking for a light weight command which will return current cpu > percentages and then quits like uptime, but with percentages and not load? > What I'd ideally like to do is to combine this tool with NRPE and mrtg so I > can graph the %CPU usage on compute servers our students use to run jobs. > > Does anyone have a suggestion for a tool? What OS? Unix doesn't really work that way - Load is the correct measurement of CPU activity in Unix. For Windows, apan does good work checking load. ('nt-load' service) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 22:25:42 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 19 Jan 2004 15:25:42 -0600 Subject: Checking CPU Utilization In-Reply-To: References: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> Message-ID: <1074547542.23349.256.camel@localhost> On Mon, 2004-01-19 at 14:55, Jason Martin wrote: > You didn't specify what platform, but on Solaris the 'iostat' command > does such a thing. Notably, though, in Solaris. 100% utilization does not mean the box is 'pegged', thanks to preemptive multitasking (something windows only pretends to have). This is why (as I said in another email on this thread), Load is the correct way to judge a Unix (or Linux) server's...well...load. Also, on a multiprocessor box, using iostat, 50% utilization doesn't tell you if that's 25% per processor, 50% on one with 0% on the other or somewhere in between. If that's important to you :) Load is an excellent delimiter of activity once you get used to looking at it. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 22:33:09 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 19 Jan 2004 15:33:09 -0600 Subject: Checking CPU Utilization In-Reply-To: References: Message-ID: <1074547989.25032.263.camel@localhost> On Mon, 2004-01-19 at 15:08, Matt Pounsett wrote: > Off the top of my head, 'top -n 1' will give you that and more.. you can grep > the CPU utilization percentages out of the first few lines. Top splits percentages among processors, notably. So, if you're using top to gather that information, you have to take into consideration your processor count (quad box means a potential 400+%) Make sure you read the man pages on top - there are overlapping cpu fields, too. (hence the '+' above) > I thought Linux had something in /proc that you could check (similarly to > /proc/loadavg) that would give you what you want, but I can't seem to spot it > now. /proc/loadavg is correct - but it uses normal (proper) Unix load numbers, not percentages. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.geeraerts at office.iwogroup.be Mon Jan 19 22:58:19 2004 From: thomas.geeraerts at office.iwogroup.be (Thomas GEERAERTS) Date: Mon, 19 Jan 2004 22:58:19 +0100 Subject: notification problem Message-ID: <47BE0A9BBA9F9149A94FBD2A2B4EB00327A8@intraserv.iwolan.be> Dear users, is it possible in Nagios to change the email templates for notification? I need to add some code for automatic SMS notification. Thanks a lot in advance! Met vriendelijke groeten, Kind Regards, Thomas Geeraerts IWO Group (zaakvoerder) http://www.iwogroup.be ************************************************************* Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie bevatten die vertrouwelijk is en/of beschermd door intellectuele eigendomsrechten. Dit bericht is uitsluitend bestemd voor de geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder elke vorm) door andere personen dan de geadresseerde(n) is verboden. Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender hiervan te verwittigen en dit bericht te verwijderen. This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the addressees. Any use of the information contained herein (including but not limited to total or partial reproduction or distribution in any form) by other persons than the addressees is prohibited. If you have received this e-mail in error, please notify the sender and delete its contents. ************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: iwogroup.bmp Type: image/bmp Size: 10594 bytes Desc: iwogroup.bmp URL: From james at lovedthanlost.net Mon Jan 19 23:28:44 2004 From: james at lovedthanlost.net (James Turnbull) Date: Tue, 20 Jan 2004 09:28:44 +1100 Subject: notification problem References: <47BE0A9BBA9F9149A94FBD2A2B4EB00327A8@intraserv.iwolan.be> Message-ID: <00a801c3dedb$997176e0$3401a8c0@iih.usyd.edu.au> Bericht>is it possible in Nagios to change the email templates for notification? >I need to add some code for automatic SMS notification. See misccommands.cfg in the nagios etc directory. This contains the commands used to send e-pager and email. Regards James Turnbull ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 23:49:19 2004 From: rob at capband.net (rob at capband.net) Date: Mon, 19 Jan 2004 17:49:19 -0500 Subject: Checking CPU Utilization Message-ID: > I'm looking for a light weight command which will return current cpu > percentages and then quits like uptime, but with percentages and not load? > What I'd ideally like to do is to combine this tool with NRPE and mrtg so I > can graph the %CPU usage on compute servers our students use to run jobs. If your OS supports it, "sar" is the answer. There's cpusar, mpsar, etc., that aggregate stats on cpu, mem usage, disk usage, io percent, wait percent, etc. Also, "sar" by itself will spit back cpu usage on an hourly and 15 minute basis for off- and on-work hours (i.e. every 15 minutes between 8-5, hourly otherwise). A handy utility. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 19 23:54:29 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 19 Jan 2004 17:54:29 -0500 (EST) Subject: Checking CPU Utilization In-Reply-To: <1074547989.25032.263.camel@localhost> References: <1074547989.25032.263.camel@localhost> Message-ID: On Mon, 19 Jan 2004, jeff vier wrote: > On Mon, 2004-01-19 at 15:08, Matt Pounsett wrote: > > Off the top of my head, 'top -n 1' will give you that and more.. you can grep > > the CPU utilization percentages out of the first few lines. > > Top splits percentages among processors, notably. So, if you're using > top to gather that information, you have to take into consideration your > processor count (quad box means a potential 400+%) Note also that there's an option to merge those into a single statistic. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Tue Jan 20 00:50:50 2004 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Mon, 19 Jan 2004 15:50:50 -0800 Subject: Checking CPU Utilization Message-ID: Most of this is available via an SNMP agent (all on some OS/SNMP agent combos). This obviously requires setting more stuff up :) If linux (or most other un*x's) see www.net-snmp.org, I've found the free implementation to be superior to most vendors implementations for a lot of things (although you'll likely loose vendor specific mibs unless they support smux/agentx and you feel motivated to make that work). Nagios has an snmp plugin for gathering data this way, and for mrtg its native. For %CPU used you may (depending on what you care about) want to measure system vs user utilization as independent variables (depending on what sort of data your interested in); I believe that you can graph two variables stacked on one chart (I know you can w/ cricket - I haven't used mrtg in so long I forget :). Also I wouldn't necessarily trust load averages (well or any of this data :) to be as meaning as you might like without taking it in context. As noted in other posts %CPU utilized is interesting, but doesn't really tell you if the machine is overloaded, load avg is SUPPOSED to tell you this, and often does, but falls short of being meaningful in some edge cases (occasionally causing much needless panic and alarm :) On linux (2.5, not sure on 2.6) (and some other un*x like OS's) load average is biased heavily by the number of "runnable" processes - I've seen instances where the machine had quite high load averages, but wasn't really doing anything much (due for example to kernel modules that showed as runnable but are blocked for some legitimate reason - the lustre fs does this rather spectacularly, although I've seen other instances - yes even in userland). Not saying don't use any of this, more data is always good, just that you might want to be careful about drawing to many conclusions about the results without examining the other dependant variables :) > -----Original Message----- > From: rob at capband.net [mailto:rob at capband.net] > Sent: Monday, January 19, 2004 2:49 PM > To: Mark Reis; nagios-users at lists.sourceforge.net; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Checking CPU Utilization > > > > I'm looking for a light weight command which will return current cpu > > percentages and then quits like uptime, but with > percentages and not load? > > What I'd ideally like to do is to combine this tool with > NRPE and mrtg so I > > can graph the %CPU usage on compute servers our students > use to run jobs. > > If your OS supports it, "sar" is the answer. There's cpusar, > mpsar, etc., that aggregate stats on cpu, mem usage, disk > usage, io percent, wait percent, etc. Also, "sar" by itself > will spit back cpu usage on an hourly and 15 minute basis for > off- and on-work hours (i.e. every 15 minutes between 8-5, > hourly otherwise). A handy utility. > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 01:32:51 2004 From: cjdock at excite.com (ChuckDock) Date: Mon, 19 Jan 2004 19:32:51 -0500 (EST) Subject: e-mail notification Message-ID: <20040120003251.20C45B754@xprdmailfe20.nwk.excite.com> I had posted asking for a quick and easy e-mail notification set-up, nerver mind its working now. The only problem so far is that I get 3 e-mails when a router goes down and I don't know why. _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 01:51:19 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 19 Jan 2004 19:51:19 -0500 (EST) Subject: Nagios CGI error In-Reply-To: <400B062C.2050601@vijaykiran.com> References: <400B062C.2050601@vijaykiran.com> Message-ID: On Sun, 18 Jan 2004, Vijay Kiran wrote: > Hi, > I've just installed the Nagios on one of our shared servers. And > everything seems to be okay.. I've configured the webinterface, > authentication and when I type http://xx.xx.xx.xx/nagios/ it asks for a > password and logs in perfectly. The documenation is working fine. But > when I try to run the cgi's I am getting an internal server error. And > the apache error log says : premature end of script headers.. You probably have not configure the ScriptAlias directive properly in httpd.conf - check you slashes Also the cgis should be executeable by the web server user... -- -sg ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 02:08:35 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 01:08:35 +0000 Subject: Checking CPU Utilization In-Reply-To: <1074547542.23349.256.camel@localhost> References: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> <1074547542.23349.256.camel@localhost> Message-ID: <20040120010836.8017.qmail@minnow.softflare.net> jeff vier writes: > This is why (as I said in another email on this thread), Load is the > correct way to judge a Unix (or Linux) server's...well...load. Well, for some values of "correct." :) I have seen firewalls crippled with low loads and 80+% idle by virus-laden machines on the secure side. I have seen a mail server crippled with high-ish loads and 80+% idle caused by a mail loop (my fault) yet have higher loads and about 1% idle yet be responsive. Loads and idle-time are guides which may differ on machines with different tasks or even on the same machine with different problems. You can have a high load without significant performance hit or a low load on a machine that is on its knees. Your CPU can be idling because the bottleneck is disk I/O (my VAX days come back to haunt me, but not quite as badly as when I was looking after DEC kit). Similarly, your mail queue count might indicate that your machine is falling behind or might indicate that you've had a lot of spam from undeliverable addresses that your mailer is trying to bounce to. All these things are indications that a human, rather than a computer, needs to evaluate what is really happening. If you get constant false alerts then you have to consider the trade-offs of setting thresholds higher (fewer false alerts) against leaving them where they are (you don't miss real problems). The day I can leave it to HAL to figure out if there really is a problem or not is the day I get fired because my boss replaced me with HAL... -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 02:15:21 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 01:15:21 +0000 Subject: e-mail notification In-Reply-To: <20040120003251.20C45B754@xprdmailfe20.nwk.excite.com> References: <20040120003251.20C45B754@xprdmailfe20.nwk.excite.com> Message-ID: <20040120011522.9553.qmail@minnow.softflare.net> ChuckDock writes: > I had posted asking for a quick and easy e-mail notification set-up, > nerver mind its working now. The only problem so far is that I get 3 > e-mails when a router goes down and I don't know why. This is the undocumented artificial intelligence feature of Nagios. It has detected that you are clueless and sends you three mails when a router goes down just to annoy you because it knows that it is smarter than you are. Please RTFM repeatedly until Nagios detects that you are smarter than a fruit fly, at which point it will only mail you once when a router goes down. Whoops, incoming! Sorry, to everyone else, it's gone wine in the morning here and I've been drinking lots of one and I just could not resist. :) -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Greg.Cazian at wetseal.com Tue Jan 20 02:31:31 2004 From: Greg.Cazian at wetseal.com (Greg Cazian) Date: Mon, 19 Jan 2004 17:31:31 -0800 Subject: Can't run some of my CGI scripts 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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 02:43:01 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 20 Jan 2004 14:43:01 +1300 Subject: e-mail notification In-Reply-To: <20040120011522.9553.qmail@minnow.softflare.net> References: <20040120003251.20C45B754@xprdmailfe20.nwk.excite.com> <20040120011522.9553.qmail@minnow.softflare.net> Message-ID: <1074562984.2848.6.camel@fxadmin> sigh. Paul, after the flamewar you've been engaged in recently (which bored me to tears), I wouldn't have expected this sort of mail from you. apt-get install wisdom. jamie On Tue, 2004-01-20 at 14:15, Paul L. Allen wrote: > ChuckDock writes: > > > I had posted asking for a quick and easy e-mail notification set-up, > > nerver mind its working now. The only problem so far is that I get 3 > > e-mails when a router goes down and I don't know why. > > This is the undocumented artificial intelligence feature of Nagios. It > has detected that you are clueless and sends you three mails when a > router goes down just to annoy you because it knows that it is smarter > than you are. Please RTFM repeatedly until Nagios detects that you > are smarter than a fruit fly, at which point it will only mail you > once when a router goes down. > > Whoops, incoming! Sorry, to everyone else, it's gone wine in the > morning here and I've been drinking lots of one and I just could not > resist. :) > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 02:58:01 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 01:58:01 +0000 Subject: e-mail notification In-Reply-To: <1074562984.2848.6.camel@fxadmin> References: <20040120003251.20C45B754@xprdmailfe20.nwk.excite.com> <20040120011522.9553.qmail@minnow.softflare.net> <1074562984.2848.6.camel@fxadmin> Message-ID: <20040120015802.17834.qmail@minnow.softflare.net> Jamie Baddeley writes: > sigh. We all read stuff on mailing lists that bore us. Some of us use filters to get rid of the worst. > Paul, after the flamewar you've been engaged in recently Hey, the courier-imap mailing list recently had a post from somebody criticising top-posting. The post was from the author of courier-imap. YMMV. > (which bored me to tears), The killfile is your friend. You cannot control what I write but you can control what you read. The way to remove all of my posts (that you evidently disagree with) is in your hands (if you know how to do it). > I wouldn't have expected this sort of mail from you. Your expect library is SEVERELY broken. I STRONGLY suggest you look at . I disagree with ESR on a number of political issues, but believe he is very close in documenting hacker behaviour. Of course, by ESR's standards, I was excessively tolerant... -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdurando at responsebase.com Tue Jan 20 02:59:17 2004 From: kdurando at responsebase.com (Kenneth Durando) Date: Mon, 19 Jan 2004 17:59:17 -0800 (PST) Subject: Can't run some of my CGI scripts In-Reply-To: References: Message-ID: Greg, Be sure you check your nagios.cfg config file!! You MUST have check_external_commands=1 or external commands will not work. Also, check your cgi.cfg file and be sure you have the proper user you have setup with .htaccess that is authorized to run external commands. (It appears that you already have this setup). cgi.cfg: authorized_for_all_service_commands=<.htaccess username> authorized_for_all_host_commands=<.htaccess username> Hope this helps, Kenneth On Mon, 19 Jan 2004, Greg Cazian wrote: > 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. > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdurando at responsebase.com Tue Jan 20 03:01:43 2004 From: kdurando at responsebase.com (Kenneth Durando) Date: Mon, 19 Jan 2004 18:01:43 -0800 (PST) Subject: Service/Host checks staying in pending state?! In-Reply-To: <1074562984.2848.6.camel@fxadmin> References: <1074562984.2848.6.camel@fxadmin> Message-ID: Anyone know why there would be service and host checks that are in a constant pending state? I have about 100 servers being monitored with nagios currently and only a few never get checked because they are constantly in 'pending' state. Even if I force an immediate check on those hosts/services the check will never get executed. Thanks! Kenneth ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 03:10:47 2004 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Tue, 20 Jan 2004 15:10:47 +1300 Subject: nrpe 2.0 with AIX 4.3.2 In-Reply-To: <7473201406D1FE4CBAD4096D6BD1E92108C086@hqexch01.hq.navis.net> References: <7473201406D1FE4CBAD4096D6BD1E92108C086@hqexch01.hq.navis.net> Message-ID: <1074564647.12817.49.camel@pcsimon.ecnnz.ecnetwork.co.nz> On Tue, 2004-01-20 at 05:05, Aaron Levitt wrote: > Simon- > > Thanks for the information, would you mind posting a patch or what > changes you made to the code of check_nrpe? I didn't make any changes to check_nrpe. The problem is actually with the nrpe program. But I haven't made any changes to that either (though I think some *should* be made). I was actually running a custom check program (checking age of messages on an IBM MQ queue). By changing this to ensure that no output ever went to STDERR, I resolved *my* problem without changing nrpe. I suggest you do the same; either by changing the check program you are running, or by *wrapping* the check program in a shell script which suppresses STDERR. eg if you have this in your nrpe config file: command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 150 -c 200 then instead do this: command[check_total_procs]=/usr/local/nagios/libexec/safecheckprocs -w 150 -c 200 where "safecheckprocs" is a shellscript that does something like: exec /usr/local/nagios/libexec/check_procs $@ 2>&1 Note that this redirects any STDERR from the program to stdout instead. When you run check_nrpe, you should then get the error message instead of the "CRC32" error. Regards, Simon ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 03:46:37 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 19 Jan 2004 20:46:37 -0600 Subject: parent host relatiionship In-Reply-To: References: Message-ID: <20040120024637.53711.qmail@restricted.dyndns.org> Hi Matt, Let say we have this topology: Please view in a fixed-width font such as Courier. nagios server +-----+ | | | | | | | | +-----+ | | |link-A | | | /--\ | | router-A | \ /\--/ \\ / \ link-AB / \\ link-AC // \ / \ /--\/ \ /--\ router-B | /| | | | | | | router-C \+-/ \-+/ | | +--------+---+ +----+--------+ | | | | | | | | | | +-+-+ +-+-+ +-++ +-++ | | | | | | | | +---+ +---+ | | | | -------- -------- | | | | | | | | workstations +--+ +--+ svr-A srv-B What I want to happen is receive notifications only if srv-A or srv-B is really down. Also, what I want is to not get tons of notifications if hosts are behind a down parent. So something like this message is what I want to receive: 1. router-A or router-B is down 2. svr-a or svr-B is unreachable 3. or svr-a/svr-B is down Can you give me an example of how a host should be configured in hosts.cfg this way? I am seeing now the power of Nagios after reading your POST. :) Thanks in advance for your help. Ronneil Matt Pounsett writes: > On Sat, 17 Jan 2004, Ric Moseley wrote: > >> No one attempted to answer this so I am sending it again. >> >> 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? > > It sounds a bit like you might be confusing two related, but different > features of Nagios. I'll try and give you a quick rundown on how this works, > from which I think you should be able to pick out the things you need for your > setup. > > First, let's assume a simple set of hosts. The Nagios machine (N), N > connected to a switch (S) which has two other machines connected in | > turn to it (A and B). | > S > If you want Nagios to be able to draw you a useful status map, /\ > you should set the "parents" for hosts A and B to S. This / \ > indicates to Nagios that, in order to reach A or B, packets must A B > flow through S. > > Now, the other option involved here is the 'notification_options'. > Notification option 'D' tells nagios to complain when a host is down. A host > is down when at least one of its parents are reachable, but it is not. > Notification option 'U' tells nagios to complain when a host is unreachable. > A host is unreachable when all of its parents are either down or unreachable. > So, if your 'notification_options' for S, A and B are all set to "D,R" (R is > Recovery), and if you were to pull the power on S, you would only be notified > about S being down, since A and B get marked as Unreachable, and you haven't > included the Unreachable option for notification. If, instead of pulling the > plug on S you left it up and pulled the plug on A and B, then you'd get > notified of A and B being down. > > If you also want to be notified when hosts are unreachable, then include the > 'U' option in notification_options. > > Does that answer your question? > > -- > 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 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smoynes at nerdnest.org Tue Jan 20 05:26:45 2004 From: smoynes at nerdnest.org (Scott Moynes) Date: Mon, 19 Jan 2004 23:26:45 -0500 Subject: Checking CPU Utilization In-Reply-To: <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> References: <20040119202907.99504B6EA@xprdmailfe18.nwk.excite.com> <200401192049.i0JKnGSj010934@ares.cs.Virginia.EDU> Message-ID: <20040120042645.GL14142@marilyn> * Mark Reis (mcr2z at cs.virginia.edu) wrote: > Does anyone have a suggestion for a tool? On linux, vmstat will give you percentages. -- Scott Moynes "Computer science is as much about computers as astronomy is about telescopes." -- Dijkstra ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 09:54:50 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Tue, 20 Jan 2004 09:54:50 +0100 Subject: redundancy and services Message-ID: <5.0.2.1.2.20040120094557.0230bae0@195.220.107.3> i have nagios 1.1 and plugins 1.3 on two servers which are redundant. i use nsca to synchronize the servers and status of hosts is the same but i have defined ping as a services and the services appears OK even if the machine is down and what is strange is that status information is good :" CRITICAL plugin timed out after 10 second " if someone can tell me why the status of services is ok when machine is down. thanks basile ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 12:38:35 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Tue, 20 Jan 2004 12:38:35 +0100 Subject: redundancy and services In-Reply-To: <1074594462.3601.35.camel@mail.> References: <5.0.2.1.2.20040120094557.0230bae0@195.220.107.3> <5.0.2.1.2.20040120094557.0230bae0@195.220.107.3> <1074594462.3601.35.camel@mail.> Message-ID: <5.0.2.1.2.20040120123058.02305c10@195.220.107.3> hi thanks for your answer here is my config for the redundancy i have obsess_over_services= 1 oscp_command=submit_check_result_via_nsca in nagos.cfg i have the check_external_comand = 1 in the nagios.cfg of the slave . here is the script submit_check_result_via_nsca #!/bin/sh # SUBMIT_CHECK_RESULT_VIA_NSCA # Written by Ethan Galstad (nagios at nagios.org) # Last Modified: 07-19-2001 # # This script will send passive check results to the # nsca daemon that runs on the central Nagios server. # If you simply want to submit passive checks from the # same machine that Nagios is running on, look at the # submit_check_result script. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = return_code (An integer that determines the state # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, # 3=UNKNOWN). # $4 = plugin_output (A text string that should be used # as the plugin output for the service check)s # # # Note: # Modify the NagiosHost parameter to match the name or # IP address of the central server that has the nsca # daemon running. # Under Linux, the -e option to /bin/echo enables the # interpretation of tab and newline characters. echocmd="/bin/echo -e" NscaBin="/usr/sbin/send_nsca" NscaCfg="/etc/nagios/send_nsca.cfg" NagiosHost="ip_of_slave" # create the command line to add to the command file cmdline="$1;$2;$3;$4" $echocmd "$1\t$2\t$3\t$4\n" | $NscaBin $NagiosHost -c $NscaCfg # EOF A 12:27 20/01/2004 +0200, vous avez ?crit : >Hi Basile > >What is the command you using to return the values. > >the problem might be with the exit codes returned to nagios. > > > >On Tue, 2004-01-20 at 10:54, Basile Mathieu wrote: > > i have nagios 1.1 and plugins 1.3 on two servers which are redundant. > > > > i use nsca to synchronize the servers and status of hosts is the same > > but i have defined ping as a services and the services appears OK even > > if the machine is down > > and what is strange is that status information is good :" CRITICAL plugin > > timed out after 10 second " > > > > if someone can tell me why the status of services is ok when machine is > down. > > thanks > > basile > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Tue Jan 20 13:24:01 2004 From: Samba at guidemail.com (Samba) Date: Tue, 20 Jan 2004 06:24:01 -0600 Subject: Nagios 2.0 Question Message-ID: On the web site it lists Nagios 2.0 as being completed with the exception of documentation. Is that truely the case? Josh Konkol, CNE MCSE Technical Research Specialist .~. GuideOne Insurance /V\ /( )\ ^^-^^ samba at guidemail.com This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Losch at newham.gov.uk Tue Jan 20 13:28:56 2004 From: Chris.Losch at newham.gov.uk (Chris Losch) Date: Tue, 20 Jan 2004 12:28:56 -0000 Subject: "Caught SIGSEGV, shutting down..." under Fedor a 1 Message-ID: I had encountered this error recently, and after trying the suggested solutions that are mentioned in previous postings to this mailing list without success, I decided to rename all the old configuration files, and do a "make install-config" from the nagios source directory, and use those. The probelm went away, and all was fine. If this cures your problem, as it did mine, you can then think about copying the contents of the corrupt config files back over to the new config files. Hope this helps. Christian Running : Nagios 2-CVS, RedHAT 9. -----Original Message----- From: Jacquelin Charbonnel [mailto:charbonnel at lal.in2p3.fr] Sent: 19 January 2004 11:58 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] "Caught SIGSEGV, shutting down..." under Fedora 1 Hello, I have built Nagios 1.1 undef Fedora 1, with no error, but at runtime, it aborts immediately with the message : "Caught SIGSEGV, shutting down..." The same configuration (compilation options and .cfg files) runs since several months under RedHat with no problem. (in particular, I use MySql databases for all the data). Has anyone else seen this problem ? --------------------------------------------- Jacquelin Charbonnel CNRS - Laboratoire de l'Acc?l?rateur Lin?aire Bat 200 - Centre Scientifique d'Orsay - BP 34 91898 Orsay Cedex - France mail : charbonnel at lal.in2p3.fr web : www.lal.in2p3.fr t?l : 1 64 46 89 28 fax : 1 69 07 94 04 --------------------------------------------- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 15:06:36 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Tue, 20 Jan 2004 14:06:36 -0000 Subject: MRTG Script that comes from Nagios site Message-ID: <200401201407.i0KE7ETJ026249@knockout.kirtland.af.mil> Has anyone had any problems with the mrtg samples that you can find on the nagios site? I've set up MRTG so that I can link graphs to services I'm monitoring, but I keep getting: "WARNING: Problem with External get '/usr/local/nagios/libexec/mrtg_temptraxe -H 10.10.10.10 -p 1': Expected a Number for 'out' but nothing'" MRTG expects 4 outputs, but only one seems to be sent: 1. Line: current state of the 'incoming bytes counter' 2. Line: current state of the 'outgoing bytes counter' 3. Line: string, telling the uptime of the target. 4. Line: telling the name of the target. I know this is a Nagios mail list, but I'm hoping that someone out there bought the temptrax model E off the Nagios site like I did and had the same problem. I'm using MRTG 2.10.12. I've been given several suggestions about modify that mrtg_temptraxe script to provide the missing outputs, but I honestly don't know how to do that. Any help would be awesome. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwd at cray.com Tue Jan 20 15:19:41 2004 From: mwd at cray.com (Mark Dalton) Date: Tue, 20 Jan 2004 08:19:41 -0600 Subject: redundancy and services In-Reply-To: <5.0.2.1.2.20040120123058.02305c10@195.220.107.3> References: <5.0.2.1.2.20040120094557.0230bae0@195.220.107.3> <5.0.2.1.2.20040120094557.0230bae0@195.220.107.3> <5.0.2.1.2.20040120123058.02305c10@195.220.107.3> Message-ID: <400D38FD.5010002@cray.com> Caution: I am new to Nagios, I just got it running (with help from the list reading others questions). Linux boxes and Irix boxes (next is Sun and AIX and Crays hopefully). I have NSCA/Nagios on the Irix boxes (I have to do more work to get NRPE running on old Irix), and NRPE running on Linux and Nagios 2.0 on the server (to support the Passive checks). Nagios 1.1 does not support passive checks, so you need to upgrade to Nagios 2.0. The status would probably be incorrect because if you have 'retain_status_information' set to '1'. And if it does not get a update, it is assumed to be down. If this is truely a passive service. You may want to set this to be a active service from the server versus passive (nsca). I have a template for 'local-server' versus 'remote-servers'. So for the servers nagios.cfg for the remote servers I have: active_checks_enabled 0 retain_status_information 0 # Generic service definition template define service{ name local-server ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 0 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; } # Generic service definition template define service{ name remote-servers ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 0 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 0 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 0 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; } For the slave I have pretty much the same as Basile sent to you. Mark Basile Mathieu wrote: > hi > thanks for your answer > here is my config for the redundancy > > i have obsess_over_services= 1 > oscp_command=submit_check_result_via_nsca > > in nagos.cfg > > i have the check_external_comand = 1 > > in the nagios.cfg of the slave . > > here is the script submit_check_result_via_nsca > > > > #!/bin/sh > > # SUBMIT_CHECK_RESULT_VIA_NSCA > # Written by Ethan Galstad (nagios at nagios.org) > # Last Modified: 07-19-2001 > # > # This script will send passive check results to the > # nsca daemon that runs on the central Nagios server. > # If you simply want to submit passive checks from the > # same machine that Nagios is running on, look at the > # submit_check_result script. > # > # Arguments: > # $1 = host_name (Short name of host that the service is > # associated with) > # $2 = svc_description (Description of the service) > # $3 = return_code (An integer that determines the state > # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, > # 3=UNKNOWN). > # $4 = plugin_output (A text string that should be used > # as the plugin output for the service check)s > # > # > # Note: > # Modify the NagiosHost parameter to match the name or > # IP address of the central server that has the nsca > # daemon running. > > # Under Linux, the -e option to /bin/echo enables the > # interpretation of tab and newline characters. > echocmd="/bin/echo -e" > > NscaBin="/usr/sbin/send_nsca" > NscaCfg="/etc/nagios/send_nsca.cfg" > NagiosHost="ip_of_slave" > > # create the command line to add to the command file > cmdline="$1;$2;$3;$4" > > $echocmd "$1\t$2\t$3\t$4\n" | $NscaBin $NagiosHost -c $NscaCfg > > # EOF > > > > > > A 12:27 20/01/2004 +0200, vous avez ?crit : > >> Hi Basile >> >> What is the command you using to return the values. >> >> the problem might be with the exit codes returned to nagios. >> >> >> >> On Tue, 2004-01-20 at 10:54, Basile Mathieu wrote: >> > i have nagios 1.1 and plugins 1.3 on two servers which are redundant. >> > >> > i use nsca to synchronize the servers and status of hosts is the same >> > but i have defined ping as a services and the services appears OK even >> > if the machine is down >> > and what is strange is that status information is good :" CRITICAL >> plugin >> > timed out after 10 second " >> > >> > if someone can tell me why the status of services is ok when >> machine is down. >> > thanks >> > basile >> > >> > >> > >> > ------------------------------------------------------- >> > The SF.Net email is sponsored by EclipseCon 2004 >> > Premiere Conference on Open Tools Development and Integration >> > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> > http://www.eclipsecon.org/osdn >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Tue Jan 20 15:21:07 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Tue, 20 Jan 2004 09:21:07 -0500 Subject: CGI Permissions Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F05D1396A@stoexchange.state.fl.us> Hello: I am very new to Nagios and just recently installed it by following the instructions very carefully. When I tried to view the web pages with nagiosadmin, I received the following errors: 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've checked google and found several people were having the same problem, but I did not find a answer with a fix. Please help by giving my detailed instructions on how to fix this problem. Thanks :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: From h.baecker at ecofis.de Tue Jan 20 16:25:44 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Tue, 20 Jan 2004 16:25:44 +0100 Subject: Antwort: CGI Permissions In-Reply-To: <2FDA6C38B2BFD4119D2400D0B784BE6F05D1396A@stoexchange.state.fl.us> References: <2FDA6C38B2BFD4119D2400D0B784BE6F05D1396A@stoexchange.state.fl.us> Message-ID: Hi there, I think you can solve this Problem when you edit your group file (/etc/group) and include the user for your WebServer (i.e. nobody or apache) into the group for your nagios process. For example: My nagios is running in the group nagios and my webserver runs under user nobody and my group file looks like this: nagios:x:502:nobody,nagios Regards Hendrik "Platt, Nicholas" Gesendet von: nagios-users-admin at lists.sourceforge.net 20.01.2004 15:21 An "'Nagios-users at lists.sourceforge.net'" Kopie Thema [Nagios-users] CGI Permissions Hello: I am very new to Nagios and just recently installed it by following the instructions very carefully. When I tried to view the web pages with nagiosadmin, I received the following errors: 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've checked google and found several people were having the same problem, but I did not find a answer with a fix. Please help by giving my detailed instructions on how to fix this problem. Thanks J -------------- next part -------------- An HTML attachment was scrubbed... URL: From yohann.desquerre at anpe.fr Tue Jan 20 16:30:47 2004 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Tue, 20 Jan 2004 16:30:47 +0100 Subject: use of nagios-stat and nagios statd Message-ID: Hi all, I'm sorry to ask you that but I'd like to know how to use nagios-stat and nagios-statd to check the disk use on remote hosts. My interrogation is especially on the where to run the different process and how to configure it to work well The man appears not enough to me to understand this. Thanks for help ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources ----------------------------------------------- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcr2z at cs.virginia.edu Tue Jan 20 16:40:31 2004 From: mcr2z at cs.virginia.edu (Mark Reis) Date: Tue, 20 Jan 2004 10:40:31 -0500 Subject: Checking CPU Utilization - Take2 In-Reply-To: <20040120042645.GL14142@marilyn> References: <20040120042645.GL14142@marilyn> Message-ID: <200401201540.i0KFeXSj011324@ares.cs.Virginia.EDU> I've been experimenting with iostat and I just realized that it has one major drawback. When you run iostat once under solaris and linux, it only reports the cpu % average for the entire time the system has been powered up. The same goes for vmstat. Any other suggestions of a utility that will run once then return the cpu status and quit? -Mark Here is an example of how load is not helpful for my problem. The dnetc client is using all of the cpu cycles and as you can see the load is very low. last pid: 684; load averages: 1.09, 1.03, 0.89 10:37:48 39 processes: 37 sleeping, 1 running, 1 on cpu CPU states: 0.0% idle, 99.2% user, 0.8% kernel, 0.0% iowait, 0.0% swap Memory: 512M real, 271M free, 66M swap in use, 2345M swap free PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 472 root 2 0 19 2416K 1880K run 27:53 97.18% dnetc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 16:43:50 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 20 Jan 2004 10:43:50 -0500 (EST) Subject: parent host relatiionship In-Reply-To: <20040120024637.53711.qmail@restricted.dyndns.org> References: <20040120024637.53711.qmail@restricted.dyndns.org> Message-ID: On Mon, 19 Jan 2004, Neil wrote: > What I want to happen is receive notifications only if srv-A or srv-B is > really down. Also, what I want is to not get tons of notifications if hosts > are behind a down parent. So something like this message is what I want to > receive: [...] > 2. svr-a or svr-B is unreachable Your paragraph above and point #2 seem contradictory to me. On the one hand you ask to only be notified if a host is really down, but then you include #2 in the list of notifications you want. Regardless of which is true, your parent config for the hosts would look like this: Host Parent svr-A router-B svr-B router-B workstations router-C router-B router-A router-C router-A Now, depending on which of the two above options you really want (the paragraph, or the list) you would configure notification_options for all those hosts differently. If it's the paragraph's description (where you only get notified if a host is truly down), then you'd use 'd,r' (down, and recovery). If your list is accurate, where you also want to be notified if hosts are unreachable, then you'd use 'd,u,r' (down, unreachable, and recovery). -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcr2z at cs.virginia.edu Tue Jan 20 16:55:27 2004 From: mcr2z at cs.virginia.edu (Mark Reis) Date: Tue, 20 Jan 2004 10:55:27 -0500 Subject: Checking CPU Utilization - Take2 -Doh In-Reply-To: <200401201540.i0KFeXSj011324@ares.cs.Virginia.EDU> References: <200401201540.i0KFeXSj011324@ares.cs.Virginia.EDU> Message-ID: <200401201555.i0KFtSSj012875@ares.cs.Virginia.EDU> Okay, I just was informed about iowait -c 1 2, where the second number is the interval for which you want it to run... doh... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Reis Sent: Tuesday, January 20, 2004 10:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking CPU Utilization - Take2 I've been experimenting with iostat and I just realized that it has one major drawback. When you run iostat once under solaris and linux, it only reports the cpu % average for the entire time the system has been powered up. The same goes for vmstat. Any other suggestions of a utility that will run once then return the cpu status and quit? -Mark Here is an example of how load is not helpful for my problem. The dnetc client is using all of the cpu cycles and as you can see the load is very low. last pid: 684; load averages: 1.09, 1.03, 0.89 10:37:48 39 processes: 37 sleeping, 1 running, 1 on cpu CPU states: 0.0% idle, 99.2% user, 0.8% kernel, 0.0% iowait, 0.0% swap Memory: 512M real, 271M free, 66M swap in use, 2345M swap free PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 472 root 2 0 19 2416K 1880K run 27:53 97.18% dnetc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Jan 20 16:56:53 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 20 Jan 2004 08:56:53 -0700 Subject: MRTG Script that comes from Nagios site Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F230@golden-m.mactec.com> > Has anyone had any problems with the mrtg samples that you > can find on the > nagios site? I've set up MRTG so that I can link graphs to services > I'm monitoring, but I keep getting: [snip] > problem. I'm using MRTG 2.10.12. I've been given several > suggestions about modify that mrtg_temptraxe script to provide the > missing outputs, but I honestly don't know how to do that. Any help > would be awesome. > Have you tried this with MRTG 2.10.13, released yesterday? A post from the author on the MRTG mailing list states the following: Changes 2.10.13 --------------- From: Pedro Marcolino * fixed undef data problem with forks * add --icondir option to indexmaker From: Tobi * faild rrdtune should not kill mrtg complaining is enough. * fixed manpages first lines to include mrtg as well Not sure if these issues are related, but you might want to try it, as there were some lingering issues with the 2.10.12 release. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 16:59:00 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Tue, 20 Jan 2004 15:59:00 -0000 Subject: MRTG Script that comes from Nagios site Message-ID: <200401201559.i0KFxXTJ028141@knockout.kirtland.af.mil> Thank you Garry, I'll try it now. =) -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Tuesday, January 20, 2004 8:57 AM To: Johnston Michael J Contr AFRL/DES; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] MRTG Script that comes from Nagios site > Has anyone had any problems with the mrtg samples that you > can find on the > nagios site? I've set up MRTG so that I can link graphs to services > I'm monitoring, but I keep getting: [snip] > problem. I'm using MRTG 2.10.12. I've been given several > suggestions about modify that mrtg_temptraxe script to provide the > missing outputs, but I honestly don't know how to do that. Any help > would be awesome. > Have you tried this with MRTG 2.10.13, released yesterday? A post from the author on the MRTG mailing list states the following: Changes 2.10.13 --------------- From: Pedro Marcolino * fixed undef data problem with forks * add --icondir option to indexmaker From: Tobi * faild rrdtune should not kill mrtg complaining is enough. * fixed manpages first lines to include mrtg as well Not sure if these issues are related, but you might want to try it, as there were some lingering issues with the 2.10.12 release. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 17:04:04 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 20 Jan 2004 10:04:04 -0600 Subject: parent host relatiionship In-Reply-To: References: Message-ID: <20040120160404.23427.qmail@restricted.dyndns.org> Hi Matt, Sorry about my statements. It was really confusing. Anyways, if I configured it with d,u,r, does it mean that I will get DOWN and UNREACHABLE email messages when srv-a or srv-b goes really down? Thanks again. Matt Pounsett writes: > On Mon, 19 Jan 2004, Neil wrote: > >> What I want to happen is receive notifications only if srv-A or srv-B is >> really down. Also, what I want is to not get tons of notifications if hosts >> are behind a down parent. So something like this message is what I want to >> receive: > > [...] > >> 2. svr-a or svr-B is unreachable > > Your paragraph above and point #2 seem contradictory to me. On the one hand > you ask to only be notified if a host is really down, but then you include #2 in > the list of notifications you want. > > Regardless of which is true, your parent config for the hosts would look like > this: > > Host Parent > svr-A router-B > svr-B router-B > workstations router-C > router-B router-A > router-C router-A > > Now, depending on which of the two above options you really want (the > paragraph, or the list) you would configure notification_options for all those > hosts differently. > > If it's the paragraph's description (where you only get notified if a host is > truly down), then you'd use 'd,r' (down, and recovery). If your list is > accurate, where you also want to be notified if hosts are unreachable, then > you'd use 'd,u,r' (down, unreachable, and recovery). > > > -- > 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 > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jan 20 17:16:22 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 20 Jan 2004 08:16:22 -0800 (PST) Subject: Checking CPU Utilization - Take2 In-Reply-To: <200401201540.i0KFeXSj011324@ares.cs.Virginia.EDU> References: <200401201540.i0KFeXSj011324@ares.cs.Virginia.EDU> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What I did was 'iostat 4 2'| tail -1 in order to get a short-term snapshot. - -Jason Martin On Tue, 20 Jan 2004, Mark Reis wrote: > I've been experimenting with iostat and I just realized that it has one > major drawback. When you run iostat once under solaris and linux, it only > reports the cpu % average for the entire time the system has been powered > up. The same goes for vmstat. > > Any other suggestions of a utility that will run once then return the cpu > status and quit? > > -Mark > > Here is an example of how load is not helpful for my problem. The dnetc > client is using all of the cpu cycles and as you can see the load is very > low. > > last pid: 684; load averages: 1.09, 1.03, 0.89 10:37:48 > 39 processes: 37 sleeping, 1 running, 1 on cpu > CPU states: 0.0% idle, 99.2% user, 0.8% kernel, 0.0% iowait, 0.0% swap > Memory: 512M real, 271M free, 66M swap in use, 2345M swap free > > PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND > 472 root 2 0 19 2416K 1880K run 27:53 97.18% dnetc > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFADVSRl2ODWuqVSBMRArx8AJ4sc5Vkgn24Gq6XzVzkiwIyJYkFwgCfesBf YfDiwxV6xavbcXNOxZ6dlNI= =aB6k -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 17:22:19 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 20 Jan 2004 10:22:19 -0600 Subject: Checking CPU Utilization - Take2 In-Reply-To: <200401201540.i0KFeXSj011324@ares.cs.Virginia.EDU> References: <200401201540.i0KFeXSj011324@ares.cs.Virginia.EDU> Message-ID: <1074615739.2616.293.camel@localhost> 1. On Tue, 2004-01-20 at 09:40, Mark Reis wrote: > I've been experimenting with iostat and I just realized that it has one > major drawback. When you run iostat once under solaris and linux, it only > reports the cpu % average for the entire time the system has been powered > up. The same goes for vmstat. > > Any other suggestions of a utility that will run once then return the cpu > status and quit? Why not just come up with a load that you consider 'high' and math it out? If a load of 5 is 'maxed', make that your '100%' or something (ugly code to follow): echo "`uptime | awk '{print $10}' | tr -d ,` * 4 " | bc -l > Here is an example of how load is not helpful for my problem. The dnetc > client is using all of the cpu cycles and as you can see the load is very > low. > last pid: 684; load averages: 1.09, 1.03, 0.89 10:37:48 > 472 root 2 0 19 2416K 1880K run 27:53 97.18% dnetc It's also nice 19. It's not going to 'hurt' any programs that start up. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jan 20 17:18:53 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 20 Jan 2004 08:18:53 -0800 (PST) Subject: redundancy and services In-Reply-To: <400D38FD.5010002@cray.com> References: <5.0.2.1.2.20040120094557.0230bae0@195.220.107.3> <5.0.2.1.2.20040120094557.0230bae0@195.220.107.3> <5.0.2.1.2.20040120123058.02305c10@195.220.107.3> <400D38FD.5010002@cray.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nagios 1.1 does support passive service checks, although it might not support passive host checks. - -Jason Martin On Tue, 20 Jan 2004, Mark Dalton wrote: > > Caution: I am new to Nagios, I just got it running (with help from the > list reading > others questions). Linux boxes and Irix boxes (next is Sun and AIX and > Crays hopefully). > I have NSCA/Nagios on the Irix boxes (I have to do more work to get > NRPE running on old > Irix), and NRPE running on Linux and Nagios 2.0 on the server (to > support the Passive > checks). > > Nagios 1.1 does not support passive checks, so you need to upgrade to > Nagios 2.0. > > The status would probably be incorrect because if you have > 'retain_status_information' > set to '1'. And if it does not get a update, it is assumed to be down. > If this is > truely a passive service. You may want to set this to be a active > service from > the server versus passive (nsca). I have a template for 'local-server' > versus > 'remote-servers'. > > So for the servers nagios.cfg for the remote servers I have: > active_checks_enabled 0 > retain_status_information 0 > > > > # Generic service definition template > define service{ > name local-server ; The 'name' of > this service template, referenced in other service definitions > active_checks_enabled 1 ; Active service checks > are enabled > passive_checks_enabled 1 ; Passive service checks > are enabled/accepted > parallelize_check 1 ; Active service checks > should be parallelized (disabling this can lead to major performance > problems) > obsess_over_service 0 ; We should obsess over > this service (if necessary) > check_freshness 0 ; Default is to NOT > check service 'freshness' > notifications_enabled 1 ; Service notifications > are enabled > event_handler_enabled 1 ; Service event handler > is enabled > flap_detection_enabled 1 ; Flap detection is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; > } > > # Generic service definition template > define service{ > name remote-servers ; The 'name' of > this service template, referenced in other service definitions > active_checks_enabled 0 ; Active service checks > are enabled > passive_checks_enabled 1 ; Passive service checks > are enabled/accepted > parallelize_check 0 ; Active service checks > should be parallelized (disabling this can lead to major performance > problems) > obsess_over_service 0 ; We should obsess over > this service (if necessary) > check_freshness 0 ; Default is to NOT > check service 'freshness' > notifications_enabled 1 ; Service notifications > are enabled > event_handler_enabled 1 ; Service event handler > is enabled > flap_detection_enabled 1 ; Flap detection is enabled > process_perf_data 1 ; Process performance data > retain_status_information 0 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > register 0 ; > } > > > > For the slave I have pretty much the same as Basile sent to you. > > Mark > > > Basile Mathieu wrote: > > > hi > > thanks for your answer > > here is my config for the redundancy > > > > i have obsess_over_services= 1 > > oscp_command=submit_check_result_via_nsca > > > > in nagos.cfg > > > > i have the check_external_comand = 1 > > > > in the nagios.cfg of the slave . > > > > here is the script submit_check_result_via_nsca > > > > > > > > #!/bin/sh > > > > # SUBMIT_CHECK_RESULT_VIA_NSCA > > # Written by Ethan Galstad (nagios at nagios.org) > > # Last Modified: 07-19-2001 > > # > > # This script will send passive check results to the > > # nsca daemon that runs on the central Nagios server. > > # If you simply want to submit passive checks from the > > # same machine that Nagios is running on, look at the > > # submit_check_result script. > > # > > # Arguments: > > # $1 = host_name (Short name of host that the service is > > # associated with) > > # $2 = svc_description (Description of the service) > > # $3 = return_code (An integer that determines the state > > # of the service check, 0=OK, 1=WARNING, 2=CRITICAL, > > # 3=UNKNOWN). > > # $4 = plugin_output (A text string that should be used > > # as the plugin output for the service check)s > > # > > # > > # Note: > > # Modify the NagiosHost parameter to match the name or > > # IP address of the central server that has the nsca > > # daemon running. > > > > # Under Linux, the -e option to /bin/echo enables the > > # interpretation of tab and newline characters. > > echocmd="/bin/echo -e" > > > > NscaBin="/usr/sbin/send_nsca" > > NscaCfg="/etc/nagios/send_nsca.cfg" > > NagiosHost="ip_of_slave" > > > > # create the command line to add to the command file > > cmdline="$1;$2;$3;$4" > > > > $echocmd "$1\t$2\t$3\t$4\n" | $NscaBin $NagiosHost -c $NscaCfg > > > > # EOF > > > > > > > > > > > > A 12:27 20/01/2004 +0200, vous avez ?crit : > > > >> Hi Basile > >> > >> What is the command you using to return the values. > >> > >> the problem might be with the exit codes returned to nagios. > >> > >> > >> > >> On Tue, 2004-01-20 at 10:54, Basile Mathieu wrote: > >> > i have nagios 1.1 and plugins 1.3 on two servers which are redundant. > >> > > >> > i use nsca to synchronize the servers and status of hosts is the same > >> > but i have defined ping as a services and the services appears OK even > >> > if the machine is down > >> > and what is strange is that status information is good :" CRITICAL > >> plugin > >> > timed out after 10 second " > >> > > >> > if someone can tell me why the status of services is ok when > >> machine is down. > >> > thanks > >> > basile > >> > > >> > > >> > > >> > ------------------------------------------------------- > >> > The SF.Net email is sponsored by EclipseCon 2004 > >> > Premiere Conference on Open Tools Development and Integration > >> > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > >> > http://www.eclipsecon.org/osdn > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > ::: 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 SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFADVT1l2ODWuqVSBMRAuP8AJoCDZWgwSuIzdHJIJSIobE9OAr0cgCfXsfR a/zADL3vRrlL4zic6a+ex40= =haUn -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag+nagios at u.washington.edu Tue Jan 20 17:25:15 2004 From: markwag+nagios at u.washington.edu (markwag+nagios at u.washington.edu) Date: Tue, 20 Jan 2004 08:25:15 -0800 Subject: How to compile nrpe with static linking on Solaris? In-Reply-To: Your message of "Mon, 19 Jan 2004 13:37:51 CST." Message-ID: <200401201625.i0KGPGni029147@gandalf.radonc.washington.edu> On 19 January 2004 at 13:37, Michael Tucker wrote: > So, how do I compile nrpe (and check_nrpe) with static linking on > Solaris? Specifically, what options do I need to feed to "./configure" > and/or "make", in order for all required libraries to be included? See , #6.24. In a nutshell, you might try ./configure --enable-static-linking If your autoconf isn't smart enough to cause the dl lib to be linked dynamically (any app that uses gethostbyXXX cannot be purely static) you might try ./configure # will enable dynamic linking and then make STATIC_LD= LOCAL_LIBS='-Wl,-B,dynamic -Wl,-R/etc/lib -ldl -Wl,-B,static' which tells ld to to link with options "-Bdynamic -R/etc/lib -ldl -Bstatic," i.e., link everything except dl statically. Another option would be to only link the SSL libraries (ssl, crypto) statically. That might be something like make STATIC_LD= LOCAL_LIBS='-Wl,-B,static -lssl -lcrypto -Wl,-B,dynamic -Wl,-R/etc/lib" All this assumes you built ssl and crypto statically (i.e. you have libcrypto.a and libssl.a). Keep in mind static linking breaks the ABI so you may need to compile on the same OS level and hardware as the system on which you run nrpe. -- Mark Wagner markwag at u.washington.edu 206-598-0302 Unix System Administrator, Radiation Oncology and Radiology ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag+nagios at u.washington.edu Tue Jan 20 17:32:35 2004 From: markwag+nagios at u.washington.edu (markwag+nagios at u.washington.edu) Date: Tue, 20 Jan 2004 08:32:35 -0800 Subject: [BUG] check_nrpe fails, SSL handshake error SOLVED In-Reply-To: Your message of "Mon, 19 Jan 2004 12:49:50 CST." Message-ID: <200401201632.i0KGWani029255@gandalf.radonc.washington.edu> On 19 January 2004 at 12:49, Michael Tucker wrote: > > I have SOLVED this problem, at least for my Solaris installation. > > It turns out that you need the SSL libraries in your system default > runtime link path. This seems obvious in retrospect, but nobody else > thought of it either, so I don't feel too bad. :-P Hmm, IIRC you don't need the SSL libraries in your system default runtime link path if you pass ld the -R/path/to/ssl/libs. Something like LD_FLAGS="-R/path/to/ssl/libs" ./configure or possibly CFLAGS="-Wl,-R/path/to/ssl/libs" ./configure It'd be easier if Solaris' dynamic linker was more like Linux's and consulted /etc/ld.so.conf for locating shared libs at runtime. -- Mark Wagner markwag at u.washington.edu 206-598-0302 Unix System Administrator, Radiation Oncology and Radiology ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 17:29:57 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 20 Jan 2004 10:29:57 -0600 Subject: adding additional info Message-ID: <20040120162957.25756.qmail@restricted.dyndns.org> Hey guys, Is it possible to add additional information about the host we are monitoring say address, building, location, contact person, phone number and etc? It will be really if if it can be seen in the status map. Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 17:33:25 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 20 Jan 2004 10:33:25 -0600 Subject: Checking CPU Utilization - Take2 In-Reply-To: <1074615739.2616.293.camel@localhost> References: <200401201540.i0KFeXSj011324@ares.cs.Virginia.EDU> <1074615739.2616.293.camel@localhost> Message-ID: <20040120163325.26077.qmail@restricted.dyndns.org> jeff vier writes: > > echo "`uptime | awk '{print $10}' | tr -d ,` * 4 " | bc -l > Hey guys, How can we use the above command line or other command line to be useful to nagios? I'm really interested. What are the steps needed so that value can be read by nagios? Thanks in advance. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag+nagios at u.washington.edu Tue Jan 20 17:58:27 2004 From: markwag+nagios at u.washington.edu (markwag+nagios at u.washington.edu) Date: Tue, 20 Jan 2004 08:58:27 -0800 Subject: Comparison of Big Brother and Nagios In-Reply-To: Your message of "Mon, 19 Jan 2004 18:30:46 GMT." Message-ID: <200401201658.i0KGwRni029575@gandalf.radonc.washington.edu> On 19 January 2004 at 18:30, "Tom Welsh" wrote: > Has anyone got a comparison report between Nagios and Big brother? It > would save me a lot of time if I could get it from some one and update / > plagiarise your efforts so far. > > I have a client who wants such a comparison and I know I have seen it > around somewhere before but cant find it now. I will post the doc when I > have finished with it to Ethan for possible dissemination on the > propaganda page. You need to verify these facts. BB may have improved since last I looked. Here is what I came up with when evaluating both: - BB: No scheduled downtime. - BB: Simplistic reporting. - Only get trends, alert history, and availability. - Cannot be broken down into groups. - BB: Configuration. - No template-based configuration. - BB: Agent-based monitoring. - Need to install software on every host. - Uses own protocol rather than SNMP. - Nagios is agentless and agent-based. - BB: Acks, but no comments. - BB: Limited web interface compared to Nagios. - BB: "Better Than Free" license. Must pay for non-commercial use. - Nagios: GPL. - BB: Why so many forks? Little sister, etc. - Nagios: Easily extensible. Look at the the add-ons. - BB: Support through one company. - Nagios: support from many companies. - Nagios: Alas, a low signal-to-noise ratio on mailing list. - BB: can't spell "advertise" properly on home page. :) -- Mark Wagner markwag at u.washington.edu 206-598-0302 Unix System Administrator, Radiation Oncology and Radiology ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag+nagios at u.washington.edu Tue Jan 20 18:07:55 2004 From: markwag+nagios at u.washington.edu (markwag+nagios at u.washington.edu) Date: Tue, 20 Jan 2004 09:07:55 -0800 Subject: "Caught SIGSEGV, shutting down..." under Fedora 1 In-Reply-To: Your message of "Mon, 19 Jan 2004 12:58:14 +0100." Message-ID: <200401201707.i0KH7tni029770@gandalf.radonc.washington.edu> On 19 January 2004 at 12:58, Jacquelin Charbonnel wrote: > I have built Nagios 1.1 undef Fedora 1, with no error, but at runtime, it = > > aborts immediately with the message : > > "Caught SIGSEGV, shutting down..." > > The same configuration (compilation options and .cfg files) runs since=20 > several months under RedHat with no problem. > (in particular, I use MySql databases for all the data). > > Has anyone else seen this problem ? I haven't but I suggest compiling nagios with debugging symbols ("-g") and run it under GDB. When it segvs get a stack trace and post it to the list. -- Mark Wagner markwag at u.washington.edu 206-598-0302 Unix System Administrator, Radiation Oncology and Radiology ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 18:15:22 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Tue, 20 Jan 2004 18:15:22 +0100 Subject: Checking CPU Utilization - Take2 Message-ID: <4B05B471CA57554C8E0361B442971086043F93@mail.tls.123multimedia.com> Behalf Of Neil: > jeff vier writes: > > > > > echo "`uptime | awk '{print $10}' | tr -d ,` * 4 " | bc -l > > > > Hey guys, > > How can we use the above command line or other command line to be useful > to > nagios? I'm really interested. What are the steps needed so that value can > be read by nagios? You make a script in your nrpe scripts directory (check the scripts in there to have an example, especially for the return codes). Then you include those in nrpe.cfg (call it uptime, for example), then you define a check_nrpe service (nrpe!uptime). You're done. Fran?ois. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhendrix at stthomas.org Tue Jan 20 18:14:24 2004 From: bhendrix at stthomas.org (Brian Hendrix) Date: Tue, 20 Jan 2004 11:14:24 -0600 Subject: check_by_ssh Message-ID: I have been attempting in the last two days to get use nrpe on an AIX 4.3.3 system with no avail. It compiles but when attempting to use it, I get the following error: # ./check_nrpe -H {host to monitor} -c check_load CHECK_NRPE: Error - Could not complete SSL handshake. Well, I gave up on that for now and will revisit it when I have time to research. I am giving an important demo to my IT managers in two days. They are excited about not having to possibly spend $140,000 to renew COMMANDPOST/Patrol. I decided to use ssh instead. I did my research and configured ssh correctly on both machines, created the key on nagios server, shared the public key with remote AIX server. I can now as the nagios user on the nagios server login via ssh to the remote system's nagios user without a passphrase. Works great. However, whenever I use check_by_ssh, I am always getting prompted for a passphrase. I am at a loss on what I may be missing. I created the key with the following command: # ssh-keygen -t rsa1 I had to use the -t parameter. It was required. I am using the following command to connect to the remote server: # ./check_by_ssh -H hostname -l nagios -C check_load Any assistance is greatly appreciated. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ Brian Hendrix Team Leader DTR Services Saint Thomas Health Services 2000 Church Street Nashville, TN 37236 bhendrix at stthomas.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Tue Jan 20 18:17:50 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 20 Jan 2004 12:17:50 -0500 (EST) Subject: parent host relatiionship In-Reply-To: <20040120160404.23427.qmail@restricted.dyndns.org> References: <20040120160404.23427.qmail@restricted.dyndns.org> Message-ID: On Tue, 20 Jan 2004, Neil wrote: > Hi Matt, > > Sorry about my statements. It was really confusing. Anyways, if I configured > it with d,u,r, does it mean that I will get DOWN and UNREACHABLE email > messages when srv-a or srv-b goes really down? No.. "down" and "unreachable" are mutually exclusive... a host can only be in one state or the other at any given time. If Nagios can contact a host's parent(s), but not the host, then the host is down. If Nagios cannot contact the host's parent(s), then the status of the host cannot be known, so it is marked as unreachable. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 18:29:06 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 20 Jan 2004 12:29:06 -0500 (EST) Subject: Comparison of Big Brother and Nagios In-Reply-To: <200401201658.i0KGwRni029575@gandalf.radonc.washington.edu> References: <200401201658.i0KGwRni029575@gandalf.radonc.washington.edu> Message-ID: On Tue, 20 Jan 2004 markwag+nagios at u.washington.edu wrote: > - BB: can't spell "advertise" properly on home page. :) I should point out that "advertize" is the correct spelling in many places in the world. :) -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 18:31:48 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 20 Jan 2004 11:31:48 -0600 Subject: parent host relatiionship In-Reply-To: References: Message-ID: <20040120173148.31432.qmail@restricted.dyndns.org> Hi Matt, I got it now. This is where multiple nagios servers across the network becomes very useful. This is cool. Thanks. :) Matt Pounsett writes: > On Tue, 20 Jan 2004, Neil wrote: > >> Hi Matt, >> >> Sorry about my statements. It was really confusing. Anyways, if I configured >> it with d,u,r, does it mean that I will get DOWN and UNREACHABLE email >> messages when srv-a or srv-b goes really down? > > No.. "down" and "unreachable" are mutually exclusive... a host can only be in > one state or the other at any given time. If Nagios can contact a host's > parent(s), but not the host, then the host is down. If Nagios cannot contact > the host's parent(s), then the status of the host cannot be known, so it is > marked as unreachable. > > -- > 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 > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 18:47:00 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 17:47:00 +0000 Subject: Comparison of Big Brother and Nagios In-Reply-To: <200401201658.i0KGwRni029575@gandalf.radonc.washington.edu> References: <200401201658.i0KGwRni029575@gandalf.radonc.washington.edu> Message-ID: <20040120174700.9023.qmail@minnow.softflare.net> markwag+nagios at u.washington.edu writes: > - BB: No scheduled downtime. Worse than that, no web interface to allow us or clients to disable checks or for us to add notes. In fact, any time you want to temporarily disable a host or service check you have to do some editing of files. I happen to prefer editing files to using web interfaces, but not when the web interface allows the client to make changes instead of me having to. > - Cannot be broken down into groups. There is a facility for grouping machines on a separate page and report the health of that whole group on the main page. > - BB: Why so many forks? Little sister, etc. Either my configuration has a problem or the same is true of nagios. The one thing in BB's favour is a simple health report that is easier to interpret from some distance away. A big point in Nagios's favour is the wealth of PHB features, displaying the informtion in different levels of detail and even the (technically of little use but something PHBs love) status map and 3D status map - we sell monitoring services to clients who love stuff like that. Which reminds me - I don't think you can set up BB to restrict users to only seeing their own machines rather than everyone's, making it hard to set up a centralized service for multiple independent clients. Add in the fact that Nagios can monitor many more services than BB and I think you have a clear winner. Check_hplj is great fun (phone the client and tell them to put more paper in their printer) and the new check_smart promises to be even more fun ("looks like your hard disk is on the point of failing"). Does BB have the ability to monitor printer status and disk drive health? Is it ever likely to? -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 18:51:17 2004 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 20 Jan 2004 09:51:17 -0800 Subject: check_by_ssh Message-ID: Brian Hendrix wrote: > I decided to use ssh instead. I did my research and configured ssh correctly > on both machines, created the key on nagios server, shared the public key > with remote AIX server. I can now as the nagios user on the nagios server > login via ssh to the remote system's nagios user without a passphrase. Works > great. However, whenever I use check_by_ssh, I am always getting prompted for > a passphrase. I am at a loss on what I may be missing. > > I created the key with the following command: > > # ssh-keygen -t rsa1 > I had to use the -t parameter. It was required. > > I am using the following command to connect to the remote server: > > # ./check_by_ssh -H hostname -l nagios -C check_load > > > Any assistance is greatly appreciated. Brian, A few notes, because you don't specifically mention them: - Why use -l? From what I can see the login of 'nagios' is assumed - Did you create remote:~/.ssh/authorized_keys or remote:~/.ssh/authorized_keys2 ? - How are you testing the SSH connection? Are you logged in as yourself and then su'd to nagios, or directly logged in as nagios? I've had problems with my SSH key agent doing too much work. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 18:48:59 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 17:48:59 +0000 Subject: adding additional info In-Reply-To: <20040120162957.25756.qmail@restricted.dyndns.org> References: <20040120162957.25756.qmail@restricted.dyndns.org> Message-ID: <20040120174859.9677.qmail@minnow.softflare.net> Neil writes: > Is it possible to add additional information about the host we are > monitoring say address, building, location, contact person, phone number > and etc? It will be really if if it can be seen in the status map. The documentation for extended host info tells you how to go about doing this. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 19:00:18 2004 From: alevitt at navis.com (Aaron Levitt) Date: Tue, 20 Jan 2004 10:00:18 -0800 Subject: nrpe 2.0 with AIX 4.3.2 Message-ID: <7473201406D1FE4CBAD4096D6BD1E92108C08B@hqexch01.hq.navis.net> On Monday, January 19, 2004 at 6:11 PM Simon Kitching wrote: > The problem is actually with the nrpe program. But I haven't made any > changes to that either (though I think some *should* be made). > > I was actually running a custom check program (checking age of messages > on an IBM MQ queue). By changing this to ensure that no output ever went > to STDERR, I resolved *my* problem without changing nrpe. Thanks for the information! It helped with one of the other problems I was having with my own custom checks. However, I believe the problem with my AIX box is different. I can't even get the default "NRPE v2.0" banner from the AIX box. See the output below: # ./check_nrpe -H (AIX box IP) CHECK_NRPE: Response packet had invalid CRC32. # ./check_nrpe -H (linux box IP) NRPE v2.0 I've verified that inetd and /etc/services are setup correctly as per the instructions, and that nrpe is available. Any other suggestions? Thanks again for all the help! -=Aaron ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 18:57:32 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 17:57:32 +0000 Subject: check_by_ssh In-Reply-To: References: Message-ID: <20040120175732.12335.qmail@minnow.softflare.net> Brian Hendrix writes: > I am using the following command to connect to the remote server: > > # ./check_by_ssh -H hostname -l nagios -C check_load How about using the -i option to specify the key... > Any assistance is greatly appreciated. Good. Get your bosses to send some of that $140,000 my way. :) -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhendrix at stthomas.org Tue Jan 20 19:00:03 2004 From: bhendrix at stthomas.org (Brian Hendrix) Date: Tue, 20 Jan 2004 12:00:03 -0600 Subject: check_by_ssh Message-ID: Thanks for responding, David. You are probably right. I don't have to use the -l option. Either way, the command did not work. I did create the authorized_keys file. I did NOT create, however, an authorized_keys2 file. I assumed I didn't need it because I am using the "-t rsa1" parameter when creating the key. I've been testing by "su - nagios" and not logging in directly. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ Brian Hendrix Team Leader DTR Services Saint Thomas Health Services 2000 Church Street Nashville, TN 37236 bhendrix at stthomas.org (615) 284-5297 (work) (615) 222-1704 (fax) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> "David Olbersen" 1/20/2004 11:51:17 AM >>> Brian Hendrix wrote: > I decided to use ssh instead. I did my research and configured ssh correctly > on both machines, created the key on nagios server, shared the public key > with remote AIX server. I can now as the nagios user on the nagios server > login via ssh to the remote system's nagios user without a passphrase. Works > great. However, whenever I use check_by_ssh, I am always getting prompted for > a passphrase. I am at a loss on what I may be missing. > > I created the key with the following command: > > # ssh-keygen -t rsa1 > I had to use the -t parameter. It was required. > > I am using the following command to connect to the remote server: > > # ./check_by_ssh -H hostname -l nagios -C check_load > > > Any assistance is greatly appreciated. Brian, A few notes, because you don't specifically mention them: - Why use -l? From what I can see the login of 'nagios' is assumed - Did you create remote:~/.ssh/authorized_keys or remote:~/.ssh/authorized_keys2 ? - How are you testing the SSH connection? Are you logged in as yourself and then su'd to nagios, or directly logged in as nagios? I've had problems with my SSH key agent doing too much work. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Tue Jan 20 19:12:17 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 18:12:17 +0000 Subject: Comparison of Big Brother and Nagios In-Reply-To: References: Message-ID: <20040120181217.16482.qmail@minnow.softflare.net> Matt Pounsett writes: > I should point out that "advertize" is the correct spelling in many > places in the world. :) Not in the UK or the US, it isn't. Going by the spelling in Nigerian 4-1-9 scams, it may be the correct spelling in that country. Due to the UK's employment of under-qualified teachers in the 60s and afterwards, those under 50 in the UK were taught a lot of bad spelling and to use 's' where they should use 'z' but 'advertise' is not one of the words affected. A rule of thumb (which has a couple of exceptions in each direction) is that if there is a verb formed by dropping the 'e' and adding 'ation' then it should be spelled with a 'z' otherwise it should be spelled with a 'z'. There is no verb 'advertization' (unless it crops up in Dubya-speak) You'll recognize some of the exceptions, I expect. All of which is totally off-topic, so reply to me rather than the list, if anyone feels tempted to respond. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:41:32 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 18:41:32 +0000 Subject: check_by_ssh In-Reply-To: References: Message-ID: <20040120184132.23471.qmail@minnow.softflare.net> Brian Hendrix writes: > I've been testing by "su - nagios" and not logging in directly. When you finally get around to using the -i option with check_by_ssh (which is needed) you'll find it still won't work unless you were smart enough to tell ssh to stick the remote host key into nagios's list of known hosts instead of the real user prior to su. If you don't know how, login as nagios and ssh to the remote box. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag+nagios at u.washington.edu Tue Jan 20 19:46:32 2004 From: markwag+nagios at u.washington.edu (markwag+nagios at u.washington.edu) Date: Tue, 20 Jan 2004 10:46:32 -0800 Subject: Comparison of Big Brother and Nagios In-Reply-To: Your message of "Tue, 20 Jan 2004 17:47:00 GMT." Message-ID: <200401201846.i0KIkWni004538@gandalf.radonc.washington.edu> On 20 January 2004 at 17:47, "Paul L. Allen" wrote: > markwag+nagios at u.washington.edu writes: > > - BB: Why so many forks? Little sister, etc. > > Either my configuration has a problem or the same is true of Nagios. Lol. By "fork" I meant project forks, not the fork(2) system call. By "Little Sister" I meant Big Sister. There don't seem to be any BB project forks other than Big Sister either so this may not be important. -- Mark Wagner markwag at u.washington.edu 206-598-0302 Unix System Administrator, Radiation Oncology and Radiology ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 19:57:52 2004 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 20 Jan 2004 10:57:52 -0800 Subject: check_by_ssh Message-ID: Paul L. Allen wrote: > Brian Hendrix writes: > > > I've been testing by "su - nagios" and not logging in directly. > > When you finally get around to using the -i option with check_by_ssh > (which is needed) you'll find it still won't work unless you were smart > enough to tell ssh to stick the remote host key into nagios's list of > known hosts instead of the real user prior to su. If you don't know how, > login as nagios and ssh to the remote box. -i is not required if you stick to standard key file names. I swear. I have it working right now, sans -i :) You only need -i if you're going to have one key file per check. I considered that but decided it was too much work. It's mildly more secure -- the nagios user is already unprivileged and nagios' SSH key is restricted by source IP. Note: You should probably SSH to the machine by IP when trying to add the host key to the list of known hosts -- that's how Nagios does it by default. At least, that's how my installation does it. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Greg.Cazian at wetseal.com Tue Jan 20 19:58:48 2004 From: Greg.Cazian at wetseal.com (Greg Cazian) Date: Tue, 20 Jan 2004 10:58:48 -0800 Subject: Can't run some of my CGI scripts Message-ID: Yes, check_external_commands=1 is indeed set. I have checked everything that I could possibly think of. It's strange.... I wonder if it is a bug? -----Original Message----- From: Kenneth Durando [mailto:kdurando at responsebase.com] Sent: Monday, January 19, 2004 5:59 PM To: Greg Cazian Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Can't run some of my CGI scripts Greg, Be sure you check your nagios.cfg config file!! You MUST have check_external_commands=1 or external commands will not work. Also, check your cgi.cfg file and be sure you have the proper user you have setup with .htaccess that is authorized to run external commands. (It appears that you already have this setup). cgi.cfg: authorized_for_all_service_commands=<.htaccess username> authorized_for_all_host_commands=<.htaccess username> Hope this helps, Kenneth On Mon, 19 Jan 2004, Greg Cazian wrote: > 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. > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 20:38:13 2004 From: richard at splash.co.za (Richard Mayhew) Date: Tue, 20 Jan 2004 21:38:13 +0200 Subject: "Caught SIGSEGV, shutting down..." under Fedora 1 References: <200401201707.i0KH7tni029770@gandalf.radonc.washington.edu> Message-ID: <001101c3df8c$f182c300$1400a8c0@splash.co.za> Hi The only way I got this to work is to not compile Nagios with Embedded Perl Support and Perl Caching. There seems to be something funny with the version of perl on fedora and Nagios. Hope this helps. ----- Original Message ----- From: To: "Jacquelin Charbonnel" Cc: Sent: Tuesday, January 20, 2004 7:07 PM Subject: Re: [Nagios-users] "Caught SIGSEGV, shutting down..." under Fedora 1 > On 19 January 2004 at 12:58, Jacquelin Charbonnel wrote: > > > I have built Nagios 1.1 undef Fedora 1, with no error, but at runtime, it = > > > > aborts immediately with the message : > > > > "Caught SIGSEGV, shutting down..." > > > > The same configuration (compilation options and .cfg files) runs since=20 > > several months under RedHat with no problem. > > (in particular, I use MySql databases for all the data). > > > > Has anyone else seen this problem ? > > I haven't but I suggest compiling nagios with debugging symbols ("-g") > and run it under GDB. When it segvs get a stack trace and post it to the list. > > -- > Mark Wagner markwag at u.washington.edu 206-598-0302 > Unix System Administrator, Radiation Oncology and Radiology > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 20:36:42 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 19:36:42 +0000 Subject: check_by_ssh In-Reply-To: References: Message-ID: <20040120193642.4203.qmail@minnow.softflare.net> David Olbersen writes: > -i is not required if you stick to standard key file names. I swear. > I have it working right now, sans -i :) Ah, OK. Of course, I didn't use the standard key file names. I had a reason at the time. Really. > You only need -i if you're going to have one key file per check. Or if you wanted to try chaining check_by_ssh calls to traverse firewalls and wanted to ensure that a different key was used on the internal network (because the firewall itself would need the private key and you don't want client A to have any chance of poking around on client B). However I couldn't get that to work, so I could probably revert to standard filenames. > I considered that but decided it was too much work. I came to the same conclusion. The only way somebody will get the private key is by compromising the monitoring box and if they can get one private key they can get all of them. > and nagios' SSH key is restricted by source IP. Ummm, the key is? Or do you mean you're using hosts.allow to block connections from other IPs. I just copied the nagios key from our monitoring box to my home machine and used the key to login as nagios to one of the boxes we monitor, so IP is not built into the key. > Note: You should probably SSH to the machine by IP when trying to add > the host key to the list of known hosts -- that's how Nagios does it by > default. At least, that's how my installation does it. You should use however you refer to the machine in the service check. IP addresses speed things up, but bite you if they ever change (customers switch internet connectivity providers sometimes) and you forget to update nagios as well as the relevant DNS zone file and in the network config of the remote machine and any other places it's hard-wired. If your monitoring box runs its own DNS server the hit from using a domain name is going to be very minimal because it will be cached for the TTL and instantly available thereafter. And remember to set StrictHostKeyChecking to no if the machine you're monitoring has dynamic IP (for which you need dynamic DNS and some way of getting changes of IP address to your DNS server). -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 20:45:26 2004 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 20 Jan 2004 11:45:26 -0800 Subject: check_by_ssh Message-ID: Paul L. Allen wrote: > I came to the same conclusion. The only way somebody will get the > private key is by compromising the monitoring box and if they can get > one private key they can get all of them. Agreed. > > and nagios' SSH key is restricted by source IP. > > Ummm, the key is? Or do you mean you're using hosts.allow to block > connections from other IPs. I just copied the nagios key from our > monitoring box to my home machine and used the key to login as nagios > to one of the boxes we monitor, so IP is not built into the key. Nope, it's built in to authorized_keys2 on the machine being checked. One of the cool things you can do with authorized_keys2 is say "only connections from this IP are allowed to use this key". You do that like this: from="" There are other options you can use, here's a snippet from mine: from="192.168.5.11",no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-dss AAAAB3NzaC1kc3MAAACBA... rest of public key This means that only 192.168.5.11 can use the private key corresponding to the public key that follows. If the incoming connection is from 192.168.5.11, has the correct private key, but has port-forwarding, X11-forwarding, or agent-forwarding enabled it'll be dropped. I have these turned off because Nagios will never use them. Handy, 'eh? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 20:49:30 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 19:49:30 +0000 Subject: Comparison of Big Brother and Nagios In-Reply-To: <200401201846.i0KIkWni004538@gandalf.radonc.washington.edu> References: <200401201846.i0KIkWni004538@gandalf.radonc.washington.edu> Message-ID: <20040120194930.6871.qmail@minnow.softflare.net> markwag+nagios at u.washington.edu writes: > Lol. By "fork" I meant project forks, not the fork(2) system call. Ah, OK. My boss noticed all the processes nagios forks the other day and asked me if something was wrong, which was why that interpretation came to mind. > By "Little Sister" I meant Big Sister. I thought it was a bit of derogatory labelling of BB forking off shell scripts. Until you mentioned it, I didn't know that BB had forked. > There don't seem to be any BB project forks other than Big Sister either > so this may not be important. One project fork is enough to indicate dissatisfaction with the project lead. Which is not surprising since BB doesn't seem to have improved much in the past couple of years. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 20:58:11 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 20 Jan 2004 19:58:11 +0000 Subject: check_by_ssh In-Reply-To: References: Message-ID: <20040120195811.9197.qmail@minnow.softflare.net> David Olbersen writes: > Nope, it's built in to authorized_keys2 on the machine being checked. > One of the cool things you can do with authorized_keys2 is say "only > connections from this IP are allowed to use this key". You do that like > this: That would be very handy, but... My PBH wanted the monitoring software on a machine at his home/office. Which is on the end of a cable modem. Which means the IP can and does change. One of the reasons I switched from nrpe to check_by_ssh was that the only security on nrpe comes from tcpwrappers, and that's not feasible when the monitoring host's IP can change. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 21:06:58 2004 From: Karl.Yost at mptotalcare.com (Yost, Karl) Date: Tue, 20 Jan 2004 15:06:58 -0500 Subject: APAN + Temptraxe Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF7CC@em_exchange.express-med.com> Is anyone using APAN in combination with Temptraxe? I could use an example of how to set this up with APAN if anyone has. Thanks, -k ***** 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 jdoyle at lewisgaleclinic.com Tue Jan 20 21:11:55 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 20 Jan 2004 15:11:55 -0500 Subject: Question about service definition... Message-ID: When defining a service, I know I can list multiple hosts by seperating them with commas. Can I put a hostgroup name there instead? ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Tue Jan 20 21:39:10 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 20 Jan 2004 15:39:10 -0500 Subject: Question about service definition... Message-ID: So when creating a service definition, don't put: Host_name host1,host2,host3,... Put instead: Hostgroup_name hostgroup1,hostgroup2,... ? -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Tuesday, January 20, 2004 3:38 PM To: Jack Doyle Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Question about service definition... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > When defining a service, I know I can list multiple hosts by > seperating them with commas. Can I put a hostgroup name there > instead? No, but instead of the host_name directive you can use the hostgroup_name directive. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFADZGkl2ODWuqVSBMRAnxTAJ0UQ7JyBpjA+mwF50LaQ/vq9QwFNACeKW9S 0vhtghlmXentMoGDPAY6N94= =jEPK -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jan 20 21:37:45 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 20 Jan 2004 12:37:45 -0800 (PST) Subject: Question about service definition... In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > When defining a service, I know I can list multiple hosts by seperating > them with commas. Can I put a hostgroup name there instead? No, but instead of the host_name directive you can use the hostgroup_name directive. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFADZGkl2ODWuqVSBMRAnxTAJ0UQ7JyBpjA+mwF50LaQ/vq9QwFNACeKW9S 0vhtghlmXentMoGDPAY6N94= =jEPK -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jan 20 21:44:11 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 20 Jan 2004 12:44:11 -0800 (PST) Subject: Question about service definition... In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, although I haven't personally tried putting multiple hostgroup_name's in like that. - -Jason Martin On Tue, 20 Jan 2004, Jack Doyle wrote: > So when creating a service definition, don't put: > > Host_name host1,host2,host3,... > > Put instead: > > Hostgroup_name hostgroup1,hostgroup2,... > > ? > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Tuesday, January 20, 2004 3:38 PM > To: Jack Doyle > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Question about service definition... > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > When defining a service, I know I can list multiple hosts by > > seperating them with commas. Can I put a hostgroup name there > > instead? > No, but instead of the host_name directive you can use the > hostgroup_name > directive. > > - -Jason Martin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFADZGkl2ODWuqVSBMRAnxTAJ0UQ7JyBpjA+mwF50LaQ/vq9QwFNACeKW9S > 0vhtghlmXentMoGDPAY6N94= > =jEPK > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFADZMnl2ODWuqVSBMRAmp4AJ4tR91001YxQhNPuWqL/gs9BW1HPACfTSsK Jd5wxo9p7Pg+XXJwLHYXsc8= =J69g -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Tue Jan 20 21:45:17 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 20 Jan 2004 15:45:17 -0500 Subject: Question about service definition... Message-ID: Well... I don't need multiple hostgroup names... Just one. I was just asking... But... It does work if I put one and don't define host_name at all? -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Tuesday, January 20, 2004 3:44 PM To: Jack Doyle Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Question about service definition... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, although I haven't personally tried putting multiple hostgroup_name's in like that. - -Jason Martin On Tue, 20 Jan 2004, Jack Doyle wrote: > So when creating a service definition, don't put: > > Host_name host1,host2,host3,... > > Put instead: > > Hostgroup_name hostgroup1,hostgroup2,... > > ? > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Tuesday, January 20, 2004 3:38 PM > To: Jack Doyle > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Question about service definition... > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > When defining a service, I know I can list multiple hosts by > > seperating them with commas. Can I put a hostgroup name there > > instead? > No, but instead of the host_name directive you can use the > hostgroup_name directive. > > - -Jason Martin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFADZGkl2ODWuqVSBMRAnxTAJ0UQ7JyBpjA+mwF50LaQ/vq9QwFNACeKW9S > 0vhtghlmXentMoGDPAY6N94= > =jEPK > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration See the > breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFADZMnl2ODWuqVSBMRAmp4AJ4tR91001YxQhNPuWqL/gs9BW1HPACfTSsK Jd5wxo9p7Pg+XXJwLHYXsc8= =J69g -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 21:48:14 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 20 Jan 2004 14:48:14 -0600 Subject: Question about service definition... In-Reply-To: References: Message-ID: <1074631694.2616.315.camel@localhost> On Tue, 2004-01-20 at 14:11, Jack Doyle wrote: > When defining a service, I know I can list multiple hosts by > seperating them with commas. Can I put a hostgroup name there > instead? use hostgroup_name This has been answered dozens of times. Review the list archives. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jan 20 21:53:31 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 20 Jan 2004 12:53:31 -0800 (PST) Subject: Question about service definition... In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I don't think you can use both host_name and hostgroup_name within the same definition. - -Jason Martin On Tue, 20 Jan 2004, Jack Doyle wrote: > Well... I don't need multiple hostgroup names... Just one. I was just > asking... But... It does work if I put one and don't define host_name at > all? > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Tuesday, January 20, 2004 3:44 PM > To: Jack Doyle > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Question about service definition... > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Yes, although I haven't personally tried putting multiple > hostgroup_name's in like that. > > - -Jason Martin > On Tue, 20 Jan 2004, Jack Doyle wrote: > > > So when creating a service definition, don't put: > > > > Host_name host1,host2,host3,... > > > > Put instead: > > > > Hostgroup_name hostgroup1,hostgroup2,... > > > > ? > > > > -----Original Message----- > > From: Jason Martin [mailto:jhmartin at toger.us] > > Sent: Tuesday, January 20, 2004 3:38 PM > > To: Jack Doyle > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Question about service definition... > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > > When defining a service, I know I can list multiple hosts by > > > seperating them with commas. Can I put a hostgroup name there > > > instead? > > No, but instead of the host_name directive you can use the > > hostgroup_name directive. > > > > - -Jason Martin > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.3.3 (GNU/Linux) > > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > > > iD8DBQFADZGkl2ODWuqVSBMRAnxTAJ0UQ7JyBpjA+mwF50LaQ/vq9QwFNACeKW9S > > 0vhtghlmXentMoGDPAY6N94= > > =jEPK > > -----END PGP SIGNATURE----- > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration See the > > breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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/ > > iD8DBQFADZMnl2ODWuqVSBMRAmp4AJ4tR91001YxQhNPuWqL/gs9BW1HPACfTSsK > Jd5wxo9p7Pg+XXJwLHYXsc8= > =J69g > -----END PGP SIGNATURE----- > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFADZVVl2ODWuqVSBMRAnYQAKCRfL5PB9rUJxnVQusG9P3BgWbzcgCeM20t 5f4HUHDmulUCaHhZdZxpMhc= =Jvg1 -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smoynes at nerdnest.org Tue Jan 20 21:54:19 2004 From: smoynes at nerdnest.org (Scott Moynes) Date: Tue, 20 Jan 2004 15:54:19 -0500 Subject: check_by_ssh In-Reply-To: <20040120195811.9197.qmail@minnow.softflare.net> References: <20040120195811.9197.qmail@minnow.softflare.net> Message-ID: <20040120205419.GN14142@marilyn> * Paul L. Allen (pla at softflare.com) wrote: > My PBH wanted the monitoring software on a machine at his > home/office. Which is on the end of a cable modem. Which means the > IP can and does change. One of the reasons I switched from nrpe to > check_by_ssh was that the only security on nrpe comes from > tcpwrappers, and that's not feasible when the monitoring host's IP > can change. While it may not be useful for you, Paul, I thought my solution to a similarly silly requirement from The Powers That Be might be helpful to other list readers. I used nrpe through stunnel's inetd mode SSL certificates to provide strong authentication. A similar solution to check_by_ssh and ssh keypairs but with the niceties of not having a user account on the monitored host and integrating with our certificate authority. For some reason, which is now lost to me, I couldn't use certificates with nrpe's SSL support. Hope that is helpful, -- Scott Moynes "Computer science is as much about computers as astronomy is about telescopes." -- Dijkstra ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Tue Jan 20 22:12:05 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 20 Jan 2004 16:12:05 -0500 Subject: Question about service definition... Message-ID: Sorry. Thanks for the quick response, though. My bad. -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Tuesday, January 20, 2004 3:48 PM To: Jack Doyle Cc: nagios-users Subject: Re: [Nagios-users] Question about service definition... On Tue, 2004-01-20 at 14:11, Jack Doyle wrote: > When defining a service, I know I can list multiple hosts by > seperating them with commas. Can I put a hostgroup name there > instead? use hostgroup_name This has been answered dozens of times. Review the list archives. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamin at skyriver.net Tue Jan 20 22:03:27 2004 From: jamin at skyriver.net (Jamin Cleveland) Date: Tue, 20 Jan 2004 13:03:27 -0800 Subject: nagmin verify error Message-ID: <5E43695CC08E3D43A722EB75F116BC29D5B642@skyriverserver3.skyriver.net> -----Original Message----- From: Dan Lacey [mailto:dlacey at cybermesa.com] >extern.Lars.Oeschey at audi.de wrote: > >>>Error: Could not add object property in file >>>'/usr/local/nagmin/nagios/Command.cfg' on line 71. >>> >>> >> >>I tried like five installs/setup of nagmin, never got it to work, and >>usually it's because of the same error you get. It seems that the reading of >>the config files during setup isn't error free, and there are linebreaks >>inserted into the database, which shouldn't. Also the handling of generating >>tables during setup never worked for me (take alone the fact that >>"nagmin_drop.sql" never drops the databse itself, but "nagmin_load.sql" >>tries to create the database. To me that all looks still buggy, and i'm >>leaving it alone for now. >> >>Lars > >I had the same problems. I edited the .sql files generated by the config >script and ran the them from the command line. >Then I restarted the script and answered no when the script tried to >create the DB. > >After that, it was pretty easy sailing!!! Well worth the effort! I went ahead and edited the .sql files called on by the NagMIN setup script per Dan's suggestion (there were some column values missing), and the MySQL DB appears to be correctly populated now. However, the Verify error remains: Error: Could not add object property in file '/usr/local/nagmin/nagios/Command.cfg' on line 75. Has anyone found a true workaround for this issue? -Jamin From jeff.vier at tradingtechnologies.com Tue Jan 20 22:32:24 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 20 Jan 2004 15:32:24 -0600 Subject: Question about service definition... In-Reply-To: References: Message-ID: <1074634344.25032.317.camel@localhost> On Tue, 2004-01-20 at 14:53, Jason Martin wrote: > I don't think you can use both host_name and hostgroup_name within the > same definition. yes you can. comma-delimited, same as host_group. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhendrix at stthomas.org Tue Jan 20 22:41:01 2004 From: bhendrix at stthomas.org (Brian Hendrix) Date: Tue, 20 Jan 2004 15:41:01 -0600 Subject: check_by_ssh Message-ID: No, not yet. I am able to do the following from the command line: ssh -1 (without a passphrase) I tried the check_by_ssh command with the "-1" (minus one) option from the command line: check_by_ssh -1 -H -C (without a passphrase) Amazingly, it worked. I believe the "-1" says to use ssh protocol 1. However, when I edit my services.cfg and checkcommands.cfg to include the new option, I get: ssh: connect to address 100.1.30.31 port 22: Connection refused define service{ use generic-service host_name casbtest service_description check_total_procs contact_groups dtroncall check_command check_by_ssh!check_procs 500 800 } # 'check_by_ssh' command definition define command{ command_name check_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C $ARG1$ -t 30 -1 } ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ Brian Hendrix Team Leader DTR Services Saint Thomas Health Services 2000 Church Street Nashville, TN 37236 bhendrix at stthomas.org (615) 284-5297 (work) (615) 222-1704 (fax) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> "David Olbersen" 1/20/2004 3:05:25 PM >>> Brian, I know we went a little off-problem on the list: have you resolved your SSH issue? -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DOlbersen at stbernard.com Tue Jan 20 22:49:55 2004 From: DOlbersen at stbernard.com (David Olbersen) Date: Tue, 20 Jan 2004 13:49:55 -0800 Subject: check_by_ssh Message-ID: Brian Hendrix wrote: > No, not yet. > > I am able to do the following from the command line: > ssh -1 > (without a passphrase) > > I tried the check_by_ssh command with the "-1" (minus one) option from the > command line: check_by_ssh -1 -H -C > (without a passphrase) > > Amazingly, it worked. I believe the "-1" says to use ssh protocol 1. That is 100% correct. > However, when I edit my services.cfg and checkcommands.cfg to include the new > option, I get: ssh: connect to address 100.1.30.31 port 22: Connection refused > > define service{ > use generic-service > host_name casbtest > service_description check_total_procs > contact_groups dtroncall > check_command check_by_ssh!check_procs 500 800 > } > > # 'check_by_ssh' command definition > define command{ > command_name check_by_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C $ARG1$ -t 30 -1 > } Not to be a detail-Nazi, but why have your command_line different from what works? Sure, it -shouldn't- make a difference. Did you try moving the -1 before the -H? Also, what about quoting the command? That is: $USER1$/check_by_ssh -1 -H $HOSTADDRESS$ -C '$ARG1$' -t 30 This is very close to what I have: $USER1$/check_by_ssh -t 30 -H $HOSTADDRESS$ -C "/usr/local/libexec/nagios/$ARG1$ $ARG2$" Keep in mind I probably use it differently than you do: check_command check_by_ssh!check_load!-w 16 -c 20 -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jamie_Bohr at Agilent.com Tue Jan 20 22:49:28 2004 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Tue, 20 Jan 2004 14:49:28 -0700 Subject: Question about service definition... In-Reply-To: <1074634344.25032.317.camel@localhost> References: <1074634344.25032.317.camel@localhost> Message-ID: <1074635367.32002.192.camel@colonel.cos.agilent.com> So if I have this correct then: define service { service_description some_service_check use generic-service register 1 host_name host1,hostgroup_name1,host2,hostgroup_name2 ... } docs/xodtemplate.html#service shows the host_name directive as a required field and that host_name is the short name for the host. I tried the above and had no success. Can someone point to documentation of how, if possible, on how to add a hostgroup to a service definition? Maybe even a >>> real <<< quick example as sown above. Thank you for all you time and effort, Jamie Bohr On Tue, 2004-01-20 at 14:32, jeff vier wrote: > On Tue, 2004-01-20 at 14:53, Jason Martin wrote: > > I don't think you can use both host_name and hostgroup_name within the > > same definition. > > yes you can. > > comma-delimited, same as host_group. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Tue Jan 20 22:55:01 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 20 Jan 2004 16:55:01 -0500 Subject: Question about service definition... Message-ID: I don't believe so. I took it as separate line for host_name and hostgroup_name -----Original Message----- From: Jamie Bohr [mailto:Jamie_Bohr at Agilent.com] Sent: Tuesday, January 20, 2004 4:49 PM To: jeff vier Cc: Jason Martin; Jack Doyle; nagios-users Subject: RE: [Nagios-users] Question about service definition... So if I have this correct then: define service { service_description some_service_check use generic-service register 1 host_name host1,hostgroup_name1,host2,hostgroup_name2 ... } docs/xodtemplate.html#service shows the host_name directive as a required field and that host_name is the short name for the host. I tried the above and had no success. Can someone point to documentation of how, if possible, on how to add a hostgroup to a service definition? Maybe even a >>> real <<< quick example as sown above. Thank you for all you time and effort, Jamie Bohr On Tue, 2004-01-20 at 14:32, jeff vier wrote: > On Tue, 2004-01-20 at 14:53, Jason Martin wrote: > > I don't think you can use both host_name and hostgroup_name within > > the > > same definition. > > yes you can. > > comma-delimited, same as host_group. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration See the > breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jamie_Bohr at Agilent.com Tue Jan 20 22:57:43 2004 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Tue, 20 Jan 2004 14:57:43 -0700 Subject: Question about service definition... recant In-Reply-To: <1074635367.32002.192.camel@colonel.cos.agilent.com> References: <1074634344.25032.317.camel@localhost> <1074635367.32002.192.camel@colonel.cos.agilent.com> Message-ID: <1074635862.32002.208.camel@colonel.cos.agilent.com> Never mind, I had a space of one of my hostgroup names (UNIX servers) that services did not like. I removed the space in the hostgroup name and all was good. My server now reads: define service { service_description some_name use generic-service register 1 host_name hostname1,hostname2 hostgroup_name hostgroup_name1,hostgroup_name2 .... } sorry for the quick reply w/o better trial on my part. - Jamie On Tue, 2004-01-20 at 14:49, Jamie Bohr wrote: > So if I have this correct then: > > define service { > service_description some_service_check > use generic-service > register 1 > host_name host1,hostgroup_name1,host2,hostgroup_name2 > ... > } > > docs/xodtemplate.html#service shows the host_name directive as a > required field and that host_name is the short name for the host. I > tried the above and had no success. Can someone point to documentation > of how, if possible, on how to add a hostgroup to a service definition? > Maybe even a >>> real <<< quick example as sown above. > > Thank you for all you time and effort, > Jamie Bohr > > > On Tue, 2004-01-20 at 14:32, jeff vier wrote: > > On Tue, 2004-01-20 at 14:53, Jason Martin wrote: > > > I don't think you can use both host_name and hostgroup_name within the > > > same definition. > > > > yes you can. > > > > comma-delimited, same as host_group. > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 23:08:17 2004 From: benny at bennyvision.com (C. Bensend) Date: Tue, 20 Jan 2004 16:08:17 -0600 (CST) Subject: check_by_ssh In-Reply-To: References: Message-ID: <4130.134.244.169.17.1074636519.squirrel@webmail.stinkweasel.net> > I tried the check_by_ssh command with the "-1" (minus one) option from > the command line: > check_by_ssh -1 -H -C > (without a passphrase) > > Amazingly, it worked. I believe the "-1" says to use ssh protocol 1. OK, so sshd on the remote host is accepting protocol 1 connections. > However, when I edit my services.cfg and checkcommands.cfg to include > the new option, I get: > ssh: connect to address 100.1.30.31 port 22: Connection refused >From the nagios machine, can you provide the results of (as user nagios): ping ping 100.1.30.31 ssh -1 hostname ssh -2 hostname Benny -- "Have you ever tried simply turning off the TV, sitting down with your children, and hitting them?" -- Bender, "Futurama" ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jamie_Bohr at Agilent.com Tue Jan 20 23:27:01 2004 From: Jamie_Bohr at Agilent.com (Jamie Bohr) Date: Tue, 20 Jan 2004 15:27:01 -0700 Subject: check_by_ssh In-Reply-To: References: Message-ID: <1074637620.32002.240.camel@colonel.cos.agilent.com> When you ran the command were you the user Nagios runs as? - Jamie On Tue, 2004-01-20 at 14:41, Brian Hendrix wrote: > No, not yet. > > I am able to do the following from the command line: > ssh -1 > (without a passphrase) > > I tried the check_by_ssh command with the "-1" (minus one) option from > the command line: > check_by_ssh -1 -H -C > (without a passphrase) > > Amazingly, it worked. I believe the "-1" says to use ssh protocol 1. > > However, when I edit my services.cfg and checkcommands.cfg to include > the new option, I get: > ssh: connect to address 100.1.30.31 port 22: Connection refused > > define service{ > use generic-service > host_name casbtest > service_description check_total_procs > contact_groups dtroncall > check_command check_by_ssh!check_procs 500 800 > } > > # 'check_by_ssh' command definition > define command{ > command_name check_by_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C $ARG1$ -t 30 -1 > } > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ > Brian Hendrix > Team Leader > DTR Services > Saint Thomas Health Services > 2000 Church Street > Nashville, TN 37236 > > bhendrix at stthomas.org > (615) 284-5297 (work) > (615) 222-1704 (fax) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Whatever you do, do your work heartily, > as for the Lord rather than for men > - Colossians 3:23 > ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >>> "David Olbersen" 1/20/2004 3:05:25 PM > >>> > Brian, > > I know we went a little off-problem on the list: have you resolved > your SSH issue? > > -- > David Olbersen > iGuard Engineer > St. Bernard Software > 15015 Avenue of Sciences > San Diego, CA 92127 > x2152 > > > Confidentiality Notice: This email message, including any attachments, contains > information that is confidential and/or legally privileged. The information is intended > only for the individual(s) named above. If you are not the intended recipient or the > person responsible for delivering the email to the intended recipient, be advised that > you have received this email in error and that any use, dissemination, distribution, > forwarding, printing, or copying of this email is strictly prohibited. If you have received > this email in error, please purge it immediately and notify the sender. -- Jamie Bohr Agilent Technologies, Inc. IT | Technical Computing 719-590-2396 Jamie_Bohr at Agilent.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhendrix at stthomas.org Tue Jan 20 23:53:41 2004 From: bhendrix at stthomas.org (Brian Hendrix) Date: Tue, 20 Jan 2004 16:53:41 -0600 Subject: check_by_ssh Message-ID: Well, I found my problem, guys, and do I feel stupid. If I were smart, I would not admit this on the list. Benny, when I saw in your email the following: ping ping 100.1.30.31 I realized that was NOT the address for my remote host. The IP address was wrong in the hosts.cfg I AM NOW WORKING VIA SSH !! Anyway, I now know more about SSH than I ever wanted to. I also learned that the check_by_ssh command takes a "-1" (minus one) parameter for rsa1 that is not part of the -h help. THANKS for all the assistance. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ Brian Hendrix Team Leader DTR Services Saint Thomas Health Services 2000 Church Street Nashville, TN 37236 bhendrix at stthomas.org (615) 284-5297 (work) (615) 222-1704 (fax) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> "C. Bensend" 1/20/2004 4:08:17 PM >>> > I tried the check_by_ssh command with the "-1" (minus one) option from > the command line: > check_by_ssh -1 -H -C > (without a passphrase) > > Amazingly, it worked. I believe the "-1" says to use ssh protocol 1. OK, so sshd on the remote host is accepting protocol 1 connections. > However, when I edit my services.cfg and checkcommands.cfg to include > the new option, I get: > ssh: connect to address 100.1.30.31 port 22: Connection refused >From the nagios machine, can you provide the results of (as user nagios): ping ping 100.1.30.31 ssh -1 hostname ssh -2 hostname Benny -- "Have you ever tried simply turning off the TV, sitting down with your children, and hitting them?" -- Bender, "Futurama" ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Nick.Platt at myflorida.com Wed Jan 21 00:15:42 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Tue, 20 Jan 2004 18:15:42 -0500 Subject: Triggering the "Network Outages" display under Tactical Overview Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F0605B4E5@stoexchange.state.fl.us> Hello: I am very new to Nagios and just recently installed it by following the instructions very carefully. I have a fair understanding of how all the *.cfg files work. It is my understanding that there are host and services only. I decided to start monitoring my core routers and edge switches plus a few test servers. I've not been able to trigger the "Network Outage" display because I do not know how to distinguish the routing equipment from the server equipment. I had asked a friend how to accomplish this and he directed to work with the host dependency file. I tried to make a host dependent (test server) to another host (core router), but I was not able to trigger the "Network Outage" field. Any assistance would be greatly appreciated. There has to be a way to distinguish network nodes from server nodes. See attachment. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Nagios network devices.bmp Type: image/bmp Size: 146602 bytes Desc: not available URL: From jhmartin at toger.us Wed Jan 21 00:27:23 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 20 Jan 2004 15:27:23 -0800 (PST) Subject: Triggering the "Network Outages" display under Tactical Overview In-Reply-To: <2FDA6C38B2BFD4119D2400D0B784BE6F0605B4E5@stoexchange.state.fl.us> References: <2FDA6C38B2BFD4119D2400D0B784BE6F0605B4E5@stoexchange.state.fl.us> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Network nodes and server nodes are essentially the same thing, but you use the parent directive to tell Nagos that certain hosts are required in order to access other hosts. When a host that is the parent of some other hosts goes down, you'll see the Network Outage field trigger. - -Jason Martin On Tue, 20 Jan 2004, Platt, Nicholas wrote: > Hello: > > > > I am very new to Nagios and just recently installed it by following the > instructions very carefully. I have a fair understanding of how all the > *.cfg files work. It is my understanding that there are host and services > only. I decided to start monitoring my core routers and edge switches plus > a few test servers. I've not been able to trigger the "Network Outage" > display because I do not know how to distinguish the routing equipment from > the server equipment. I had asked a friend how to accomplish this and he > directed to work with the host dependency file. I tried to make a host > dependent (test server) to another host (core router), but I was not able to > trigger the "Network Outage" field. > > > > Any assistance would be greatly appreciated. There has to be a way to > distinguish network nodes from server nodes. See attachment. Thanks > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFADbljl2ODWuqVSBMRAv3rAKCQTHtcRm0jsqrGQKIaWsNRhw+/kQCbBwVQ nDna63RBOYsB0PN99yt9+Hc= =qkV7 -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gasman2 at hotmail.com Wed Jan 21 00:31:29 2004 From: gasman2 at hotmail.com (gasman2) Date: Tue, 20 Jan 2004 15:31:29 -0800 Subject: performance data bug? Message-ID: Good day to all, I am using Nagios version 1.1-5 on RedHat Fedora Core 1. The Nagios installation was completed using the nagios-1.1-5.rhfc1.dag.i386.rpm which can be found at: http://dag.wieers.com/packages/nagios/ . I am having some difficulty with logging performance data for services. I am using the default method for logging performance data. I do not collect performance data for all services. The problem occurs when two or more services are configured with different service_description but have the same host_name and/or hostgroup_name set as well as set to collect performance data. Only one of the services logs performance data, but the other does not. The services use the same "check_command", with the exception of the filesystem name. Nagios runs with the services as I have configured them. I get notifications and everything seems to be working properly, except performance data logging. According to the Nagios documentation, "Services are uniquely identified with their host_name and service_description directives." I believe I have met this criteria. I have a command definition configured to log performance data as follows: # 'process-service-perfdata' command definition define command{ command_name process-service-perfdata command_line /bin/echo "$LASTCHECK$ $HOSTNAME$ $SERVICE DESC$ $SERVICESTATE$ $PERFDATA$" >> /var/log/nagios/perfdata/service-perfdata-`date "+%m-%d-%Y"`.log } Here is an example of the service definitions: # standard service template definition define service{ name prod-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 notification_period 24x7 max_check_attempts 5 normal_check_interval 10 notification_interval 10 notification_options w,u,c,r retry_check_interval 1 register 0 } # 'usr' service definition define service{ use prod-service hostgroup_name unix-servers service_description usr contact_groups network_services check_command fs_by_snmp_unix!usr!15!10 } # 'var' service definition define service{ use prod-service hostgroup_name unix-servers service_description var contact_groups network_services check_command fs_by_snmp_unix!var!15!10 } The "fs_by_snmp_unix" command is a script I wrote. It abides by the guidelines given for handling performance data when a plugin is run. As I said, I get some performance data logging, but not for all services in which I have configured to collect performance data. So I do not believe the script is the issue. I have tried putting "process_perf_data 1" in each definition, but that did not correct the problem. Thanks in advance for your assistance, g2 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webid at cfl.rr.com Wed Jan 21 00:49:19 2004 From: webid at cfl.rr.com (Scot L. Harris) Date: Tue, 20 Jan 2004 18:49:19 -0500 Subject: Comparison of Big Brother and Nagios In-Reply-To: <20040120174700.9023.qmail@minnow.softflare.net> References: <200401201658.i0KGwRni029575@gandalf.radonc.washington.edu> <20040120174700.9023.qmail@minnow.softflare.net> Message-ID: <1074642559.16699.28.camel@lathe> First I want to say I am not advocating either Nagios or Big Brother. I have setup both so have a little experience with each of these packages. I believe they have released a couple of major updates recently as well. On Tue, 2004-01-20 at 12:47, Paul L. Allen wrote: > markwag+nagios at u.washington.edu writes: > > > - BB: No scheduled downtime. > > Worse than that, no web interface to allow us or clients to disable checks > or for us to add notes. In fact, any time you want to temporarily > disable a host or service check you have to do some editing of files. > I happen to prefer editing files to using web interfaces, but not when > the web interface allows the client to make changes instead of me having > to. > Actually there is a maint.pl add on that does just this. Permits you to disable checks per service on a system. > > - Cannot be broken down into groups. > > There is a facility for grouping machines on a separate page and report > the health of that whole group on the main page. > > > - BB: Why so many forks? Little sister, etc. > > Either my configuration has a problem or the same is true of nagios. > > The one thing in BB's favour is a simple health report that is easier > to interpret from some distance away. A big point in Nagios's favour > is the wealth of PHB features, displaying the informtion in different > levels of detail and even the (technically of little use but something > PHBs love) status map and 3D status map - we sell monitoring services > to clients who love stuff like that. Which reminds me - I don't think > you can set up BB to restrict users to only seeing their own machines > rather than everyone's, making it hard to set up a centralized service > for multiple independent clients. > > Add in the fact that Nagios can monitor many more services than > BB and I think you have a clear winner. Check_hplj is great fun > (phone the client and tell them to put more paper in their printer) > and the new check_smart promises to be even more fun ("looks like > your hard disk is on the point of failing"). Does BB have the ability > to monitor printer status and disk drive health? Is it ever likely to? Not real sure about this one. There are a lot of add ons that permit Big Brother to monitor pretty much anything available. Including add ons to produce maps and larrd graphs for the PHB. :) One major add on that any BB system should use is the bbgen add on. It improves performance significantly. Given the opportunity I would actually consider using both Big Brother as well as something like nagios. While both can do similar jobs in some ways they can complement each other. Having said that, I would think a comparison between nagios and openNMS would be more appropriate. Although with openNMS you need to use an older version of the java SDK which still has the garbage collection enabled. ;p -- Scot L. Harris ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 00:51:27 2004 From: benny at bennyvision.com (C. Bensend) Date: Tue, 20 Jan 2004 17:51:27 -0600 (CST) Subject: check_by_ssh In-Reply-To: References: Message-ID: <55462.63.227.74.41.1074642709.squirrel@webmail.stinkweasel.net> > Benny, when I saw in your email the following: > ping > ping 100.1.30.31 > > I realized that was NOT the address for my remote host. The IP address > was wrong in the hosts.cfg And that is _exactly_ why I asked you to provide that information. :) Easy mistake to make. Glad things are working for you, now. :) Benny -- "Have you ever tried simply turning off the TV, sitting down with your children, and hitting them?" -- Bender, "Futurama" ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From enteal at suacidade.com.br Wed Jan 21 01:20:20 2004 From: enteal at suacidade.com.br (Enteal-SC) Date: Tue, 20 Jan 2004 22:20:20 -0200 Subject: Need translate the emails to my clients References: Message-ID: <005601c3dfb4$5ac62bf0$194ee8c8@ntadmin> Service for all Hosts but one...Hi I am from Brazil, and need nagios send an alert email in portuguese. Where I translate the email? Thx Rafael -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.johnston at kirtland.af.mil Tue Jan 20 19:28:44 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Tue, 20 Jan 2004 18:28:44 -0000 Subject: MRTG Script that comes from Nagios site Message-ID: Just for reference, the problem was the version of MRTG and the mrtg_temptraxe script are incompatible. Dropping to an older version of MRTG fixed this. Thank you all for your support. :) -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Tuesday, January 20, 2004 8:57 AM To: Johnston Michael J Contr AFRL/DES; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] MRTG Script that comes from Nagios site > Has anyone had any problems with the mrtg samples that you > can find on the > nagios site? I've set up MRTG so that I can link graphs to services > I'm monitoring, but I keep getting: [snip] > problem. I'm using MRTG 2.10.12. I've been given several > suggestions about modify that mrtg_temptraxe script to provide the > missing outputs, but I honestly don't know how to do that. Any help > would be awesome. > Have you tried this with MRTG 2.10.13, released yesterday? A post from the author on the MRTG mailing list states the following: Changes 2.10.13 --------------- From: Pedro Marcolino * fixed undef data problem with forks * add --icondir option to indexmaker From: Tobi * faild rrdtune should not kill mrtg complaining is enough. * fixed manpages first lines to include mrtg as well Not sure if these issues are related, but you might want to try it, as there were some lingering issues with the 2.10.12 release. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 17:35:07 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Tue, 20 Jan 2004 16:35:07 -0000 Subject: MRTG Script that comes from Nagios site Message-ID: <9D988A5C3FECED47B650984C855628BAB9A786@bacchus.plk.af.mil> ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 20 17:35:07 2004 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Tue, 20 Jan 2004 16:35:07 -0000 Subject: MRTG Script that comes from Nagios site Message-ID: Just a note that the upgrading didn't fix this problem. Was worth a shot though. :) -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Tuesday, January 20, 2004 8:57 AM To: Johnston Michael J Contr AFRL/DES; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] MRTG Script that comes from Nagios site > Has anyone had any problems with the mrtg samples that you > can find on the > nagios site? I've set up MRTG so that I can link graphs to services > I'm monitoring, but I keep getting: [snip] > problem. I'm using MRTG 2.10.12. I've been given several > suggestions about modify that mrtg_temptraxe script to provide the > missing outputs, but I honestly don't know how to do that. Any help > would be awesome. > Have you tried this with MRTG 2.10.13, released yesterday? A post from the author on the MRTG mailing list states the following: Changes 2.10.13 --------------- From: Pedro Marcolino * fixed undef data problem with forks * add --icondir option to indexmaker From: Tobi * faild rrdtune should not kill mrtg complaining is enough. * fixed manpages first lines to include mrtg as well Not sure if these issues are related, but you might want to try it, as there were some lingering issues with the 2.10.12 release. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 03:20:26 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 21 Jan 2004 02:20:26 +0000 Subject: check_by_ssh In-Reply-To: References: Message-ID: <20040121022026.19062.qmail@minnow.softflare.net> Brian Hendrix writes: > Well, I found my problem, guys, and do I feel stupid. If I were smart, I > would not admit this on the list. Correction. If you were smart you'd admit your errors (preferably before others could spot them). The people I respect make mistakes (occasionally) but admit to them; the people I do not respect make mistakes and either deny making them or say nothing about it. The people who I respect immensely make mistakes (occasionally) and correct themselves before anyone else has a chance to (some of us know what the cryptic B{HK} means). If you were an irredeemable idiot, you would deny making a mistake, We all screw up. Some of us admit to it and some of us do not. Welcome to the club of clued-up people (as long as your mistakes are relatively infrequent). -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 03:33:31 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 21 Jan 2004 02:33:31 +0000 Subject: check_by_ssh In-Reply-To: <20040120205419.GN14142@marilyn> References: <20040120195811.9197.qmail@minnow.softflare.net> <20040120205419.GN14142@marilyn> Message-ID: <20040121023331.21337.qmail@minnow.softflare.net> Hi Scott Scott Moynes writes: > While it may not be useful for you, Paul, I thought my solution to a > similarly silly requirement from The Powers That Be If only they left the technical solutions to the techies... > might be helpful to other list readers. I disagree with this particular solution on technical grounds (I think, because it's 2:27 in the morning and I'm drunk so I'm not sure). > I used nrpe through stunnel's My drunken recollection of stunnel is that it tunnels tcp over tcp and therefore suffers from exponential backoffs. I could be wrong on this, but I'm pretty sure I dismissed stunnel as a VPN technology years ago, Using a VPN technology to do this sort of thing is a good solution, if only there were a VPN technology I believed to be worthy. My PHB thinks that PPTP is wonderful, which tells you all you need to know about my PHB... I think this is something Nagios needs to deal with. Yeah, I'm on the crappy end of a PHB who insists that the monitoring system is on a box with a changeable IP, but I can't (I hope) be the only one. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwd at cray.com Wed Jan 21 03:39:41 2004 From: mwd at cray.com (Mark Dalton) Date: Tue, 20 Jan 2004 20:39:41 -0600 Subject: Nagios running on Irix, Unicosmp, linux Message-ID: <400DE66D.90208@cray.com> I tooks some time and was able to get Nagios running on the Cray X1 (Unicos_mp). As well as, on Irix. For both of those I am using NSCA until I get NRPE working or use the SSH tricks to do the checks. (for me one issue will be getting the schedules out of the database). I have one minor bug to work out on the Cray side (just the $OUTPUT$ getting spit out by the submit_check instead of actual data).. sigh. If you wish I will make a formal patch and send it out. So I am currently just monitoring a few machines: 1 - Cray X1 3 - Irix O2000's 3 - linux boxes Later it will be: 3 - Cray X1s 3+ - Misc other Crays (SV1,T3E,T90,etc). 50-100 - Linux boxes 5 - Sun boxes 1-2 - AIX boxes And eventually probably more if other groups are interested. I was wondering if others have already setup more graphing features within Nagios. More detailed than the 'trends' data, basically how the performance was over time.. Something like this: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/gallery/aragon-01.html Using rrdtool. Or for example taking 'sar' data, and allow you to pick your metrics. To help see more of the usage trends.(that would be about the only thing I would like added from the default). I monitor raid disks, disk space, temperatures, load, ping times, soon NFS performance to specific machines/filesystems, and a few other things like the daily compiler is working. Anyway.. I was happy to see Nagios and get it running across the various platforms. I am sure I will have a few more bugs to work out, but it did not take much work for me to get these systems setup and ported to other platforms (that don't have Dynamic libraries or some tools). Thankyou for your fine work! Mark ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 05:47:54 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 21 Jan 2004 15:47:54 +1100 Subject: Comparison of BB and Nagios - unfathomable nomenclature. In-Reply-To: <200401210410.i0L4AF4D016957@figg.securenet.com.au>; from nagios-users-request@lists.sourceforge.net on Tue, Jan 20, 2004 at 08:01:39PM -0800 References: <200401210410.i0L4AF4D016957@figg.securenet.com.au> Message-ID: <20040121154749.G92196@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, Jan 20, 2004 at 08:01:39PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 3 > Subject: Re: [Nagios-users] Re: Comparison of Big Brother and Nagios > From: "Scot L. Harris" > To: nagios-users at lists.sourceforge.net > Date: Tue, 20 Jan 2004 18:49:19 -0500 > > > One major add on that any BB system should use is the bbgen add on. It > improves performance significantly. > Perhaps this is unfair, but a google 'what is bbgen?' found http://www.dctsystems.co.uk/RenderMan/bbgen.html ' Bounding Box Generator The RenderMan DelayedReadArchive Procedural primitive, allows you to defer loading parts of a scene into the renderer until they are actually needed. For objects which are off-screen, you can avoid loading them altogether. In order to to this it is necessary to calcualate a bounding box for the RIB archive which will be loaded in. Having created a RIB archive, simply run bbgen xxx.rib and a bounding box will be printed out. This can then be used directly as part of the RiProcedural command. The current version is 0.2, which has numerous fixes and improvements over the original. Note that this program should be run on a RIB Archive, and not a comeplete RIB. Unforunatly Angel does not currently support Procedural calls. Limitations Displacement bounds are ignored. Blobby objects are unsupported. ' Wonderful documentation, reminiscent somewhat of javadoc. It would seem that a BB user must know what a 'bounding box', 'rib' (archive and complete favours), 'RiProcedural command', not to mention 'Angel's (with or without procedural calls) and Blobby objects. One of the extremely attractive elements of Nag is the low cost of entry; what it is and what it does, even how it does it, are comprehensible to almost anyone. While there is a certain amount of Unix sophistication assumed, one does not have to learn a new lexicon of terms, and any Nag terms such as 'plugin' sound familiar. In the same way that my personal limitations engender little excitement in arcane concepts, even those with great utility such as design patterns, it is hard to imagine seriously committing to a product with documentation that needs to be examined seriously before getting _anything_ out of it. Looked at more positively, people should be 'blobby' thankful for the highly effective Nagios documentation. 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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Wed Jan 21 06:00:07 2004 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 21 Jan 2004 15:00:07 +1000 Subject: send_nsca under win32 Message-ID: <5.2.0.9.2.20040121145026.02ab2f38@imap.qut.edu.au> Hi all, I have built send_nsca under the cygwin environment. So you can submit passive checks back from a Windows computer (we use that ability for our labs.) You will be able to download the exe and cygwin1.dll (for the next 14 days, email me if you would like a copy after this link has expired) from the following location: https://fileshare.qut.edu.au/public/vickersg/send_nsca.zip ================================= 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webid at cfl.rr.com Wed Jan 21 06:06:24 2004 From: webid at cfl.rr.com (Scot L. Harris) Date: Wed, 21 Jan 2004 00:06:24 -0500 Subject: Comparison of BB and Nagios - unfathomable nomenclature. In-Reply-To: <20040121154749.G92196@IPAustralia.Gov.AU> References: <200401210410.i0L4AF4D016957@figg.securenet.com.au> <20040121154749.G92196@IPAustralia.Gov.AU> Message-ID: <1074661584.16699.87.camel@lathe> LOL Just goes to show that while there is lots of data on the Internet you still need to have some intelligence to turn that data into useful information. bbgen is an add on software package for Big Brother. Just how far down that google search did you have to go to dig that one up? On Tue, 2004-01-20 at 23:47, Stanley Hopcroft wrote: > Dear Sir, > > > > > I am writing to thank you for your letter and say, > > On Tue, Jan 20, 2004 at 08:01:39PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > > > Message: 3 > > Subject: Re: [Nagios-users] Re: Comparison of Big Brother and Nagios > > From: "Scot L. Harris" > > To: nagios-users at lists.sourceforge.net > > Date: Tue, 20 Jan 2004 18:49:19 -0500 > > > > > > > One major add on that any BB system should use is the bbgen add on. It > > improves performance significantly. > > > > Perhaps this is unfair, but a google 'what is bbgen?' found > > http://www.dctsystems.co.uk/RenderMan/bbgen.html > > ' > Bounding Box Generator > > The RenderMan DelayedReadArchive Procedural primitive, allows you to > defer loading parts of a scene into the renderer until they are actually > needed. For objects which are off-screen, you can avoid loading them > altogether. In order to to this it is necessary to calcualate a bounding > box for the RIB archive which will be loaded in. > > Having created a RIB archive, simply run > > bbgen xxx.rib > > and a bounding box will be printed out. This can then be used directly > as part of the RiProcedural command. The current version is 0.2, which > has numerous fixes and improvements over the original. > > Note that this program should be run on a RIB Archive, and not a > comeplete RIB. Unforunatly Angel does not currently support Procedural > calls. > > Limitations > > Displacement bounds are ignored. > > Blobby objects are unsupported. > ' > > Wonderful documentation, reminiscent somewhat of javadoc. > > It would seem that a BB user must know what a 'bounding box', 'rib' > (archive and complete favours), 'RiProcedural command', not to mention > 'Angel's (with or without procedural calls) and Blobby objects. > > One of the extremely attractive elements of Nag is the low cost of > entry; what it is and what it does, even how it does it, are > comprehensible to almost anyone. > > While there is a certain amount of Unix sophistication assumed, one does > not have to learn a new lexicon of terms, and any Nag terms such as > 'plugin' sound familiar. > > In the same way that my personal limitations engender little excitement > in arcane concepts, even those with great utility such as design > patterns, it is hard to imagine seriously committing to a product with > documentation that needs to be examined seriously before getting > _anything_ out of it. > > Looked at more positively, people should be 'blobby' thankful for the > highly effective Nagios documentation. > > > > Yours sincerely. -- Scot L. Harris ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 09:46:18 2004 From: extern.Lars.Oeschey at audi.de (extern.Lars.Oeschey at audi.de) Date: Wed, 21 Jan 2004 09:46:18 +0100 Subject: nagmin verify error Message-ID: <3A51ADC7DE201748AE224D58A8CA83B502256F99@deaudiis1127.audi.de> > correctly populated now. However, the Verify error remains: > > Error: Could not add object property in file > '/usr/local/nagmin/nagios/Command.cfg' on line 75. I only got rid of those, by examining every entry in the respective table (here Commands), checking for those linebreaks in the command. Lars ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jan 21 10:03:26 2004 From: m.borsani at it.net (Marco Borsani) Date: Wed, 21 Jan 2004 10:03:26 +0100 Subject: check_disk for NRPE_NT Message-ID: Hi ! Do you know where I can download that plugin? Many thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrr.aida at cbs.dk Wed Jan 21 09:56:39 2004 From: jrr.aida at cbs.dk (Jorgen Rasmussen) Date: Wed, 21 Jan 2004 08:56:39 +0000 (UTC) Subject: How to set =?utf-8?b?bm90aWZpY2F0aW9uX29wdGlvbnM=?= Message-ID: Hi I was wondering if anyone could tell me how to set the notification_options e.g. in services.cfg. I have had no luck looking at the documentation. I need a description of what w, c, u and r and so on does. Kind regards Jorgen Rasmussen ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 10:21:49 2004 From: w.pfeiffer at enbw.com (w.pfeiffer at enbw.com) Date: Wed, 21 Jan 2004 10:21:49 +0100 Subject: How to set notification_options Message-ID: <949B03E209CCCE43A00F0BBEA2FB4034018EAE@s2h3148r> Jorgen Rasmussen wrote: > I was wondering if anyone could tell me how to set the > notification_options > > e.g. in services.cfg. I have had no luck looking at the > documentation. I need > > a description of what w, c, u and r and so on does. Please have a look at: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service Kind regards, Wolfram Pfeiffer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orth at enbiz.de Wed Jan 21 10:31:46 2004 From: orth at enbiz.de (=?ISO-8859-15?Q?G=FCnther_Orth?=) Date: Wed, 21 Jan 2004 10:31:46 +0100 Subject: How to set notification_options In-Reply-To: References: Message-ID: <400E4702.2060005@enbiz.de> Jorgen Rasmussen schrieb: > > I was wondering if anyone could tell me how to set the notification_options > > e.g. in services.cfg. I have had no luck looking at the documentation. I need > > a description of what w, c, u and r and so on does. > It's on the documentation: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html w = send notifications on a WARNING state c = send notifications an a CRITICAL state u = send notifications on an UNREACHABLE state r = send notifications on recoveries (OK state) n = send no notifications Greeting G?nther ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Wed Jan 21 10:33:52 2004 From: noah at mac.com (Noah Leaman) Date: Wed, 21 Jan 2004 01:33:52 -0800 Subject: NSCA daemon never writes to nagios.cmd or nsca.dump Message-ID: Help! I cannot get the NSCA daemon to write anything to either the nagios.cmd or the nsca.dump files. They are both defined in the nsca.cfg like so: command_file=/Users/nagios/var/rw/nagios.cmd alternate_dump_file=/Users/nagios/var/rw/nsca.dump I turned on debug (debug=1) and all I get in the syslog is this: Jan 21 01:19:00 bell nsca[15791]: Handling the connection... Jan 21 01:19:00 bell nsca[15791]: End of connection... Jan 21 01:20:00 bell nsca[15791]: Handling the connection... Jan 21 01:20:00 bell nsca[15791]: End of connection... Jan 21 01:21:00 bell nsca[15791]: Handling the connection... Jan 21 01:21:00 bell nsca[15791]: End of connection... this is for each time the send_nsca is submitted on the remote (distributed) nagios host. nothing ever gets written to nagios.cmd and nsca.dump is never even created. The fact that nsca.dump never gets created seems like a clue of some sort. I do have external commands enabled and they work in all other respect. the nsca daemon is running as the user nagios and can write to nagios.cmd and the directory itt's in. Any ideas what could be wrong? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at rune-z.dk Wed Jan 21 12:25:54 2004 From: mail at rune-z.dk (Rune Zimmermann) Date: Wed, 21 Jan 2004 12:25:54 +0100 (CET) Subject: 403 error on Nagios-server Message-ID: <11392.212.88.93.235.1074684354.squirrel@mailserver.spiffer.dk> Hey! I'm trying to move my Nagios-server from a Debian to a Trustix, and have had severel problems on the way :-( The installation on the Debian was from .deb and the one on the Trustix is from source.I have at last managed to get the Nagios started on the Trustix with my old configuration, but when I try to access the Nagios-page on the server I get a 403-error.Apache is running fine, and the permissions on the directories looks fine. drwxrwxr-x 2 nagios nagios 4096 Jan 20 13:15 sbin/ drwxrwxr-x 8 nagios nagios 4096 Jan 21 08:48 share/ drwxrwxr-x 8 nagios nagios 4096 Jan 21 08:48 ./ drwx------ 8 nagios root 4096 Jan 20 13:30 ../ drwxrwxr-x 3 nagios nagios 4096 Jan 20 13:15 images/ -rw-rw-r-- 1 nagios nagios 658 Jan 20 13:15 index.html -rw-rw-r-- 1 nagios nagios 2340 Jan 20 13:15 main.html drwxrwxr-x 2 nagios nagios 4096 Jan 20 13:15 media/ -rw-rw-r-- 1 nagios nagios 26 Jan 20 13:15 robots.txt -rw-rw-r-- 1 nagios nagios 10512 Jan 20 13:15 side.html drwxrwxr-x 2 nagios nagios 4096 Jan 20 13:15 ssi/ drwxrwxr-x 2 nagios nagios 4096 Jan 20 13:15 stylesheets/ The httpd.conf contains the 2 default nagios-aliases. The logs dosn't say anyting I can use. Any bright solutions? Regards Rune Zimmermann DK ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at rune-z.dk Wed Jan 21 12:41:55 2004 From: mail at rune-z.dk (Rune Zimmermann) Date: Wed, 21 Jan 2004 12:41:55 +0100 (CET) Subject: 403 error on Nagios-server In-Reply-To: <11392.212.88.93.235.1074684354.squirrel@mailserver.spiffer.dk> References: <11392.212.88.93.235.1074684354.squirrel@mailserver.spiffer.dk> Message-ID: <45223.212.88.93.235.1074685315.squirrel@mailserver.spiffer.dk> Rune Zimmermann said: > Any bright solutions? Arhhg... My fault!! The directory /usr/local/nagios had the wrong permissions! Sorry :-) Regards. Rune Zimmermann DK ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 11:50:38 2004 From: w.pfeiffer at enbw.com (w.pfeiffer at enbw.com) Date: Wed, 21 Jan 2004 11:50:38 +0100 Subject: 403 error on Nagios-server Message-ID: <949B03E209CCCE43A00F0BBEA2FB4034018C8E@s2h3148r> Rune Zimmermann wrote: > I'm trying to move my Nagios-server from a Debian to a > Trustix, and have > had severel problems on the way :-( The installation on the Debian was > from .deb and the one on the Trustix is from source.I have at > last managed to get the Nagios started on the Trustix with my > old configuration, but when I try to access the Nagios-page > on the server > I get a 403-error.Apache is running fine, and the permissions > on the directories looks fine. > [dir listing snipped] > > The httpd.conf contains the 2 default nagios-aliases. > The logs dosn't say anyting I can use. > Any bright solutions? I haven't used Trustix yet, but going by the name I guess it's supposed to be a 'hardened' Linux. In that case I wouldn't be surprised if the webserver runs chrooted for security reasons so the Nagios CGIs would not be able to access anything outside of the chroot jail. Kind Regards, Wolfram Pfeiffer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smoynes at nerdnest.org Wed Jan 21 15:18:18 2004 From: smoynes at nerdnest.org (Scott Moynes) Date: Wed, 21 Jan 2004 09:18:18 -0500 Subject: check_by_ssh In-Reply-To: <20040121023331.21337.qmail@minnow.softflare.net> References: <20040120195811.9197.qmail@minnow.softflare.net> <20040120205419.GN14142@marilyn> <20040121023331.21337.qmail@minnow.softflare.net> Message-ID: <20040121141818.GO14142@marilyn> * Paul L. Allen (pla at softflare.com) wrote: > My drunken recollection of stunnel is that it tunnels tcp over tcp > and therefore suffers from exponential backoffs. It doesn't on the former, so I assume it doesn't on the latter. > I could be wrong on this, but I'm pretty sure I dismissed stunnel as > a VPN technology years ago, Using a VPN technology to do this sort > of thing is a good solution, if only there were a VPN technology I > believed to be worthy. Indeed, but often it is difficult to find good solutions to dumb problems. Sometimes acceptable is all you can hope for. -- Scott Moynes "Computer science is as much about computers as astronomy is about telescopes." -- Dijkstra ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 15:22:56 2004 From: romain.degez at smartjog.com (Romain DEGEZ) Date: Wed, 21 Jan 2004 15:22:56 +0100 Subject: cfg_dir directive Message-ID: <400E8B40.6020608@smartjog.com> Hello list Is the cfg_dir directive in nagios.cfg recursive ? If it's not, i think that it could be a great feature :) -- Rd ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 16:31:01 2004 From: romain.degez at smartjog.com (Romain DEGEZ) Date: Wed, 21 Jan 2004 16:31:01 +0100 Subject: cfg_dir directive In-Reply-To: <400E8B40.6020608@smartjog.com> References: <400E8B40.6020608@smartjog.com> Message-ID: <400E9B35.2050201@smartjog.com> Romain DEGEZ wrote: > Hello list > > Is the cfg_dir directive in nagios.cfg recursive ? > > If it's not, i think that it could be a great feature :) > Sorry, i find an answer in the changelog ... * Directory recursion support added to cfg_dir directives for object data -- Rd ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Jan 21 16:37:56 2004 From: m.borsani at it.net (Marco Borsani) Date: Wed, 21 Jan 2004 16:37:56 +0100 Subject: Plug-in for NRPE_NT Message-ID: Hi everybody, can you tell me where I can download all the commands usefull to nrpe_nt client daemon? I did not find in the Nagios site. Thanks a lot Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Wed Jan 21 16:52:42 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 21 Jan 2004 15:52:42 +0000 Subject: check_by_ssh In-Reply-To: <20040121141818.GO14142@marilyn> References: <20040120195811.9197.qmail@minnow.softflare.net> <20040120205419.GN14142@marilyn> <20040121023331.21337.qmail@minnow.softflare.net> <20040121141818.GO14142@marilyn> Message-ID: <20040121155242.20863.qmail@minnow.softflare.net> Scott Moynes writes: >> I could be wrong on this, but I'm pretty sure I dismissed stunnel as >> a VPN technology years ago, Using a VPN technology to do this sort >> of thing is a good solution, if only there were a VPN technology I >> believed to be worthy. > > Indeed, but often it is difficult to find good solutions to dumb > problems. Sometimes acceptable is all you can hope for. My essential criteria for software VPN for Nagios use: 1) Must cope gracefully with temporary outages: Must not die if the internet goes away for a while. Must automatically recover within a sensible timescale when the internet returns. Must automatically connect after a reboot at either end. 2) Must be relatively efficient: Must not tunnel tcp over tcp because congestion algorithsm aren't designed to cope with tcp over tcp and the backoffs rapidly grow to silly sizes. 3) Must have good security: Must have strong encryption, used correctly. I have yet to find a VPN technology that doesn't fail to meet at least one of those requirements and most seem to fail to meet two of the requirements. There is also another requirement for use outside of Nagios: Must be available for both Windows and Linux. We set up VPNs for clients with Windows boxes and I'd prefer not to have to deal with two tunneling technologies but could cope with that if I had to. So far, I've not found a VPN technology I consider acceptable. But since the machines we're monitoring usually implement PPTP VPNs for client use (so the security holes are present whether I use it for Nagios or not) that looks like the least worse choice. If there were something better, somebody would probably have mentioned it by now. :( -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yohann.desquerre at anpe.fr Wed Jan 21 17:10:51 2004 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Wed, 21 Jan 2004 17:10:51 +0100 Subject: statusmap picture problem Message-ID: Hi all, The status map picture doesn't appear (as a picture which is not found at the good location). Does anybody have got a solution ? ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From wilcoxc at troycorp.com Wed Jan 21 17:14:48 2004 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Wed, 21 Jan 2004 11:14:48 -0500 Subject: statusmap picture problem Message-ID: LINUX STINKS Chris Wilcox Manager Network Services 973-443-4200 x2545 -----Original Message----- From: Yohann DESQUERRE (DSI NOISIEL) [mailto:yohann.desquerre at anpe.fr] Sent: Wednesday, January 21, 2004 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap picture problem Hi all, The status map picture doesn't appear (as a picture which is not found at the good location). Does anybody have got a solution ? ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From dlacey at cybermesa.com Wed Jan 21 17:32:28 2004 From: dlacey at cybermesa.com (Dan Lacey) Date: Wed, 21 Jan 2004 09:32:28 -0700 Subject: Plug-in for NRPE_NT In-Reply-To: References: Message-ID: <400EA99C.6030402@cybermesa.com> Go to: http://www.nagios.org/download/extras.php Lot's of good "stuff" for nagios here. Marco Borsani wrote: > Hi everybody, > > can you tell me where I can download all the commands usefull to nrpe_nt >client daemon? > I did not find in the Nagios site. > > Thanks a lot > > Marco > > > -- Dan Lacey Cyber Mesa Computer Systems 1830 Fifth Street Santa Fe, New Mexico 87505 505 988-9200 Voice 505 988-8875 Fax ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwichman at zantaz.com Wed Jan 21 17:36:43 2004 From: gwichman at zantaz.com (Gerald Wichmann) Date: Wed, 21 Jan 2004 08:36:43 -0800 Subject: Host Down Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB0747030D@zanexch.zantaz.com> I've added 3 new servers to be monitored and all the services are working correctly (monitoring as GREEN). The Host itself though seems to think it's down. How do I troubleshoot why this might be occurring? Or what's the most common cause of this scenario? Thank-you, Gerald This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bhendrix at stthomas.org Wed Jan 21 17:35:30 2004 From: bhendrix at stthomas.org (Brian Hendrix) Date: Wed, 21 Jan 2004 10:35:30 -0600 Subject: Check for HP Printers Message-ID: I've looked through several websites and still not having any success. Is there plugin for monitoring HP printers? I am running Nagios on RedHat Linux Enterprise v3. Thanks in advance, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ Brian Hendrix Team Leader DTR Services Saint Thomas Health Services 2000 Church Street Nashville, TN 37236 bhendrix at stthomas.org (615) 284-5297 (work) (615) 222-1704 (fax) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Wed Jan 21 17:39:48 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 21 Jan 2004 10:39:48 -0600 Subject: [OT] RE: statusmap picture problem In-Reply-To: References: Message-ID: <1074703188.9045.1.camel@localhost> On Wed, 2004-01-21 at 10:14, Wilcox, Chris wrote: > LINUX STINKS Of course it does. It just stinks least. --jeff vier Senior Unix/Linux Administrator Trading Technologies, Inc. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yohann.desquerre at anpe.fr Wed Jan 21 17:45:46 2004 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Wed, 21 Jan 2004 17:45:46 +0100 Subject: statusmap picture problem Message-ID: Here is the error i found in the apache error log file : [Wed Jan 21 17:36:23 2004] [error] [client 10.0.33.225] gd-png: fatal libpng error: Incompatible libpng version in application and library, referer: http://tchaikovsky.anpe.fr/nagios/cgi-bin/statusmap.cgi?host=all -----Message d'origine----- De : Wilcox, Chris [mailto:wilcoxc at troycorp.com] Envoy? : mercredi 21 janvier 2004 17:15 ? : Yohann DESQUERRE (DSI NOISIEL); nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] statusmap picture problem LINUX STINKS Chris Wilcox Manager Network Services 973-443-4200 x2545 -----Original Message----- From: Yohann DESQUERRE (DSI NOISIEL) [mailto:yohann.desquerre at anpe.fr] Sent: Wednesday, January 21, 2004 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap picture problem Hi all, The status map picture doesn't appear (as a picture which is not found at the good location). Does anybody have got a solution ? ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Wed Jan 21 18:14:33 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 21 Jan 2004 11:14:33 -0600 Subject: statusmap picture problem In-Reply-To: References: Message-ID: <1074705273.14217.3.camel@localhost> On Wed, 2004-01-21 at 10:45, Yohann DESQUERRE (DSI NOISIEL) wrote: > Here is the error i found in the apache error log file : > [Wed Jan 21 17:36:23 2004] [error] [client 10.0.33.225] gd-png: fatal > libpng error: Incompatible libpng version in application and library, > referer: > http://tchaikovsky.anpe.fr/nagios/cgi-bin/statusmap.cgi?host=all Looks like you have an incompatible libpng version. Is your libpng current? If not, it should be. If it is, it should be older by a version or two. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Wed Jan 21 18:14:39 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Wed, 21 Jan 2004 09:14:39 -0800 Subject: Check for HP Printers In-Reply-To: References: Message-ID: <1074705279.23043.7.camel@sabaki.dcs.uci.edu> On Wed, 2004-01-21 at 08:35, Brian Hendrix wrote: > I've looked through several websites and still not having any success. > Is there plugin for monitoring HP printers? I am running Nagios on > RedHat Linux Enterprise v3. > > Thanks in advance, > I'd probably do no more than ping an HP printer. The ones I've had experience with did a horrible job of multitasking. One would even consistently freeze up if I just telnet'd to 9000 on it. But if you want to see if it works (hey, maybe they've improved, it's been a while), you could probably check_tcp 515 and/or 9000. Or even lpq/rlpq | egrep 'this|that|theotherthing'. -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From wilcoxc at troycorp.com Wed Jan 21 18:19:05 2004 From: wilcoxc at troycorp.com (Wilcox, Chris) Date: Wed, 21 Jan 2004 12:19:05 -0500 Subject: [OT] RE: statusmap picture problem Message-ID: WINDOWS RULES!!!!!!!!!!!! Chris Wilcox Manager Network Services 973-443-4200 x2545 -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Wednesday, January 21, 2004 11:40 AM To: Wilcox, Chris Cc: nagios-users Subject: [OT] RE: [Nagios-users] statusmap picture problem On Wed, 2004-01-21 at 10:14, Wilcox, Chris wrote: > LINUX STINKS Of course it does. It just stinks least. --jeff vier Senior Unix/Linux Administrator Trading Technologies, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rplewe at hpce.nec.com Wed Jan 21 18:30:02 2004 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 21 Jan 2004 18:30:02 +0100 Subject: [OT] RE: statusmap picture problem In-Reply-To: References: Message-ID: <20040121173001.GF3178@hpce.nec.com> On Wed, Jan 21, 2004 at 12:19:05PM -0500, Wilcox, Chris wrote: > > WINDOWS RULES!!!!!!!!!!!! So does Bush[0]. Neither of them neccessarily very well. And your point is...? Anyway: Don't feed the trolls! Ras"yawn"mus [0] Replace with a politician of your choice, if you like. [1] "Multiple exclamation marks are a sure sign of a diseased mind!" (T. Pratchett, Eric, p.121) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 18:35:42 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 21 Jan 2004 17:35:42 +0000 Subject: Host Down In-Reply-To: <12C7D768CC8ED4118A9200508BEEC6FB0747030D@zanexch.zantaz.com> References: <12C7D768CC8ED4118A9200508BEEC6FB0747030D@zanexch.zantaz.com> Message-ID: <20040121173542.5675.qmail@minnow.softflare.net> Gerald Wichmann writes: > The Host itself though seems to think it's down. How do I troubleshoot > why this might be occurring? Reading the documentation is always a good start. That would lead you to mention of check-host-alive. From there, you have an answer. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 18:34:59 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 21 Jan 2004 11:34:59 -0600 Subject: how does nagios handle Message-ID: <20040121173459.58724.qmail@restricted.dyndns.org> Hey guys, Assuming we are using a distributed config of nagios. We have 2 nagios distributed and 1 central nagios. Both of this distributed are on a different site, New York and California. These 2 nagios are both monitoring a server in Chicago. Our central server is in chicago. Things become complicated when there is dynamic routing(say you have rerouting of traffic to another link). But what if we configured a host to point to a single parent?! So my question is, a link from California to Chicago goes down. New York's link is still up and it can successfully do a check on the server. How will the central nagios server send a notification? It's because the server is now mark Unreachable. Please help. Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 18:40:44 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 21 Jan 2004 17:40:44 +0000 Subject: Check for HP Printers In-Reply-To: References: Message-ID: <20040121174044.7788.qmail@minnow.softflare.net> Brian Hendrix writes: > I've looked through several websites and still not having any success. > Is there plugin for monitoring HP printers? One comes with the standard plugins. You could run all of them with -h to find which one it is or you could take a wild guess based on the filenames. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamin at skyriver.net Wed Jan 21 18:40:45 2004 From: jamin at skyriver.net (Jamin Cleveland) Date: Wed, 21 Jan 2004 09:40:45 -0800 Subject: nagmin verify error Message-ID: <5E43695CC08E3D43A722EB75F116BC2990531D@skyriverserver3.skyriver.net> > -----Original Message----- > From: extern.Lars.Oeschey at audi.de [mailto:extern.Lars.Oeschey at audi.de] > > > correctly populated now. However, the Verify error remains: > > > > Error: Could not add object property in file > > '/usr/local/nagmin/nagios/Command.cfg' on line 75. > > I only got rid of those, by examining every entry in the respective table > (here Commands), checking for those linebreaks in the command. > > Lars > Lars, Yes, I finally found that this issue had been addressed in the NagMIN Forum on Sourceforge. Though the solution was not articulated very well. FYI to those of you still having this problem: This _is_ caused by line breaks in the Command table in the MySQL DB. I found the easiest way to resolve this was to go into the Webmin interface for the MySQL DB, view the data in the Command table, and edit each row, removing all unnecessary line breaks. -- Jamin Cleveland Systems Engineer Skyriver Communications, Inc. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 18:47:55 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 21 Jan 2004 11:47:55 -0600 Subject: Check for HP Printers In-Reply-To: <20040121174044.7788.qmail@minnow.softflare.net> References: <20040121174044.7788.qmail@minnow.softflare.net> Message-ID: <20040121174755.59963.qmail@restricted.dyndns.org> I used to print to our HP using netcat(nc.exe) utility :) You can also use check_tcp!9100 so you can check tcp connectivity on that port. It's similar to saying nc 10.1.1.1 9100 or telnet 10.1.1.1 9100 Hope this helps.... Paul L. Allen writes: > Brian Hendrix writes: > >> I've looked through several websites and still not having any success. >> Is there plugin for monitoring HP printers? > > One comes with the standard plugins. You could run all of them with -h > to find which one it is or you could take a wild guess based on the > filenames. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 18:55:12 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Wed, 21 Jan 2004 18:55:12 +0100 Subject: statusmap picture problem Message-ID: <4B05B471CA57554C8E0361B442971086095C3A@mail.tls.123multimedia.com> I'm not sure but, you should look at something called gdtopng (it is in /usr/local/bin on my server). Do an ldd on it and look if it finds the good libs. En esp?rant que ?a aide. Fran?ois. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Yohann DESQUERRE (DSI NOISIEL) Sent: Wednesday, January 21, 2004 5:46 PM To: Wilcox, Chris Cc: nagios-users at lists.sourceforge.net Subject: RE : [Nagios-users] statusmap picture problem Here is the error i found in the apache error log file : [Wed Jan 21 17:36:23 2004] [error] [client 10.0.33.225] gd-png: fatal libpng error: Incompatible libpng version in application and library, referer: http://tchaikovsky.anpe.fr/nagios/cgi-bin/statusmap.cgi?host=all -----Message d'origine----- De : Wilcox, Chris [mailto:wilcoxc at troycorp.com] Envoy? : mercredi 21 janvier 2004 17:15 ? : Yohann DESQUERRE (DSI NOISIEL); nagios-users at lists.sourceforge.net Objet : RE: [Nagios-users] statusmap picture problem LINUX STINKS Chris Wilcox Manager Network Services 973-443-4200 x2545 -----Original Message----- From: Yohann DESQUERRE (DSI NOISIEL) [mailto:yohann.desquerre at anpe.fr] Sent: Wednesday, January 21, 2004 11:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap picture problem Hi all, The status map picture doesn't appear (as a picture which is not found at the good location). Does anybody have got a solution ? ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From orh at kn24.no Wed Jan 21 19:23:57 2004 From: orh at kn24.no (orh at kn24.no) Date: Wed, 21 Jan 2004 19:23:57 +0100 Subject: Check for HP Printers In-Reply-To: <1074705279.23043.7.camel@sabaki.dcs.uci.edu> References: Message-ID: <400ED1CD.9296.CA7BD0@localhost> > On Wed, 2004-01-21 at 08:35, Brian Hendrix wrote: > > I've looked through several websites and still not having any success. > > Is there plugin for monitoring HP printers? I am running Nagios on > > RedHat Linux Enterprise v3. > > > > Thanks in advance, > > > > I'd probably do no more than ping an HP printer. The ones I've had > experience with did a horrible job of multitasking. One would even > consistently freeze up if I just telnet'd to 9000 on it. > > But if you want to see if it works (hey, maybe they've improved, it's > been a while), you could probably check_tcp 515 and/or 9000. Or even > lpq/rlpq | egrep 'this|that|theotherthing'. > > -- > Dan Stromberg DCS/NACS/UCI Hi; You may even use SNMP, and these might be interesting OID's: 1.3.6.1.2.1.25.3.2.1.5.1 => hrDeviceStatus: unknown(1), running(2), warning(3), testing(4), down(5) 1.3.6.1.2.1.43.16.5.1.2.1.1 => First line of printer console (in hex values) In order to get more human-readable output from the latter, you may want to modify the check_snmp plugin and add the T parameter to the snmpget function call parameters. :) Best regards -Odd-Rune ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 19:44:20 2004 From: jbautista at intercable.net.ve (Jeyri bautista) Date: Wed, 21 Jan 2004 14:44:20 -0400 Subject: receiving trapsnmp with nagios Message-ID: <007401c3e04e$94fc00c0$2605020a@enlacesbqt> Hi, I want to configure that my nagios receive traps snmp from other devices. I read the documentation but, say that I have to configure the snmptrapd.conf and I don?t find this file in my nagios pc. I have installed net-snmp-5.0.1-6, I?m very confuse, Anybody can help me? Thanks Jeyri -------------- next part -------------- An HTML attachment was scrubbed... URL: From bhendrix at stthomas.org Wed Jan 21 19:41:44 2004 From: bhendrix at stthomas.org (Brian Hendrix) Date: Wed, 21 Jan 2004 12:41:44 -0600 Subject: Check for HP Printers Message-ID: Dan, Can you elaborate on the last part of your message: lpq/rlpq | egrep 'this|that|theotherthing' I have been a Unix Administrator for 11 years and understand the command, just not the context of how it would be run in relation to check_tcp. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ Brian Hendrix Team Leader DTR Services Saint Thomas Health Services 2000 Church Street Nashville, TN 37236 bhendrix at stthomas.org (615) 284-5297 (work) (615) 222-1704 (fax) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Whatever you do, do your work heartily, as for the Lord rather than for men - Colossians 3:23 ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Dan Stromberg 1/21/2004 11:14:39 AM >>> On Wed, 2004-01-21 at 08:35, Brian Hendrix wrote: > I've looked through several websites and still not having any success. > Is there plugin for monitoring HP printers? I am running Nagios on > RedHat Linux Enterprise v3. > > Thanks in advance, > I'd probably do no more than ping an HP printer. The ones I've had experience with did a horrible job of multitasking. One would even consistently freeze up if I just telnet'd to 9000 on it. But if you want to see if it works (hey, maybe they've improved, it's been a while), you could probably check_tcp 515 and/or 9000. Or even lpq/rlpq | egrep 'this|that|theotherthing'. -- Dan Stromberg DCS/NACS/UCI < strombrg at dcs.nac.uci.edu > Confidentiality Notice: This email message, including any attachments, contains information that is confidential and/or legally privileged. The information is intended only for the individual(s) named above. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, distribution, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error, please purge it immediately and notify the sender. -------------- next part -------------- An HTML attachment was scrubbed... URL: From WDougallJR at nwdtc.com Wed Jan 21 19:55:42 2004 From: WDougallJR at nwdtc.com (WDougallJR at nwdtc.com) Date: Wed, 21 Jan 2004 10:55:42 -0800 Subject: Plug-in for NRPE_NT Message-ID: The answer you are looking for is on this page. http://nagios.sourceforge.net/docs/1_0/plugins.html William Dougall Jr Systems Support x2143 "It doesn't do any good to steal the ball and then dribble it off your foot!" (author unknown) -----Original Message----- From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, January 21, 2004 7:38 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plug-in for NRPE_NT Importance: High Hi everybody, can you tell me where I can download all the commands usefull to nrpe_nt client daemon? I did not find in the Nagios site. Thanks a lot Marco ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 20:34:33 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 21 Jan 2004 19:34:33 +0000 Subject: Check for HP Printers In-Reply-To: <20040121174755.59963.qmail@restricted.dyndns.org> References: <20040121174044.7788.qmail@minnow.softflare.net> <20040121174755.59963.qmail@restricted.dyndns.org> Message-ID: <20040121193433.6845.qmail@minnow.softflare.net> Neil writes: > You can also use check_tcp!9100 so you can check tcp connectivity on > that port. Yeah, you could do that. Or you could struggle with one of the plugins that do general-purpose SNMP queries and try to figure out what you need to send to the printer to get back its status, and thereby get notifications of paper jams and other errors. Or you could do the same thing the easy way... One of the first things I did after installing Nagios was run all the standard plugins with -h to see what they did. One of them (with a rather obvious name) turned out to query HP printers that have a JetDirect interface using SNMP. But the only parameter you need to give it is the printer's IP address (or domain name if it has one). No struggling trying to figure out the right SNMP parameters. BTW, I gave another couple of clues there for those still struggling to find the plugin written specifically to make it easy to get the operational status of HP printers with JetDirect interfaces. And here's another BIG clue: it lives in Nagios's libexec directory and the name starts with "check_". -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 21:28:38 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 21 Jan 2004 14:28:38 -0600 Subject: Check for HP Printers In-Reply-To: <20040121193433.6845.qmail@minnow.softflare.net> References: <20040121193433.6845.qmail@minnow.softflare.net> Message-ID: <65612220-4C50-11D8-8ADF-0030657DF28A@airmail.net> On Wednesday, January 21, 2004, at 01:34 PM, Paul L. Allen wrote: > ... you could do the same thing the easy way... > One of the first things I did after installing Nagios was run all the > standard plugins with -h to see what they did. One of them (with a > rather obvious name) turned out to query HP printers that have a > JetDirect > interface using SNMP. ... > -- > Paul Allen > Softflare Support > Ok, now I'm curious. Maybe I'm being a dummy; or maybe we're not running the same version of Nagios (and Nagios plugins). But I didn't find any such command in my set (Nagios 1.1, Nagios plugins 1.3.1, Solaris 9). I've got: check_breeze check_ifstatus check_ntp check_smtp check_by_ssh check_imap check_nwstat check_spop check_dig check_ircd check_oracle check_ssh check_disk check_load check_overcr check_swap check_disk_smb check_log check_ping check_tcp check_dns check_mailq check_pop check_time check_dummy check_mrtg check_procs check_udp check_flexlm check_mrtgtraf check_real check_ups check_ftp check_nagios check_rpc check_users check_http check_nntp check_sensors check_vsz check_ifoperstatus check_nt check_simap check_wave I ran each of those with "-h" and looked for something to do with JetDirect, HP printers, or even just printers in general. If it was there, I overlooked it. By the way, running "check_breeze -h", "check_ifoperstatus -h" and "check_ifstatus -h" produces interesting results. :-) Yours, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 21:48:37 2004 From: gregor.bruhin at netoxygen.ch (Gregor Bruhin) Date: Wed, 21 Jan 2004 21:48:37 +0100 Subject: db2 Message-ID: <2FD5D22D-4C53-11D8-B66F-000A95CD8036@netoxygen.ch> Hi, Someone here monitoring db2 databases with nagios ? I'm interested by everything related to db2 monitoring, links, technical infos, personal experiences, existing plugins, ... Thanks, Greg ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 22:02:42 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 21 Jan 2004 15:02:42 -0600 Subject: Check for HP Printers In-Reply-To: <65612220-4C50-11D8-8ADF-0030657DF28A@airmail.net> References: <65612220-4C50-11D8-8ADF-0030657DF28A@airmail.net> Message-ID: <1074718962.14217.12.camel@localhost> On Wed, 2004-01-21 at 14:28, Michael Tucker wrote: > By the way, running "check_breeze -h", "check_ifoperstatus -h" and > "check_ifstatus -h" produces interesting results. :-) hm?? Mine give the help info. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Wed Jan 21 22:01:03 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Wed, 21 Jan 2004 16:01:03 -0500 Subject: Triggering the "Network Outages" display under Tactical Overview Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F0605B654@stoexchange.state.fl.us> Hello: I've read the documentation and have created a small test scenario to try and trigger the count under "Network Outages". I turn of the test core router and the NMS does only send me one page, but it did not interpret the failure of the core router and hits child host as a network failure. I've looked at this all day and have not been able to fix the problem. I'm a newbie and any help will be greatly appreciated. See attachment. Thanks ############################################################################ #### # HOST DEPENDENCY DEFINITIONS # # SYNTAX: # ############################################################################ #### define hostdependency{ host_name Test-core-router dependent_host_name Test-server notification_failure_criteria d,u } define hostdependency{ host_name Test-core-router dependent_host_name Test-server2 notification_failure_criteria d,u } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Nagios - Triggering a network outage failed.JPG Type: image/jpeg Size: 148458 bytes Desc: not available URL: From mtucker at airmail.net Wed Jan 21 22:14:27 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 21 Jan 2004 15:14:27 -0600 Subject: Bad check_* -h (was Check for HP Printers) In-Reply-To: <1074718962.14217.12.camel@localhost> References: <1074718962.14217.12.camel@localhost> Message-ID: On Wednesday, January 21, 2004, at 03:02 PM, jeff vier wrote: > On Wed, 2004-01-21 at 14:28, Michael Tucker wrote: >> By the way, running "check_breeze -h", "check_ifoperstatus -h" and >> "check_ifstatus -h" produces interesting results. :-) > > hm?? > Mine give the help info. > Here's what I get: $ ./check_breeze -h Global symbol "$opt_C" requires explicit package name at ./check_breeze line 26. Global symbol "$opt_C" requires explicit package name at ./check_breeze line 26. Global symbol "$opt_C" requires explicit package name at ./check_breeze line 47. Global symbol "$opt_C" requires explicit package name at ./check_breeze line 47. Global symbol "$opt_C" requires explicit package name at ./check_breeze line 50. Execution of ./check_breeze aborted due to compilation errors. $ ./check_ifoperstatus -h Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at ./check_ifoperstatus line 40. BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. $ ./check_ifstatus -h Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_perl/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at ./check_ifstatus line 35. BEGIN failed--compilation aborted at ./check_ifstatus line 35. Again, this is nagios 1.1 and nagios plugins 1.3.1, recently downloaded (around December 12 or so) and compiled (using gcc 3.3.2) on Solaris 9. ~ Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 22:18:16 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 21 Jan 2004 15:18:16 -0600 Subject: Bad check_* -h (was Check for HP Printers) In-Reply-To: References: Message-ID: <1074719896.14217.14.camel@localhost> On Wed, 2004-01-21 at 15:14, Michael Tucker wrote: > >> By the way, running "check_breeze -h", "check_ifoperstatus -h" and > >> "check_ifstatus -h" produces interesting results. :-) > > hm?? > > Mine give the help info. > Here's what I get: > Again, this is nagios 1.1 and nagios plugins 1.3.1, recently downloaded > (around December 12 or so) and compiled (using gcc 3.3.2) on Solaris 9. Looks like you're missing Perl modules. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 22:20:09 2004 From: marc at ena.com (Marc Powell) Date: Wed, 21 Jan 2004 15:20:09 -0600 Subject: Triggering the "Network Outages" display under Tactical Overview Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1B2@mismail2.ena.com> You're actually looking for the 'parents' directive as opposed to host dependencies -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host and http://nagios.sourceforge.net/docs/1_0/networkreachability.html -- Marc ________________________________ From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: Wednesday, January 21, 2004 3:01 PM To: 'Nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Triggering the "Network Outages" display under Tactical Overview Hello: I've read the documentation and have created a small test scenario to try and trigger the count under "Network Outages". I turn of the test core router and the NMS does only send me one page, but it did not interpret the failure of the core router and hits child host as a network failure. I've looked at this all day and have not been able to fix the problem. I'm a newbie and any help will be greatly appreciated. See attachment. Thanks ######################################################################## ######## # HOST DEPENDENCY DEFINITIONS # # SYNTAX: # ######################################################################## ######## define hostdependency{ host_name Test-core-router dependent_host_name Test-server notification_failure_criteria d,u } define hostdependency{ host_name Test-core-router dependent_host_name Test-server2 notification_failure_criteria d,u } ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Wed Jan 21 22:21:50 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Wed, 21 Jan 2004 13:21:50 -0800 Subject: Check for HP Printers In-Reply-To: References: Message-ID: <1074720110.23043.68.camel@sabaki.dcs.uci.edu> On Wed, 2004-01-21 at 10:41, Brian Hendrix wrote: > Dan, > > Can you elaborate on the last part of your message: > lpq/rlpq | egrep 'this|that|theotherthing' I meant to say you could use either lpq or rlpq, and pipe their output to egrep to check for magic strings. rlpr and rlpq are cool - worth being aware of, even if you don't have an immediate need. > I have been a Unix Administrator for 11 years and understand the > command, just not the context of how it would be run in relation to > check_tcp. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ><> ~~~ > Brian Hendrix > Team Leader > DTR Services > Saint Thomas Health Services > 2000 Church Street > Nashville, TN 37236 > > bhendrix at stthomas.org > (615) 284-5297 (work) > (615) 222-1704 (fax) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Whatever you do, do your work heartily, > as for the Lord rather than for men > - Colossians 3:23 > ~~~ ><> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >>> Dan Stromberg 1/21/2004 11:14:39 AM >>> > On Wed, 2004-01-21 at 08:35, Brian Hendrix wrote: > > I've looked through several websites and still not having any > success. > > Is there plugin for monitoring HP printers? I am running Nagios on > > RedHat Linux Enterprise v3. > > > > Thanks in advance, > > > > I'd probably do no more than ping an HP printer. The ones I've had > experience with did a horrible job of multitasking. One would even > consistently freeze up if I just telnet'd to 9000 on it. > > But if you want to see if it works (hey, maybe they've improved, it's > been a while), you could probably check_tcp 515 and/or 9000. Or even > lpq/rlpq | egrep 'this|that|theotherthing'. > > -- > Dan Stromberg DCS/NACS/UCI < strombrg at dcs.nac.uci.edu > > > > Confidentiality Notice: This email message, including any attachments, contains > information that is confidential and/or legally privileged. The information is intended > only for the individual(s) named above. If you are not the intended recipient or the > person responsible for delivering the email to the intended recipient, be advised that > you have received this email in error and that any use, dissemination, distribution, > forwarding, printing, or copying of this email is strictly prohibited. If you have received > this email in error, please purge it immediately and notify the sender. -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From mtucker at airmail.net Wed Jan 21 22:27:24 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 21 Jan 2004 15:27:24 -0600 Subject: Bad check_* -h (was Check for HP Printers) In-Reply-To: <1074719896.14217.14.camel@localhost> References: <1074719896.14217.14.camel@localhost> Message-ID: <9AFD7ADA-4C58-11D8-8ADF-0030657DF28A@airmail.net> On Wednesday, January 21, 2004, at 03:18 PM, jeff vier wrote: > On Wed, 2004-01-21 at 15:14, Michael Tucker wrote: >>>> By the way, running "check_breeze -h", "check_ifoperstatus -h" and >>>> "check_ifstatus -h" produces interesting results. :-) >>> hm?? >>> Mine give the help info. >> Here's what I get: > >> Again, this is nagios 1.1 and nagios plugins 1.3.1, recently >> downloaded >> (around December 12 or so) and compiled (using gcc 3.3.2) on Solaris >> 9. > > Looks like you're missing Perl modules. > ----- $ pkginfo | grep Perl system IPLTpldap PerLDAP system SUNWopl5m Perl 5.005_03 Reference Manual Pages system SUNWopl5p Perl 5.005_03 (POD Documentation) system SUNWopl5u Perl 5.005_03 system SUNWpl5m Perl 5.6.1 Reference Manual Pages system SUNWpl5p Perl 5.6.1 (POD Documentation) system SUNWpl5u Perl 5.6.1 (core) system SUNWpl5v Perl 5.6.1 (non-core) $ which perl /usr/bin/perl $ perl -v This is perl, v5.6.1 built for sun4-solaris-64int (with 48 registered patches, see perl -V for more detail) [additional output snipped] ----- What am I missing? ~ Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 22:29:21 2004 From: ragnar at skolelinux.no (Ragnar Wisloff) Date: Wed, 21 Jan 2004 22:29:21 +0100 Subject: check_udp Message-ID: <400EEF31.5000504@skolelinux.no> Hello, I've been trying to get check_udp to work on Linux, but it seems to be broken. It's in the bugs database, and there is not much traffic regarding that bug. Is there a known workaround? -- Med vennlig hilsen Ragnar Wisl?ff ------------- life is a reach. then you gybe. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 22:35:08 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 21 Jan 2004 15:35:08 -0600 Subject: Bad check_* -h (was Check for HP Printers) In-Reply-To: <9AFD7ADA-4C58-11D8-8ADF-0030657DF28A@airmail.net> References: <9AFD7ADA-4C58-11D8-8ADF-0030657DF28A@airmail.net> Message-ID: <1074720908.14217.18.camel@localhost> On Wed, 2004-01-21 at 15:27, Michael Tucker wrote: > >>>> By the way, running "check_breeze -h", "check_ifoperstatus -h" and > >>>> "check_ifstatus -h" produces interesting results. :-) > >>> hm?? > >>> Mine give the help info. > >> Here's what I get: > > > >> Again, this is nagios 1.1 and nagios plugins 1.3.1, recently > >> downloaded > >> (around December 12 or so) and compiled (using gcc 3.3.2) on Solaris > >> 9. > > > > Looks like you're missing Perl modules. > $ pkginfo | grep Perl > > What am I missing? Modules, not packages. You need to install the Net:SNMP module, for sure. Possibly (probably) others, too. Use CPAN. it's like magic. You'll have to look up usage - it's a little bit complex for me to summarize it here. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhala at intellitrans.com Wed Jan 21 22:55:47 2004 From: jhala at intellitrans.com (John Hala) Date: Wed, 21 Jan 2004 16:55:47 -0500 Subject: TimeStamp Message-ID: <506A34D85FC2D411B59C00A0C96BA97201AC1B1E@BOS_TRN1> Are there any plugins to incorporate with Nagios that will get the timestamp of when a file was last accessed, on a server that is monitored by Nagios and return that information back to Nagios? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Wed Jan 21 23:01:43 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 21 Jan 2004 22:01:43 +0000 Subject: Check for HP Printers In-Reply-To: <65612220-4C50-11D8-8ADF-0030657DF28A@airmail.net> References: <65612220-4C50-11D8-8ADF-0030657DF28A@airmail.net> Message-ID: <20040121220143.25217.qmail@minnow.softflare.net> Michael Tucker writes: > Ok, now I'm curious. Maybe I'm being a dummy; or maybe we're not running > the same version of Nagios (and Nagios plugins). More possibly we're not running the same OS and you're missing a dependency required for it to be built, in which case it gets omitted. There is no warning at the end about omitted plugins, so unless you happen to notice it scroll past you'll never know what you're missing - unless you look in the plugins and plugin-scripts directories of the plugins source package. The only dependency this one lists in comments in the source is snmpget, but there may be other dependencies. You may also be missing a few other plugins because of missing dependencies. > I ran each of those with "-h" and looked for something to do with > JetDirect, HP printers, or even just printers in general. Trust me, you'd spot it by *name* if it were there. It's a no-brainer. Even without me telling you that there was something to check HP printers, if you saw the name that would be the first thing you'd think it did. > By the way, running "check_breeze -h", "check_ifoperstatus -h" and > "check_ifstatus -h" produces interesting results. :-) Yeah, they're the painful way of doing it requiring esoteric knowledge of SNMP MIB OIDs. One day, I'm going to have to figure out enough of that to monitor some Cisco routers at a client site. I'm putting off that day for as long as possible. :) There's also some interesting stuff in the contrib directory of the plugins package. Plugins that have rough edges and/or haven't been integrated into the standard plugins yet, but some of them may be useful to you. I haven't played with all of those yet, I only look in there when there's something I want to monitor that isn't covered by a standard plugin. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 21 23:04:44 2004 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Wed, 21 Jan 2004 16:04:44 -0600 Subject: AS/400 monitoring Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F05524752@madmail01.fiskars.com> Anyone out there monitoring CPU usage, memory usage, job queues on OS400? Pete ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 23:05:01 2004 From: marc at ena.com (Marc Powell) Date: Wed, 21 Jan 2004 16:05:01 -0600 Subject: TimeStamp Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1B4@mismail2.ena.com> In the plugins contrib directory -- # $Id: check_file_age.pl,v 1.1 2003/02/09 14:20:30 sghosh Exp $ # check_file.pl Copyright (C) 2003 Steven Grimm # # Checks a file's size and modification time to make sure it's not empty # and that it's sufficiently recent. It's looking at mtime as opposed to atime but it looks like an easy modification to use atime. -- Marc ________________________________ From: John Hala [mailto:jhala at intellitrans.com] Sent: Wednesday, January 21, 2004 3:56 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] TimeStamp Are there any plugins to incorporate with Nagios that will get the timestamp of when a file was last accessed, on a server that is monitored by Nagios and return that information back to Nagios? Thanks ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag+nagios at u.washington.edu Wed Jan 21 23:25:22 2004 From: markwag+nagios at u.washington.edu (Mark Wagner) Date: Wed, 21 Jan 2004 14:25:22 -0800 Subject: Check for HP Printers In-Reply-To: Your message of "Wed, 21 Jan 2004 14:28:38 CST." Message-ID: <200401212225.i0LMPMni008902@gandalf.radonc.washington.edu> On 21 January 2004 at 14:28, Michael Tucker wrote: > > On Wednesday, January 21, 2004, at 01:34 PM, Paul L. Allen wrote: > > > ... you could do the same thing the easy way... > > One of the first things I did after installing Nagios was run all the > > standard plugins with -h to see what they did. One of them (with a > > rather obvious name) turned out to query HP printers that have a > > JetDirect > > interface using SNMP. ... > > -- > > Paul Allen > > Softflare Support > > > > Ok, now I'm curious. Maybe I'm being a dummy; or maybe we're not > running the same version of Nagios (and Nagios plugins). But I didn't > find any such command in my set (Nagios 1.1, Nagios plugins 1.3.1, > Solaris 9). > > I've got: > > check_breeze check_ifstatus check_ntp check_smtp > check_by_ssh check_imap check_nwstat check_spop > check_dig check_ircd check_oracle check_ssh > check_disk check_load check_overcr check_swap > check_disk_smb check_log check_ping check_tcp > check_dns check_mailq check_pop check_time > check_dummy check_mrtg check_procs check_udp > check_flexlm check_mrtgtraf check_real check_ups > check_ftp check_nagios check_rpc check_users > check_http check_nntp check_sensors check_vsz > check_ifoperstatus check_nt check_simap check_wave > > I ran each of those with "-h" and looked for something to do with > JetDirect, HP printers, or even just printers in general. If it was > there, I overlooked it. No, you are not a dummy. Something is wrong with either your or my installation of nagios-plugins-1.3.1. I have a check_hpjd. -- Mark Wagner markwag at u.washington.edu 206-598-0302 Unix System Administrator, Radiation Oncology and Radiology ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at theemersons.org Wed Jan 21 23:28:46 2004 From: pete at theemersons.org (Pete Emerson) Date: Wed, 21 Jan 2004 22:28:46 +0000 Subject: Notification not being passed to mailer Message-ID: <1074724126.5517.23.camel@localhost> Nagios 1.1 was working great. I love it. Much better than Big Brother, IMHO. Now, though, my notifications are not being sent to my email, and I can't for the life of me figure out what has changed (I had to reboot the machine, by the way). Some help and/or pointers to things to check would be great. I've been reading documentation and Googling, and now my eyeballs are crossed, so here I am. Critical messages get logged properly in /var/log/messages. I also see them in /usr/local/nagios/var/status.log and nagios.log: [1074723846] SERVICE ALERT: db01;TEST_CHECK;CRITICAL;HARD;1;ERROR However, I do NOT see them on the web (Reporting --> Notifications) any more. I also do not see any attempts from Postfix for delivering these messages. All I see on the Nagios web and in /var/log/messages are old ones that were successfully sent to me before things broke, not new ones. I've also tested the /usr/bin/mail script that Nagios is using to send out mail, and it works fine, and other mail is working fine, and I didn't change that script in misccommands.cfg anyway, so I don't believe Postfix is to blame. Could it be a permissions issue, perhaps? Everything in the Nagios directory is owned by nagios:nagios except for the nagios.lock file. Any and all suggestions would be greatly appreciated. Thanks in advance. Pete ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 23:48:33 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 21 Jan 2004 16:48:33 -0600 Subject: Bad check_* -h (was Check for HP Printers) In-Reply-To: <1074720908.14217.18.camel@localhost> References: <1074720908.14217.18.camel@localhost> Message-ID: With help from Paul Allen, Jeff Vier and Russell Scibetti, I've got this figured out (I hope). I didn't notice when I built the Nagios plugins that some of them require the Net-SNMP package and others require the Net::SNMP Perl module. Thus, some plugins didn't get built at all (e.g. check_hpjd), and others don't work (e.g. check_breeze). Luckily, this is easily fixed (at least partially): the Net-SNMP package (version 5.0.7) is available as a download from Sunfreeware ( and its mirrors). Now if I can just locate a good download site for the Net::SNMP Perl module, I should have it "made in the shade". Any suggestions? Thanks again, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markwag+nagios at u.washington.edu Wed Jan 21 23:46:47 2004 From: markwag+nagios at u.washington.edu (Mark Wagner) Date: Wed, 21 Jan 2004 14:46:47 -0800 Subject: Check for HP Printers In-Reply-To: Your message of "Wed, 21 Jan 2004 12:41:44 CST." Message-ID: <200401212246.i0LMklni009253@gandalf.radonc.washington.edu> On 21 January 2004 at 12:41, "Brian Hendrix" wrote: > Can you elaborate on the last part of your message: > lpq/rlpq | egrep 'this|that|theotherthing' > > I have been a Unix Administrator for 11 years and understand the > command, just not the context of how it would be run in relation to > check_tcp. I recommend examining RFC 1179. The data returned by "lpq" (i.e., "Send queue state (long)") is unspecified but it may be useful information such as "jammed" or "OK." If the former, then something like negate check_tcp -H -p 515 -s `printf "\x3\n"` -e "jammed" may be useful. If the latter, then something like check_tcp -H -p 515 -s `printf "\x3\n"` -e "OK" may be useful. > But if you want to see if it works (hey, maybe they've improved, it's > been a while), you could probably check_tcp 515 and/or 9000. Or even > lpq/rlpq | egrep 'this|that|theotherthing'. -- Mark Wagner markwag at u.washington.edu 206-598-0302 Unix System Administrator, Radiation Oncology and Radiology ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jan 22 00:07:50 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 21 Jan 2004 17:07:50 -0600 Subject: Bad check_* -h (was Check for HP Printers) In-Reply-To: References: Message-ID: <1074726469.14217.22.camel@localhost> On Wed, 2004-01-21 at 16:48, Michael Tucker wrote: > Now if I can just locate a good download site for the Net::SNMP Perl > module, I should have it "made in the shade". Any suggestions? CPAN does it for you. It's seriously wonderful (but, as I said earlier, fairly complex). basically, run 'perl -MCPAN -e shell' to get started. (be careful, though, don't go in there just running random commands - read the docs on http://cpan.perl.org/). After getting it all set up, you'll be running 'install Net::SNMP' in the CPAN shell. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Thu Jan 22 00:13:35 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 21 Jan 2004 23:13:35 +0000 Subject: Bad check_* -h (was Check for HP Printers) In-Reply-To: References: Message-ID: <20040121231335.3870.qmail@minnow.softflare.net> Michael Tucker writes: > Now if I can just locate a good download site for the Net::SNMP Perl > module, I should have it "made in the shade". According to the comments in check_hpjd (which is written in C, not perl) it requires snmpget (and tells you where to get it from if you don't have it). I tend to believe it and suspect that the Net::SNMP modules will not help you build check_hpjd, although they will allow check_if* to function instead of barfing. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 00:16:31 2004 From: james at lovedthanlost.net (James Turnbull) Date: Thu, 22 Jan 2004 10:16:31 +1100 Subject: AS/400 monitoring References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F05524752@madmail01.fiskars.com> Message-ID: <00b201c3e074$9b498260$3401a8c0@iih.usyd.edu.au> Arzamendi, Peter wrote: > Anyone out there monitoring CPU usage, memory usage, job queues on > OS400? We were doing it using SNMP. There are no custom plugins for OS400 we could find. Regards James Turnbull ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Jan 22 01:07:23 2004 From: noah at mac.com (Noah Leaman) Date: Wed, 21 Jan 2004 16:07:23 -0800 Subject: NSCA daemon never writes to nagios.cmd or nsca.dump In-Reply-To: References: Message-ID: I forgot to provide platform/version stats... NSCA 2.4 Nagios 1.1 on Mac OS X 10.3.2 (on both central and distributed Nagios servers) If anyone has any indication of where my trouble could be it would be greatly appreciated. -- Noah On Jan 21, 2004, at 1:33 AM, Noah Leaman wrote: > Help! > > I cannot get the NSCA daemon to write anything to either the > nagios.cmd or the nsca.dump files. > They are both defined in the nsca.cfg like so: > > command_file=/Users/nagios/var/rw/nagios.cmd > alternate_dump_file=/Users/nagios/var/rw/nsca.dump > > I turned on debug (debug=1) and all I get in the syslog is this: > > Jan 21 01:19:00 bell nsca[15791]: Handling the connection... > Jan 21 01:19:00 bell nsca[15791]: End of connection... > Jan 21 01:20:00 bell nsca[15791]: Handling the connection... > Jan 21 01:20:00 bell nsca[15791]: End of connection... > Jan 21 01:21:00 bell nsca[15791]: Handling the connection... > Jan 21 01:21:00 bell nsca[15791]: End of connection... > > this is for each time the send_nsca is submitted on the remote > (distributed) nagios host. nothing ever gets written to nagios.cmd and > nsca.dump is never even created. The fact that nsca.dump never gets > created seems like a clue of some sort. I do have external commands > enabled and they work in all other respect. the nsca daemon is running > as the user nagios and can write to nagios.cmd and the directory itt's > in. > > Any ideas what could be wrong? > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Jan 22 05:42:49 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 21 Jan 2004 23:42:49 -0500 (EST) Subject: check_log on windows Message-ID: Just wondering whether anybody has used check_log or check_log2 to monitor flat files logs on W2K??? -- -sg ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jan 22 06:34:24 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 22 Jan 2004 16:34:24 +1100 Subject: Broken statusmap in Nag: gd headers (gd.h) ? Message-ID: <20040122163422.H94789@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Jan 22, 2004 at 12:16:34PM +0800, Brad Dunn wrote: > > > Thanks a lot for your help stanley? Is there anywhere I can obtain those > header files for those image packages? Rpm would be nice . I would use that I am copying this reply to Nag-users so that people more knowledgable can issue corrections. > rpm find but am a bit confused about the filenames > The problem is that statusmap will not build because configure fails to build the gd/png test program > I did notice one thing that makes me think it might not be zlib, > > It displays > > checking for gdImagePng in -lgd (order 1)... no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > This _could_ be caused by your system missing the headers (in files that for gd-1.x are named 'tsitc> ls /usr/local/include/gd gd.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h tsitc> ') Unfortunately, I don't run Linux/RPM systems so I cannot be very specific or helpful. A quick google for 'gd devel rpm' returns http://www.hklpg.org/RPM/gd-devel.html These are architecture specific (i386, PPC, alpha ...) etc RPMs containing the libs _and_ the headers which you need to compile apps with. I think you need, - the arch corresponding to your machine - correct gd version (1.x) but I don't know too much about the RPM way of doing things. I complete guess would be gd-devel-1.8.4-10.i386 You need to check this out _thoroughly_ because the RPM almost certainly will install the libs (as well as the headers) and this could break existing apps (how you check it out is hard; I have no good answer.). Perhaps there needs to be a Nag FAQ 'where are the RPMs for the pre-requisite packages [gd and friends]'. Nag FAQ http://www.nagios.org/faqs/viewfaq.php?faq_id=194&expand=false&showdesc=false deals with this problem and provides unfortch no more information about which RPMs you need. 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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Thu Jan 22 06:50:17 2004 From: brian.murphy at gmx.net (Brian Murphy) Date: Thu, 22 Jan 2004 06:50:17 +0100 (MET) Subject: As/400 monitoring Message-ID: <20841.1074750617@www47.gmx.net> I see that a search of http://sourceforge.net turns up http://sourceforge.net/projects/nas400plugin/ I have not done anything with it but it could help you if you have AS/400 control and expertise by the looks of it. Brian Arzamendi, Peter wrote: > Anyone out there monitoring CPU usage, memory usage, job queues on > OS400? We were doing it using SNMP. There are no custom plugins for OS400 we could find. Regards James Turnbull -- +++ GMX - die erste Adresse f?r Mail, Message, More +++ Bis 31.1.: TopMail + Digicam f?r nur 29 EUR http://www.gmx.net/topmail ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Jan 22 08:42:07 2004 From: noah at mac.com (Noah Leaman) Date: Wed, 21 Jan 2004 23:42:07 -0800 Subject: [Nagios-users] Re: NSCA daemon never writes to nagios.cmd or nsca.dump In-Reply-To: References: Message-ID: <7AA0026C-4CAE-11D8-8E22-00039345125C@mac.com> A little more info... I get the same problem even when doing a send_nsca on the same host that has the nsca daemon running on it: (from syslog) Jan 21 23:21:01 bell nsca[22499]: Handling the connection... Jan 21 23:21:02 bell nsca[22499]: End of connection... Jan 21 23:22:01 bell nsca[22499]: Handling the connection... Jan 21 23:22:01 bell nsca[22499]: End of connection... ... is this a bug with nsca on OS X 10.3? Any one else running nsca 2.4 on 10.3 or seen this problem on any platform? I saw one other person post this same issue but there was no response then. I am not sure what platform he was on. My nsca.cfg: server_port=5667 allowed_hosts= nsca_user=nagios nsca_group=nagios debug=1 command_file=/Users/nagios/var/rw/nagios.cmd alternate_dump_file=/Users/nagios/var/rw/nsca.dump password= aggregate_writes=0 append_to_file=0 max_packet_age=30 decryption_method=1 I tried sending using Jason Lancaster's perl version of send_nsca but I just get the same thing... nothing ever written out from the nsca daemon. Seems the problem is the daemon itself, not the send_nsca. I also tried the current CVS (http://nagios.sourceforge.net/download/cvs/nsca-cvs.tar.gz) but same thing. Incidentally, with the CVS snapshot (version 2.5?) I kept getting this error in syslog when trying to start nsca: Jan 21 23:09:47 bell nsca[22258]: Unknown option specified in config file '/Users/nagios/nsca/nsca.cfg' - Line 2 Line 2 is my allowed_hosts declaration. I tried both hostnames, and IP addresses as the changlog mentioned that it supported hostnames now. I had to comment line 2 out and it was able to start the 2.5 version. -- Noah On Jan 21, 2004, at 4:07 PM, Noah Leaman wrote: > I forgot to provide platform/version stats... > > NSCA 2.4 > Nagios 1.1 on Mac OS X 10.3.2 (on both central and distributed Nagios > servers) > > If anyone has any indication of where my trouble could be it would be > greatly appreciated. > > -- > Noah > > On Jan 21, 2004, at 1:33 AM, Noah Leaman wrote: > >> Help! >> >> I cannot get the NSCA daemon to write anything to either the >> nagios.cmd or the nsca.dump files. >> They are both defined in the nsca.cfg like so: >> >> command_file=/Users/nagios/var/rw/nagios.cmd >> alternate_dump_file=/Users/nagios/var/rw/nsca.dump >> >> I turned on debug (debug=1) and all I get in the syslog is this: >> >> Jan 21 01:19:00 bell nsca[15791]: Handling the connection... >> Jan 21 01:19:00 bell nsca[15791]: End of connection... >> Jan 21 01:20:00 bell nsca[15791]: Handling the connection... >> Jan 21 01:20:00 bell nsca[15791]: End of connection... >> Jan 21 01:21:00 bell nsca[15791]: Handling the connection... >> Jan 21 01:21:00 bell nsca[15791]: End of connection... >> >> this is for each time the send_nsca is submitted on the remote >> (distributed) nagios host. nothing ever gets written to nagios.cmd >> and nsca.dump is never even created. The fact that nsca.dump never >> gets created seems like a clue of some sort. I do have external >> commands enabled and they work in all other respect. the nsca daemon >> is running as the user nagios and can write to nagios.cmd and the >> directory itt's in. >> >> Any ideas what could be wrong? >> > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn From m.borsani at it.net Thu Jan 22 08:34:24 2004 From: m.borsani at it.net (Marco Borsani) Date: Thu, 22 Jan 2004 08:34:24 +0100 Subject: R: Plug-in for NRPE_NT In-Reply-To: References: Message-ID: Thank you for your help , but I don't see anything about NRPE_NT plugin following that link. Probably it is my fault...may you tell me more? Regards Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di WDougallJR at nwdtc.com Inviato: mercoled? 21 gennaio 2004 19.56 A: m.borsani at it.net; Nagios-users at lists.sourceforge.net Oggetto: RE: [Nagios-users] Plug-in for NRPE_NT The answer you are looking for is on this page. http://nagios.sourceforge.net/docs/1_0/plugins.html William Dougall Jr Systems Support x2143 "It doesn't do any good to steal the ball and then dribble it off your foot!" (author unknown) -----Original Message----- From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, January 21, 2004 7:38 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plug-in for NRPE_NT Importance: High Hi everybody, can you tell me where I can download all the commands usefull to nrpe_nt client daemon? I did not find in the Nagios site. Thanks a lot Marco ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 08:57:01 2004 From: Michael.Huettig at Medien-Systempartner.de (Michael Huettig) Date: Thu, 22 Jan 2004 08:57:01 +0100 Subject: receiving trapsnmp with nagios In-Reply-To: <007401c3e04e$94fc00c0$2605020a@enlacesbqt> References: <007401c3e04e$94fc00c0$2605020a@enlacesbqt> Message-ID: <200401220857.01545.Michael.Huettig@Medien-Systempartner.de> Hi, you have to configure all the snmp-stuff with snmpconf, this is a small perl-script which asks you something about your snmp environment. I'm using ucd-snmp and configured the snmpd.conf, snmptrapd.conf i don't have configured but i'll trie it the next days. Hope this helps on working with it ... -- Regards Michael Am Mittwoch, 21. Januar 2004 19:44 schrieb Jeyri bautista: > Hi, > > I want to configure that my nagios receive traps snmp from other devices. > > I read the documentation but, say that I have to configure the > snmptrapd.conf and I don?t find this file in my nagios pc. I have installed > net-snmp-5.0.1-6, > > I?m very confuse, > > Anybody can help me? > > Thanks > > Jeyri ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sonar at kaos.xs4all.nl Thu Jan 22 09:07:51 2004 From: sonar at kaos.xs4all.nl (Frank de Groodt) Date: Thu, 22 Jan 2004 09:07:51 +0100 (CET) Subject: As/400 monitoring In-Reply-To: <20841.1074750617@www47.gmx.net> References: <20841.1074750617@www47.gmx.net> Message-ID: The nas400plugin uses telnet to collect data from the AS/400. This makes the plugin not very usefull at most sites because telnet is interactive and could bring down a machine with little interactive power... We have developed an agent running on OS400 which can monitor everything you want on an AS/400. We are talking to our managers about getting the tool GPL'ed. I'll keep you posted.... Regards, Frank de Groodt On Thu, 22 Jan 2004, Brian Murphy wrote: > I see that a search of http://sourceforge.net turns up > > http://sourceforge.net/projects/nas400plugin/ > > I have not done anything with it but it could help you if you have AS/400 > control and expertise by the looks of it. > > Brian > > > Arzamendi, Peter wrote: > > Anyone out there monitoring CPU usage, memory usage, job queues on > > OS400? > > We were doing it using SNMP. There are no custom plugins for OS400 we could > find. > > Regards > > James Turnbull > > > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yohann.desquerre at anpe.fr Thu Jan 22 10:10:05 2004 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Thu, 22 Jan 2004 10:10:05 +0100 Subject: monitor disk use whith no remote agent ??? Message-ID: Hi all, I'd like to know if there is a way to monitor the disk use witout install a remote agent (as nrpe) !!! Thanks ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources ----------------------------------------------- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:13:42 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Thu, 22 Jan 2004 11:13:42 +0100 Subject: monitor disk use whith no remote agent ??? Message-ID: <4B05B471CA57554C8E0361B442971086095C4A@mail.tls.123multimedia.com> Yohann DESQUERRE (DSI NOISIEL) : > I'd like to know if there is a way to monitor the disk use witout > install a remote agent (as nrpe) !!! You need to connect to the machine you want to monitor. If you don't want to use nrpe, you can use : - snmp (not so easy to learn) - ssh (you make a key exchange between nagios and a regular user on the server, then you just have to launch something like ssh user at server df ). There are other, unsecure, method you can find (rsh, etc.), I would not advise to you. Fran?ois. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 11:20:15 2004 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Thu, 22 Jan 2004 11:20:15 +0100 Subject: Vedr.: monitor disk use whith no remote agent ??? Message-ID: Dear Yohann, I use SNMP to get disk space values. I have made a plugin called check_diskspace.sh. Here it is....I uses it for win2000 servers, but you should be able to change it to any snmp system. I have attached the plugin to this mail ... #!/bin/sh # # check_diskspace.sh via SNMP # # Autor : Thomas Jens Lauritsen + Other plugin Authors # Date : 14 Jan 2004 # Version : 1.0 # Description : Script that checks for free disk space in a server with SNMP. # Req. : The script uses the bc - calulator (Installed on most *nix's) # Advice : Run the script for every 60 min - to keep the load down on the cpu. # Nagios : In the services.cfg. Exampel: check_diskspace.sh!public!1!2!100!1000! # Info : You have to change Oid for your system - see below (num1 and num2). # # crit warn # ./check_diskspace.sh <2> <2> <100> <1000> # # Verify that there is an input # ------------------------------ # if [ -z "$1" ]; then echo "usage : check_diskspace.sh " echo "example: check_diskspace.sh 192.168.1.1 public 2 2 100 1000" echo exit fi # # Variables # --------- PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'` . $PROGPATH/utils.sh SERVER=$1 # Example: 10.0.0.3 SNMPCOMUNITY=$2 # Example: public NUM1=$3 # Example: 2 (Drive C Storage Used) NUM2=$4 # Example: 2 (Drive C Storage Size/Capacity) NUM3=$5 # Example: "100" (Mb) CRITICAL NUM4=$6 # Example: "1000" (Mb) WARNING # CHECK HOST #snmpget -v 1 $SERVER -c public .system.sysUpTime.0 # GET STORAGE SIZE & USED VALUE (CHANGE THE OID's TO FIT YOUR DESTINATION OS) # Used disk value USED=`/usr/bin/snmpget $SERVER $SNMPCOMUNITY .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.$NUM1 -t 5| awk '{ print $3 }'` #echo $USED # GET STORAGE SIZE AND USED VALUE (CHANGE THE OID's TO FIT YOUR DESTINATION OS) # Storage value SIZE=`/usr/bin/snmpget $SERVER $SNMPCOMUNITY .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.$NUM1 -t 5| awk '{ print $3 }'` #echo $SIZE # GET BYTE VALUE FOR DISK SYSTEM (512;1024;2048;4096) #VALUE=`/usr/local/nagios/libexec/check_snmp -H $SERVER -o .1.3.6.1.2.1.25.2.3.1.4.$NUM1 |awk '{ print $4 }'` VALUE=`/usr/bin/snmpget $SERVER $SNMPCOMUNITY .iso.org.dod.internet.mgmt.mib-2.host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageAllocationUnits.$NUM1 -t 5 |awk '{ print $3 }'` #/usr/bin/snmpget $SERVER $SNMPCOMUNITY .1.3.6.1.2.1.25.2.3.1.4.$3 |awk '{ print $4 }'>>/usr/local/nagios/libexec/$SERVER.txt #echo $VALUE # CALUCULATE FREE DISK SPACE C=$((SIZE-USED)) #echo $C*$VALUE/1024/1024 | bc >>/usr/local/nagios/libexec/$SERVER-$NUM1.txt RESULT=`echo $C*$VALUE/1024/1024 | bc` #echo $RESULT if [ "$3" == "2" ] ; then DISKVOL=C # echo "$DISKVOL" elif [ "$3" == "3" ] ; then DISKVOL=D # echo "$DISKVOL" elif [ "$3" == "4" ] ; then DISKVOL=E # echo "$DISKVOL" # exit fi #echo DISK OK - $E MB # TELL NAGIOS WHAT WE COLLECTED - AND GIVE IT A STATE if [ "$RESULT" -lt "$NUM3" ] ; then $ECHO "DISKSPACE $DISKVOL - CRITICAL $RESULT MB\n" exitstatus=$STATE_CRITICAL elif [ "$RESULT" -lt "$NUM4" ] ; then $ECHO "DISKSPACE $DISKVOL - WARNING $RESULT MB\n" exitstatus=$STATE_WARNING elif [ "$RESULT" -gt "$NUM4" ] ; then $ECHO "DISKSPACE $DISKVOL - OK $RESULT MB\n" exitstatus=$STATE_OK else $ECHO "DISKSPACE - UNKNOWN $RESULT MB\n" exitstatus=$STATE_UNKNOWN fi exit $exitstatus # END OF DOC (See attached file: check_diskspace.sh) -------------- next part -------------- A non-text attachment was scrubbed... Name: check_diskspace.sh Type: application/octet-stream Size: 3557 bytes Desc: not available URL: From Hagen_Deike at icon-scm.com Thu Jan 22 13:26:07 2004 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Thu, 22 Jan 2004 13:26:07 +0100 Subject: AW: Plug-in for NRPE_NT Message-ID: <7E47A0E20913514C8F4CD1BC241A3703C32225@serv-075.icon-germany.local> Dooh, forgot to write this text... Ok, here I go. > Thank you for your help , but I don't see anything about NRPE_NT plugin > following that link. > Probably it is my fault...may you tell me more? The site you are looking for can be found here: http://support.tsmgsoftware.com/ regards, Hagen ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Thu Jan 22 13:24:58 2004 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Thu, 22 Jan 2004 13:24:58 +0100 Subject: AW: Plug-in for NRPE_NT Message-ID: <7E47A0E20913514C8F4CD1BC241A3703C32224@serv-075.icon-germany.local> > -----Urspr?ngliche Nachricht----- > Von: Marco Borsani [mailto:m.borsani at it.net] > Gesendet: Donnerstag, 22. Januar 2004 08:34 > An: WDougallJR at nwdtc.com; Nagios-users at lists.sourceforge.net > Betreff: R: [Nagios-users] Plug-in for NRPE_NT > > Thank you for your help , but I don't see anything about NRPE_NT plugin > following that link. > Probably it is my fault...may you tell me more? > > Regards > Marco > > -----Messaggio originale----- > Da: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di > WDougallJR at nwdtc.com > Inviato: mercoled? 21 gennaio 2004 19.56 > A: m.borsani at it.net; Nagios-users at lists.sourceforge.net > Oggetto: RE: [Nagios-users] Plug-in for NRPE_NT > > > The answer you are looking for is on this page. > > http://nagios.sourceforge.net/docs/1_0/plugins.html > > William Dougall Jr > Systems Support > x2143 > > "It doesn't do any good to steal the ball and then dribble it off your > foot!" (author unknown) > > -----Original Message----- > From: Marco Borsani [mailto:m.borsani at it.net] > Sent: Wednesday, January 21, 2004 7:38 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plug-in for NRPE_NT > Importance: High > > > > > > Hi everybody, > > can you tell me where I can download all the commands usefull to nrpe_nt > client daemon? > I did not find in the Nagios site. > > Thanks a lot > > Marco > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kudjat at voila.fr Thu Jan 22 13:36:51 2004 From: kudjat at voila.fr (kudjat) Date: Thu, 22 Jan 2004 13:36:51 +0100 (CET) Subject: Service that do not try other attempts Message-ID: <3205988.1074775011627.JavaMail.www@wwinf4002> Hello, I wrote my own nagios plugins. Those are requested thanks to SSH. Those are written in perl and are on linux or win2K servers. They do well work since they display their service status and description in nagios. However, if such a check returns me a CRITICAL or a WARNING state, nagios does not try to check another time 1 minute later as I asked it to do in services.cfg As a consequence nagios cannot reach the max_check_attempts and so cannot notify me. Thanks for your help. Here is a service syntax : define service{ use generic-service host_name nt_2 service_description process_bidon is_volatile 0 normal_check_interval 5 retry_check_interval 1 max_check_attempts 5 check_period workhours notification_period workhours notification_interval 30 check_command own_made_ssh_check!\\\"./check_process_bidon --login_sql user1 --pwd_sql_base_bidon user1pwds\\\" } ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Jan 22 14:10:02 2004 From: m.borsani at it.net (Marco Borsani) Date: Thu, 22 Jan 2004 14:10:02 +0100 Subject: R: Plug-in for NRPE_NT In-Reply-To: <7E47A0E20913514C8F4CD1BC241A3703C32225@serv-075.icon-germany.local> References: <7E47A0E20913514C8F4CD1BC241A3703C32225@serv-075.icon-germany.local> Message-ID: Thank you. I know that site; there are many informations but no possibilities to download the command (like check_disk) for NRPE_NT. Regards Marco -----Messaggio originale----- Da: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] Inviato: gioved? 22 gennaio 2004 13.26 A: 'Marco Borsani'; 'nagios-users at lists.sourceforge.net' Oggetto: AW: [Nagios-users] Plug-in for NRPE_NT Dooh, forgot to write this text... Ok, here I go. > Thank you for your help , but I don't see anything about NRPE_NT plugin > following that link. > Probably it is my fault...may you tell me more? The site you are looking for can be found here: http://support.tsmgsoftware.com/ regards, Hagen ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Thu Jan 22 14:28:33 2004 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Thu, 22 Jan 2004 14:28:33 +0100 Subject: AW: Plug-in for NRPE_NT Message-ID: <7E47A0E20913514C8F4CD1BC241A3703C32230@serv-075.icon-germany.local> > Thank you. > I know that site; there are many informations but no possibilities to > download the command (like check_disk) for NRPE_NT. You need an account to login to the site. When you're done, you see some extra remarks under some of the articles. There are the links to download the files. You have to browse a little thru the site. There isn't a place where you can download them at one. Usually you can see by the subject with thread has a file for download. Regards, Hagen ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu Jan 22 14:36:57 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 22 Jan 2004 13:36:57 -0000 Subject: Plug-in for NRPE_NT Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE9226292@netfinity-1.foundation-it.local> Marco Borsani wrote: > Thank you. > I know that site; there are many informations but no > possibilities to download the command (like check_disk) for NRPE_NT. The file download options only appear if you're logged in as a registered user. Phil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 14:48:40 2004 From: tdiehl at rogueind.com (Tom Diehl) Date: Thu, 22 Jan 2004 08:48:40 -0500 (EST) Subject: Comparison of Big Brother and Nagios In-Reply-To: <200401201658.i0KGwRni029575@gandalf.radonc.washington.edu> References: <200401201658.i0KGwRni029575@gandalf.radonc.washington.edu> Message-ID: On Tue, 20 Jan 2004 markwag+nagios at u.washington.edu wrote: > On 19 January 2004 at 18:30, "Tom Welsh" wrote: > > > Has anyone got a comparison report between Nagios and Big brother? It > > would save me a lot of time if I could get it from some one and update / > > plagiarize your efforts so far. > > > > I have a client who wants such a comparison and I know I have seen it > > around somewhere before but cant find it now. I will post the doc when I > > have finished with it to Ethan for possible dissemination on the > > propaganda page. > > You need to verify these facts. BB may have improved since last I looked. > Here is what I came up with when evaluating both: > > - BB: No scheduled downtime. Not true. bb-maint.pl will do this quite nicely. > - BB: Simplistic reporting. > > - Only get trends, alert history, and availability. > > - Cannot be broken down into groups. > > - BB: Configuration. > > - No template-based configuration. don't need it. Config of bb is MUCH simpler than Nagios. > - BB: Agent-based monitoring. > > - Need to install software on every host. > > - Uses own protocol rather than SNMP. Can use both. > - Nagios is agentless and agent-based. > > - BB: Acks, but no comments. Not true. The ack page has a place for comments. > - BB: Limited web interface compared to Nagios. I would argue that the Nagios user interface is waaaaaaay to busy. I like the bb interface a lot better for the quick glance kind of thing. Without having to do anything other than look at the screen I can tell what the overall health of the network is and which services/hosts if any have problems. With Nagios I have to drill down through things to tell which services actually have a problem. It is also difficult to tell just how long a service/host has had a problem. Yes the information is there but it is a lot harder to find than with bb. > - BB: "Better Than Free" license. Must pay for non-commercial use. > - Nagios: GP. This IMO is the big drawback of bb. It was OK before they were acquired by quest, but since the acquisition there has been very little support for the BTF version of bb. I understand why this is but I do not have to like it. I used bb for a long time but I am now looking at other solutions like Nagios. I have had Nagios running for several months and for the most part it works well. > - BB: Why so many forks? Little sister, etc. Because different people want different things and bb's license does not allow it to be modified and redistributed. > - Nagios: Easily extensible. Look at the the add-ons. This applies to bb as well. Look at deadcat.net for info. > - BB: Support through one company. > - Nagios: support from many companies. > > - Nagios: Alas, a low signal-to-noise ratio on mailing list. > > - BB: can't spell "advertise" properly on home page. :) Are you sure?? bb is in Canada. I am not sure what the correct Canadian spelling of it is. HTH, .......Tom ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.bartle at aspectcapital.com Thu Jan 22 14:55:32 2004 From: gavin.bartle at aspectcapital.com (Gavin Bartle) Date: Thu, 22 Jan 2004 13:55:32 -0000 Subject: Status Information Message-ID: <3D7547773EDFF441B60286F4089B1C7521E87B@VEGA1.aspectcapital.com> Hello, Bit of a newbie question but ive set up a number of hosts with a ping service to see if the are alive, some show (Host assumed to be up) and some show PING OK - Packet loss = 0%, RTA = 0.24 ms in the Status Information. Any idea why not all are showing ping ok ? Thanks ____________________________________ Gavin Bartle System Administrator Aspect Capital Limited +00 44 (0) 207 170 9721 CAUTION: This email message and any attachments transmitted with it contains information that is CONFIDENTIAL and may be privileged or otherwise protected from disclosure. If you are not the intended recipient please notify Aspect Capital Limited ("Aspect") immediately (postmaster at aspectcapital.com) and delete all copies of this email message and any attachments transmitted with it from your system. If you are not the intended recipient, any use, disclosure or copying of this email message and any attachments transmitted with it is strictly prohibited. This email message and any attachments transmitted with it cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed or incomplete. Although Aspect routinely screens for viruses, it makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. For further information about Aspect please see our website at http://www.aspectcapital.com. Aspect is authorised and regulated by the Financial Services Authority for investment business. N???zf??+,??????o! ?*lx*'?M8>????? ??z??q?':??N?%?7?zZ)???jwH?????b?t?z?^n??v?h|G%?? i?b?+r????????v?z)?m??????*ly?'?????g5?"???z?&j)b? b??Z?*,????X???(?? ~??zw???i?????l???q????z????l?X??)?????*,?????^j????nu?Z?*,????????"????*'???9,!zz?????x?(????z???0??h??.??+?)??w??)e?+$m????????u????e From marc at ena.com Thu Jan 22 15:28:06 2004 From: marc at ena.com (Marc Powell) Date: Thu, 22 Jan 2004 08:28:06 -0600 Subject: Status Information Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014217@mismail2.ena.com> This is proper behavior and is covered in the FAQ and in numerous posts on the list. The short answer is that assumed to be up is the default state unless a service on that host has failed at least once. Why check a host if a service on that host is running ok is the logic. -- Marc -----Original Message----- From: Gavin Bartle To: nagios-users at lists.sourceforge.net Sent: Thu Jan 22 07:55:32 2004 Subject: [Nagios-users] Status Information Hello, Bit of a newbie question but ive set up a number of hosts with a ping service to see if the are alive, some show (Host assumed to be up) and some show PING OK - Packet loss = 0%, RTA = 0.24 ms in the Status Information. Any idea why not all are showing ping ok ? Thanks ____________________________________ Gavin Bartle System Administrator Aspect Capital Limited +00 44 (0) 207 170 9721 CAUTION: This email message and any attachments transmitted with it contains information that is CONFIDENTIAL and may be privileged or otherwise protected from disclosure. If you are not the intended recipient please notify Aspect Capital Limited ("Aspect") immediately (postmaster at aspectcapital.com) and delete all copies of this email message and any attachments transmitted with it from your system. If you are not the intended recipient, any use, disclosure or copying of this email message and any attachments transmitted with it is strictly prohibited. This email message and any attachments transmitted with it cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed or incomplete. Although Aspect routinely screens for viruses, it makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. For further information about Aspect please see our website at http://www.aspectcapital.com. Aspect is authorised and regulated by the Financial Services Authority for investment business. N'??zf?-+,??????o! -*lx*'?M8>????? ??z??q?':-?NS%?7?zZ)(tm)??jwHz????b?tzz?^n?sv?h|G%S> i?b?+r??????~?v?z)'m????oe-*ly?'?????g5?"???z?&j)bz b??Z'*,????X???(?? ~S?zw???i???S?l? From christophe.belmont at c-s.fr Thu Jan 22 16:23:42 2004 From: christophe.belmont at c-s.fr (Christophe BELMONT (NOC)) Date: Thu, 22 Jan 2004 16:23:42 +0100 Subject: Question about notification logic... Message-ID: <400FEAFE.1050803@c-s.fr> Hi all, Here is a phrase taken from the Documentation: "If (1) a notification was already sent out about a problem with the host or service at some point in the past and (2) the host or service has remained in the same non-OK state that it was when the last notification went out. => Then a notification is sent out..." Here is what I have in my network: Contacts are configured to be contacted only once "notification_interval = 0". My service goes into a WARNING HARD state and sends en email to the contact. After a short while, the same service goes into a CRITICAL HARD state directly from the HARD WARNING. In this case, I would expect the contact to be re-contacted again because it is still in a Non-OK state but it is not the same Non-OK state... Nagios does not send any email !! Has someone already experienced this problem in the past and/or does someone know a workaround? Thanks in advance, Christophe. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Jan 22 16:39:12 2004 From: m.borsani at it.net (Marco Borsani) Date: Thu, 22 Jan 2004 16:39:12 +0100 Subject: NSClient on W2K In-Reply-To: <7E47A0E20913514C8F4CD1BC241A3703C32230@serv-075.icon-germany.local> References: <7E47A0E20913514C8F4CD1BC241A3703C32230@serv-075.icon-germany.local> Message-ID: Hi everybody. I need to configure NSClient on Windows 2000 systems. I installed the client but I have some problems to configure services checks on my Unix server. Have you got any installation like my one in order to suggest me something? Thanks a lot. Marco ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 16:59:39 2004 From: jbautista at intercable.net.ve (Jeyri bautista) Date: Thu, 22 Jan 2004 11:59:39 -0400 Subject: NSClient on W2K References: Message-ID: <015f01c3e100$bdd5a250$2605020a@enlacesbqt> Hi, I configured nsclient on W2K, only I unzip the nsclient ic c:\nsclient and later I from command line in c:\nsclient\pnsclient\ I execute install This show you a message satisfactory. In the nagios you should configure the services witch the check_command check_nt, and the parameters necesary for check cpu, mem or other value. Jeyri ----- Original Message ----- From: "Marco Borsani" To: Sent: Thursday, January 22, 2004 11:39 AM Subject: [Nagios-users] NSClient on W2K > Hi everybody. > > I need to configure NSClient on Windows 2000 systems. > I installed the client but I have some problems to configure services checks > on my Unix server. > Have you got any installation like my one in order to suggest me something? > > Thanks a lot. > > Marco > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 17:02:40 2004 From: Jean-Jacques.siquet at experian.fr (Jean-Jacques.siquet) Date: Thu, 22 Jan 2004 17:02:40 +0100 Subject: NSClient on W2K In-Reply-To: References: Message-ID: hi, what's the command? -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]De la part de Marco Borsani Envoy? : jeudi 22 janvier 2004 16:39 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] NSClient on W2K Hi everybody. I need to configure NSClient on Windows 2000 systems. I installed the client but I have some problems to configure services checks on my Unix server. Have you got any installation like my one in order to suggest me something? Thanks a lot. Marco ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 17:46:30 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 22 Jan 2004 17:46:30 +0100 Subject: (no subject) Message-ID: <5.0.2.1.2.20040122174338.02314080@195.220.107.3> hi i want to modify the output of plugins which is limited to 80 characters i find in tthe source code it s defined in base/checks.c and base/utils.c i am not programmer if i change the 80 in this two files does it work fine if someone has any idea about this question thanks basile ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 17:51:00 2004 From: cgill at newworldapps.com (Chris Gill) Date: Thu, 22 Jan 2004 11:51:00 -0500 Subject: File format for commands Message-ID: <211FA8F7D88B7A43AA24C138502259780608E1@nwa-dcsrv-01.newworldapps.com> Hello all, We're trying to put together a script that will give us daily reports on which services have checks or notifications diabled. I've been looking through the files in the var directory, but I'm not seeing anything either there or in the documentation about how this data is stored. Where does this data go? Thanks. ----------------------------------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 (Cell/Business) -------------- next part -------------- An HTML attachment was scrubbed... URL: From james_kelty at ielogic.com Thu Jan 22 18:28:11 2004 From: james_kelty at ielogic.com (James Kelty) Date: Thu, 22 Jan 2004 09:28:11 -0800 Subject: contrib check_snmp_disk_monitor.pl Message-ID: Is anyone using the check_snmp_disk_monitor.pl script? And, if so, have you noticed that it consistenly reports 2-5 % LESS utilization than is actually used (on Linux anyway)? I am using the ucd-snmp 4.2.5 that ships with RHEL AS v2.1. Also, can someone point me to a better snmp disk monitor than this one? Thanks a lot! -James -------------- next part -------------- An HTML attachment was scrubbed... URL: From fernandosc at planetarium.com.br Thu Jan 22 19:31:55 2004 From: fernandosc at planetarium.com.br (Fernando dos Santos Camargo) Date: Thu, 22 Jan 2004 16:31:55 -0200 Subject: Host up, services down.help me Message-ID: <1074796315.4010171b35bb4@webmail.planetarium.com.br> Hello people, i have Nagios Monitoring my network and my service definition is like this: define service{ name generico active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 check_period 24x7 notification_period 24x7 notification_interval 120 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups telecom notification_options w,u,c,r register 0 } My hosts definition is this: define host{ name generico notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 checks_enabled 1 check_command check-host-alive max_check_attempts 10 notification_interval 60 notification_period 24x7 notification_options d,u,r register 0 } I will explain my problem: I have one HOST and its SERVICES is DOWN, but the HOST is not down( i tested a ping and its ok), therefore nagios should not include the HOST at "hosts down list", but nagios is including this host and mark it as a down host. What would i have to do? I think that nagios should include the host marking it as a DOWN HOST only if the host dont respond. Thanks! Fernando dos Santos Camargo ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 19:37:56 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 22 Jan 2004 12:37:56 -0600 Subject: parents question again Message-ID: <20040122183756.91146.qmail@restricted.dyndns.org> Good day guys, Assuming we have this kind of mesh wan topology: How are we going to configure parents so we can have a similar output in statusmap? Thanks. Neil server farm +--+ +--+ +--+ | | | | | | | | | | | | | | | | | | +--+ +--+ +--+ | | | ------++--+---+--- | /-\ Nagios server | A | +-----+ server farm /\-/\ | | ++-+ ++-+ +-++ // | \\\ | | | | | | | | / | \ \ | | | | | | | | // | \ \\ | | | | | | | | | \ \\ | | +-++ +-++ ++-+ / | \ \ +-+---+ | | | // | \ \\ | | |+--+ / | \ \ | | || // | \ \\ | | || /-\ | \ /-\ | ---+----+++ B +---------+----------\-------+ C +-------+---------- \-/ | \ \-/ \ | \ / \ | \ / \\ | \ / \ | \ / \ | /-\ \ | ---+ E | \/-\ ------ \-/ ------+---------+ D +-- | | \-/ ----+-+--+-----+------- | | | | ----+-+--+-----+------- ++-+ ++-+ +-++ | | | | | | | | | ++-+ ++-+ +-++ | | | | | | | | | | | | | | | | | | | | | | | | +--+ +--+ +--+ | | | | | | server farm +--+ +--+ +--+ server farm ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwichman at zantaz.com Thu Jan 22 20:22:05 2004 From: gwichman at zantaz.com (Gerald Wichmann) Date: Thu, 22 Jan 2004 11:22:05 -0800 Subject: Host Down Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB07470325@zanexch.zantaz.com> This is something else entirely. I've read the documentation and have a distributed environment running 4 nagios servers for over a year. Needless to say if I manually run check_host_alive according to checkcommand.cfg from the distributed nagios server that monitors the new hosts I've added it comes back as the host being OK. So why then is Nagios reporting the server down while all the services report up? There's something going on here I'm just not catching.. Probably because I've got half a dozen other things (non nagios related) I'm trying to get done at the same time. Gerald -----Original Message----- From: Paul L. Allen [mailto:pla at softflare.com] Sent: Wednesday, January 21, 2004 9:36 AM To: Gerald Wichmann Cc: Nagios (E-mail) Subject: Re: Host Down Gerald Wichmann writes: > The Host itself though seems to think it's down. How do I troubleshoot > why this might be occurring? Reading the documentation is always a good start. That would lead you to mention of check-host-alive. From there, you have an answer. -- Paul Allen Softflare Support This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 20:23:54 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 22 Jan 2004 14:23:54 -0500 (EST) Subject: parents question again In-Reply-To: <20040122183756.91146.qmail@restricted.dyndns.org> References: <20040122183756.91146.qmail@restricted.dyndns.org> Message-ID: On Thu, 22 Jan 2004, Neil wrote: > Good day guys, > > Assuming we have this kind of mesh wan topology: > > How are we going to configure parents so we can have a similar output in > statusmap? Your statusmap output is unlikely to look the same. The statusmap shows you a dependancy tree, not a network map. There really is only one way to configure parents -- for each host, indicate which other host(s) are directly upstream toward the Nagios server. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Jan 22 20:34:20 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 22 Jan 2004 11:34:20 -0800 Subject: parents question again In-Reply-To: References: Message-ID: <206647363.1074771260@cadabra-dsl.stanford.edu> --On Thursday, January 22, 2004 2:23 PM -0500 Matt Pounsett wrote: > On Thu, 22 Jan 2004, Neil wrote: > >> Good day guys, >> >> Assuming we have this kind of mesh wan topology: >> >> How are we going to configure parents so we can have a similar output in >> statusmap? > > Your statusmap output is unlikely to look the same. The statusmap shows > you a dependancy tree, not a network map. There really is only one way > to configure parents -- for each host, indicate which other host(s) are > directly upstream toward the Nagios server. And as usual, this dependency tree fails immediately if you have multiple nagios servers for redundancy purposes, that are located in disparate locations (part of the whole idea behind redundancy). I seriously think how parents are handled in Nagios need to be re-evaluated to truly handle multiple-nagios environments. --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 20:39:57 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 22 Jan 2004 14:39:57 -0500 (EST) Subject: parents question again In-Reply-To: <206647363.1074771260@cadabra-dsl.stanford.edu> References: <206647363.1074771260@cadabra-dsl.stanford.edu> Message-ID: On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: > And as usual, this dependency tree fails immediately if you have multiple > nagios servers for redundancy purposes, that are located in disparate > locations (part of the whole idea behind redundancy). I seriously think > how parents are handled in Nagios need to be re-evaluated to truly handle > multiple-nagios environments. Well.. yeah. If your Nagios servers are in completely different locations on your network, then the dependancy tree will look completely different for many hosts. If you want some dependancy scheme that will allow you to use identical configuration files for Nagios servers in disparate locations, I'm sure the Nagios developers would love to hear your ideas. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Jan 22 20:46:39 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 22 Jan 2004 11:46:39 -0800 Subject: parents question again In-Reply-To: References: Message-ID: <207387076.1074771999@cadabra-dsl.stanford.edu> --On Thursday, January 22, 2004 2:39 PM -0500 Matt Pounsett wrote: > On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: > >> And as usual, this dependency tree fails immediately if you have >> multiple nagios servers for redundancy purposes, that are located in >> disparate locations (part of the whole idea behind redundancy). I >> seriously think how parents are handled in Nagios need to be >> re-evaluated to truly handle multiple-nagios environments. > > Well.. yeah. If your Nagios servers are in completely different > locations on your network, then the dependancy tree will look completely > different for many hosts. > > If you want some dependancy scheme that will allow you to use identical > configuration files for Nagios servers in disparate locations, I'm sure > the Nagios developers would love to hear your ideas. Oh, I already posted my idea. ;) Have the nagios.cfg file define the parent for the nagios server. As long as every host/switch/router has their parents defined, nagios could easily build the map based on who its parent is (what switch it is connected to), regardless of where it is located... Then the hosts configuration files can be the same across multiple nagios servers. You almost get network dependency map too. :P --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 20:46:15 2004 From: marc at ena.com (Marc Powell) Date: Thu, 22 Jan 2004 13:46:15 -0600 Subject: Host up, services down.help me Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1B9@mismail2.ena.com> On Thursday, January 22, 2004 12:32 PM, Fernando dos Santos Camargo shared with us: > Hello people, i have Nagios Monitoring my network and my service > definition is like this: > define service{ > name generico > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > check_period 24x7 > notification_period 24x7 > notification_interval 120 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > is_volatile 0 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups telecom > notification_options w,u,c,r > register 0 > } This is not a complete service definition, it's a service template (register 0) _and_ it's missing a check_command and other items. A service template can be created to be applied to a valid service definition for inheritance reasons. > My hosts definition is this: > > define host{ > name generico > notifications_enabled 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > checks_enabled 1 > check_command check-host-alive > max_check_attempts 10 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > register 0 > } > Again, not a host definition but a host template. Same comments as above but you do specify a check_command here (although it's never used unless this template is applied to a valid host definition). > I will explain my problem: > I have one HOST and its SERVICES is DOWN, but the HOST is not down( i > tested a ping and its ok), therefore nagios should not include the > HOST at "hosts down list", but nagios is including this host and mark > it as a down host. What would i have to do? > I think that nagios should include the host marking it as a DOWN HOST > only if the host dont respond. Nagios does what you expect it to do by default. If a service on a host fails, nagios will execute the host check_command to verify the state of the host. Given the information presented above, I am surprised that you're seeing any information at all for the host and service. Is there more to your host and service configs that haven't been shared? I would recommend that you read the following URL's for clarification -- http://nagios.sourceforge.net/docs/1_0/templaterecursion.html http://nagios.sourceforge.net/docs/1_0/xodtemplate.html -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 20:51:23 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 22 Jan 2004 14:51:23 -0500 (EST) Subject: parents question again In-Reply-To: <207387076.1074771999@cadabra-dsl.stanford.edu> References: <207387076.1074771999@cadabra-dsl.stanford.edu> Message-ID: On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: > Oh, I already posted my idea. ;) Have the nagios.cfg file define the parent > for the nagios server. As long as every host/switch/router has their > parents defined, nagios could easily build the map based on who its parent > is (what switch it is connected to), regardless of where it is located... > Then the hosts configuration files can be the same across multiple nagios > servers. You almost get network dependency map too. :P Not so. Take this simple case as an example: Nagios Server A | | | Host ii --- Switch 1 ----- Host i | | | Host iii ---- Switch 2 ----- Host iv | | | Nagios Server B The perspective of Nagios Server A is that Switch 1 is the parent of Switch 2. Nagios Server B's perspective is that Switch 2 is the parent of Switch 1. Simply telling each Nagios server which switch they're connected to won't adjust the dependancies as you appear to desire. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 20:53:20 2004 From: marc at ena.com (Marc Powell) Date: Thu, 22 Jan 2004 13:53:20 -0600 Subject: parents question again Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1BA@mismail2.ena.com> On Thursday, January 22, 2004 1:34 PM, Quanah Gibson-Mount shared with us: > --On Thursday, January 22, 2004 2:23 PM -0500 Matt Pounsett > wrote: > > > On Thu, 22 Jan 2004, Neil wrote: > > > > > Good day guys, > > > > > > Assuming we have this kind of mesh wan topology: > > > > > > How are we going to configure parents so we can have a similar > > > output in statusmap? > > > > Your statusmap output is unlikely to look the same. The statusmap > > shows you a dependancy tree, not a network map. There really is > > only one way to configure parents -- for each host, indicate which > > other host(s) are directly upstream toward the Nagios server. > > And as usual, this dependency tree fails immediately if you have > multiple nagios servers for redundancy purposes, that are located in > disparate locations (part of the whole idea behind redundancy). I > seriously think how parents are handled in Nagios need to be > re-evaluated to truly handle multiple-nagios environments. Quanah - You continually disparage the developers on this subject but I have yet to see any kind of proposal from you for a workable alternative solution. This sounds like a great opportunity for you to put together a proposal that details what you believe the correct behaviour should be and pseudocode/logic for how it would be implemented from configuration to notification to display. A documented patch would be even better. In other words, if you don't like the current behavior, do something about it. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Jan 22 20:54:49 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 22 Jan 2004 11:54:49 -0800 Subject: parents question again In-Reply-To: References: Message-ID: <207876380.1074772489@cadabra-dsl.stanford.edu> --On Thursday, January 22, 2004 2:51 PM -0500 Matt Pounsett wrote: > On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: > >> Oh, I already posted my idea. ;) Have the nagios.cfg file define the >> parent for the nagios server. As long as every host/switch/router has >> their parents defined, nagios could easily build the map based on who >> its parent is (what switch it is connected to), regardless of where it >> is located... Then the hosts configuration files can be the same across >> multiple nagios servers. You almost get network dependency map too. :P > > Not so. Take this simple case as an example: > > Nagios Server A > | > | > | > Host ii --- Switch 1 ----- Host i > | > | > | > Host iii ---- Switch 2 ----- Host iv > | > | > | > Nagios Server B > > > The perspective of Nagios Server A is that Switch 1 is the parent of > Switch 2. Nagios Server B's perspective is that Switch 2 is the parent of > Switch 1. Simply telling each Nagios server which switch they're > connected to won't adjust the dependancies as you appear to desire. Matt, Okay, good point, you don't get the network dependency there. ;) You still get the correct mapping for the two nagios servers though, which is really what I want more than anything. --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 20:58:58 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 22 Jan 2004 14:58:58 -0500 (EST) Subject: parents question again In-Reply-To: <207876380.1074772489@cadabra-dsl.stanford.edu> References: <207876380.1074772489@cadabra-dsl.stanford.edu> Message-ID: On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: > Okay, good point, you don't get the network dependency there. ;) You still > get the correct mapping for the two nagios servers though, which is really > what I want more than anything. Right.. but if you're not getting dependancies, then you've broken the way the parent/child relationship is intended to work. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Jan 22 21:02:21 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 22 Jan 2004 12:02:21 -0800 Subject: parents question again In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A1BA@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1BA@mismail2.ena.com> Message-ID: <208328500.1074772941@cadabra-dsl.stanford.edu> --On Thursday, January 22, 2004 1:53 PM -0600 Marc Powell wrote: > You continually disparage the developers on this subject but I have yet > to see any kind of proposal from you for a workable alternative > solution. This sounds like a great opportunity for you to put together a > proposal that details what you believe the correct behaviour should be > and pseudocode/logic for how it would be implemented from configuration > to notification to display. A documented patch would be even better. > > In other words, if you don't like the current behavior, do something > about it. Marc, Hm, I'm sorry if people think I'm disparaging Nagios -- I love how it works overall, and it has become our main monitoring software here @ Stanford. And I have offered in idea a solution that at least on the surface appears that it would have a minimal impact on how nagios already operates overall, which is to simply tell nagios what its parent switch is. I'd be happy to poke at the source at some point myself, once I get past working with OpenLDAP. --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Jan 22 21:02:03 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 22 Jan 2004 12:02:03 -0800 Subject: parents question again In-Reply-To: References: Message-ID: <208310554.1074772923@cadabra-dsl.stanford.edu> --On Thursday, January 22, 2004 2:58 PM -0500 Matt Pounsett wrote: > On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: > >> Okay, good point, you don't get the network dependency there. ;) You >> still get the correct mapping for the two nagios servers though, which >> is really what I want more than anything. > > Right.. but if you're not getting dependancies, then you've broken the way > the parent/child relationship is intended to work. Well, you still won't get this with how nagios currently works right now, anyway, because you draw the parent/child relationships as they go to Nagios, not how they are dependant on one another. Using your own example, if my one and only nagios server is on switch 2, which is dependant on switch 1, switch 2 would still need to be the parent of switch 1 for Nagios to function correctly. --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 22 21:04:20 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 22 Jan 2004 15:04:20 -0500 (EST) Subject: parents question again In-Reply-To: <208310554.1074772923@cadabra-dsl.stanford.edu> References: <208310554.1074772923@cadabra-dsl.stanford.edu> Message-ID: On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: > > > --On Thursday, January 22, 2004 2:58 PM -0500 Matt Pounsett > wrote: > > > On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: > > > >> Okay, good point, you don't get the network dependency there. ;) You > >> still get the correct mapping for the two nagios servers though, which > >> is really what I want more than anything. > > > > Right.. but if you're not getting dependancies, then you've broken the way > > the parent/child relationship is intended to work. > > Well, you still won't get this with how nagios currently works right now, > anyway, because you draw the parent/child relationships as they go to > Nagios, not how they are dependant on one another. Using your own example, > if my one and only nagios server is on switch 2, which is dependant on > switch 1, switch 2 would still need to be the parent of switch 1 for Nagios > to function correctly. Huh? Yes, you do get proper dependancy relationships right now. If your one and only nagios server is connected to switch 2, then switch 2 is the parent of switch 1. Accessing switch 2 from the nagios server is not dependant in any way on switch 1 being accessible. -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Jan 22 21:12:14 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 22 Jan 2004 12:12:14 -0800 Subject: parents question again In-Reply-To: References: Message-ID: <208921322.1074773534@cadabra-dsl.stanford.edu> --On Thursday, January 22, 2004 3:04 PM -0500 Matt Pounsett wrote: >> > On Thu, 22 Jan 2004, Quanah Gibson-Mount wrote: >> > >> >> Okay, good point, you don't get the network dependency there. ;) You >> >> still get the correct mapping for the two nagios servers though, >> >> which is really what I want more than anything. >> > >> > Right.. but if you're not getting dependancies, then you've broken the >> > way the parent/child relationship is intended to work. >> >> Well, you still won't get this with how nagios currently works right >> now, anyway, because you draw the parent/child relationships as they go >> to Nagios, not how they are dependant on one another. Using your own >> example, if my one and only nagios server is on switch 2, which is >> dependant on switch 1, switch 2 would still need to be the parent of >> switch 1 for Nagios to function correctly. > > Huh? > > Yes, you do get proper dependancy relationships right now. If your one > and only nagios server is connected to switch 2, then switch 2 is the > parent of switch 1. Accessing switch 2 from the nagios server is not > dependant in any way on switch 1 being accessible. I think we are talking about dependencies in different ways. ;) If switch2 is wired through switch 1 with a cross-over cable, it is in many ways dependant on switch 1 for general functionality, which is the type of dependency I thought you were talking of in your diagram. Yes, you get proper parent/child relationships in relation to Nagios, but you don't get overall network dependencies is my point. Anyway, if you can specify what switch a given Nagios server is connected to, with everything else having its parents defined, then Nagios should be able to easily build the parent/child maps from its point of view, regardless of where it is attached into the network. --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From quanah at stanford.edu Thu Jan 22 21:15:14 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Thu, 22 Jan 2004 12:15:14 -0800 Subject: parents question again In-Reply-To: <208921322.1074773534@cadabra-dsl.stanford.edu> References: <208921322.1074773534@cadabra-dsl.stanford.edu> Message-ID: <209101251.1074773714@cadabra-dsl.stanford.edu> --On Thursday, January 22, 2004 12:12 PM -0800 Quanah Gibson-Mount wrote: > > I think we are talking about dependencies in different ways. ;) If > switch2 is wired through switch 1 with a cross-over cable, it is in many > ways dependant on switch 1 for general functionality, which is the type > of dependency I thought you were talking of in your diagram. Yes, you > get proper parent/child relationships in relation to Nagios, but you > don't get overall network dependencies is my point. Anyway, if you can > specify what switch a given Nagios server is connected to, with > everything else having its parents defined, then Nagios should be able to > easily build the parent/child maps from its point of view, regardless of > where it is attached into the network. Actually, never mind, after a few seconds more thought I understand what you are saying about 1/2's relationships to each other.. Hm.. I'll have to think a little more on that. ;) --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgarcias at ing-coam.com.mx Thu Jan 22 21:09:27 2004 From: jgarcias at ing-coam.com.mx (Jose Garcia Sabbagh) Date: Thu, 22 Jan 2004 14:09:27 -0600 Subject: NRPE, HP-UX: Are we allow to connect to the host? Message-ID: <3BD5FCC8AC38C340B18D727F50133F5948F8D5@exchtlalpan.ing-coam.com.mx> Hi all! I trying to get the correct response from the nrpe agent installed on HP-UX 11. The agent is responding correctly local queries but when the query is from the Nagios console the response is: CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? Any ideas? Thank you very much. Jos? Garc?a Sabbagh Seguridad Inform?tica (5255) 5169.2500 ext. 3389 La informaci?n contenida en este correo electr?nico es confidencial y est? legalmente protegida. Est? dirigido solamente a la direcci?n de correo se?alada. El acceso a este correo electr?nico por cualquier otra persona, No est? autorizado. Si Ud. no es el receptor deliberado de este correo electr?nico, cualquier difusi?n, copia o distribuci?n est? prohibida y puede ser ilegal.? Si lo ha recibido por error, por favor notifique al emisor e inmediatamente? b?rrelo de forma permanente y destruya cualquier copia impresa. En caso de que el correo est? dirigido a alguno de nuestros clientes, la opini?n o recomendaci?n contenida est? sujeta a las condiciones regulatorias de ING que resulten aplicables o a los acuerdos comerciales suscritos con el cliente. ? The information in this Internet e-mail is confidential and may be legally privileged. It is intended solely for the addressee(s). Access to this Internet e-mail by anyone else is unauthorized. If you are not the intended recipient of this e-mail, any disclosure, copying, or distribution of it is prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender and immediately and permanently delete it and destroy any copies of it that were printed out.? When addressed to our clients any opinions or advice contained in this Internet e-mail is subject to the terms and conditions expressed in any applicable governing ING terms of business or client engagement letter. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sayler at speedsite.com Thu Jan 22 21:18:47 2004 From: sayler at speedsite.com (Matthew Sayler) Date: Thu, 22 Jan 2004 14:18:47 -0600 Subject: parents question again In-Reply-To: References: <207387076.1074771999@cadabra-dsl.stanford.edu> Message-ID: <20040122201847.GA1871@cesum.speedsite.com> On Thu, Jan 22, 2004 at 02:51:23PM -0500, Matt Pounsett wrote: > The perspective of Nagios Server A is that Switch 1 is the parent of Switch 2. > Nagios Server B's perspective is that Switch 2 is the parent of Switch 1. > Simply telling each Nagios server which switch they're connected to won't > adjust the dependancies as you appear to desire. As far as I'm concerned, the only way to do this properly is to skip "parent" and define links A <---> B <---> C ^ | | | v D Hosts and connections (edges) are defined. Something indicates the edge that connects nagios to the graph: A <-x-> B <-y-> C ^ | z | v D <-w-> Nagios Nagios builds a spanning tree over the graph (borrow the aglo from your favorite CS treatise) and you have instant parent relationships. One interesting correlary of this approach is that you could define IPs for (e.g.) B's interface with Z, so that you're always contacting the IP "closest" to you viz-a-viz your graph. I can't see a way that any solution not involving biderectional edges will work. All of this is much more complicated than the current scheme, though. Regards, Matt Sayler -- /* Matt Sayler -- Sr. Network Engineer, Speedsite Online * (773) 394-9300 -- sayler at speedsite.com */ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Jan 22 23:40:53 2004 From: noah at mac.com (Noah Leaman) Date: Thu, 22 Jan 2004 14:40:53 -0800 Subject: NSCA daemon never writes to nagios.cmd or nsca.dump In-Reply-To: <7AA0026C-4CAE-11D8-8E22-00039345125C@mac.com> References: <7AA0026C-4CAE-11D8-8E22-00039345125C@mac.com> Message-ID: <08ECDA5B-4D2C-11D8-BA32-00039345125C@mac.com> Was wondering if anyone had any acknowledgment concerning my problem with NSCA and if so could you shoot me an email? I'm sweatin' it 'cause I'm on a deadline and right now I have to report that nagios doesn't work on a fundamental level in our environment. I was hoping to replace a HP OpenView installation of about 1500 hosts but if the distributed nagios setup functionality has such problems, then looks like nagios is out. BTW, I cross posted to the devel list because of that "allowed_hosts" quirkiness... -- Noah On Jan 21, 2004, at 11:42 PM, Noah Leaman wrote: > A little more info... I get the same problem even when doing a > send_nsca on the same host that has the nsca daemon running on it: > > (from syslog) > > Jan 21 23:21:01 bell nsca[22499]: Handling the connection... > Jan 21 23:21:02 bell nsca[22499]: End of connection... > Jan 21 23:22:01 bell nsca[22499]: Handling the connection... > Jan 21 23:22:01 bell nsca[22499]: End of connection... > > ... is this a bug with nsca on OS X 10.3? Any one else running nsca > 2.4 on 10.3 or seen this problem on any platform? I saw one other > person post this same issue but there was no response then. I am not > sure what platform he was on. > > My nsca.cfg: > > server_port=5667 > allowed_hosts= > nsca_user=nagios > nsca_group=nagios > debug=1 > command_file=/Users/nagios/var/rw/nagios.cmd > alternate_dump_file=/Users/nagios/var/rw/nsca.dump > password= > aggregate_writes=0 > append_to_file=0 > max_packet_age=30 > decryption_method=1 > > > I tried sending using Jason Lancaster's perl version of send_nsca but > I just get the same thing... nothing ever written out from the nsca > daemon. Seems the problem is the daemon itself, not the send_nsca. I > also tried the current CVS > (http://nagios.sourceforge.net/download/cvs/nsca-cvs.tar.gz) but same > thing. > > Incidentally, with the CVS snapshot (version 2.5?) I kept getting this > error in syslog when trying to start nsca: > > Jan 21 23:09:47 bell nsca[22258]: Unknown option specified in config > file '/Users/nagios/nsca/nsca.cfg' - Line 2 > > Line 2 is my allowed_hosts declaration. I tried both hostnames, and IP > addresses as the changlog mentioned that it supported hostnames now. I > had to comment line 2 out and it was able to start the 2.5 version. > > -- > Noah > > > On Jan 21, 2004, at 4:07 PM, Noah Leaman wrote: > >> I forgot to provide platform/version stats... >> >> NSCA 2.4 >> Nagios 1.1 on Mac OS X 10.3.2 (on both central and distributed Nagios >> servers) >> >> If anyone has any indication of where my trouble could be it would be >> greatly appreciated. >> >> -- >> Noah >> >> On Jan 21, 2004, at 1:33 AM, Noah Leaman wrote: >> >>> Help! >>> >>> I cannot get the NSCA daemon to write anything to either the >>> nagios.cmd or the nsca.dump files. >>> They are both defined in the nsca.cfg like so: >>> >>> command_file=/Users/nagios/var/rw/nagios.cmd >>> alternate_dump_file=/Users/nagios/var/rw/nsca.dump >>> >>> I turned on debug (debug=1) and all I get in the syslog is this: >>> >>> Jan 21 01:19:00 bell nsca[15791]: Handling the connection... >>> Jan 21 01:19:00 bell nsca[15791]: End of connection... >>> Jan 21 01:20:00 bell nsca[15791]: Handling the connection... >>> Jan 21 01:20:00 bell nsca[15791]: End of connection... >>> Jan 21 01:21:00 bell nsca[15791]: Handling the connection... >>> Jan 21 01:21:00 bell nsca[15791]: End of connection... >>> >>> this is for each time the send_nsca is submitted on the remote >>> (distributed) nagios host. nothing ever gets written to nagios.cmd >>> and nsca.dump is never even created. The fact that nsca.dump never >>> gets created seems like a clue of some sort. I do have external >>> commands enabled and they work in all other respect. the nsca daemon >>> is running as the user nagios and can write to nagios.cmd and the >>> directory itt's in. >>> >>> Any ideas what could be wrong? >>> >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn From pla at softflare.com Thu Jan 22 23:43:34 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 22 Jan 2004 22:43:34 +0000 Subject: Host Down In-Reply-To: <12C7D768CC8ED4118A9200508BEEC6FB07470325@zanexch.zantaz.com> References: <12C7D768CC8ED4118A9200508BEEC6FB07470325@zanexch.zantaz.com> Message-ID: <20040122224335.23629.qmail@minnow.softflare.net> Gerald Wichmann writes: > Needless to say if I manually run check_host_alive according to > checkcommand.cfg from the distributed nagios server that monitors the > new hosts I've added it comes back as the host being OK. No, it wasn't needless to say, because you asked for information on how to troubleshoot the problem. Since you didn't say you'd manually run check_host_alive, which is the very first stage in troubleshooting, I pointed you in that direction. I'd guess a high proportion of problems with hosts being reported down are because either the host is not pingable from the nagios server (router or firewall blocking pings) or because somebody has redefined check_host_alive to be something silly. So checking this really is the very first stage in determining what might be wrong and your post did not say you'd eliminated that as the cause. Sad to say, a lot of posts here indicate that a manual check_host_alive is not something that many people would think to perform (or reading the documentation, for that matter). > There's something going on here I'm just not catching. Are there any services down on the host that is shown as down? My understanding is that as soon as a service is reported as down Nagios performs a host test on the basis that the host could have died but it won't immediately know that all services on the host are down because their checks could be 5 or 10 minutes away. An immediate host test is a fast way of finding out if it's a service failure or a host failure. That still doesn't explain your problem, if your manual check_host_alive test actually worked for the host. Have you checked very carefully that what you are doing manually really is what your configuration causes to happen on a check_host_alive? Are you manually using an IP address where your configuration uses a domain name or vice versa? Did you run that check from the nagios server itself or from another machine? -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 00:12:39 2004 From: marc at ena.com (Marc Powell) Date: Thu, 22 Jan 2004 17:12:39 -0600 Subject: NSCA daemon never writes to nagios.cmd or nsca.dump Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1BB@mismail2.ena.com> I'm not familiar with issues on OSX in particular but the distributed model does work on other unices and the type of error you're seeing is usually related to security restrictions either within nsca or inetd/TCP wrappers (or the OSX equivalent). If you have debug turned on (and it looks like you do), you would see a lot more information in your syslog if it was progressing beyond that initial IP/password/encryption check. If you're really desparate, you might try to find an OSX equivalent of strace/truss to actually attach to the process and see what it's doing. -- Marc On Thursday, January 22, 2004 4:41 PM, Noah Leaman shared with us: > Was wondering if anyone had any acknowledgment concerning my problem > with NSCA and if so could you shoot me an email? I'm sweatin' it > 'cause I'm on a deadline and right now I have to report that nagios > doesn't work on a fundamental level in our environment. I was hoping > to replace a HP OpenView installation of about 1500 hosts but if the > distributed nagios setup functionality has such problems, then looks > like nagios is out. > > BTW, I cross posted to the devel list because of that "allowed_hosts" > quirkiness... > > > > A little more info... I get the same problem even when doing a > > send_nsca on the same host that has the nsca daemon running on it: > > > > (from syslog) > > > > Jan 21 23:21:01 bell nsca[22499]: Handling the connection... > > Jan 21 23:21:02 bell nsca[22499]: End of connection... > > Jan 21 23:22:01 bell nsca[22499]: Handling the connection... > > Jan 21 23:22:01 bell nsca[22499]: End of connection... > > > > ... is this a bug with nsca on OS X 10.3? Any one else running nsca > > 2.4 on 10.3 or seen this problem on any platform? I saw one other > > person post this same issue but there was no response then. I am > > not sure what platform he was on. > > > > My nsca.cfg: > > > > server_port=5667 > > allowed_hosts= > > nsca_user=nagios > > nsca_group=nagios > > debug=1 > > command_file=/Users/nagios/var/rw/nagios.cmd > > alternate_dump_file=/Users/nagios/var/rw/nsca.dump > > password= > > aggregate_writes=0 > > append_to_file=0 > > max_packet_age=30 > > decryption_method=1 > > > > > > I tried sending using Jason Lancaster's perl version of send_nsca > > but I just get the same thing... nothing ever written out from the > > nsca daemon. Seems the problem is the daemon itself, not the > > send_nsca. I also tried the current CVS > > (http://nagios.sourceforge.net/download/cvs/nsca-cvs.tar.gz) but > > same thing. > > > > Incidentally, with the CVS snapshot (version 2.5?) I kept getting > > this error in syslog when trying to start nsca: > > > > Jan 21 23:09:47 bell nsca[22258]: Unknown option specified in config > > file '/Users/nagios/nsca/nsca.cfg' - Line 2 > > > > Line 2 is my allowed_hosts declaration. I tried both hostnames, and > > IP addresses as the changlog mentioned that it supported hostnames > > now. I had to comment line 2 out and it was able to start the 2.5 > > version. > > > > -- > > Noah > > > > > > On Jan 21, 2004, at 4:07 PM, Noah Leaman wrote: > > > > > I forgot to provide platform/version stats... > > > > > > NSCA 2.4 > > > Nagios 1.1 on Mac OS X 10.3.2 (on both central and distributed > > > Nagios servers) > > > > > > If anyone has any indication of where my trouble could be it > > > would be greatly appreciated. > > > > > > -- > > > Noah > > > > > > On Jan 21, 2004, at 1:33 AM, Noah Leaman wrote: > > > > > > > Help! > > > > > > > > I cannot get the NSCA daemon to write anything to either the > > > > nagios.cmd or the nsca.dump files. > > > > They are both defined in the nsca.cfg like so: > > > > > > > > command_file=/Users/nagios/var/rw/nagios.cmd > > > > alternate_dump_file=/Users/nagios/var/rw/nsca.dump > > > > > > > > I turned on debug (debug=1) and all I get in the syslog is this: > > > > > > > > Jan 21 01:19:00 bell nsca[15791]: Handling the connection... > > > > Jan 21 01:19:00 bell nsca[15791]: End of connection... > > > > Jan 21 01:20:00 bell nsca[15791]: Handling the connection... > > > > Jan 21 01:20:00 bell nsca[15791]: End of connection... > > > > Jan 21 01:21:00 bell nsca[15791]: Handling the connection... > > > > Jan 21 01:21:00 bell nsca[15791]: End of connection... > > > > > > > > this is for each time the send_nsca is submitted on the remote > > > > (distributed) nagios host. nothing ever gets written to > > > > nagios.cmd > > > > and nsca.dump is never even created. The fact that nsca.dump > > > > never > > > > gets created seems like a clue of some sort. I do have external > > > > commands enabled and they work in all other respect. the nsca > > > > daemon > > > > is running as the user nagios and can write to nagios.cmd and > > > > the > > > > directory itt's in. > > > > > > > > Any ideas what could be wrong? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 00:15:06 2004 From: marc at ena.com (Marc Powell) Date: Thu, 22 Jan 2004 17:15:06 -0600 Subject: Host Down Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1BC@mismail2.ena.com> On Thursday, January 22, 2004 4:44 PM, Paul L. Allen shared with us: > Gerald Wichmann writes: > > > Needless to say if I manually run check_host_alive according to > > checkcommand.cfg from the distributed nagios server that monitors > > the new hosts I've added it comes back as the host being OK. [snip] > That still doesn't explain your problem, if your manual > check_host_alive test actually worked for the host. Have you checked > very carefully that what you are doing manually really is what your > configuration causes to happen on a check_host_alive? Are you > manually using an IP address where your configuration uses a domain > name or vice versa? > Did you run that check from the nagios server itself or from another > machine? Another possibility is that the check_host_alive command isn't executable as the nagios user (i.e. ping isn't suid or executable by nagios). -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mohammad at cerberian.com Fri Jan 23 00:22:44 2004 From: mohammad at cerberian.com (Mohammad Ghaeini) Date: Thu, 22 Jan 2004 16:22:44 -0700 Subject: Integrating Nagios with MRTG Message-ID: <200401221622.44506.mohammad@cerberian.com> Is there any documentation on how to integrate Nagios with MRTG? I would appreciate any advice on this subject. Thank you. -Ghaeini ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Fri Jan 23 00:45:39 2004 From: noah at mac.com (Noah Leaman) Date: Thu, 22 Jan 2004 15:45:39 -0800 Subject: NSCA daemon never writes to nagios.cmd or nsca.dump In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A1BB@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1BB@mismail2.ena.com> Message-ID: <152CBC2B-4D35-11D8-BA32-00039345125C@mac.com> On Jan 22, 2004, at 3:12 PM, Marc Powell wrote: > I'm not familiar with issues on OSX in particular but the distributed > model does work on other unices and the type of error you're seeing is > usually related to security restrictions either within nsca or > inetd/TCP > wrappers (or the OSX equivalent). If you have debug turned on (and it > looks like you do), you would see a lot more information in your syslog > if it was progressing beyond that initial IP/password/encryption check. > > If you're really desparate, you might try to find an OSX equivalent of > strace/truss to actually attach to the process and see what it's doing. > > -- > Marc > > Looks like ktrace is on OS X... going to use that and I will followup... -- noah ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jan 23 01:27:47 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 23 Jan 2004 11:27:47 +1100 Subject: BB compared to Nagios - concluding remarks. In-Reply-To: <200401221958.i0MJw4Cr023456@flora.securenet.com.au>; from nagios-users-request@lists.sourceforge.net on Thu, Jan 22, 2004 at 11:54:01AM -0800 References: <200401221958.i0MJw4Cr023456@flora.securenet.com.au> Message-ID: <20040123112739.B13041@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, On Thu, Jan 22, 2004 at 11:54:01AM -0800, nagios-users-request at lists.sourceforge.net wrote: .. bye bye Multipart and Base64. Please gentle writers, configure your MUA - what you write your email with - so that it only sends out text. Why ? so that _digest_ readers don't have to skip ' > From: "Gavin Bartle" > To: > Subject: [Nagios-users] Status Information > > > SGVsbG8sDQoNCkJpdCBvZiBhIG5ld2JpZSBxdWVzdGlvbiBidXQgaXZlIHNldCB1cCBhIG51bWJl > ciBvZiBob3N0cyB3aXRoIGEgcGluZyBzZXJ2aWNlIHRvIHNlZSBpZiB0aGUgYXJlIGFsaXZlLCBz > b21lIHNob3cgKEhvc3QgYXNzdW1lZCB0byBiZSB1cCkgYW5kIHNvbWUgIHNob3cgUElORyBPSyAt > IFBhY2tldCBsb3NzID0gMCUsIFJUQSA9IDAuMjQgbXMgaW4gdGhlIFN0YXR1cyBJbmZvcm1hdGlv ' before getting to something that a text MUA can read. > Message: 17 > Date: Thu, 22 Jan 2004 08:48:40 -0500 (EST) > From: Tom Diehl > Subject: [Nagios-users] Re: Comparison of Big Brother and Nagios > > On Tue, 20 Jan 2004 markwag+nagios at u.washington.edu wrote: > > > On 19 January 2004 at 18:30, "Tom Welsh" wrote: > > > > - BB: No scheduled downtime. > > Not true. bb-maint.pl will do this quite nicely. > > > - No template-based configuration. > > don't need it. Config of bb is MUCH simpler than Nagios. > > > - BB: Agent-based monitoring. > > > > - Uses own protocol rather than SNMP. > > Can use both. > > > - BB: Acks, but no comments. > > Not true. The ack page has a place for comments. > > > - BB: Limited web interface compared to Nagios. > > I would argue that the Nagios user interface is waaaaaaay to busy. > > > - BB: "Better Than Free" license. Must pay for non-commercial use. > > - Nagios: GP. > > This IMO is the big drawback of bb. It was OK before they were acquired by > quest, but since the acquisition there has been very little support for the > BTF version of bb. I understand why this is but I do not have to like it. > I used bb for a long time but I am now looking at other solutions like > Nagios. I have had Nagios running for several months and for the most part > it works well. > > > - BB: Why so many forks? Little sister, etc. > > Because different people want different things and bb's license does not > allow it to be modified and redistributed. > > > - Nagios: Easily extensible. Look at the the add-ons. > > This applies to bb as well. Look at deadcat.net for info. > > > HTH, It helped me and think would have helped anyone interested in an objective comparison. This tight, lean analysis of what people see as 1 important in a monitoring product 2 how each product rates on those important factors is very useful. FWIW, the two areas I think that Nag lags along the path of world domination are 1 reporting 2 rule support To some extent reporting is a matter of the colour of the bikeshed; no one will ever like the way it's done partly because the most vociferous about reporting are those that really want to do them again to justify their own positions (change the colours in Excel etc). All I can say about this is it is probably too big a problem for me to even think about; I simply don't know where to start. However, Alert frequencies are very useful in correlating reporting trends with problem inception. Perhaps I need to look at trends again. At the moment I do perl one liners on the Nag log. With respect to rules, I am not sure if this is handled slightly in Nag with templates. It occurred to me that it is silly to define an escalation for each service when it could be (if it can) be done as a template. Rules however are a more general way of expressing relationships between classes of events or objects. Examples of rules that may be useful for monitoring include 1 All alerts that have not been acknowledged after must be escalated 2 Escalated network events should cause notification of the network manager 3 Network alerts that 'correspond' to backups running can be ignored 4 Network alerts that 'correspond' to servers being jumpstarted can be ignored. Rules express in a succinct readily comprehensible form what should be done for all the items in the rule category. They come naturally to people and it would be nice if the monitor could accept them as natually. John Rouillard (sorry if the spelling is wrong) has written at some length about how Sec rule processing could benefit Nag. I use Sec and am enthusiastic about it's application, but I think that this is not the way to go: Nag needs to be able to processe events according to rules that the user can formulate within Nagios; the rule input, parsing, and the comparison of each event with the rules leading to the corresponding action needs to be built in. Nagios already processes events according to certain embedded rules such as 1 Don't check services that are disabled 2 Don't raise alerts if notifications are disabled. Providing this facility for general user defined rules is a big ask however. > .......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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Fri Jan 23 01:39:46 2004 From: noah at mac.com (Noah Leaman) Date: Thu, 22 Jan 2004 16:39:46 -0800 Subject: [Nagios-users] Re: NSCA daemon never writes to nagios.cmd or nsca.dump In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A1BB@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1BB@mismail2.ena.com> Message-ID: On Jan 22, 2004, at 3:12 PM, Marc Powell wrote: > If you're really desparate, you might try to find an OSX equivalent of > strace/truss to actually attach to the process and see what it's doing. > > -- > Marc Here is a ktrace (translated into text by kdump) of the nsca daemon while receiving a few submissions. decryption_method=1. it seems to in fact read in the submission, and seems to do a write as well which contradicts the problem I am having. I am not knowledgeable enough to read this ktrace much more than this basic stuff. one thing I dont understand is the port numbers it's listing... thats not the problem here I'm sure: 22499 nsca RET select 1 22499 nsca CALL accept(0x3,0,0) 22499 nsca RET accept 6 22499 nsca CALL getpeername(0x6,0xbffff3e0,0xbffff400) 22499 nsca RET getpeername 0 22499 nsca CALL sendto(0x5,0xbfffe6e0,0x48,0,0,0) 22499 nsca GIO fd 5 wrote 72 bytes "<31>Jan 22 16:21:37 nsca[22499]: Connection from 127.0.0.0 port 50497" ***NOTE: I changed this to not publish the IP 22499 nsca RET sendto 72/0x48 22499 nsca CALL sendto(0x5,0xbfffe6e0,0x3b,0,0,0) 22499 nsca GIO fd 5 wrote 59 bytes "<31>Jan 22 16:21:37 nsca[22499]: Host address checks out ok" 22499 nsca RET sendto 59/0x3b 22499 nsca CALL select(0x7,0xbffff280,0xbffff300,0xbffff380,0) 22499 nsca RET select 1 22499 nsca CALL sendto(0x5,0xbfffe680,0x3b,0,0,0) 22499 nsca GIO fd 5 wrote 59 bytes "<30>Jan 22 16:21:37 nsca[22499]: Handling the connection..." 22499 nsca RET sendto 59/0x3b 22499 nsca CALL fcntl(0x6,0x3,0xbffff410) 22499 nsca RET fcntl 2 22499 nsca CALL fcntl(0x6,0x4,0x5) 22499 nsca RET fcntl 0 22499 nsca CALL open(0x6d28,0,0x1b6) 22499 nsca NAMI "/dev/urandom" 22499 nsca RET open 7 22499 nsca CALL fstat(0x7,0xbffff0a0) 22499 nsca RET fstat 0 22499 nsca CALL ioctl(0x7,FIODTYPE,0xbffff0f0) 22499 nsca RET ioctl 0 22499 nsca CALL read(0x7,0x14000,0x20000) 22499 nsca GIO fd 7 read 131072 bytes "\^E\M-%\M-Z|\M^S\M-O\M-a\M-D\M-j\M-h\M-h;A\M-9\M-e\M^Zc\^D\M-2\M^E\M- m})\^F\M-4\0\^C\M-%\^_1\M-f\M^\\M-j\M-_\M-\4e\M-o\M^Bl\M-Mb\M-_'{M\ < *** 2878 lines of this kind of data are cut out... I assume this is the encrptoed data...> 22499 nsca RET read 131072/0x20000 22499 nsca CALL close(0x7) 22499 nsca RET close 0 22499 nsca CALL sendto(0x6,0xbffff380,0x84,0,0,0) 22499 nsca GIO fd 6 wrote 132 bytes "\0\M-(\M-GK\M-)\^X \M-[\^C*\M-,~\M-F\M-=\M-Et\^_5\M-L\^P\M^R\M-&t_\^C\^R"\M^L\M -03@\^Pi\^Q" 22499 nsca RET sendto 132/0x84 22499 nsca CALL select(0x7,0xbffff280,0xbffff300,0xbffff380,0) 22499 nsca RET select 1 22499 nsca CALL recvfrom(0x6,0xbfffee70,0x2d0,0,0,0) 22499 nsca GIO fd 6 wrote 0 bytes "" 22499 nsca RET recvfrom 0 22499 nsca CALL sendto(0x5,0xbfffe170,0x35,0,0,0) 22499 nsca GIO fd 5 wrote 53 bytes "<27>Jan 22 16:21:37 nsca[22499]: End of connection..." 22499 nsca RET sendto 53/0x35 22499 nsca CALL close(0x6) 22499 nsca RET close 0 22499 nsca CALL select(0x4,0xbffff280,0xbffff300,0xbffff380,0) 22499 nsca RET select 1 22499 nsca CALL accept(0x3,0,0) 22499 nsca RET accept 6 22499 nsca CALL getpeername(0x6,0xbffff3e0,0xbffff400) 22499 nsca RET getpeername 0 22499 nsca CALL sendto(0x5,0xbfffe6e0,0x48,0,0,0) 22499 nsca GIO fd 5 wrote 72 bytes "<31>Jan 22 16:21:38 nsca[22499]: Connection from 127.0.0.1 port 50498" ***NOTE: I changed this to not publish the IP 22499 nsca RET sendto 72/0x48 22499 nsca CALL sendto(0x5,0xbfffe6e0,0x3b,0,0,0) 22499 nsca GIO fd 5 wrote 59 bytes "<31>Jan 22 16:21:38 nsca[22499]: Host address checks out ok" 22499 nsca RET sendto 59/0x3b 22499 nsca CALL select(0x7,0xbffff280,0xbffff300,0xbffff380,0) 22499 nsca RET select 1 22499 nsca CALL sendto(0x5,0xbfffe680,0x3b,0,0,0) 22499 nsca GIO fd 5 wrote 59 bytes "<30>Jan 22 16:21:38 nsca[22499]: Handling the connection..." and so on... ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn From jeff.vier at tradingtechnologies.com Fri Jan 23 01:37:02 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 22 Jan 2004 18:37:02 -0600 Subject: Integrating Nagios with MRTG In-Reply-To: <200401221622.44506.mohammad@cerberian.com> References: <200401221622.44506.mohammad@cerberian.com> Message-ID: <1074818222.14217.52.camel@localhost> On Thu, 2004-01-22 at 17:22, Mohammad Ghaeini wrote: > Is there any documentation on how to integrate Nagios with MRTG? I would > appreciate any advice on this subject. Thank you. I personally use Apan to make RRDs via Nagios, as well as use the RRD 'mode' in MRTG then use Cacti to display both. You could then reference the Cacti page in your Nagios config to display the extinfo, thus re-integrating it. I have been meaning to take this last step, there's just a lot to change (several hundred RRD-tracked services) and, thus, a lot to break should I botch something in the script to change them all over. When I finally do, though, I'll post the conversion script to change from standard Apan graphs to cacti graphs, if I can distill it down to a usable script. I *really* hope I don't discover I have to do it by hand for some reason. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbowen at ionx.org Fri Jan 23 05:45:06 2004 From: jbowen at ionx.org (Jack F. Bowen Jr.) Date: Thu, 22 Jan 2004 22:45:06 -0600 Subject: Solaris 5.8 compile statusmap.cgi problems Message-ID: All- I noticed that there were several people who had problems with the compile of nagios on solaris and wished to relate some of my experience in doing so. I was able to get it to work but was having problems with statusmap.cgi in libgd there were unresolved references to libjpeg and I finally tracked it down to the Makefile in the cgi directory. There is a line that reads GDLIBS=-lgd -lpng -lz -lm That needs to be changed to read GDLIBS=-lgd -lpng -lz -lm -ljpeg This helped to resolve the linker error I was recieving. Here is the config I used to get this to work So like a 5 year old here goes... First I installed from source the needed libs and tools except xpm. in this order I patched the system first but this is not shown here. gunzip xpm-3.4k-sol8-sparc-local.gz # obtained from http://sunfreeware.com pkgadd -d xpm-3.4k-sol8-sparc-local gunzip make-3.80-sol8-sparc-local.gz # obtained from http://sunfreeware.com pkgadd -d make-3.80-sol8-sparc-local gunzip gcc-3.3.1-sol8-sparc-local.gz # obtained from http://sunfreeware.com pkgadd -d gcc-3.3.1-sol8-sparc-local # set these variables # This assumes that the make install is done as root but the compile is done as joe_user aka you and you know how to do that. LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib; export LD_LIBRARY_PATH; PATH=/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/ucb; export PATH gunzip < jpegsrc.v6b.tar.gz | tar xvf - cd jpeg-6b ./configure make make test make install make install-lib cd .. gunzip < zlib-1.2.1.tar.gz | tar xvf - cd zlib-1.2.1 ./configure make make test make install cd .. gunzip < libpng-1.2.5.tar.gz | tar xvf - cd libpng-1.2.5 cp scripts/makefile.solaris Makefile make make test make install cd .. gunzip < gd-2.0.20.tar.gz | tar xvf - cd gd-2.0.20 ./configure --disable-shared make make install # This assumes you have had problems and need to run make devclean but have alerady # run gunzip < nagios-1.1.tar.gz | tar xvf - cd nagios-1.1 make devclean ./configure \ --prefix=/opt/nagios \ --with-nagios-user=nagios \ --with-nagios-grp=nagios \ --disable-shared; then I edited the nagios-1.1/cgi/Makefile as shown above and ran make all all was good! Hope this helps someone else looking to get nagios up and running on Solaris. Thanks, Jack -- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bdunn at rdac.com.au Fri Jan 23 06:57:43 2004 From: bdunn at rdac.com.au (Brad Dunn) Date: Fri, 23 Jan 2004 13:57:43 +0800 Subject: [SPAM] - Statusmap./ - Email found in subject Message-ID: <47287D7F1C9A1C4B99EB7D407FCEE696016685@rdaex01.rdac.com.au> I have finally got all the packages installed, after finding dependency after dependency, Anyway ... During the ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include checking for gdImagePng in -lgd (order 1)... yes GD library was found! However my statusmap image is still not available. All the packages required were installed via RPM and all installed ok. System is Redhat 9 Nagios 1.0 Any help - Brad -----Original Message----- From: Brad Dunn Sent: Friday, 16 January 2004 11:14 AM To: nagios-users at lists.sourceforge.net Subject: [SPAM] - [Nagios-users] Statusmap./ - Email found in subject Hi, I've got the ever so usual "cant view status map" problem. I had a similar problem a long time ago but it's a different system now and I've got a different problem. I think it's actually related to the zlib library. Anyway.. The OS is rh9, nagios 1.0 Nagios is working fine, the stausmap.cgi and trends.cgi are installed fine, except the images are broken I'm assuming due to library problems. As it currently stands. I have run the following to see if my libraries are ok. ldconfig -v > check.txt Ive grepped this file and it seems the following exsist. libgd.so.1.8 -> libgd.so.1.8.4 libpng12.so.0 -> libpng12.so.0.1.2.2 libjpeg.so.62 -> libjpeg.so.62.0.0 however I cant see any zlib libraries. I have checked /etc/ld.so.conf /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib And none of those directories contain any zlib files. I did a locate for zlib /usr/lib/python2.2/lib-dynload/zlibmodule.so /usr/lib/python2.2/test/output/test_zlib /usr/lib/python2.2/test/test_zlib.py /usr/lib/python2.2/encodings/zlib_codec.py /usr/lib/python2.2/encodings/zlib_codec.pyc /usr/lib/python2.2/encodings/zlib_codec.pyo /usr/share/doc/zlib-1.1.4 /usr/share/doc/zlib-1.1.4/README /usr/share/doc/zlib-devel-1.1.4 /usr/share/doc/zlib-devel-1.1.4/algorithm.txt /usr/share/doc/zlib-devel-1.1.4/ChangeLog /usr/share/doc/zlib-devel-1.1.4/example.c /usr/share/doc/zlib-devel-1.1.4/minigzip.c /usr/share/man/man3/zlib.3.gz /usr/include/zlib.h /home/brad/nagios_image_librarys/zlib-1.2.0.7-2.i386.rpm /lib/modules/2.4.20-8/kernel/lib/zlib_deflate /lib/modules/2.4.20-8/kernel/lib/zlib_deflate/zlib_deflate.o And I'm slightly unsure about if its installed properly, or even if it's the correct version. I've tried adding what I thought might be the correct directories into ld.so.conf Eg the /usr/include/ and even gave /usr/lib/python2.2/lib-dynload/ directories but they didn't seem to help. When I ran the configure including --with-gd-lib=LIBDIR --with-gd-inc=INCDIR I did notice one thing that makes me think it might not be zlib, It displays checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no is this stating that the libpng files arnt correct or something? anyway, any help anyone could give me in locating whats wrong with my libraries I would be in debt. Thanks again. - Brad Dunn ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Jan 23 08:31:47 2004 From: m.borsani at it.net (Marco Borsani) Date: Fri, 23 Jan 2004 08:31:47 +0100 Subject: R: NSClient on W2K In-Reply-To: <015f01c3e100$bdd5a250$2605020a@enlacesbqt> References: <015f01c3e100$bdd5a250$2605020a@enlacesbqt> Message-ID: Hi, my problem is that I don't know the sintax/procedure to write on my UNIX server to permet the communication with the client. The client is working correctly because if I perform manually a command from the unix server the client answers correctly. Ex: ./check_nt -H -v USEDDISKSPACE -l c c:\ - total: 16.60 Gb - used: 4.87 Gb (29%) - free 11.73 Gb (71%) But in the Nagios console I read: Could not parse arguments Thank you Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Jeyri bautista Inviato: gioved? 22 gennaio 2004 17.00 A: Marco Borsani; nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] NSClient on W2K Hi, I configured nsclient on W2K, only I unzip the nsclient ic c:\nsclient and later I from command line in c:\nsclient\pnsclient\ I execute install This show you a message satisfactory. In the nagios you should configure the services witch the check_command check_nt, and the parameters necesary for check cpu, mem or other value. Jeyri ----- Original Message ----- From: "Marco Borsani" To: Sent: Thursday, January 22, 2004 11:39 AM Subject: [Nagios-users] NSClient on W2K > Hi everybody. > > I need to configure NSClient on Windows 2000 systems. > I installed the client but I have some problems to configure services checks > on my Unix server. > Have you got any installation like my one in order to suggest me something? > > Thanks a lot. > > Marco > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sfdata.net Fri Jan 23 09:51:26 2004 From: karl at sfdata.net (Karl R. Balsmeier) Date: Fri, 23 Jan 2004 00:51:26 -0800 (PST) Subject: Bug: Redhat 9: Compile Problem: Message-ID: <13268.216.175.104.108.1074847886.squirrel@www.sfdata.net> help mang... Bug: The error below is encountered when compiling from nagios-1.1.tar.gz on Redhat 9. Command Used: ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios Error: configure: error: no acceptable cc found in $PATH Cross Compiler Locations: /usr/bin/gcc296 /usr/bin/i386-redhat-linux7-gcc Output from $PATH (which shows /usr/bin is present, -gcc should work, right? But contains a nifty error in it's own right): -bash: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin: No such file or directory Question: This looks a bit nettlesome, can someone explain how to proceed? I'm looking for a command line really, I understand it can't find the cross compiler, and that I need to include it in my PATH, -but i'm using so many Unices and Linuxes it's just a matter of being specific to this Redhat 9 box about fixing this environment variable. To clarify further the completed question is "Which shell_env file do I fix?, I've already looked at /etc/profile and ~/.bashrc, and have experimented with pathmunge to no avail" Philosophy: We should just turn Mars into a giant Beowulf or Openmosix cluster, perhaps that will keep it from swallowing all [y]"our" spacecraft. Of course we would monitor this with Nagios. Help me, I harbor vast quantities beer, submerged within the Bay. -karlski ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 23 10:10:06 2004 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Fri, 23 Jan 2004 10:10:06 +0100 Subject: Vedr.: contrib check_snmp_disk_monitor.pl Message-ID: Hello James, I have made check_diskspace.sh plugin. It very simple and does not use the SNMP.pm - just simple standard SNMP. It should be very simple to change the values in the script - so it will be usefull to your destination server/host. The script is however quite new - there might be bugs - but it works perfectly with my Nagios on Redhat 7.2 Best regards Thomas (See attached file: check_diskspace.sh) "James Kelty" Til: nagios-users at lists.sourceforge.net Sendt af: cc: nagios-users-admin at lists.sour Vedr.: [Nagios-users] contrib check_snmp_disk_monitor.pl ceforge.net 22-01-04 18:28 Is anyone using the check_snmp_disk_monitor.pl script? And, if so, have you noticed that it consistenly reports 2-5 % LESS utilization than is actually used (on Linux anyway)? I am using the ucd-snmp 4.2.5 that ships with RHEL AS v2.1. Also, can someone point me to a better snmp disk monitor than this one? Thanks a lot! -James -------------- next part -------------- A non-text attachment was scrubbed... Name: check_diskspace.sh Type: application/octet-stream Size: 3557 bytes Desc: not available URL: From pla at softflare.com Fri Jan 23 11:18:42 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 23 Jan 2004 10:18:42 +0000 Subject: - Statusmap./ - Email found in subject In-Reply-To: <47287D7F1C9A1C4B99EB7D407FCEE696016685@rdaex01.rdac.com.au> References: <47287D7F1C9A1C4B99EB7D407FCEE696016685@rdaex01.rdac.com.au> Message-ID: <20040123101843.7604.qmail@minnow.softflare.net> Brad Dunn writes: > However my statusmap image is still not available. The GD file format can change incompatibly between different versions of GD. If you're using GD images created by somebody else they may not work. Try converting them from PNGs on the nagios server. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank at naumann-net.org Fri Jan 23 11:45:09 2004 From: frank at naumann-net.org (Frank Naumann) Date: Fri, 23 Jan 2004 11:45:09 +0100 Subject: Problems with nrpe and nsclient Message-ID: <20040123104509.GB2212@naumann-net.org> Hello, i have a strange problem with my nagios installation: I am monitoring several Servers (Linux/Win2k) throug nagios. Some configured services through nrpe are working, others not. My problem is: running check_nrpe from the command line works for the same tests, nagios fails on. check_nrpe -H mailgate -c check_amavis TCP OK - 0.001 second response time on port 10025|time= 0.001 Running the same command within nagios results in the following message: NRPE: Command 'check_amavis' not defined checkcommands.cfg: define command{ command_name check_nrpe_amavis command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_amavis } services.cfg: define service{ use generic-service ; host_name mailgate service_description NRPE_amavis is_volatile 0 check_period 24x7 max_check_attempts 300 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nrpe_amavis } nrpe.cfg (on monitored host): command[check_amavis]=/usr/lib/nagios/plugins/check_tcp -H localhost -p 10025 Also i have a similar problem monitoring a Windows2000 Server with check_nt/nsclient. Commandline: check_nt -H webrel3 -p 1248 -v PROCSTATE -d SHOWALL -l wsw.exe -> wsw.exe: Running Running the same command from nagios results in the following error: Connection refused by host checkcommands.cfg: define command{ command_name check_npclient_wsw command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -d SHOWALL -l wsw.exe } services.cfg: define service{ use generic-service ; host_name webrel3 service_description WSW_POLICY is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_npclient_wsw } I am running nagios 1.1 from SuSE9 distribution. What am i doing wrong? Greetins, Frank -- cd mutt-source; ./configure --enable-full-quote --with-reverse-quote --set-user-iq=0 \ --set-client-id=outlook --enable-netscape-vcards \ --disable-signature-mark --disable-realname ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 23 12:05:42 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Fri, 23 Jan 2004 12:05:42 +0100 Subject: output more than 80 characters Message-ID: <5.0.2.1.2.20040123115303.02e49a70@195.220.107.3> i post a mail yesterday because i want to change the 80 characters of the output of plugins i think i find it and i recompile nagios but it doesn t work if someone know where it is defined it will help me thanks basile ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 12:32:49 2004 From: ejl at man.fwltech.com (Ewan Leith) Date: Fri, 23 Jan 2004 11:32:49 -0000 Subject: output more than 80 characters Message-ID: <1012BD903945D411915500105A48FF5701C73E02@nt.man.fwltech.com> Does it output the extra characters on the command line when you run ./check_http or whichever plugin you are testing? If so, maybe there is a maximum limit of 80 characters in the nagios web pages too. Ewan > -----Original Message----- > From: Basile Mathieu [mailto:Basile.Mathieu at siris.sorbonne.fr] > Sent: 23 January 2004 11:06 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] output more than 80 characters > > > i post a mail yesterday because i want to change the 80 > characters of the > output of plugins > i think i find it and i recompile nagios but it doesn t work > if someone know where it is defined > it will help me > thanks > basile > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 13:14:11 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 23 Jan 2004 12:14:11 +0000 Subject: output more than 80 characters In-Reply-To: <1012BD903945D411915500105A48FF5701C73E02@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF5701C73E02@nt.man.fwltech.com> Message-ID: <20040123121411.29632.qmail@minnow.softflare.net> Ewan Leith writes: > If so, maybe there is a maximum limit of 80 characters in the nagios > web pages too. There may be a limit on the web pages but, if so, it's a lot higher than 80 characters because I have output from plugins with a lot more than 80 characters. The plugin development guidelines suggest keeping the output short because it may be sent as a pager message. My own feeling on this is that the significant part of the output should be kept short, but there may be additional info. I.e., the output of check_disk on a system with several partitions starts with the important "DISK OK" and then shows actual space used on each partition. On a pager the most important part is "DISK OK" or "DISK CRITICAL" but on the web display or in e-mail notification the extra information is useful. Of course, it would help if the guy told us what plugin he wanted to modify and why. There may be a better way of doing what he wants to do, or what he thinks he wants to do isn't sensible in the first place. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 23 13:30:29 2004 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Fri, 23 Jan 2004 13:30:29 +0100 Subject: output more than 80 characters In-Reply-To: <1012BD903945D411915500105A48FF5701C73E02@nt.man.fwltech.co m> References: <1012BD903945D411915500105A48FF5701C73E02@nt.man.fwltech.co m> Message-ID: <5.0.2.1.2.20040123125535.0247d4a0@195.220.107.3> i m doing my own plugins it s to make snmp management i find in the source code the constant MAX_PLUGINOUTPUT_LENGTH and change it to 1000 but it doesn t work it seems to be a bit more difficult :) A 11:32 23/01/2004 +0000, vous avez ?crit : >Does it output the extra characters on the command line when you run >./check_http or whichever plugin you are testing? If so, maybe there is a >maximum limit of 80 characters in the nagios web pages too. > >Ewan > > > -----Original Message----- > > From: Basile Mathieu [mailto:Basile.Mathieu at siris.sorbonne.fr] > > Sent: 23 January 2004 11:06 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] output more than 80 characters > > > > > > i post a mail yesterday because i want to change the 80 > > characters of the > > output of plugins > > i think i find it and i recompile nagios but it doesn t work > > if someone know where it is defined > > it will help me > > thanks > > basile > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at datadesign.at Fri Jan 23 15:36:33 2004 From: az at datadesign.at (az) Date: Fri, 23 Jan 2004 15:36:33 +0100 Subject: Setting up the Webinterface - errors Message-ID: <40113171.4030701@datadesign.at> hi, i can't get the cgi-scripts to work: i get these errors in apache: [Fri Jan 23 13:41:53 2004] [error] [client 2xx.xx.xx.xx] (2)No such file or directory: getpwuid: invalid userid -1 [Fri Jan 23 13:41:53 2004] [error] (2)No such file or directory: exec of /usr/lib/nagios/cgi/tac.cgi failed [Fri Jan 23 13:41:53 2004] [error] [client 2xx.xx.xx.xx] Premature end of script headers: /usr/lib/nagios/cgi/tac.cgi [Fri Jan 23 13:41:55 2004] [error] [client 2xx.xx.xx.xx] getpwuid: invalid userid -1 [Fri Jan 23 13:41:55 2004] [error] exec of /usr/lib/nagios/cgi/status.cgi failed [Fri Jan 23 13:41:55 2004] [error] [client 2xx.xx.xx.xx] Premature end of script headers: /usr/lib/nagios/cgi/status.cgi ... and so on what does this error ( getpwuid: invalid userid -1 ) mean ? thx in advance ;) lg az ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charles at bueche.ch Fri Jan 23 16:27:23 2004 From: charles at bueche.ch (Charles Bueche) Date: Fri, 23 Jan 2004 16:27:23 +0100 Subject: all services announce back instead of only host back ==> notification flood Message-ID: <1074871642.28010.91.camel@bluez.bueche.ch> Hi, I have a nagios setup on a linux PC, that monitor a remote server. I check the remote server availability using the standard check-host-alive, plus 8 other services (HTTP, DNS, POP3, etc). When the remote server goes down, I get only one notification (HOST alert), this is OK. However, when the host comes back, I get no "HOST recovery", but I get 8 notifications about all the services that comes back. This is obviously wrong. I don't want all these notifications, I only want one "Host is back". How can I do this ? Thanks for any pointer, Charles -- Charles Bueche sand, snow, wave, wind and net -surfer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 16:40:04 2004 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jan 2004 09:40:04 -0600 Subject: Setting up the Webinterface - errors Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1BD@mismail2.ena.com> On Friday, January 23, 2004 8:37 AM, az shared with us: > hi, > > i can't get the cgi-scripts to work: i get these errors in apache: > > [Fri Jan 23 13:41:53 2004] [error] [client 2xx.xx.xx.xx] (2)No such > file or directory: getpwuid: invalid userid -1 [Fri Jan 23 13:41:53 > 2004] [error] (2)No such file or directory: exec of > /usr/lib/nagios/cgi/tac.cgi failed [Fri Jan 23 13:41:53 2004] [error] > [client 2xx.xx.xx.xx] Premature end of script headers: > /usr/lib/nagios/cgi/tac.cgi [Fri Jan 23 13:41:55 2004] [error] > [client 2xx.xx.xx.xx] getpwuid: invalid userid -1 [Fri Jan 23 > 13:41:55 2004] [error] exec of /usr/lib/nagios/cgi/status.cgi failed > [Fri Jan 23 13:41:55 2004] [error] [client 2xx.xx.xx.xx] Premature > end of script headers: /usr/lib/nagios/cgi/status.cgi ... and so on > > what does this error ( getpwuid: invalid userid -1 ) mean ? It seems to be indicating that the scripts are trying to get the uid for a user, probably the nagios user you specified during compile time, and that user doesn't exist. Did you create the user that you specified when compiling nagios or the user 'nagios' if you didn't specify one? http://216.239.51.104/search?q=cache:4x2j2aAkYUgJ:www.opengroup.org/onli nepubs/007908799/xsh/getpwuid.html+getpwuid&hl=en&ie=UTF-8 -- marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 16:48:45 2004 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jan 2004 09:48:45 -0600 Subject: all services announce back instead of only host back ==> notification flood Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1BE@mismail2.ena.com> On Friday, January 23, 2004 9:27 AM, Charles Bueche shared with us: > However, when the host comes back, I get no "HOST recovery", but I > get 8 notifications about all the services that comes back. This is > obviously wrong. I don't want all these notifications, I only want > one "Host is back". How can I do this ? I'm not exactly sure what the correct behavior should be as the documentation is a little bit unclear on this subject, specifically the statement "Note: Notifications about host or service recoveries are only sent out if a notification was sent out for the original problem. It doesn't make sense to get a recovery notification for something you never knew was a problem. " so I'll leave it to others to expand on that but IMHO, it's not necessarily a bad thing to get those notifications. I for one wouldn't want to just get a Host recovery notification and just have to assume that all the services running on that host came back up properly. Assuming is bad, give me proof that they're back up. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 16:59:38 2004 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jan 2004 09:59:38 -0600 Subject: Bug: Redhat 9: Compile Problem: Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1BF@mismail2.ena.com> On Friday, January 23, 2004 2:51 AM, Karl R. Balsmeier shared with us: > help mang... > > Bug: > The error below is encountered when compiling from nagios-1.1.tar.gz > on Redhat 9. > > Command Used: > ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin > --with-htmurl=/nagios/ --with-nagios-user=nagios > --with-nagios-grp=nagios > > Error: > configure: error: no acceptable cc found in $PATH > > Cross Compiler Locations: > /usr/bin/gcc296 > /usr/bin/i386-redhat-linux7-gcc /usr/bin/gcc296 is for compatibility with older versions of linux I believe. It doesn't appear that you really have gcc installed as you should have /usr/bin/gcc which is the true compiler. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Fri Jan 23 17:18:22 2004 From: FReimers at infosysinc.com (Fred Reimers) Date: Fri, 23 Jan 2004 11:18:22 -0500 Subject: Nagios CRASHING - Passive External Commands Message-ID: <8F807B93637B104F96D6A4D187408C0D0AAFB5@infocoex2.infosysinc.com> All, I need help with Nagios and external commands. I have an external script running FPING against 3200 hosts and writing the results to the Nagios external command file. Sometimes it works and other times Nagios crashes. [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-Frame;PING;0;PING OK - 208.252.129.57 is alive (74.4 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-Server;PING;0;PING OK - 10.136.26.2 is alive (89.8 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-VPN;PING;0;PING OK - 10.136.26.1 is alive (90.2 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-Frame;PING;0;PING OK - 65.202.155.77 is alive (67.5 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-Server;PING;0;PING OK - 10.138.24.2 is alive (80.9 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-VPN;PING;0;PING OK - 10.138.24.1 is alive (83.3 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-V90;PING;0;PING OK - 63.110.74.154 is alive (228 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-Server;PING;0;PING OK - 10.133.46.2 is alive (258 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-VPN;PING;0;PING OK - 10.133.46.1 is alive (266 ms) [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; [1074873519] Caught SIGSEGV, shutting down... Nagios appears to be truncating the command sent to it. I checked and there's no problem with the external command file. I'm writing directly to the command file from the same machine. Is there anything information on throttling passive checks through the external command file to keep Nagios from crashing?? Right now I'm just pinging the hosts and have 3200 services. This monitoring requirement is going to expand to 7200 hosts with 21000 service checks. Help!! ------------------------------------------------- Fred Reimers (CCIE, CCSE) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.com ------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Jan 23 17:40:04 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 23 Jan 2004 16:40:04 +0000 Subject: Nagios CRASHING - Passive External Commands In-Reply-To: <8F807B93637B104F96D6A4D187408C0D0AAFB5@infocoex2.infosysinc.com> References: <8F807B93637B104F96D6A4D187408C0D0AAFB5@infocoex2.infosysinc.com> Message-ID: <40114E64.9040406@exponential-e.com> Fred Reimers wrote: > I have an external script running FPING against 3200 hosts and writing the results to the Nagios external command file. > > Sometimes it works and other times Nagios crashes. > > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-Frame;PING;0;PING OK - 208.252.129.57 is alive (74.4 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-Server;PING;0;PING OK - 10.136.26.2 is alive (89.8 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-VPN;PING;0;PING OK - 10.136.26.1 is alive (90.2 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-Frame;PING;0;PING OK - 65.202.155.77 is alive (67.5 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-Server;PING;0;PING OK - 10.138.24.2 is alive (80.9 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-VPN;PING;0;PING OK - 10.138.24.1 is alive (83.3 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-V90;PING;0;PING OK - 63.110.74.154 is alive (228 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-Server;PING;0;PING OK - 10.133.46.2 is alive (258 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-VPN;PING;0;PING OK - 10.133.46.1 is alive (266 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; > [1074873519] Caught SIGSEGV, shutting down... > > Nagios appears to be truncating the command sent to it. I checked and there's no problem with the external command file. > > I'm writing directly to the command file from the same machine. > > Is there anything information on throttling passive checks through the external command file to keep Nagios from crashing?? > > Right now I'm just pinging the hosts and have 3200 services. This monitoring requirement is going to expand to 7200 hosts with 21000 service checks. > > > Help!! What about only submitting the command to Nagios in the event of an exception, i.e. the ping fails? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Fri Jan 23 17:47:45 2004 From: FReimers at infosysinc.com (Fred Reimers) Date: Fri, 23 Jan 2004 11:47:45 -0500 Subject: Nagios CRASHING - Passive External Commands Message-ID: <8F807B93637B104F96D6A4D187408C0D0ADAB5@infocoex2.infosysinc.com> Jim, Good idea. I would also have to do my own status checking to see if the results are a change in status between ok,warning,critical, which is possible. I was hoping to use the freshness checking feature of Nagios to ensure that the background processes are working. I'm also wondering how this would affect the host status if a host only has passive checks associated with it that are not being updated regularly? This worked fine for 16 hours and then stopped. I did rewrite the routine to add some delay between writes to the command file and changed the nagios.cmd option to check the command file as often as possible. It's worked for a couple of cycles now. Fred -----Original Message----- From: Jim Mozley [mailto:jim.mozley at exponential-e.com] Sent: Friday, January 23, 2004 11:40 AM To: Fred Reimers Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios CRASHING - Passive External Commands Fred Reimers wrote: > I have an external script running FPING against 3200 hosts and writing the results to the Nagios external command file. > > Sometimes it works and other times Nagios crashes. > > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-Frame;PING;0;PING OK - 208.252.129.57 is alive (74.4 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-Server;PING;0;PING OK - 10.136.26.2 is alive (89.8 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0681-VPN;PING;0;PING OK - 10.136.26.1 is alive (90.2 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-Frame;PING;0;PING OK - 65.202.155.77 is alive (67.5 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-Server;PING;0;PING OK - 10.138.24.2 is alive (80.9 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0687-VPN;PING;0;PING OK - 10.138.24.1 is alive (83.3 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-V90;PING;0;PING OK - 63.110.74.154 is alive (228 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-Server;PING;0;PING OK - 10.133.46.2 is alive (258 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;0689-VPN;PING;0;PING OK - 10.133.46.1 is alive (266 ms) > [1074873519] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT; > [1074873519] Caught SIGSEGV, shutting down... > > Nagios appears to be truncating the command sent to it. I checked and there's no problem with the external command file. > > I'm writing directly to the command file from the same machine. > > Is there anything information on throttling passive checks through the external command file to keep Nagios from crashing?? > > Right now I'm just pinging the hosts and have 3200 services. This monitoring requirement is going to expand to 7200 hosts with 21000 service checks. > > > Help!! What about only submitting the command to Nagios in the event of an exception, i.e. the ping fails? ------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Fri Jan 23 18:25:44 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 23 Jan 2004 17:25:44 +0000 Subject: Nagios CRASHING - Passive External Commands In-Reply-To: <8F807B93637B104F96D6A4D187408C0D0ADAB5@infocoex2.infosysinc.com> References: <8F807B93637B104F96D6A4D187408C0D0ADAB5@infocoex2.infosysinc.com> Message-ID: <40115918.5060107@exponential-e.com> Fred Reimers wrote: > Good idea. I would also have to do my own status checking to see if the results are a change in status between ok,warning,critical, which is possible. > > I was hoping to use the freshness checking feature of Nagios to ensure that the background processes are working. > > I'm also wondering how this would affect the host status if a host only has passive checks associated with it that are not being updated regularly? You could use the freshness checking to address this, if I understand correctly. > > This worked fine for 16 hours and then stopped. I did rewrite the routine to add some delay between writes to the command file and changed the nagios.cmd option to check the command file as often as possible. It's worked for a couple of cycles now. I've had problems with passive checks and I am using a delay between submissions. It not ideal, or scalable and I still get a problem with over lapping submissions of passive checks. Jim ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Fri Jan 23 18:51:12 2004 From: FReimers at infosysinc.com (Fred Reimers) Date: Fri, 23 Jan 2004 12:51:12 -0500 Subject: Nagios CRASHING - Passive External Commands Message-ID: <8F807B93637B104F96D6A4D187408C0D0AAFB6@infocoex2.infosysinc.com> Jim, I going to try add some status checking in my script and only send changes on status change and see how the host status reacts. If it works I'll include this script in the next version of NagMIN that is long overdue. Fred -----Original Message----- From: Jim Mozley [mailto:jim.mozley at exponential-e.com] Sent: Friday, January 23, 2004 12:26 PM To: Fred Reimers Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios CRASHING - Passive External Commands Fred Reimers wrote: > Good idea. I would also have to do my own status checking to see if the results are a change in status between ok,warning,critical, which is possible. > > I was hoping to use the freshness checking feature of Nagios to ensure that the background processes are working. > > I'm also wondering how this would affect the host status if a host only has passive checks associated with it that are not being updated regularly? You could use the freshness checking to address this, if I understand correctly. > > This worked fine for 16 hours and then stopped. I did rewrite the routine to add some delay between writes to the command file and changed the nagios.cmd option to check the command file as often as possible. It's worked for a couple of cycles now. I've had problems with passive checks and I am using a delay between submissions. It not ideal, or scalable and I still get a problem with over lapping submissions of passive checks. Jim ------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 18:52:53 2004 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jan 2004 11:52:53 -0600 Subject: NSCA daemon never writes to nagios.cmd or nsca.dump Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1C0@mismail2.ena.com> On Thursday, January 22, 2004 6:40 PM, Noah Leaman shared with us: > On Jan 22, 2004, at 3:12 PM, Marc Powell wrote: > > If you're really desparate, you might try to find an OSX equivalent > > of strace/truss to actually attach to the process and see what it's > > doing. > > > > -- > > Marc > > Here is a ktrace (translated into text by kdump) of the nsca daemon > while receiving a few submissions. decryption_method=1. it seems to > in fact read in the submission, and seems to do a write as well which > contradicts the problem I am having. I am not knowledgeable enough to > read this ktrace much more than this basic stuff. one thing I dont > understand is the port numbers it's listing... thats not the problem > here I'm sure: No, the port number listed below are the source ports on your remote host. They'll always be random for the most part. > > 22499 nsca RET select 1 > 22499 nsca CALL accept(0x3,0,0) > 22499 nsca RET accept 6 > 22499 nsca CALL getpeername(0x6,0xbffff3e0,0xbffff400) > 22499 nsca RET getpeername 0 > 22499 nsca CALL sendto(0x5,0xbfffe6e0,0x48,0,0,0) > 22499 nsca GIO fd 5 wrote 72 bytes > "<31>Jan 22 16:21:37 nsca[22499]: Connection from 127.0.0.0 > port 50497" ***NOTE: I changed this to not publish the IP New connection... Good. > 22499 nsca RET sendto 72/0x48 > 22499 nsca CALL sendto(0x5,0xbfffe6e0,0x3b,0,0,0) > 22499 nsca GIO fd 5 wrote 59 bytes > "<31>Jan 22 16:21:37 nsca[22499]: Host address checks out ok" Address check passes... Good. > 22499 nsca RET sendto 59/0x3b > 22499 nsca CALL select(0x7,0xbffff280,0xbffff300,0xbffff380,0) > 22499 nsca RET select 1 > 22499 nsca CALL sendto(0x5,0xbfffe680,0x3b,0,0,0) > 22499 nsca GIO fd 5 wrote 59 bytes > "<30>Jan 22 16:21:37 nsca[22499]: Handling the connection..." Just FYI, this indicates that nsca _is_ sending more data to a syslog log file but there isn't enough information to determine which. > 22499 nsca RET sendto 59/0x3b > 22499 nsca CALL fcntl(0x6,0x3,0xbffff410) > 22499 nsca RET fcntl 2 > 22499 nsca CALL fcntl(0x6,0x4,0x5) > 22499 nsca RET fcntl 0 > 22499 nsca CALL open(0x6d28,0,0x1b6) > 22499 nsca NAMI "/dev/urandom" > 22499 nsca RET open 7 > 22499 nsca CALL fstat(0x7,0xbffff0a0) > 22499 nsca RET fstat 0 > 22499 nsca CALL ioctl(0x7,FIODTYPE,0xbffff0f0) > 22499 nsca RET ioctl 0 > 22499 nsca CALL read(0x7,0x14000,0x20000) > 22499 nsca GIO fd 7 read 131072 bytes > > "\^E\M-%\M-Z|\M^S\M-O\M-a\M-D\M-j\M-h\M-h;A\M-9\M-e\M^Zc\^D\M-2\M^E\M- > m})\^F\M-4\0\^C\M-%\^_1\M-f\M^\\M-j\M-_\M-\4e\M-o\M^Bl\M-Mb\M-_'{M\ > < *** 2878 lines of this kind of data are cut out... I assume this is > the encrptoed data... Yup. 131K seems to be an awful lot but it could certainly be attributed to the encryption method you are using. Just as a test, I would probably try using just simple XOR. > 22499 nsca RET read 131072/0x20000 > 22499 nsca CALL close(0x7) > 22499 nsca RET close 0 > 22499 nsca CALL sendto(0x6,0xbffff380,0x84,0,0,0) > 22499 nsca GIO fd 6 wrote 132 bytes > "\0\M-(\M-GK\M-)\^X \M-jU\^Vo\M-q\M-&;\M-"uE\^T\M^A\M^M\M-OO<\M-.\M-$)\M-H\M-t\M-S<\M- > i\M^]\M-DA](l].\M-Uc0_\ > < *** 3 lines of this.> > > \M-[\^C*\M-,~\M-F\M-=\M-Et\^_5\M-L\^P\M^R\M-&t_\^C\^R"\M^L\M > -03@\^Pi\^Q" Communication back to the client. > 22499 nsca RET sendto 132/0x84 > 22499 nsca CALL select(0x7,0xbffff280,0xbffff300,0xbffff380,0) > 22499 nsca RET select 1 > 22499 nsca CALL recvfrom(0x6,0xbfffee70,0x2d0,0,0,0) > 22499 nsca GIO fd 6 wrote 0 bytes > "" > 22499 nsca RET recvfrom 0 > 22499 nsca CALL sendto(0x5,0xbfffe170,0x35,0,0,0) > 22499 nsca GIO fd 5 wrote 53 bytes > "<27>Jan 22 16:21:37 nsca[22499]: End of connection..." This is actually saying -- "End of connection or could not read request from client..." If you can increase the number of characters that ktrace displays you should see that (it's -s 512 for strace to display 512 characters for example). This is really a symptom of whatever the problem is, but it appears that it might be strictly a communication problem. Looking at the code, the pertinent section is: /* process all data we get from the client... */ /* read the packet from the client */ bytes_to_recv=sizeof(receive_packet); rc=recvall(sock,(char *)&receive_packet,&bytes_to_recv,socket_timeout); /* recv() error or client disconnect */ if(rc<=0){ if(debug==TRUE) syslog(LOG_ERR,"End of connection or could not read request from client..."); encrypt_cleanup(decryption_method, CI); close(sock); if (mode==SINGLE_PROCESS_DAEMON) return; else do_exit(); } This is before it even attempts to decrypt the packet. The recvall function, which is really where the failure is, looks like it has a couple of failure modes. First is if it doesn't get all the data it's expecting (client disconnect?) and second is if it takes longer than a specific timeout value which looks to be 10 seconds. If you run send_nsca by hand, how long does it take to run? Have you tried enabling debug on your remote server and see what send_nsca has to say? I'd also verify hard-coding of speed and duplex on both servers, make sure that you're not seeing any packet loss between the two machines, etc... Don't forget about trying a different encryption method. XOR on my machines seems to send less than 4K as opposed to you 131K per submission. Someone more familiar with the internal workings of nsca might hopefully have more to contribute and IANAP so my interpretation of the code might be off. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tkraft8 at comcast.net Fri Jan 23 20:40:19 2004 From: tkraft8 at comcast.net (tkraft8 at comcast.net) Date: Fri, 23 Jan 2004 19:40:19 +0000 Subject: Check_snmp Message-ID: <012320041940.14980.4b44@comcast.net> Does anyone have example of check_snmp being used to check routers. Tom ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Fri Jan 23 20:52:18 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Fri, 23 Jan 2004 14:52:18 -0500 Subject: No username login Message-ID: I have a need to allow a "guest" user who could just click on a hyper-link and pull up the host status page. I created a default user guest and I can put a link straight to the host status page. However, it still asks for username and password. Does anyone know how to get rid of this login for a "trusted" user. This would sort of be like a "help desk" user. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Jan 23 20:58:40 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 23 Jan 2004 11:58:40 -0800 (PST) Subject: No username login In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 One could cron a wget command that would fetch the appropriate page and create a static 'public' version of it. - -Jason Martin On Fri, 23 Jan 2004, TIM MOORE wrote: > I have a need to allow a "guest" user who could just click on a hyper-link and pull up the host status page. I created a default user guest and I can put a link straight to the host status page. However, it still asks for username and password. Does anyone know how to get rid of this login for a "trusted" user. This would sort of be like a "help desk" user. > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFAEXz5l2ODWuqVSBMRApKHAJ46wjb8rNvi8i/UXge0PltLLODLFACgjUx9 O90DqK9icZidHRtfbv8vMHU= =d8m/ -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Fri Jan 23 21:03:17 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Fri, 23 Jan 2004 15:03:17 -0500 Subject: No username login Message-ID: I'd like to know, too... And still have the ability for a regular user to login. -----Original Message----- From: TIM MOORE [mailto:MOORET10 at odjfs.state.oh.us] Sent: Friday, January 23, 2004 2:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] No username login I have a need to allow a "guest" user who could just click on a hyper-link and pull up the host status page. I created a default user guest and I can put a link straight to the host status page. However, it still asks for username and password. Does anyone know how to get rid of this login for a "trusted" user. This would sort of be like a "help desk" user. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Fri Jan 23 21:05:47 2004 From: thilanka at sbcglobal.net (Thilanka Samarasekera) Date: Fri, 23 Jan 2004 12:05:47 -0800 (PST) Subject: statusmap Message-ID: <20040123200547.58555.qmail@web80007.mail.yahoo.com> Ok I have gone through many documents and still I cann get my status map and the 3d status map to work. Here's how my configurations look like: cgi.cfg #hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;novell40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; #hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2;NT Server 4.0;;; xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg #statusmap_background_image=bg-pic.gif I someone needs to see other configuration files of my installation...let me know and I will post them. And also I was looking a the apache error_log while clicking on status map and I get the following error: script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi I looked in /usr/local/nagios/sbin and there is no file with the name statusmap.cgi My question is where to get this file from ? Cause a simple 'find on the whole file system did not yeild any results. Any help would be appreciated. Thilanka -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Jan 23 21:18:58 2004 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jan 2004 14:18:58 -0600 Subject: No username login Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1C4@mismail2.ena.com> On Friday, January 23, 2004 1:52 PM, TIM MOORE shared with us: > I have a need to allow a "guest" user who could just click on a > hyper-link and pull up the host status page. I created a default > user guest and I can put a link straight to the host status page. > However, it still asks for username and password. Does anyone know > how to get rid of this login for a "trusted" user. This would sort > of be like a "help desk" user. http://username:password at your.nagioshost.com will work. There is also the possiblity that you could get creative with your .htaccess file and allow based on IP, domain, browser version or whatever but a user allowed by those rules would pick up the identity of the default_user_name configured in cgi.cfg. I haven't specifically tested it but I don't have any reason to think that it wouldn't work. There are lots of pages out there with .htaccess tutorials (hint: look for 'satisfy any') to get you started if you decide to go this route. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kphillips at wwre.org Fri Jan 23 21:16:10 2004 From: kphillips at wwre.org (Kevin Phillips) Date: Fri, 23 Jan 2004 15:16:10 -0500 Subject: check_nt Message-ID: <3321B3C578DE6F40B92B974303779E6A04E9EB@dcmserver2.wwre.org> I am having an issue with the check_nt command. When I run ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C I get the response "wrong -l argument" Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From bill at ibill.no-ip.org Fri Jan 23 21:30:44 2004 From: bill at ibill.no-ip.org (Bill James) Date: Fri, 23 Jan 2004 15:30:44 -0500 Subject: statusmap In-Reply-To: <20040123200547.58555.qmail@web80007.mail.yahoo.com> References: <20040123200547.58555.qmail@web80007.mail.yahoo.com> Message-ID: <20040123203004.EB4288B804D@ibill.no-ip.org> _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thilanka Samarasekera Sent: Friday, January 23, 2004 3:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap Ok I have gone through many documents and still I cann get my status map and the 3d status map to work. Here's how my configurations look like: cgi.cfg #hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;n ovell40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; #hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2 ;NT Server 4.0;;; xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg #statusmap_background_image=bg-pic.gif I someone needs to see other configuration files of my installation...let me know and I will post them. And also I was looking a the apache error_log while clicking on status map and I get the following error: script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi I looked in /usr/local/nagios/sbin and there is no file with the name statusmap.cgi My question is where to get this file from ? Cause a simple 'find on the whole file system did not yeild any results. Any help would be appreciated. Thilanka Mine is located in /usr/lib/nagios/cgi/statusmap.cgi (machine is Redhat 9) but you could get it from the source install and place it where it is looking for it on your distro -------------- next part -------------- An HTML attachment was scrubbed... URL: From FReimers at infosysinc.com Fri Jan 23 21:32:09 2004 From: FReimers at infosysinc.com (Fred Reimers) Date: Fri, 23 Jan 2004 15:32:09 -0500 Subject: Nagios CRASHING - Passive External Commands Message-ID: <8F807B93637B104F96D6A4D187408C0D0AAFB9@infocoex2.infosysinc.com> Jim, The last rev of the script is working fine. I'm effectively monitoring 3200 devices while only sending approx. 64 checks to Nagios per hour to send status changes and all problem responses. There's hardly any processor utilization until Apache kicks in. Thanks again, Fred -----Original Message----- From: Jim Mozley [mailto:jim.mozley at exponential-e.com] Sent: Friday, January 23, 2004 12:26 PM To: Fred Reimers Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios CRASHING - Passive External Commands Fred Reimers wrote: > Good idea. I would also have to do my own status checking to see if the results are a change in status between ok,warning,critical, which is possible. > > I was hoping to use the freshness checking feature of Nagios to ensure that the background processes are working. > > I'm also wondering how this would affect the host status if a host only has passive checks associated with it that are not being updated regularly? You could use the freshness checking to address this, if I understand correctly. > > This worked fine for 16 hours and then stopped. I did rewrite the routine to add some delay between writes to the command file and changed the nagios.cmd option to check the command file as often as possible. It's worked for a couple of cycles now. I've had problems with passive checks and I am using a delay between submissions. It not ideal, or scalable and I still get a problem with over lapping submissions of passive checks. Jim ------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramog at starcalif.com Fri Jan 23 21:34:32 2004 From: ramog at starcalif.com (ramog) Date: Fri, 23 Jan 2004 12:34:32 -0800 Subject: monitor a directory in windows 2000 Message-ID: <06fa01c3e1f0$4edfb430$0d1fa8c0@sysadmin.starcalif.com> Is there anybody know how nagios could monitor a directory in windows 2000 system. I want to send an alert if the directory contains say, 180 sub-directories in the directory I want to monitor. What plugin do I use. Any help would be greatly appreciated. Thanks. Rochel -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at sfdata.net Fri Jan 23 21:50:04 2004 From: karl at sfdata.net (Karl R. Balsmeier) Date: Fri, 23 Jan 2004 12:50:04 -0800 (PST) Subject: Bug: Redhat 9: Compile Problem: In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A1BF@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1BF@mismail2.ena.com> Message-ID: <14108.216.175.104.108.1074891004.squirrel@www.sfdata.net> I woke up thinking the same thing, gcc's not actually on the system. Thanks Marc for verifying that, indeed, that's what it was. here's what I did to fix it: http://www.hut.fi/~tkarvine/yum-package-manager.html installed Yum per the above link: rpm -Uvh yum*.noarch.rpm rpm --import /usr/share/doc/yum-*/Fedora-GPG-KEY rpm --import /usr/share/doc/yum-*/RPM-GPG-KEY Install gcc: yum install gcc I encountered a problem getting out on HTTP, which yum uses, due to a proxy firewall, so in bash I typed: export http_proxy=http://myproxy.mynet.com:80 Now it's crunching away and installing gcc, yum is downloading *alot* of headers, but should complete at some reasonable time. Let's hope this will fix the compile error, more soon.... -krb > On Friday, January 23, 2004 2:51 AM, Karl R. Balsmeier shared with us: > >> help mang... >> >> Bug: >> The error below is encountered when compiling from nagios-1.1.tar.gz >> on Redhat 9. >> >> Command Used: >> ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin >> --with-htmurl=/nagios/ --with-nagios-user=nagios >> --with-nagios-grp=nagios >> >> Error: >> configure: error: no acceptable cc found in $PATH >> >> Cross Compiler Locations: >> /usr/bin/gcc296 >> /usr/bin/i386-redhat-linux7-gcc > > /usr/bin/gcc296 is for compatibility with older versions of linux I > believe. It doesn't appear that you really have gcc installed as you > should have /usr/bin/gcc which is the true compiler. > > -- > Marc > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- Karl R. Balsmeier Senior Systems Engineer SFDATA.NET, LLC Mobile 415.608.2681 Office: 415.396.0302 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill at ibill.no-ip.org Fri Jan 23 21:54:50 2004 From: bill at ibill.no-ip.org (Bill James) Date: Fri, 23 Jan 2004 15:54:50 -0500 Subject: statusmap In-Reply-To: <20040123204749.23438.qmail@web80002.mail.yahoo.com> References: <20040123204749.23438.qmail@web80002.mail.yahoo.com> Message-ID: <20040123205412.59B5F8B804D@ibill.no-ip.org> Go to http://www.nagios.org Download the version 1.1 unpack it from within the unpacked nagios directory run ./configure, then make once make is done look in the cgi directory under the directory from where you unpacked nagios and ran configure and make and you will find the statusmap.cgi _____ From: Thilanka Samarasekera [mailto:thilanka at sbcglobal.net] Sent: Friday, January 23, 2004 3:48 PM To: Bill James Subject: RE: [Nagios-users] statusmap how do i get from the source install ? Bill James wrote: _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thilanka Samarasekera Sent: Friday, January 23, 2004 3:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap Ok I have gone through many documents and still I cann get my status map and the 3d status map to work. Here's how my configurations look like: cgi.cfg #hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;n ovell40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; #hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2 ;NT Server 4.0;;; xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg #statusmap_background_image=bg-pic.gif I someone needs to see other configuration files of my installation...let me know and I will post them. And also I was looking a the apache error_log while clicking on status map and I get the following error: script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi I looked in /usr/local/nagios/sbin and there is no file with the name statusmap.cgi My question is where to get this file from ? Cause a simple 'find on the whole file system did not yeild any results. Any help would be appreciated. Thilanka Mine is located in /usr/lib/nagios/cgi/statusmap.cgi (machine is Redhat 9) but you could get it from the source install and place it where it is looking for it on your distro -------------- next part -------------- An HTML attachment was scrubbed... URL: From thilanka at sbcglobal.net Fri Jan 23 22:10:21 2004 From: thilanka at sbcglobal.net (Thilanka Samarasekera) Date: Fri, 23 Jan 2004 13:10:21 -0800 (PST) Subject: Where have the cgi gone? Message-ID: <20040123211021.71866.qmail@web80007.mail.yahoo.com> I get this in my apache error_log [Fri Jan 23 14:50:01 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/trends.cgi [Fri Jan 23 15:07:51 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/trends.cgi [Fri Jan 23 15:07:53 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/histogram.cgi [Fri Jan 23 15:07:55 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/histogram.cgi [Fri Jan 23 15:08:08 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi How come all the other cgi's in the proper place and these three are not ? Can someone help ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From markwag+nagios at u.washington.edu Fri Jan 23 22:08:56 2004 From: markwag+nagios at u.washington.edu (Mark Wagner) Date: Fri, 23 Jan 2004 13:08:56 -0800 Subject: output more than 80 characters In-Reply-To: Your message of "Fri, 23 Jan 2004 12:14:11 GMT." Message-ID: <200401232108.i0NL8uni005202@gandalf.radonc.washington.edu> On 23 January 2004 at 12:14, "Paul L. Allen" wrote: > Ewan Leith writes: > > > If so, maybe there is a maximum limit of 80 characters in the nagios > > web pages too. > My own feeling on this is that the significant part of the output should > be kept short, but there may be additional info. I.e., the output of > check_disk on a system with several partitions starts with the important > "DISK OK" and then shows actual space used on each partition. On a pager > the most important part is "DISK OK" or "DISK CRITICAL" but on the web > display or in e-mail notification the extra information is useful. >From Nagios will only grab the first line of text from STDOUT when it notifies contacts about potential problems. If you print multiple lines, you're out of luck. Remember, keep it short and to the point. This is one feature of Nagios that I don't like too much. I think there should be the possibility of more verbosity, e.g., $OUTPUT$ has the first line and the rest would be in $EXTOUTPUT$. -- Mark Wagner markwag at u.washington.edu 206-598-0302 Unix System Administrator, Radiation Oncology and Radiology ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Fri Jan 23 22:12:20 2004 From: thilanka at sbcglobal.net (Thilanka Samarasekera) Date: Fri, 23 Jan 2004 13:12:20 -0800 (PST) Subject: statusmap In-Reply-To: <20040123205412.59B5F8B804D@ibill.no-ip.org> References: <20040123205412.59B5F8B804D@ibill.no-ip.org> Message-ID: <20040123211220.66862.qmail@web80012.mail.yahoo.com> that's what I did Bill James wrote:Go to http://www.nagios.org Download the version 1.1 unpack it from within the unpacked nagios directory run ./configure, then make once make is done look in the cgi directory under the directory from where you unpacked nagios and ran configure and make and you will find the statusmap.cgi --------------------------------- From: Thilanka Samarasekera [mailto:thilanka at sbcglobal.net] Sent: Friday, January 23, 2004 3:48 PM To: Bill James Subject: RE: [Nagios-users] statusmap how do i get from the source install ? Bill James wrote: --------------------------------- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thilanka Samarasekera Sent: Friday, January 23, 2004 3:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] statusmap Ok I have gone through many documents and still I cann get my status map and the 3d status map to work. Here's how my configurations look like: cgi.cfg #hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;novell40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; #hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2;NT Server 4.0;;; xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg #statusmap_background_image=bg-pic.gif I someone needs to see other configuration files of my installation...let me know and I will post them. And also I was looking a the apache error_log while clicking on status map and I get the following error: script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi I looked in /usr/local/nagios/sbin and there is no file with the name statusmap.cgi My question is where to get this file from ? Cause a simple 'find on the whole file system did not yeild any results. Any help would be appreciated. Thilanka Mine is located in /usr/lib/nagios/cgi/statusmap.cgi (machine is Redhat 9) but you could get it from the source install and place it where it is looking for it on your distro -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Fri Jan 23 22:26:37 2004 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jan 2004 15:26:37 -0600 Subject: Where have the cgi gone? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1C5@mismail2.ena.com> This usually happens when you compile nagios without all the necessary libraries installed, specifically gd and gd-devel (and it's requirements). You'll need to install gd, make distclean in your nagios source directory, reconfigure and recompile. There is a FAQ entry on this topic I'm 95% sure. -- Marc _____ From: Thilanka Samarasekera [mailto:thilanka at sbcglobal.net] Sent: Friday, January 23, 2004 3:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Where have the cgi gone? I get this in my apache error_log [Fri Jan 23 14:50:01 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/trends.cgi [Fri Jan 23 15:07:51 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/trends.cgi [Fri Jan 23 15:07:53 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/histogram.cgi [Fri Jan 23 15:07:55 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/histogram.cgi [Fri Jan 23 15:08:08 2004] [error] [client 10.133.112.54] script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi How come all the other cgi's in the proper place and these three are not ? Can someone help ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From greg at netgraft.com Fri Jan 23 22:38:29 2004 From: greg at netgraft.com (Greg Alexander) Date: Fri, 23 Jan 2004 16:38:29 -0500 Subject: how to check routers? Message-ID: <20040123163829.F9044@romulus.netgraft.com> Hi - We have a router that is listed as a "parent" in most of our host definitions, but if I take down any of these hosts, it doesn't seem to check if the parent is down. The router remains at state: (Host assumed to be up) The only service on this host is not rechecked, nor is the host status (apparently). I still get notifications for the individual hosts, even though the parent is down. Since it is a router, the only service check for this host is essentially a host check: define service{ use generic-service host_name gw-router service_description ALIVE max_check_attempts 10 notification_options n ; our T1 is flakey check_command check_ping!100.0,20%!500.0,60% } And it is not checked often enough to show a problem before the alerts are sent out. Shouldn't a failure in a "child" host trigger a host check for the gw-router host even though none of the services on gw-router have indicated problems yet? The T1 operates as a switch so the hosts appear as "DOWN" rather than "UNREACHABLE". gw-router is actually a router on the other end of the T1 that conveniently goes AWOL with everything else (and that we trust to never crash of its own accord, knock on wood)... Any advice? Thanks, - Greg ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 22:51:02 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 23 Jan 2004 21:51:02 +0000 Subject: Where have the cgi gone? In-Reply-To: <20040123211021.71866.qmail@web80007.mail.yahoo.com> References: <20040123211021.71866.qmail@web80007.mail.yahoo.com> Message-ID: <20040123215102.3611.qmail@minnow.softflare.net> Thilanka Samarasekera writes: > I get this in my apache error_log > > [Fri Jan 23 14:50:01 2004] [error] [client 10.133.112.54] script not > found or unable to stat: /usr/local/nagios/sbin/trends.cgi Hmmm, it generates graphs on-the-fly. > [Fri Jan 23 15:07:53 2004] [error] [client 10.133.112.54] script not > found or unable to stat: /usr/local/nagios/sbin/histogram.cgi And that generates graphs on-the-fly, too. > [Fri Jan 23 15:08:08 2004] [error] [client 10.133.112.54] script not > found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi That one doesn't generate graphs. But it does generate a status map, which is a graphic that is created on-the-fly. > How come all the other cgi's in the proper place Do any of the other CGIs generate images on-the-fly? > and these three are not ? Take a wild guess... > Can someone help ? Yes, the documentation can help. It tells you what libraries you need in order for certain things to be built. See if you can guess what type of library you might be missing before you read through the documentation. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 23:31:38 2004 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jan 2004 16:31:38 -0600 Subject: Where have the cgi gone? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1C9@mismail2.ena.com> On Friday, January 23, 2004 3:51 PM, Paul L. Allen shared with us: > Thilanka Samarasekera writes: > > > I get this in my apache error_log > > > > [Fri Jan 23 14:50:01 2004] [error] [client 10.133.112.54] script not > > found or unable to stat: /usr/local/nagios/sbin/trends.cgi > > Hmmm, it generates graphs on-the-fly. Which makes absolutely no difference if the cgi doesn't exist, as is clearly stated. > > [Fri Jan 23 15:07:53 2004] [error] [client 10.133.112.54] script not > > found or unable to stat: /usr/local/nagios/sbin/histogram.cgi > > And that generates graphs on-the-fly, too. Ditto. > > > [Fri Jan 23 15:08:08 2004] [error] [client 10.133.112.54] script not > > found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi > > That one doesn't generate graphs. But it does generate a status map, > which is a graphic that is created on-the-fly. Ditto the ditto above. > > > How come all the other cgi's in the proper place > > Do any of the other CGIs generate images on-the-fly? > > > and these three are not ? > > Take a wild guess... > > > Can someone help ? > > Yes, the documentation can help. It tells you what libraries you > need in order for certain things to be built. See if you can guess > what type of library you might be missing before you read through the > documentation. Now, I'll admit that I am a big fan of 'give them enough information to help them help themselves and learn in the process', but really, there's nothing to take away from this comment that's useful in the least and is actually very condescending. As far as I remember, and I'm pretty familiar with the documentation, this issue isn't addressed at all specifically and the gd libs are only mentioned in one line out of several thousand. I think I can forgive someone for missing that. The FAQ however does contain several entries related to this, specifically http://www.nagios.org/faqs/viewfaq.php?faq_id=55 and that would have been a much better pointer. To make a correlation between the specific cgis generating graphs on the fly and not being present is a huge leap for someone without years of experience with linux/unix and knowing specifically how those graphs are generated. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 24 00:16:51 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 23 Jan 2004 23:16:51 +0000 Subject: Where have the cgi gone? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A1C9@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1C9@mismail2.ena.com> Message-ID: <20040123231652.15323.qmail@minnow.softflare.net> Marc Powell writes: > On Friday, January 23, 2004 3:51 PM, Paul L. Allen shared with us: >> Hmmm, it generates graphs on-the-fly. > > Which makes absolutely no difference if the cgi doesn't exist, as is > clearly stated. It explains WHY the cgi doesn't exist, to those who bother to think about it. All the CGIs that don't generate graphics on the fly are present, all those that do are absent. Right away, the problem has been narrowed down. We know that all the missing CGIs have property X and none of the CGIs which are present have property X. It should not take a genius to figure out that, for some unknown reason, there is something about property X which is somehow related to those being absent. >> And that generates graphs on-the-fly, too. > > Ditto. Yes, another case of having property X. Identifying a feature common to several problematical items which is not shared by items without problems is the first step in the analysis. Of course, sometimes it is a lot more complex than that, where having property X causes problems only if it does not have property Y or if it does have property Z. In this case it was nice and simple: all the CGIs that generate graphics on the fly are missing; all the CGIs that are present do not generate graphics on the fly. >> That one doesn't generate graphs. But it does generate a status map, >> which is a graphic that is created on-the-fly. > > Ditto the ditto above. Ditto-cubed. >> Yes, the documentation can help. It tells you what libraries you >> need in order for certain things to be built. See if you can guess >> what type of library you might be missing before you read through the >> documentation. > > Now, I'll admit that I am a big fan of 'give them enough information to > help them help themselves and learn in the process', but really, there's > nothing to take away from this comment that's useful in the least and is > actually very condescending. It was MEANT to be condescending. The answer IS in the documentation, albeit somewhat obscure. And by "documentation" I mean not only the web docs but also the FAQs, the installation instrucions in the tarball, the output of configure --help, etc. These are all places I would have looked before then going on to search google for a while. Only if none of those things turned up an answer would I have considered asking here. Then again, I would have been bright enough to make the connection that only the CGIs which generate graphics on the fly had gone missing. I would have looked at the output of the CGIs that worked and noticed that they did not generate graphics on the fly. I would have read up on the functionality that was meant to be provided by the missing CGIs and realized that they did generate graphics on the fly. And if reading and thinking about it hadn't provided me with the answer, I'd have done a make clean, then rebuilt while watching the output of configure and make like a hawk to see if it complained about anything. Which it would have done and given me the answer on the spot. This is NOT rocket science, just a bit of careful reading and/or a bit of thought. Installing packages, and reading the docs when things go wrong, is meant to be what *nix admins DO. That's why they're *nix admins and MCSE point-and-click monkeys are not *nix admins. Well, that's how it used to be - these days it seems more and more people ask questions here because they think the place is inhabited by animated paperclips... > As far as I remember, and I'm pretty > familiar with the documentation, this issue isn't addressed at all > specifically and the gd libs are only mentioned in one line out of > several thousand. And yet you managed to conclude from his description, as did I, that he was missing the GD libs. How did you reach that conclusion? Because you remembered one line of the docs out of thousands or because it was painfully obvious where the problem was? > I think I can forgive someone for missing that. Forgive, yes. Let him get away with me doing the work that he should have done first, no. OK, it took me all of ten seconds to realize what his problem was and it would probably have taken him a whole day. But that would have been a day of useful experience in tracking down and solving problems by reading documentation and applying logical thought. Or it would have at least convinced him to go back to being a point-and- click monkey. > The FAQ however does contain several entries related to this, specifically > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 and that would have > been a much better pointer. Even trainee *nix admins ought to know within days of starting the job to search the FAQs before asking on a list. Read the docs. Then the FAQs. Then do a google search. Then read the source. If all else fails, then think about asking on the list. > To make a correlation between the specific cgis generating graphs on > the fly and not being present is a huge leap for someone without years > of experience with linux/unix and knowing specifically how those graphs > are generated. You convinced me. It is perfectly feasible for Nagios to be distributed with pre-created graphics of every possible statusmap, trend chart, etc., that any of us might ever have data for that would lead to such a chart being required. Nobody in his right mind would ever expect that statusmaps or trend charts of what are essentially UNIQUE data would be generated on demand. Nobody would ever guess that CGIs which generate images which could not possibly be pre-distributed with Nagios could possibly have anything whatsoever in common when all three go missing. BTW, before I even contemplated installing Nagios to test it, I read the docs (which show sample output) and went to the test site and it was perfectly obvious which CGIs embedded static images in HTML and which CGIs were creating images on demand. As I said before, this isn't rocket science. If he'd done even a fraction of the research he SHOULD have done before asking here, he'd have seen the property those three CGIs had in common but which was not shared by any of the other CGIs. Do you not think that somebody tasked with installing software that monitors operating system performance and network services ought to have a slight clue about operating systems and network services? Or is it OK if they think it works by some sort of magic and if anything goes wrong they ought to consult a magician? I have no objection to that IF they want to pay the going consultation rates for magicians. If they want help for free then they need to show some signs of possibly being able to learn from that help, because otherwise they'll just insist on being spoon-fed every step of the way. If, after my post, he'd been able to figure out that he was missing a graphics library of some sort that would have indicated he wasn't totally beyond help and that maybe, just maybe, he would not need babying through every step of the way of installing GD on his distro in such a way that the missing CGIs would be created. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 01:45:03 2004 From: marc at ena.com (Marc Powell) Date: Fri, 23 Jan 2004 18:45:03 -0600 Subject: Where have the cgi gone? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1CA@mismail2.ena.com> Paul L. Allen wrote: > Marc Powell writes: > >> On Friday, January 23, 2004 3:51 PM, Paul L. Allen shared with us: > >>> Hmmm, it generates graphs on-the-fly. >> >> Which makes absolutely no difference if the cgi doesn't exist, as is >> clearly stated. > > It explains WHY the cgi doesn't exist, to those who bother to think > about it. All the CGIs that don't generate graphics on the fly are > present, all those that do are absent. Right away, the problem has > been narrowed down. We know that all the missing CGIs have property > X and none of the CGIs which are present have property X. > It should not take a genius to figure out that, for some unknown > reason, there is something about property X which is somehow related > to those being absent. And this user, who is setting up nagios for the first time, is supposed to go through every possible menu option and link for the cgi's that do work and discover the thing that they all don't do?? How are they supposed to know that none of the cgi's that do work don't generate images 3 levels in? Again, not everyone is as experienced as you apparently are, especially on a mailling list intended _specifically_ for providing just the kind of help this person was asking for. Regardless of what you might think, the answers provided on this list are a direct reflection of the kind of support an end-user can expect when adopting Nagios, of Nagios itself and of *nix in general. If I had consistently seen those kinds of responses when I started using Netsaint several years ago I would have seriously reconsidered. It baffles me how someone with a .sig of 'Softflare Support' doesn't understand these kinds of things. >>> And that generates graphs on-the-fly, too. >> >> Ditto. > > Yes, another case of having property X. Identifying a feature common > to several problematical items which is not shared by items without > problems is the first step in the analysis. Of course, sometimes it > is a lot more complex than that, where having property X causes > problems only if it does not have property Y or if it does have > property Z. In this case it was nice and simple: all the CGIs that > generate graphics on the fly are missing; all the CGIs that are > present do not generate graphics on the fly. > >>> That one doesn't generate graphs. But it does generate a status >>> map, which is a graphic that is created on-the-fly. How would they know? They can't run it. Again, you presume that the user fully understands what's going on. As far as they know it could be generated with VRML, NetPBM, ImageMagick or sprites even. And don't rebutt that those aren't mentioned in the requirements document. It's already been established that they didn't read or understand the meaning of the GD libs or their function. >> Ditto the ditto above. > > Ditto-cubed. > >>> Yes, the documentation can help. It tells you what libraries you >>> need in order for certain things to be built. See if you can guess >>> what type of library you might be missing before you read through >>> the documentation. >> >> Now, I'll admit that I am a big fan of 'give them enough information >> to help them help themselves and learn in the process', but really, >> there's nothing to take away from this comment that's useful in the >> least and is actually very condescending. > > It was MEANT to be condescending. The answer IS in the > documentation, albeit somewhat obscure. And by "documentation" I > mean not only the web docs but also the FAQs, the installation > instrucions in the tarball, the output of configure --help, etc. > These are all places I would have looked before then going on to > search google for a while. Only if none of those things turned up an > answer would I have considered asking here. Yes, it was very clear that was what you meant. Oh, wait, I have to go to my second job at the Psychic Friends Network... Yes, in a perfect world those are all things that should have been done, but it's not a perfect world, he didn't and this _is_ a support list. To answer basically 'RTFM' without giving a specific suggestion of where to look or what to look for is useless, especially with the significant (in a positive light) amounts of FM to R for Nagios. > Then again, I would have been bright enough to make the connection > that only the CGIs which generate graphics on the fly had gone > missing. I would have looked at the output of the CGIs that worked > and noticed that they did not generate graphics on the fly. I would > have read up on the functionality that was meant to be provided by > the missing CGIs and realized that they did generate graphics on the > fly. > > And if reading and thinking about it hadn't provided me with the > answer, I'd have done a make clean, then rebuilt while watching the > output of configure and make like a hawk to see if it complained > about anything. > Which it would have done and given me the answer on the spot. Again, that's your experience talking. Not everyone has that experience. Years ago you could have gotten away with expecting that, but with the golden age of linux upon us that can not be expected any more. More and more people are using linux which is great, but at the same time, those people are inexperienced and don't know all the possible things to look for. It's the long time users like us that have to show them the way, hopefully in a positive, non-condescending manner so that they don't have a sour taste in their mouth with regards to everything linux related. > This is NOT rocket science, just a bit of careful reading and/or a > bit of thought. Installing packages, and reading the docs when > things go wrong, is meant to be what *nix admins DO. That's why > they're *nix admins and MCSE point-and-click monkeys are not *nix > admins. Well, that's how it used to be - these days it seems more > and more people ask questions here because they think the place is > inhabited by animated paperclips... But it is rocket science and these people are not all *nix admins. Some people are playing with linux to see what they can do with it, some are asked to try it out by their employers without ever having used it before and others are doing it because Nagios looks so cool and useful. To those users, it is like rocket science. I'm going to bet that it's a rare person who is experienced in linux today who didn't have a mentor to help them with these very types of things. Like it or not, this is a support list and we _are_ paperclips. This is where people will come and ask stupid questions and highly intelligent questions. If you feel that a question is beneath you please, don't answer it and just leave it to others. I would much rather someone go away with an un-answered question than the admitted condescending response you gave. It serves no one. > Do you not think that somebody tasked with installing software that > monitors operating system performance and network services ought to > have a slight clue about operating systems and network services? Or > is it OK if they think it works by some sort of magic and if anything > goes wrong they ought to consult a magician? I have no objection to I expect an end user to have a basic grasp of those subjects but I do not expect that they fully understand all the intracacies of a software package that they are installing for the first time. > that IF they want to pay the going consultation rates for magicians. > If they want help for free then they need to show some signs of > possibly being able to learn from that help, because otherwise > they'll just insist on being spoon-fed every step of the way. And how exactly did you give this person help or an opportunity to learn from this help? Your response in a nutshell was 'You're an idiot. I know exactly what your problem is but you've got to re-read all the 65 pages of documentation, then the 118 FAQ's, then the README, CHANGELOG and INSTALLING documents. Even though I could point you to exactly what you should read to learn how to solve your problem or even tell you to look up information on "gd", I'm not going to do it because I look down on you. I'm not even going to tell you what documentation to look in.' That's exactly what I got out of your response. Normally, I would have ignored an RTFM response but you took it to the next level, treating this person like a 5 year old child right off the bat. If you don't like your role as a Nagios support representative, either don't participate or only respond to questions that are of a sufficient caliber to engage your intellect. > If, after my post, he'd been able to figure out that he was missing a > graphics library of some sort that would have indicated he wasn't > totally beyond help and that maybe, just maybe, he would not need > babying through every step of the way of installing GD on his distro > in such a way that the missing CGIs would be created. All that just so you didn't have to say "You need GD. Look in the FAQ". -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Sat Jan 24 03:33:31 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Fri, 23 Jan 2004 21:33:31 -0500 Subject: Nagios Extra Icons Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F04807AFF@stoexchange.state.fl.us> Hello: Just got Nagios running for 500+ host. I've been very impressed and I would now like to make it look more presentable. Can anyone point me to any site with additional icons that can use in the 3D-Map? I found the following using Google: http://rpm.pbone.net/index.php3/stat/4/idpl/418313/com/nagios-logopack-1.0-2 plf.noarch.rpm.html Thanks :) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 24 04:13:14 2004 From: pla at softflare.com (Paul L. Allen) Date: Sat, 24 Jan 2004 03:13:14 +0000 Subject: Where have the cgi gone? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A1CA@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1CA@mismail2.ena.com> Message-ID: <20040124031315.14766.qmail@minnow.softflare.net> Marc Powell writes: > And this user, who is setting up nagios for the first time, Who is supposedly a *nix admin (because he needs root to install nagios) who works for what is either an ISP or the IT department of a company with many machines that need to be monitored (or else he has no reason to install it in the first place). He OUGHT to be clueful about *nix or he shouldn't be messing around with root privileges or working for an ISP or IT department with many machines. > is supposed to go through every possible menu option and link for the > cgi's that do work and discover the thing that they all don't do?? Guess what I did when I installed Nagios and added a few hosts and services to test it? That's right. I went through EVERYTHING, playing with it, familiarizing myself with it, spotting services that were showing up as critical and working out why. I went through the lot. And if I'd found that some of them hadn't worked I'd have noted which ones (as he did). Unlike him, I'd have tried to figure out why before asking silly questions here. > How are they supposed to know that none of the cgi's that do work don't > generate images 3 levels in? Ah, the highly plausible "page not found that suddenly becomes findable if you go deep enough by clicking several times on the link on the page that could not be found" theory. Yes, right. When you can't find your car because it has been stolen, if you get into your non-existent car and floor the gas pedal three times, you'll find your car. Guaranteed. > Again, not everyone is as experienced as you apparently are, especially > on a mailling list intended _specifically_ for providing just the > kind of help this person was asking for. No, it is intended to help CLUEFUL people who put in some effort on their own to figure out what the problem is. Since I read newest mail first, I hadn't seen this moron's other posts. Just look at what you're trying to defend. His first problem is that some CGIs throw up "not found" errors in his browser. He could have read the docs, he could have looked at the FAQ, he could have searched google, instead he asked the animated paperclip (the one that doesn't mind how many hours a day people spend asking it stupid questions and which he believes inhabits this list). Well, the animated paperclip didn't respond quickly enough. So either he decided to actually try thinking about it or, more likely, a co-worker gave him a hint. So he looked in the apache error logs and found "could not stat /usr/local/nagios/sbin/statusmap.cgi" which he DID NOT UNDERSTAND. Remember, this is supposedly a *nix admin, and he has no idea what this means. So again he turns to the animated paperclip. Again, the animated paperclip does not respond quickly enough. A little, dim light-bulb appears over his head. That looks like a *nix filesystem path, he thinks. One that looks similar to /usr/local/nagios/etc where he now remembers having edited config files. What if he actually LOOKS IN THAT DIRECTORY? Wow! The files are missing! Time to ask the animated paperclip again. Maybe a dog ate them or UFO aliens abducted them or something. After all, if you have no clue whatsoever about being a *nix admin, anything might happen. So, rather than READ THE DOCUMENTATION, or LOOK IN THE FAQS, or SEARCH GOOGLE, or REBUILD AND LOOK FOR ERROR MESSAGES, or READ THE SOURCE, like any competent *nix admin would do, he asks the animated paperclip yet again. Any halfway competent *nix admin would have figured out the CGIs were missing without having to ask the list. Your argument that he is new to Nagios does not hold water. I was new to Nagios when I installed it. Nagios is a tool spefically for use by ISPs and IT departments. Anyone even thinking about installing it should already be a semi-competent *nix admin or shouldn't be working for such a company in the first place. > Regardless of what you might think, the answers provided on this list > are a direct reflection of the kind of support an end-user can expect > when adopting Nagios, of Nagios itself and of *nix in general. Correct. If you are installing Nagios on a *nix machine then you really ought to have at least some clue about *nix in the first place or you shouldn't be messing around as root. If you have a NEED to install Nagios then you really ought to have significantly more clues than the average home user of Windows who only uses it to play games and surf for porn. As for *nix in general and mailing lists/support lists, I suggest you take a long read of . And then try to remember that the average home user of Windows is not going to try installing Nagios on a *nix box. A person with an actual need to instal Nagios ought to be significantly more clued than this guy was, and have some idea about asking questions on lists sensibly, even if they don't know who ESR is. > If I had consistently seen those kinds of responses when I started > using Netsaint several years ago I would have seriously reconsidered. Some people post here and show that they have put in an effort to find the answer themselves before asking on the list. They understand that the people on this list are giving them what is in effect free tech support and that they should not appear to be leaches who can't do their job properly and want somebody else to do it for them for free. I've asked questions here, but only after I've exhausted other avenues. And when I ask questions here I explain what I've done to try to figure out the answer for myself to prove that I'm not leaching and taking the easy way out. > It baffles me how someone with a .sig of 'Softflare Support' doesn't > understand these kinds of things. The support you get from Softflare comes at a price - you PAY for it. If you're paying for my time (either as an isolated call or because you have a support contract) then you can ask all the stupid questions you want and I will be pleasant and courteous (even if I think you're a complete moron). If this guy wants to pay Softflare to install and configure Nagios for him we will be more than happy to do so and I will guarantee that whichever of us installs and configures it for him will not call him a moron. >>>> That one doesn't generate graphs. But it does generate a status >>>> map, which is a graphic that is created on-the-fly. > > How would they know? They can't run it. They can read the docs, which contain screenshots. They can visit the test site. I did both of those things before deciding to install Nagios because there was no point wasting my time installing it if either the docs or the test site showed it had serious shortcomings. Reading the docs would be necessary if I installed it, so reading the docs first could save time if it is clear from the docs that it does not meet my requirements. No sane person would install it first, then read the docs, then decide from reading the docs that it was no good for their needs, unless installing it was the ONLY way to get at the docs. > Again, you presume that the user fully understands what's going on. As > far as they know it could be generated with VRML, NetPBM, ImageMagick > or sprites even. It could use any image manipulation utility. The point I made was that HAD to use AN image manipalation utility because those images had to be created ON THE FLY. I used those words many times in my first post to this thread, but I never mentioned the name of a particular image manipulation utility or library. I wanted him to go digging for himself to find out that he needed gdlib. The point being, as I stated originally, that it was patently obvious to anyone who had read the docs about what things did (whether before or after finding out that some of the links didn't work) and who had put in a minimal amount of THOUGHT, that the three failing CGIs had a property in common not shared by the other CGIs. > And don't rebutt that those aren't mentioned in the requirements > document. It's already been established that they didn't read or > understand the meaning of the GD libs or their function. You make my point for me. Rather than read the docs, look at the FAQs (it was you, I believe, who said his problem is covered in a couple of the FAQs), do a google search or any of the other things that should be instinctive to a *nix admin (no matter what package he or she is installing), he came straight to the list. Again and again, with a slow-drip water torture of questions showing that he is capable of learning, but not much faster than a snail doped up on Xanax. > Yes, it was very clear that was what you meant. Oh, wait, I have to go > to my second job at the Psychic Friends Network... Yes, in a perfect > world those are all things that should have been done, but it's not a > perfect world, he didn't and this _is_ a support list. It is NOT a support list. A support list is staffed by professionals who give you complete and courteous answers because you PAY them to do so. This is a self-help list where people help themselves and others. One important part of self-help is actually getting involved yourself rather than expecting everyone else to do it for you. > To answer basically 'RTFM' without giving a specific suggestion of > where to look or what to look for is useless, Only to the sort of clueless person who should not be installing Nagios anyway. If you don't know enough to read the documentation, FAQs, etc. when things go wrong then you really should not have the root password. Even so, I reminded him of the docs and gave him a very strong clue about what sort of thing he should be looking for in the docs. If he has any potential at all, the next time he will mention what he has done in order to try to solve the problem himself. > especially with the significant (in a positive light) amounts of FM to R > for Nagios. There is a lot of manual and it could probably be re-organized for the better. But I've seen far worse. In any case, his problem was not using it but installing it (and the docs are very hand-holding in that respect compared to stuff like RT). In the end, a *nix admin installing a package to do geeky ISP-like things ought to have some clue about where to look for answers BEFORE resorting to a list. Even an "I looked through the docs but couldn't see anything obvious" would have shown he at least made the effort. > Again, that's your experience talking. Not everyone has that experience. > Years ago you could have gotten away with expecting that, but with the > golden age of linux upon us that can not be expected any more. More and > more people are using linux which is great, but at the same time, those > people are inexperienced and don't know all the possible things to look > for. Specious argument. Sure, people are using Linux on the desktop without really knowing much about installing anything that isn't in an RPM, or knowing about networking in general. But those people have no reason to monitor network services and the health of network servers. Your argument would apply if this was some home-use application package like a game. Your argument would apply if this was some business package which was not IT-related, like an accounting package, or a payroll package, or a spreadsheet. Then you might reasonably expect a home-user, point-and-click, level of knowledge and stupid questions. THIS IS A PACKAGE FOR NETWORK ADMINS MONITORING NETWORK SERVICES AND SERVERS. They are to be expected to know a little more about things than ordinary home users playing with Linux as a desktop machine. It is NOT unreasonable to expect such a person to understand something about webservers, for instance, or at least to have a cow-orker that does. It is NOT unreasonable to expect such a person to at least think about looking at the documentation if things don't work. It is NOT unreasonable to expect such a person to think of looking for an FAQ (just about every commercial website I look at has an FAQ and even home users know what one is). It is NOT unreasonable to expect such a person to do a google search (even some home users know about google - in fact most of them do). > But it is rocket science Standard *nix installation procedures should not be rocket science to anyone who has any need to actually install it. > and these people are not all *nix admins. Some people are playing with > linux to see what they can do with it, You've lost the plot. "Here I am, sat at home, playing with Linux to see what I can do with it. What can I try? I know, I'll try installing a package to monitor network services and servers and alert me if any of them fail, even though I don't actually have anything to monitor and have no intention of ever applying for a job with an ISP." Do try and remember who is going to want to install Nagios and why. > I'm going to bet that it's a rare person who is experienced in linux > today who didn't have a mentor to help them with these very types of > things. I got dumped in at the deep-end several years ago, when I joined the world's most clueless company (now, thankfully, defunct) and had to build a replacement Linux server for the semi-broken one their previous techy had built many years ago. This was before all the sophisticated auto-install that worked smoothly but after the "grab the kernel sources, and boot-strap it from scratch" releases had gone away. No help on installing or configuring new packages except what I could find in the docs. It was all new and strange to me, but I had problem-solving skills... Basically, to be a *nix admin or a techy at an ISP or in IT support you need PROBLEM-SOLVING SKILLS that go beyond trying to get free tech support by asking questions on a mailing list and hoping somebody will take pity on you and give you answers so you don't have to do any of that horrible LEARNING stuff. > Like it or not, this is a support list I have already pointed out that you are wrong. The reply address is not nagios-support at lists.sourceforge.net but nagios-users at ... > and we _are_ paperclips. You are perfectly entitled to give unpaid support for free, if you are masochistic enough. Since this is a self-help list, I will continue to help people even if that involves first teaching them that they have to show they have tried to do some of the work for themselves before they can expect much help from most of us. > I would much rather someone go away with an un-answered question > than the admitted condescending response you gave. Feel free to plonk me, then you will not have to read my responses. I would prefer that people learn they have to learn. Give a man a fish and you feed him for a day; teach him how to fish and you feed him for life. You want to keep doling out the fish, I want to tell people about fishing rods (except when it comes to paid support, then I would prefer them to keep buying fish). > It serves no one. Actually, it might have taught the guy to try thinking for himself for a little before asking questions that anybody with a real need to install Nagios ought to be capable of answering for himself anyway. > I expect an end user to have a basic grasp of those subjects but I do > not expect that they fully understand all the intracacies of a software > package that they are installing for the first time. I don't expect anyone to fully understand software they are installing for the first time. I DO expect somebody who ought to be a fairly experienced *nix admin installing software that is only of use to experienced *nix admins to have some minimal knowledge of *nix. I don't expect the petrol pump attendant to know where the filler cap is on a car he's never seen before, but I do expect him not to just pump petrol through the open sun roof because he doesn't know where the filler cap is. YMMV... > And how exactly did you give this person help or an opportunity to learn > from this help? I aided him by pointing out that the answer was within his means to find out for himself without any help from anyone else other than knowing the answer was in the documentation and that he was missing a library needed to create images on the fly. Unless you think he was too stupid to figure that out from what I wrote, in which case he is probably too stupid to own a computer. > Your response in a nutshell was 'You're an idiot. I know > exactly what your problem is but you've got to re-read all the 65 pages > of documentation, then the 118 FAQ's, then the README, CHANGELOG and > INSTALLING documents. He doesn't have to read ALL of them unless he's unlucky. Statisically, he only has to read half of them. If he can figure out how to use the contents page in the docs to find the FAQs quickly, and can figure out how to use the FAQ contents to find the right FAQs quickly, he might get an answer in under 15 minutes. If he really is an idiot then he really will have to read the whole lot because he won't recognize the answer even when he sees it. Since you believe he will have to read all of the documentation, FAQs, readmes, etc., then your opinion of him is very low. > Even though I could point you to exactly what you should read to learn > how to solve your problem You've lost the plot again. I told him EXACTLY what he needed to learn to solve his problem. He needed to learn how to approach *nix admin problems as a REAL *nix admin would by getting some problem-solving skills. Of course, he had to solve a minor problem just to figure out what he needed to learn, but if that's beyond him then there is no hope for him (and it was part of the lesson). > Normally, I would have ignored an RTFM response but you took it to the > next level, treating this person like a 5 year old child right off the > bat. Yes, I made a mistake there because I hadn't read his earlier posts. Had I read those first, I would have treated him like a 3-year-old. > If you don't like your role as a Nagios support representative, Is the weather nice on your planet? Nobody here is a Nagios support representative. There are Nagios users of varying degrees of cluefulness and occasionally Nagios developers. None of them is paid to give support to anyone or represents anyone but themselves (I'd file off my standard work sig, but I can't be bothered). > either don't participate or only respond to questions that are of a > sufficient caliber to engage your intellect. I'll make you a deal (whether you accept it or not, I will honour my part of it). You get to control which messages you read, which messages you respond to, and what you write in your responses; I get to control which messages I read, which messages I respond to, and what I write in my responses. You get the option to not read what I write, you do not get the option to tell me what I may or may not write. I get the option to not read what you write, I do not get the option to tell you what you may or may not write. There is a special legal term for this kind of deal: it's known as "reality." > All that just so you didn't have to say "You need GD. Look in the FAQ". Either he is a real *nix admin with a real need for Nagios for *nix admin type purposes, in which case he needs to learn how to go about figuring things out for himself and to learn a LOT more about *nix, or he is not, in which case he is wasting his time and ours installing something he will never actually use. This is not an "I am new to Linux and need help" list, this is supposedly an "I am a real *nix admin and want to do seriously geeky things because I work for an ISP" list. I expect a *nix admin to know what "could not stat /usr/local/nagios/sbin/statusmap.cgi" means or at least to be able to figure it out without first seeing if the animated paperclip has an answer. I expect somebody thrown in at the deep end to at least offer an apology for not really knowing what he's doing. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill at ibill.no-ip.org Sat Jan 24 04:24:51 2004 From: bill at ibill.no-ip.org (Bill James) Date: Fri, 23 Jan 2004 22:24:51 -0500 Subject: Nagios Extra Icons In-Reply-To: <2FDA6C38B2BFD4119D2400D0B784BE6F04807AFF@stoexchange.state.fl.us> References: <2FDA6C38B2BFD4119D2400D0B784BE6F04807AFF@stoexchange.state.fl.us> Message-ID: <20040124032411.B3D9A8B804D@ibill.no-ip.org> There are a bunch of links to graphics and icons for Nagios on this page http://www.nagios.org/download/extras.php I use a combination of most of them and they all work well under the status maps and just about everywhere else -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Platt, Nicholas Sent: Friday, January 23, 2004 9:34 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Nagios Extra Icons Hello: Just got Nagios running for 500+ host. I've been very impressed and I would now like to make it look more presentable. Can anyone point me to any site with additional icons that can use in the 3D-Map? I found the following using Google: http://rpm.pbone.net/index.php3/stat/4/idpl/418313/com/nagios-logopack-1 .0-2 plf.noarch.rpm.html Thanks :) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 24 04:45:33 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 24 Jan 2004 16:45:33 +1300 Subject: Where have the cgi gone? In-Reply-To: <20040124031315.14766.qmail@minnow.softflare.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A1CA@mismail2.ena.com> <20040124031315.14766.qmail@minnow.softflare.net> Message-ID: <1074915937.786.9.camel@munter> Paul, I'm sick of reading your crap. It's /dev/null for you. I suggest to the community (Hmm, Paul - is that an alien concept for you?) that you all do the same. Marc's right. If you are representative of the kind of support that is available that from Softflare, then I pity your customers. Bye bye. jamie On Sat, 2004-01-24 at 16:13, Paul L. Allen wrote: > Marc Powell writes: > > > And this user, who is setting up nagios for the first time, > > Who is supposedly a *nix admin (because he needs root to install nagios) > who works for what is either an ISP or the IT department of a company > with many machines that need to be monitored (or else he has no reason > to install it in the first place). He OUGHT to be clueful about *nix or > he shouldn't be messing around with root privileges or working for > an ISP or IT department with many machines. > > > is supposed to go through every possible menu option and link for the > > cgi's that do work and discover the thing that they all don't do?? > > Guess what I did when I installed Nagios and added a few hosts and > services to test it? That's right. I went through EVERYTHING, playing > with it, familiarizing myself with it, spotting services that were > showing up as critical and working out why. > > I went through the lot. And if I'd found that some of them hadn't > worked I'd have noted which ones (as he did). Unlike him, I'd have > tried to figure out why before asking silly questions here. > > > How are they supposed to know that none of the cgi's that do work don't > > generate images 3 levels in? > > Ah, the highly plausible "page not found that suddenly becomes findable > if you go deep enough by clicking several times on the link on the > page that could not be found" theory. Yes, right. When you can't > find your car because it has been stolen, if you get into your non-existent > car and floor the gas pedal three times, you'll find your car. Guaranteed. > > > Again, not everyone is as experienced as you apparently are, especially > > on a mailling list intended _specifically_ for providing just the > > kind of help this person was asking for. > > No, it is intended to help CLUEFUL people who put in some effort on > their own to figure out what the problem is. Since I read newest mail > first, I hadn't seen this moron's other posts. Just look at what you're > trying to defend. > > His first problem is that some CGIs throw up "not found" errors in his > browser. He could have read the docs, he could have looked at the > FAQ, he could have searched google, instead he asked the > animated paperclip (the one that doesn't mind how many hours a day > people spend asking it stupid questions and which he believes inhabits > this list). > > Well, the animated paperclip didn't respond quickly enough. So either > he decided to actually try thinking about it or, more likely, a co-worker > gave him a hint. So he looked in the apache error logs and found > "could not stat /usr/local/nagios/sbin/statusmap.cgi" which he DID NOT > UNDERSTAND. Remember, this is supposedly a *nix admin, and he has no > idea what this means. So again he turns to the animated paperclip. > > Again, the animated paperclip does not respond quickly enough. A little, > dim light-bulb appears over his head. That looks like a *nix filesystem > path, he thinks. One that looks similar to /usr/local/nagios/etc where he > now remembers having edited config files. What if he actually LOOKS IN > THAT DIRECTORY? Wow! The files are missing! Time to ask the animated > paperclip again. Maybe a dog ate them or UFO aliens abducted them or > something. After all, if you have no clue whatsoever about being a *nix > admin, anything might happen. > > So, rather than READ THE DOCUMENTATION, or LOOK IN THE FAQS, or SEARCH > GOOGLE, or REBUILD AND LOOK FOR ERROR MESSAGES, or READ THE SOURCE, like > any competent *nix admin would do, he asks the animated paperclip yet > again. Any halfway competent *nix admin would have figured out the CGIs > were missing without having to ask the list. > > Your argument that he is new to Nagios does not hold water. I was new > to Nagios when I installed it. Nagios is a tool spefically for use > by ISPs and IT departments. Anyone even thinking about installing it > should already be a semi-competent *nix admin or shouldn't be working > for such a company in the first place. > > > Regardless of what you might think, the answers provided on this list > > are a direct reflection of the kind of support an end-user can expect > > when adopting Nagios, of Nagios itself and of *nix in general. > > Correct. If you are installing Nagios on a *nix machine then you > really ought to have at least some clue about *nix in the first place > or you shouldn't be messing around as root. If you have a NEED to > install Nagios then you really ought to have significantly more clues > than the average home user of Windows who only uses it to play games and > surf for porn. > > As for *nix in general and mailing lists/support lists, I suggest you take > a long read of . > And then try to remember that the average home user of Windows is not > going to try installing Nagios on a *nix box. A person with an actual > need to instal Nagios ought to be significantly more clued than this > guy was, and have some idea about asking questions on lists sensibly, > even if they don't know who ESR is. > > > If I had consistently seen those kinds of responses when I started > > using Netsaint several years ago I would have seriously reconsidered. > > Some people post here and show that they have put in an effort to find > the answer themselves before asking on the list. They understand that > the people on this list are giving them what is in effect free tech > support and that they should not appear to be leaches who can't do their > job properly and want somebody else to do it for them for free. I've > asked questions here, but only after I've exhausted other avenues. And > when I ask questions here I explain what I've done to try to figure out > the answer for myself to prove that I'm not leaching and taking the > easy way out. > > > It baffles me how someone with a .sig of 'Softflare Support' doesn't > > understand these kinds of things. > > The support you get from Softflare comes at a price - you PAY for it. > If you're paying for my time (either as an isolated call or because > you have a support contract) then you can ask all the stupid questions > you want and I will be pleasant and courteous (even if I think you're a > complete moron). If this guy wants to pay Softflare to install and > configure Nagios for him we will be more than happy to do so and I will > guarantee that whichever of us installs and configures it for him will > not call him a moron. > > >>>> That one doesn't generate graphs. But it does generate a status > >>>> map, which is a graphic that is created on-the-fly. > > > > How would they know? They can't run it. > > They can read the docs, which contain screenshots. They can visit the > test site. I did both of those things before deciding to install > Nagios because there was no point wasting my time installing it if > either the docs or the test site showed it had serious shortcomings. > Reading the docs would be necessary if I installed it, so reading the > docs first could save time if it is clear from the docs that it does > not meet my requirements. No sane person would install it first, then > read the docs, then decide from reading the docs that it was no good > for their needs, unless installing it was the ONLY way to get at the > docs. > > > Again, you presume that the user fully understands what's going on. As > > far as they know it could be generated with VRML, NetPBM, ImageMagick > > or sprites even. > > It could use any image manipulation utility. The point I made was that > HAD to use AN image manipalation utility because those images had to > be created ON THE FLY. I used those words many times in my first post > to this thread, but I never mentioned the name of a particular image > manipulation utility or library. I wanted him to go digging for himself > to find out that he needed gdlib. > > The point being, as I stated originally, that it was patently obvious to > anyone who had read the docs about what things did (whether before or after > finding out that some of the links didn't work) and who had put in a > minimal amount of THOUGHT, that the three failing CGIs had a property in > common not shared by the other CGIs. > > > And don't rebutt that those aren't mentioned in the requirements > > document. It's already been established that they didn't read or > > understand the meaning of the GD libs or their function. > > You make my point for me. Rather than read the docs, look at the FAQs > (it was you, I believe, who said his problem is covered in a couple > of the FAQs), do a google search or any of the other things that should > be instinctive to a *nix admin (no matter what package he or she is > installing), he came straight to the list. Again and again, with a > slow-drip water torture of questions showing that he is capable of > learning, but not much faster than a snail doped up on Xanax. > > > Yes, it was very clear that was what you meant. Oh, wait, I have to go > > to my second job at the Psychic Friends Network... Yes, in a perfect > > world those are all things that should have been done, but it's not a > > perfect world, he didn't and this _is_ a support list. > > It is NOT a support list. A support list is staffed by professionals > who give you complete and courteous answers because you PAY them to do > so. This is a self-help list where people help themselves and others. > One important part of self-help is actually getting involved yourself > rather than expecting everyone else to do it for you. > > > To answer basically 'RTFM' without giving a specific suggestion of > > where to look or what to look for is useless, > > Only to the sort of clueless person who should not be installing Nagios > anyway. If you don't know enough to read the documentation, FAQs, etc. > when things go wrong then you really should not have the root password. > Even so, I reminded him of the docs and gave him a very strong clue > about what sort of thing he should be looking for in the docs. If he > has any potential at all, the next time he will mention what he has > done in order to try to solve the problem himself. > > > especially with the significant (in a positive light) amounts of FM to R > > for Nagios. > > There is a lot of manual and it could probably be re-organized for the > better. But I've seen far worse. In any case, his problem was not > using it but installing it (and the docs are very hand-holding in > that respect compared to stuff like RT). In the end, a *nix admin > installing a package to do geeky ISP-like things ought to have some > clue about where to look for answers BEFORE resorting to a list. Even > an "I looked through the docs but couldn't see anything obvious" would > have shown he at least made the effort. > > > Again, that's your experience talking. Not everyone has that experience. > > Years ago you could have gotten away with expecting that, but with the > > golden age of linux upon us that can not be expected any more. More and > > more people are using linux which is great, but at the same time, those > > people are inexperienced and don't know all the possible things to look > > for. > > Specious argument. Sure, people are using Linux on the desktop without > really knowing much about installing anything that isn't in an RPM, or > knowing about networking in general. But those people have no reason to > monitor network services and the health of network servers. > > Your argument would apply if this was some home-use application > package like a game. Your argument would apply if this was some > business package which was not IT-related, like an accounting package, > or a payroll package, or a spreadsheet. Then you might reasonably expect > a home-user, point-and-click, level of knowledge and stupid questions. > > THIS IS A PACKAGE FOR NETWORK ADMINS MONITORING NETWORK SERVICES AND > SERVERS. They are to be expected to know a little more about things > than ordinary home users playing with Linux as a desktop machine. It > is NOT unreasonable to expect such a person to understand something > about webservers, for instance, or at least to have a cow-orker that > does. It is NOT unreasonable to expect such a person to at least think > about looking at the documentation if things don't work. It is NOT > unreasonable to expect such a person to think of looking for an FAQ > (just about every commercial website I look at has an FAQ and even > home users know what one is). It is NOT unreasonable to expect such > a person to do a google search (even some home users know about > google - in fact most of them do). > > > But it is rocket science > > Standard *nix installation procedures should not be rocket science to > anyone who has any need to actually install it. > > > and these people are not all *nix admins. Some people are playing with > > linux to see what they can do with it, > > You've lost the plot. "Here I am, sat at home, playing with Linux to > see what I can do with it. What can I try? I know, I'll try installing > a package to monitor network services and servers and alert me if any > of them fail, even though I don't actually have anything to monitor and > have no intention of ever applying for a job with an ISP." Do try and > remember who is going to want to install Nagios and why. > > > I'm going to bet that it's a rare person who is experienced in linux > > today who didn't have a mentor to help them with these very types of > > things. > > I got dumped in at the deep-end several years ago, when I joined the > world's most clueless company (now, thankfully, defunct) and had to > build a replacement Linux server for the semi-broken one their previous > techy had built many years ago. This was before all the sophisticated > auto-install that worked smoothly but after the "grab the kernel sources, > and boot-strap it from scratch" releases had gone away. No help on > installing or configuring new packages except what I could find in the > docs. It was all new and strange to me, but I had problem-solving > skills... > > Basically, to be a *nix admin or a techy at an ISP or in IT support > you need PROBLEM-SOLVING SKILLS that go beyond trying to get free > tech support by asking questions on a mailing list and hoping somebody > will take pity on you and give you answers so you don't have to do > any of that horrible LEARNING stuff. > > > Like it or not, this is a support list > > I have already pointed out that you are wrong. The reply address is > not nagios-support at lists.sourceforge.net but nagios-users at ... > > > and we _are_ paperclips. > > You are perfectly entitled to give unpaid support for free, if you are > masochistic enough. Since this is a self-help list, I will continue to > help people even if that involves first teaching them that they have to > show they have tried to do some of the work for themselves before they > can expect much help from most of us. > > > I would much rather someone go away with an un-answered question > > than the admitted condescending response you gave. > > Feel free to plonk me, then you will not have to read my responses. I > would prefer that people learn they have to learn. Give a man a fish > and you feed him for a day; teach him how to fish and you feed him > for life. You want to keep doling out the fish, I want to tell people > about fishing rods (except when it comes to paid support, then I would > prefer them to keep buying fish). > > > It serves no one. > > Actually, it might have taught the guy to try thinking for himself for > a little before asking questions that anybody with a real need to > install Nagios ought to be capable of answering for himself anyway. > > > I expect an end user to have a basic grasp of those subjects but I do > > not expect that they fully understand all the intracacies of a software > > package that they are installing for the first time. > > I don't expect anyone to fully understand software they are installing > for the first time. I DO expect somebody who ought to be a fairly > experienced *nix admin installing software that is only of use to > experienced *nix admins to have some minimal knowledge of *nix. I > don't expect the petrol pump attendant to know where the filler cap is > on a car he's never seen before, but I do expect him not to just pump > petrol through the open sun roof because he doesn't know where the > filler cap is. YMMV... > > > And how exactly did you give this person help or an opportunity to learn > > from this help? > > I aided him by pointing out that the answer was within his means to find > out for himself without any help from anyone else other than knowing the > answer was in the documentation and that he was missing a library needed > to create images on the fly. Unless you think he was too stupid to > figure that out from what I wrote, in which case he is probably too > stupid to own a computer. > > > Your response in a nutshell was 'You're an idiot. I know > > exactly what your problem is but you've got to re-read all the 65 pages > > of documentation, then the 118 FAQ's, then the README, CHANGELOG and > > INSTALLING documents. > > He doesn't have to read ALL of them unless he's unlucky. Statisically, > he only has to read half of them. If he can figure out how to use > the contents page in the docs to find the FAQs quickly, and can figure > out how to use the FAQ contents to find the right FAQs quickly, he might > get an answer in under 15 minutes. If he really is an idiot then he > really will have to read the whole lot because he won't recognize the > answer even when he sees it. Since you believe he will have to read all > of the documentation, FAQs, readmes, etc., then your opinion of him > is very low. > > > Even though I could point you to exactly what you should read to learn > > how to solve your problem > > You've lost the plot again. I told him EXACTLY what he needed to > learn to solve his problem. He needed to learn how to approach > *nix admin problems as a REAL *nix admin would by getting some > problem-solving skills. Of course, he had to solve a minor problem > just to figure out what he needed to learn, but if that's beyond him > then there is no hope for him (and it was part of the lesson). > > > Normally, I would have ignored an RTFM response but you took it to the > > next level, treating this person like a 5 year old child right off the > > bat. > > Yes, I made a mistake there because I hadn't read his earlier posts. Had > I read those first, I would have treated him like a 3-year-old. > > > If you don't like your role as a Nagios support representative, > > Is the weather nice on your planet? Nobody here is a Nagios support > representative. There are Nagios users of varying degrees of > cluefulness and occasionally Nagios developers. None of them is paid > to give support to anyone or represents anyone but themselves (I'd > file off my standard work sig, but I can't be bothered). > > > either don't participate or only respond to questions that are of a > > sufficient caliber to engage your intellect. > > I'll make you a deal (whether you accept it or not, I will honour my > part of it). You get to control which messages you read, which messages > you respond to, and what you write in your responses; I get to control > which messages I read, which messages I respond to, and what I write > in my responses. You get the option to not read what I write, you do > not get the option to tell me what I may or may not write. I get the > option to not read what you write, I do not get the option to tell you > what you may or may not write. There is a special legal term for this > kind of deal: it's known as "reality." > > > All that just so you didn't have to say "You need GD. Look in the FAQ". > > Either he is a real *nix admin with a real need for Nagios for *nix > admin type purposes, in which case he needs to learn how to go about > figuring things out for himself and to learn a LOT more about *nix, > or he is not, in which case he is wasting his time and ours installing > something he will never actually use. > > This is not an "I am new to Linux and need help" list, this is supposedly > an "I am a real *nix admin and want to do seriously geeky things because > I work for an ISP" list. I expect a *nix admin to know what > "could not stat /usr/local/nagios/sbin/statusmap.cgi" means or at least > to be able to figure it out without first seeing if the animated paperclip > has an answer. I expect somebody thrown in at the deep end to at least > offer an apology for not really knowing what he's doing. > > -- > Paul Allen > Softflare Support > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill at ibill.no-ip.org Sat Jan 24 05:17:42 2004 From: bill at ibill.no-ip.org (Bill James) Date: Fri, 23 Jan 2004 23:17:42 -0500 Subject: Where have the cgi gone? In-Reply-To: <20040124031315.14766.qmail@minnow.softflare.net> References: <20040124031315.14766.qmail@minnow.softflare.net> Message-ID: <20040124041701.CACAF8B804D@ibill.no-ip.org> -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Paul L. Allen Sent: Friday, January 23, 2004 10:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Where have the cgi gone? Marc Powell writes: > And this user, who is setting up nagios for the first time, Who is supposedly a *nix admin (because he needs root to install nagios) who works for what is either an ISP or the IT department of a company with many machines that need to be monitored (or else he has no reason to install it in the first place). He OUGHT to be clueful about *nix or he shouldn't be messing around with root privileges or working for an ISP or IT department with many machines. > is supposed to go through every possible menu option and link for the > cgi's that do work and discover the thing that they all don't do?? Guess what I did when I installed Nagios and added a few hosts and services to test it? That's right. I went through EVERYTHING, playing with it, familiarizing myself with it, spotting services that were showing up as critical and working out why. I went through the lot. And if I'd found that some of them hadn't worked I'd have noted which ones (as he did). Unlike him, I'd have tried to figure out why before asking silly questions here. > How are they supposed to know that none of the cgi's that do work > don't generate images 3 levels in? Ah, the highly plausible "page not found that suddenly becomes findable if you go deep enough by clicking several times on the link on the page that could not be found" theory. Yes, right. When you can't find your car because it has been stolen, if you get into your non-existent car and floor the gas pedal three times, you'll find your car. Guaranteed. > Again, not everyone is as experienced as you apparently are, > especially on a mailling list intended _specifically_ for providing > just the kind of help this person was asking for. No, it is intended to help CLUEFUL people who put in some effort on their own to figure out what the problem is. Since I read newest mail first, I hadn't seen this moron's other posts. Just look at what you're trying to defend. His first problem is that some CGIs throw up "not found" errors in his browser. He could have read the docs, he could have looked at the FAQ, he could have searched google, instead he asked the animated paperclip (the one that doesn't mind how many hours a day people spend asking it stupid questions and which he believes inhabits this list). Well, the animated paperclip didn't respond quickly enough. So either he decided to actually try thinking about it or, more likely, a co-worker gave him a hint. So he looked in the apache error logs and found "could not stat /usr/local/nagios/sbin/statusmap.cgi" which he DID NOT UNDERSTAND. Remember, this is supposedly a *nix admin, and he has no idea what this means. So again he turns to the animated paperclip. Again, the animated paperclip does not respond quickly enough. A little, dim light-bulb appears over his head. That looks like a *nix filesystem path, he thinks. One that looks similar to /usr/local/nagios/etc where he now remembers having edited config files. What if he actually LOOKS IN THAT DIRECTORY? Wow! The files are missing! Time to ask the animated paperclip again. Maybe a dog ate them or UFO aliens abducted them or something. After all, if you have no clue whatsoever about being a *nix admin, anything might happen. So, rather than READ THE DOCUMENTATION, or LOOK IN THE FAQS, or SEARCH GOOGLE, or REBUILD AND LOOK FOR ERROR MESSAGES, or READ THE SOURCE, like any competent *nix admin would do, he asks the animated paperclip yet again. Any halfway competent *nix admin would have figured out the CGIs were missing without having to ask the list. Your argument that he is new to Nagios does not hold water. I was new to Nagios when I installed it. Nagios is a tool spefically for use by ISPs and IT departments. Anyone even thinking about installing it should already be a semi-competent *nix admin or shouldn't be working for such a company in the first place. > Regardless of what you might think, the answers provided on this list > are a direct reflection of the kind of support an end-user can expect > when adopting Nagios, of Nagios itself and of *nix in general. Correct. If you are installing Nagios on a *nix machine then you really ought to have at least some clue about *nix in the first place or you shouldn't be messing around as root. If you have a NEED to install Nagios then you really ought to have significantly more clues than the average home user of Windows who only uses it to play games and surf for porn. As for *nix in general and mailing lists/support lists, I suggest you take a long read of . And then try to remember that the average home user of Windows is not going to try installing Nagios on a *nix box. A person with an actual need to instal Nagios ought to be significantly more clued than this guy was, and have some idea about asking questions on lists sensibly, even if they don't know who ESR is. > If I had consistently seen those kinds of responses when I started > using Netsaint several years ago I would have seriously reconsidered. Some people post here and show that they have put in an effort to find the answer themselves before asking on the list. They understand that the people on this list are giving them what is in effect free tech support and that they should not appear to be leaches who can't do their job properly and want somebody else to do it for them for free. I've asked questions here, but only after I've exhausted other avenues. And when I ask questions here I explain what I've done to try to figure out the answer for myself to prove that I'm not leaching and taking the easy way out. > It baffles me how someone with a .sig of 'Softflare Support' doesn't > understand these kinds of things. The support you get from Softflare comes at a price - you PAY for it. If you're paying for my time (either as an isolated call or because you have a support contract) then you can ask all the stupid questions you want and I will be pleasant and courteous (even if I think you're a complete moron). If this guy wants to pay Softflare to install and configure Nagios for him we will be more than happy to do so and I will guarantee that whichever of us installs and configures it for him will not call him a moron. >>>> That one doesn't generate graphs. But it does generate a status >>>> map, which is a graphic that is created on-the-fly. > > How would they know? They can't run it. They can read the docs, which contain screenshots. They can visit the test site. I did both of those things before deciding to install Nagios because there was no point wasting my time installing it if either the docs or the test site showed it had serious shortcomings. Reading the docs would be necessary if I installed it, so reading the docs first could save time if it is clear from the docs that it does not meet my requirements. No sane person would install it first, then read the docs, then decide from reading the docs that it was no good for their needs, unless installing it was the ONLY way to get at the docs. > Again, you presume that the user fully understands what's going on. As > far as they know it could be generated with VRML, NetPBM, ImageMagick > or sprites even. It could use any image manipulation utility. The point I made was that HAD to use AN image manipalation utility because those images had to be created ON THE FLY. I used those words many times in my first post to this thread, but I never mentioned the name of a particular image manipulation utility or library. I wanted him to go digging for himself to find out that he needed gdlib. The point being, as I stated originally, that it was patently obvious to anyone who had read the docs about what things did (whether before or after finding out that some of the links didn't work) and who had put in a minimal amount of THOUGHT, that the three failing CGIs had a property in common not shared by the other CGIs. > And don't rebutt that those aren't mentioned in the requirements > document. It's already been established that they didn't read or > understand the meaning of the GD libs or their function. You make my point for me. Rather than read the docs, look at the FAQs (it was you, I believe, who said his problem is covered in a couple of the FAQs), do a google search or any of the other things that should be instinctive to a *nix admin (no matter what package he or she is installing), he came straight to the list. Again and again, with a slow-drip water torture of questions showing that he is capable of learning, but not much faster than a snail doped up on Xanax. > Yes, it was very clear that was what you meant. Oh, wait, I have to go > to my second job at the Psychic Friends Network... Yes, in a perfect > world those are all things that should have been done, but it's not a > perfect world, he didn't and this _is_ a support list. It is NOT a support list. A support list is staffed by professionals who give you complete and courteous answers because you PAY them to do so. This is a self-help list where people help themselves and others. One important part of self-help is actually getting involved yourself rather than expecting everyone else to do it for you. > To answer basically 'RTFM' without giving a specific suggestion of > where to look or what to look for is useless, Only to the sort of clueless person who should not be installing Nagios anyway. If you don't know enough to read the documentation, FAQs, etc. when things go wrong then you really should not have the root password. Even so, I reminded him of the docs and gave him a very strong clue about what sort of thing he should be looking for in the docs. If he has any potential at all, the next time he will mention what he has done in order to try to solve the problem himself. > especially with the significant (in a positive light) amounts of FM to > R for Nagios. There is a lot of manual and it could probably be re-organized for the better. But I've seen far worse. In any case, his problem was not using it but installing it (and the docs are very hand-holding in that respect compared to stuff like RT). In the end, a *nix admin installing a package to do geeky ISP-like things ought to have some clue about where to look for answers BEFORE resorting to a list. Even an "I looked through the docs but couldn't see anything obvious" would have shown he at least made the effort. > Again, that's your experience talking. Not everyone has that experience. > Years ago you could have gotten away with expecting that, but with the > golden age of linux upon us that can not be expected any more. More > and more people are using linux which is great, but at the same time, > those people are inexperienced and don't know all the possible things > to look for. Specious argument. Sure, people are using Linux on the desktop without really knowing much about installing anything that isn't in an RPM, or knowing about networking in general. But those people have no reason to monitor network services and the health of network servers. Your argument would apply if this was some home-use application package like a game. Your argument would apply if this was some business package which was not IT-related, like an accounting package, or a payroll package, or a spreadsheet. Then you might reasonably expect a home-user, point-and-click, level of knowledge and stupid questions. THIS IS A PACKAGE FOR NETWORK ADMINS MONITORING NETWORK SERVICES AND SERVERS. They are to be expected to know a little more about things than ordinary home users playing with Linux as a desktop machine. It is NOT unreasonable to expect such a person to understand something about webservers, for instance, or at least to have a cow-orker that does. It is NOT unreasonable to expect such a person to at least think about looking at the documentation if things don't work. It is NOT unreasonable to expect such a person to think of looking for an FAQ (just about every commercial website I look at has an FAQ and even home users know what one is). It is NOT unreasonable to expect such a person to do a google search (even some home users know about google - in fact most of them do). > But it is rocket science Standard *nix installation procedures should not be rocket science to anyone who has any need to actually install it. > and these people are not all *nix admins. Some people are playing with > linux to see what they can do with it, You've lost the plot. "Here I am, sat at home, playing with Linux to see what I can do with it. What can I try? I know, I'll try installing a package to monitor network services and servers and alert me if any of them fail, even though I don't actually have anything to monitor and have no intention of ever applying for a job with an ISP." Do try and remember who is going to want to install Nagios and why. > I'm going to bet that it's a rare person who is experienced in linux > today who didn't have a mentor to help them with these very types of > things. I got dumped in at the deep-end several years ago, when I joined the world's most clueless company (now, thankfully, defunct) and had to build a replacement Linux server for the semi-broken one their previous techy had built many years ago. This was before all the sophisticated auto-install that worked smoothly but after the "grab the kernel sources, and boot-strap it from scratch" releases had gone away. No help on installing or configuring new packages except what I could find in the docs. It was all new and strange to me, but I had problem-solving skills... Basically, to be a *nix admin or a techy at an ISP or in IT support you need PROBLEM-SOLVING SKILLS that go beyond trying to get free tech support by asking questions on a mailing list and hoping somebody will take pity on you and give you answers so you don't have to do any of that horrible LEARNING stuff. > Like it or not, this is a support list I have already pointed out that you are wrong. The reply address is not nagios-support at lists.sourceforge.net but nagios-users at ... > and we _are_ paperclips. You are perfectly entitled to give unpaid support for free, if you are masochistic enough. Since this is a self-help list, I will continue to help people even if that involves first teaching them that they have to show they have tried to do some of the work for themselves before they can expect much help from most of us. > I would much rather someone go away with an un-answered question than > the admitted condescending response you gave. Feel free to plonk me, then you will not have to read my responses. I would prefer that people learn they have to learn. Give a man a fish and you feed him for a day; teach him how to fish and you feed him for life. You want to keep doling out the fish, I want to tell people about fishing rods (except when it comes to paid support, then I would prefer them to keep buying fish). > It serves no one. Actually, it might have taught the guy to try thinking for himself for a little before asking questions that anybody with a real need to install Nagios ought to be capable of answering for himself anyway. > I expect an end user to have a basic grasp of those subjects but I do > not expect that they fully understand all the intracacies of a > software package that they are installing for the first time. I don't expect anyone to fully understand software they are installing for the first time. I DO expect somebody who ought to be a fairly experienced *nix admin installing software that is only of use to experienced *nix admins to have some minimal knowledge of *nix. I don't expect the petrol pump attendant to know where the filler cap is on a car he's never seen before, but I do expect him not to just pump petrol through the open sun roof because he doesn't know where the filler cap is. YMMV... > And how exactly did you give this person help or an opportunity to > learn from this help? I aided him by pointing out that the answer was within his means to find out for himself without any help from anyone else other than knowing the answer was in the documentation and that he was missing a library needed to create images on the fly. Unless you think he was too stupid to figure that out from what I wrote, in which case he is probably too stupid to own a computer. > Your response in a nutshell was 'You're an idiot. I know exactly what > your problem is but you've got to re-read all the 65 pages of > documentation, then the 118 FAQ's, then the README, CHANGELOG and > INSTALLING documents. He doesn't have to read ALL of them unless he's unlucky. Statisically, he only has to read half of them. If he can figure out how to use the contents page in the docs to find the FAQs quickly, and can figure out how to use the FAQ contents to find the right FAQs quickly, he might get an answer in under 15 minutes. If he really is an idiot then he really will have to read the whole lot because he won't recognize the answer even when he sees it. Since you believe he will have to read all of the documentation, FAQs, readmes, etc., then your opinion of him is very low. > Even though I could point you to exactly what you should read to learn > how to solve your problem You've lost the plot again. I told him EXACTLY what he needed to learn to solve his problem. He needed to learn how to approach *nix admin problems as a REAL *nix admin would by getting some problem-solving skills. Of course, he had to solve a minor problem just to figure out what he needed to learn, but if that's beyond him then there is no hope for him (and it was part of the lesson). > Normally, I would have ignored an RTFM response but you took it to the > next level, treating this person like a 5 year old child right off the > bat. Yes, I made a mistake there because I hadn't read his earlier posts. Had I read those first, I would have treated him like a 3-year-old. > If you don't like your role as a Nagios support representative, Is the weather nice on your planet? Nobody here is a Nagios support representative. There are Nagios users of varying degrees of cluefulness and occasionally Nagios developers. None of them is paid to give support to anyone or represents anyone but themselves (I'd file off my standard work sig, but I can't be bothered). > either don't participate or only respond to questions that are of a > sufficient caliber to engage your intellect. I'll make you a deal (whether you accept it or not, I will honour my part of it). You get to control which messages you read, which messages you respond to, and what you write in your responses; I get to control which messages I read, which messages I respond to, and what I write in my responses. You get the option to not read what I write, you do not get the option to tell me what I may or may not write. I get the option to not read what you write, I do not get the option to tell you what you may or may not write. There is a special legal term for this kind of deal: it's known as "reality." > All that just so you didn't have to say "You need GD. Look in the FAQ". Either he is a real *nix admin with a real need for Nagios for *nix admin type purposes, in which case he needs to learn how to go about figuring things out for himself and to learn a LOT more about *nix, or he is not, in which case he is wasting his time and ours installing something he will never actually use. This is not an "I am new to Linux and need help" list, this is supposedly an "I am a real *nix admin and want to do seriously geeky things because I work for an ISP" list. I expect a *nix admin to know what "could not stat /usr/local/nagios/sbin/statusmap.cgi" means or at least to be able to figure it out without first seeing if the animated paperclip has an answer. I expect somebody thrown in at the deep end to at least offer an apology for not really knowing what he's doing. -- Paul Allen Softflare Support Paul I have been watching this thread for a little while now and I have only one question to ask Paul Were you born with knowledge of *nix or did you have a mentor along with training to help you until you knew everything.... At least this guy was trying to learn...I even sent him my statusmap.cgi because his first post stated only that file was missing, if you bothered to really read his mail he was trying and was frustrated... Now prove my point and trash me 'till your hearts content Bill James CCIE CCISP Director of Network Operations Senior WAN Engineer Zonics INC. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill at ibill.no-ip.org Sat Jan 24 05:35:50 2004 From: bill at ibill.no-ip.org (Bill James) Date: Fri, 23 Jan 2004 23:35:50 -0500 Subject: Where have the cgi gone? In-Reply-To: <1074915937.786.9.camel@munter> References: <1074915937.786.9.camel@munter> Message-ID: <20040124043509.44D038B804D@ibill.no-ip.org> I have been watching this thread for a little while now and I have only one question to ask Paul Were you born with knowledge of *nix or did you have a mentor along with training to help you until you knew everything.... At least this guy was trying to learn...I even sent him my statusmap.cgi because his first post stated only that file was missing, if you bothered to really read his mail he was trying and was frustrated... If you were employed by me you would be outside looking in and wondering what just happened I agree with Jamie... /dev/null for you Bill ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Sat Jan 24 06:56:11 2004 From: benny at bennyvision.com (C. Bensend) Date: Fri, 23 Jan 2004 23:56:11 -0600 (CST) Subject: Where have the cgi gone? In-Reply-To: <20040124031315.14766.qmail@minnow.softflare.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A1CA@mismail2.ena.com> <20040124031315.14766.qmail@minnow.softflare.net> Message-ID: <53308.63.227.74.41.1074923793.squirrel@webmail.stinkweasel.net> > Who is supposedly a *nix admin (because he needs root to install nagios) who works for what is either an ISP or the IT department of a company with many machines that need to be monitored (or else he has no reason to install it in the first place). He OUGHT to be clueful about *nix or he shouldn't be messing around with root privileges or working for an ISP or IT department with many machines. *snip 97,000 lines of crap* Wow. What a load of shit. I think someone has an ego problem - the REST of us are willing to help people with problems. For those of you with problems that would like to be belittled and/or berated, feel free to email Paul directly. Benny PS: And yes, I have plenty of experience. I'm just not a jackass. -- "Have you ever tried simply turning off the TV, sitting down with your children, and hitting them?" -- Bender, "Futurama" ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Sat Jan 24 07:39:10 2004 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Sat, 24 Jan 2004 00:39:10 -0600 Subject: check_nt Message-ID: it should be an L, not an I, but lower case "l" ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Kevin Phillips Sent: Fri 1/23/2004 2:16 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] check_nt I am having an issue with the check_nt command. When I run ./check_nt ?H 10.10.10.1 ?p 1248 ?v USEDDISKSPACE ?l C I get the response ?wrong ?l argument? Thanks From jeff at unixisgod.com Sat Jan 24 08:25:31 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Sat, 24 Jan 2004 00:25:31 -0700 Subject: No username login References: Message-ID: <005701c3e24b$3fb6e040$0200000a@digitalmarauder.com> I'm going to assume you're using apache. Check out the Satisfy directive, You'll probably have to make another virtual host if you want to get this working. It really depends on WHO you want to be able to access nagios in 'read only' mode. Hell, if you're using another virtual host you may not even need to 'Satisfy' Jeff ----- Original Message ----- From: "Jason Martin" To: "TIM MOORE" Cc: Sent: Friday, January 23, 2004 12:58 Subject: Re: [Nagios-users] No username login > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > One could cron a wget command that would fetch the appropriate page and > create a static 'public' version of it. > > - -Jason Martin > > On Fri, 23 Jan 2004, TIM MOORE wrote: > > > I have a need to allow a "guest" user who could just click on a hyper-link and pull up the host status page. I created a default user guest and I can put a link straight to the host status page. However, it still asks for username and password. Does anyone know how to get rid of this login for a "trusted" user. This would sort of be like a "help desk" user. > > > > -------------------------------------- > > Tim Moore > > DNS/Linux/Cisco Admin > > ODJFS > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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/ > > iD8DBQFAEXz5l2ODWuqVSBMRApKHAJ46wjb8rNvi8i/UXge0PltLLODLFACgjUx9 > O90DqK9icZidHRtfbv8vMHU= > =d8m/ > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 24 08:32:24 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sat, 24 Jan 2004 01:32:24 -0600 Subject: Integrating Nagios with MRTG In-Reply-To: <1074818222.14217.52.camel@localhost> References: <200401221622.44506.mohammad@cerberian.com> <1074818222.14217.52.camel@localhost> Message-ID: <20040124073224.84226.qmail@restricted.dyndns.org> Hi Jeff, Just curious. What made you decide Cacti over APAN? Thanks. Ronneil jeff vier writes: > On Thu, 2004-01-22 at 17:22, Mohammad Ghaeini wrote: >> Is there any documentation on how to integrate Nagios with MRTG? I would >> appreciate any advice on this subject. Thank you. > > I personally use Apan to make RRDs via Nagios, as well as use the RRD > 'mode' in MRTG then use Cacti to display both. > > You could then reference the Cacti page in your Nagios config to display > the extinfo, thus re-integrating it. I have been meaning to take this > last step, there's just a lot to change (several hundred RRD-tracked > services) and, thus, a lot to break should I botch something in the > script to change them all over. > > When I finally do, though, I'll post the conversion script to change > from standard Apan graphs to cacti graphs, if I can distill it down to a > usable script. I *really* hope I don't discover I have to do it by hand > for some reason. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 24 09:08:19 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sat, 24 Jan 2004 02:08:19 -0600 Subject: mail notifications Message-ID: <20040124080819.87315.qmail@restricted.dyndns.org> Hi guys, How will I modify the default alert/problem notifications that I am receiving by mail? I would like to add some text to the notification email. Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 24 09:39:30 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 24 Jan 2004 21:39:30 +1300 Subject: No username login In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A1C4@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1C4@mismail2.ena.com> Message-ID: <1074933574.785.111.camel@munter> Hi, I have tested this and can confirm this works well. Make sure you change cgi.cfg appropriately. Thanks Marc, was using this idea elsewhere, but the thread inspired me to apply to nagios stuff. Chez Jamie (following is a debian specific config, but you get the idea.) root at noc:~# cat /etc/nagios/apache.conf # BEGIN FOR NAGIOS # Bug 160681 and 162986 say that the ScriptAlias should be # /cgi-bin/nagios # but some reports, 164925, (and the default config) say # that it should be # /nagios/cgi-bin # Anyone having problems with this, PLEASE dig deeper in WHY # it won't work for you... # # I'm enabling BOTH, just to be sure! ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios/ ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios/ Options ExecCGI AllowOverride AuthConfig order deny,allow deny from all allow from a.b.c.d. satisfy any AuthName "NOC Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Alias /netsaint /usr/share/nagios/htdocs/ Alias /nagios /usr/share/nagios/htdocs/ Options FollowSymLinks AllowOverride AuthConfig order deny,allow deny from all allow from a.b.c.d satisfy any AuthName "NOC Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user # END FOR NAGIOS On Sat, 2004-01-24 at 09:18, Marc Powell wrote: > On Friday, January 23, 2004 1:52 PM, TIM MOORE shared with us: > > > I have a need to allow a "guest" user who could just click on a > > hyper-link and pull up the host status page. I created a default > > user guest and I can put a link straight to the host status page. > > However, it still asks for username and password. Does anyone know > > how to get rid of this login for a "trusted" user. This would sort > > of be like a "help desk" user. > > http://username:password at your.nagioshost.com will work. > > There is also the possiblity that you could get creative with your > .htaccess file and allow based on IP, domain, browser version or > whatever but a user allowed by those rules would pick up the identity of > the default_user_name configured in cgi.cfg. I haven't specifically > tested it but I don't have any reason to think that it wouldn't work. > There are lots of pages out there with .htaccess tutorials (hint: look > for 'satisfy any') to get you started if you decide to go this route. > > -- > Marc > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.rossi at xaos.it Sat Jan 24 17:03:06 2004 From: j.rossi at xaos.it (Jeremy J. Rossi) Date: Sat, 24 Jan 2004 17:03:06 +0100 Subject: icons Message-ID: <110109588600.20040124170306@xaos.it> Hi, I can't seem to get icons to work on nagios 1.0. this is an abstract from my cgi.cfg file: hostextinfo[3550-1]=;distribution.gif;distribution.gif;distribution.gif;3550-1;;; hostextinfo[3550-2]=;distribution.gif;distribution.gif;distribution.gif;3550-2;;; hostextinfo[2950]=;switch.gif;switch.gif;switch.gif;2950;;; hostextinfo[3548]=;switch.gif;switch.gif;switch.gif;3548;;; hostextinfo[adsl_gw]=;router.gif;router.gif;router.gif;adsl_gw;;; hostextinfo[gw_management]=;router.gif;router.gif;router.gif;gw_management;;; hostextinfo[xaos-f-rm1]=;firewall.gif;firewall.gif;firewall.gif;xaos-f-rm1;;; hostextinfo[mail.xaos.it]=;server.gif;server.gif;server.gif;mail.xaos.it;;; hostextinfo[dns.xaos.it]=;server.gif;erver.gifserver.gif;dns.xaos.it;;; hostextinfo[homer]=;server.gif;server.gif;server.gif;homer;;; hostextinfo[margie]=;server.gif;server.gif;server.gif;margie;;; hostextinfo[sviluppo]=;server.gif;server.gif;server.gif;sviluppo;;; icons are in /usr/local/share/nagios/images/logos/ and are all 644... any suggestions? ciao, Jeremy ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 17:05:26 2004 From: marc at ena.com (Marc Powell) Date: Sat, 24 Jan 2004 10:05:26 -0600 Subject: mail notifications Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1CC@mismail2.ena.com> Neil wrote: > Hi guys, > > How will I modify the default alert/problem notifications that I am > receiving by mail? I would like to add some text to the notification > email. Just edit your host/service notify by email commands. They're basically print statements sent to /bin/mail. Here's an example -- # 'service-notify-by-email' command definition define command{ command_name service-notify-by-email command_line /bin/echo -e "Subject: Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME$!\n\n***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $SERVICESTATE$\nAddress: $HOSTADDRESS$\n\nService: $SERVICEDESC$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ } You'll need to restart nagios after making any modifications. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 17:21:08 2004 From: marc at ena.com (Marc Powell) Date: Sat, 24 Jan 2004 10:21:08 -0600 Subject: No username login Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1CD@mismail2.ena.com> Jamie Baddeley wrote: > Hi, > > I have tested this and can confirm this works well. Make sure you > change cgi.cfg appropriately. > Cool. That's good to hear =) > root at noc:~# cat /etc/nagios/apache.conf > > # BEGIN FOR NAGIOS > # Bug 160681 and 162986 say that the ScriptAlias should be > # /cgi-bin/nagios > # but some reports, 164925, (and the default config) say # that it > should be # /nagios/cgi-bin > # Anyone having problems with this, PLEASE dig deeper in WHY # it > won't work for you... # > # I'm enabling BOTH, just to be sure! Which you choose is solely dependent on how you have nagios installed and how you get to it from the web. A couple of examples: If your main httpd document root is /var/www and the nagios cgi's are in /var/www/nagios/cgi-bin/ then your scriptalias needs to bin /nagios/cgi-bin. If your main httpd document root is /var/www and the nagios cgi's are in /var/www/cgi-bin/nagios/ then your scriptalias needs to be /cgi-bin/nagios. If you've made a virtual host out of nagios and set it's DocumentRoot specifically to /usr/local/nagios then your scriptalias needs to be simply /cgi-bin ala NameVirtualHost * ServerName your.nagios.url.net ServerAlias alternative.nagios.url.net Serveradmin noc at yourdomain.net DocumentRoot /usr/local/nagios/share ScriptAlias /cgi-bin/ "/usr/local/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Satisfy All AllowOverride AuthConfig Options ExecCGI order allow,deny allow from all ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kphillips at wwre.org Sat Jan 24 18:03:46 2004 From: kphillips at wwre.org (Kevin Phillips) Date: Sat, 24 Jan 2004 12:03:46 -0500 Subject: check_nt Message-ID: <3321B3C578DE6F40B92B974303779E6A04E9F1@dcmserver2.wwre.org> I am using a lower case "l" as in "l"ibrary, and also -w 90 -c 95. -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Saturday, January 24, 2004 1:39 AM To: Kevin Phillips; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_nt it should be an L, not an I, but lower case "l" ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Kevin Phillips Sent: Fri 1/23/2004 2:16 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] check_nt I am having an issue with the check_nt command. When I run ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C I get the response "wrong -l argument" Thanks ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 24 18:27:19 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Sat, 24 Jan 2004 11:27:19 -0600 Subject: Integrating Nagios with MRTG In-Reply-To: <20040124073224.84226.qmail@restricted.dyndns.org> References: <200401221622.44506.mohammad@cerberian.com> <1074818222.14217.52.camel@localhost> <20040124073224.84226.qmail@restricted.dyndns.org> Message-ID: <1074965239.14217.133.camel@localhost> On Sat, 2004-01-24 at 01:32, Neil wrote: > Just curious. What made you decide Cacti over APAN? I do use Apan...for the collecting part. Cacti is prettier, more powerful, and allows me to display other rrds generated outside of either Nagios/Apan or MRTG (flow-tools, for instance. Or Cacti itself doing SNMP calls. Or whatever). > jeff vier writes: > >> Is there any documentation on how to integrate Nagios with MRTG? I would > >> appreciate any advice on this subject. Thank you. > > I personally use Apan to make RRDs via Nagios, as well as use the RRD > > 'mode' in MRTG then use Cacti to display both. > > You could then reference the Cacti page in your Nagios config to display > > the extinfo, thus re-integrating it. I have been meaning to take this > > last step, there's just a lot to change (several hundred RRD-tracked > > services) and, thus, a lot to break should I botch something in the > > script to change them all over. > > When I finally do, though, I'll post the conversion script to change > > from standard Apan graphs to cacti graphs, if I can distill it down to a > > usable script. I *really* hope I don't discover I have to do it by hand > > for some reason. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill at ibill.no-ip.org Sat Jan 24 18:53:54 2004 From: bill at ibill.no-ip.org (Bill James) Date: Sat, 24 Jan 2004 12:53:54 -0500 Subject: icons In-Reply-To: <110109588600.20040124170306@xaos.it> References: <110109588600.20040124170306@xaos.it> Message-ID: <20040124175312.DF12E8B804D@ibill.no-ip.org> -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeremy J. Rossi Sent: Saturday, January 24, 2004 11:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] icons Hi, I can't seem to get icons to work on nagios 1.0. this is an abstract from my cgi.cfg file: hostextinfo[3550-1]=;distribution.gif;distribution.gif;distribution.gif; 3550-1;;; hostextinfo[3550-2]=;distribution.gif;distribution.gif;distribution.gif; 3550-2;;; hostextinfo[2950]=;switch.gif;switch.gif;switch.gif;2950;;; hostextinfo[3548]=;switch.gif;switch.gif;switch.gif;3548;;; hostextinfo[adsl_gw]=;router.gif;router.gif;router.gif;adsl_gw;;; hostextinfo[gw_management]=;router.gif;router.gif;router.gif;gw_manageme nt;;; hostextinfo[xaos-f-rm1]=;firewall.gif;firewall.gif;firewall.gif;xaos-f-r m1;;; hostextinfo[mail.xaos.it]=;server.gif;server.gif;server.gif;mail.xaos.it ;;; hostextinfo[dns.xaos.it]=;server.gif;erver.gifserver.gif;dns.xaos.it;;; hostextinfo[homer]=;server.gif;server.gif;server.gif;homer;;; hostextinfo[margie]=;server.gif;server.gif;server.gif;margie;;; hostextinfo[sviluppo]=;server.gif;server.gif;server.gif;sviluppo;;; icons are in /usr/local/share/nagios/images/logos/ and are all 644... any suggestions? ciao, Jeremy Jeremy, I am not sure that version 1.0 supports this so you may want to check but here is what I do for version 1.1 In your cgi.cfg file add the following line somewhere near the top xedtemplate_config_file=/etc/nagios/hostextinfo.cfg Now create that file and here is an example of the file. (I actually have several more but this will give you an idea of what you need to do.) define hostextinfo{ host_name firewall icon_image redhat.png icon_image_alt RedHat 9.0 vrml_image redhat.png statusmap_image redhat.gd2 } If you have several items that you want to have the same icon then you can do something like this (helps keep the file small and easier to manage) define hostextinfo{ host_name hostname1,hostname2,hostname3 and on and on icon_image redhat.png icon_image_alt RedHat 9.0 vrml_image redhat.png statusmap_image redhat.gd2 } Be sure to remark out the lines you have edited in the cgi.cfg file You can also do the same thing for services Bill ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill at ibill.no-ip.org Sat Jan 24 19:09:04 2004 From: bill at ibill.no-ip.org (Bill James) Date: Sat, 24 Jan 2004 13:09:04 -0500 Subject: icons In-Reply-To: <110109588600.20040124170306@xaos.it> References: <110109588600.20040124170306@xaos.it> Message-ID: <20040124180822.02DEC8B804D@ibill.no-ip.org> -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeremy J. Rossi Sent: Saturday, January 24, 2004 11:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] icons Hi, I can't seem to get icons to work on nagios 1.0. this is an abstract from my cgi.cfg file: hostextinfo[3550-1]=;distribution.gif;distribution.gif;distribution.gif; 3550-1;;; hostextinfo[3550-2]=;distribution.gif;distribution.gif;distribution.gif; 3550-2;;; hostextinfo[2950]=;switch.gif;switch.gif;switch.gif;2950;;; hostextinfo[3548]=;switch.gif;switch.gif;switch.gif;3548;;; hostextinfo[adsl_gw]=;router.gif;router.gif;router.gif;adsl_gw;;; hostextinfo[gw_management]=;router.gif;router.gif;router.gif;gw_manageme nt;;; hostextinfo[xaos-f-rm1]=;firewall.gif;firewall.gif;firewall.gif;xaos-f-r m1;;; hostextinfo[mail.xaos.it]=;server.gif;server.gif;server.gif;mail.xaos.it ;;; hostextinfo[dns.xaos.it]=;server.gif;erver.gifserver.gif;dns.xaos.it;;; hostextinfo[homer]=;server.gif;server.gif;server.gif;homer;;; hostextinfo[margie]=;server.gif;server.gif;server.gif;margie;;; hostextinfo[sviluppo]=;server.gif;server.gif;server.gif;sviluppo;;; icons are in /usr/local/share/nagios/images/logos/ and are all 644... any suggestions? ciao, Jeremy Jeremy, I did check...the cgis default to the template based which is the suggestion I made for you See: http://nagios.sourceforge.net/docs/1_0/configextinfo.html Bill ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardo.moura at telway.com.br Sun Jan 25 01:21:10 2004 From: eduardo.moura at telway.com.br (Eduardo Moura) Date: Sat, 24 Jan 2004 22:21:10 -0200 Subject: Traffic Plug-in Message-ID: <4F1A91B978EE87478F2447A768883685F467@cbemi-web.cbemi> Hi All Does anyone knows a plug to measure traffic in cisco routers??? Tks in advance Eduardo Telway IT From thilanka at sbcglobal.net Sun Jan 25 06:42:51 2004 From: thilanka at sbcglobal.net (Thilanka) Date: Sun, 25 Jan 2004 05:42:51 +0000 (UTC) Subject: =?utf-8?b?Y2hlY2tfYnlfc3No?= and other plugins Message-ID: Help. I have nagios congiure and running except for th 3d map a few more minor issues that I am going to troubleshoot later on. Can someone advice me as to how to go about monitoring processor load, disk usage, memory usage, ping latency, reachabilty on a single remote host. The main thing is the data transfer and the communication between the Nagios monitoring machine and the remote host should be secure. Any help would be appreciated. Thilanka ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Sun Jan 25 07:23:17 2004 From: thilanka at sbcglobal.net (Thilanka) Date: Sun, 25 Jan 2004 06:23:17 +0000 (UTC) Subject: A thank you for those people who really help Message-ID: I just started using nagios for a monitoring project and decided to ask about some problems that I was having. Hmmmm I just happen to notice how things took off with me posting in regards to the missing cgi files. Paul ....if I offended you by asking a stupidf question, I am sorry. Marc ....thanks for your help. Thanks for taking the time to answer my questions. Oh...almost forgot...Paul ...one important thing to note is ...I never asked for your moronic comment. I am sure you are pulling a 6 figure salary from the money you get for your time. I never asked for your time man. So why don't you just bite your own tail and go and give your two cents to people who are willing to pay for it. So man ...my advice to you is do something that will pay you ....you have to be a real idiot not to have known that by providing helpful answers on a mailing list you are not going to get paid ....in the fisrt place. Anyway, if you are thinking I am pissed ...you are wrong. I am not. I am just sad for people like yourself. Those people who are really smart but lack the most important knowledge which is the art of transferring knowledge and some behavioural issues....Have a great day! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kudjat at voila.fr Sun Jan 25 14:36:39 2004 From: kudjat at voila.fr (kudjat) Date: Sun, 25 Jan 2004 14:36:39 +0100 (CET) Subject: monitor a directory in windows 2000 Message-ID: <8668584.1075037799854.JavaMail.www@wwinf4001> Hi, You should write your own plugin. I suggest you to use Perl since it has lots of windows usefull libraries. So as to request it, install OpenSSH on your windows servers you want to monitor. Fran?ois. > Message du 23/01/04 ? 22h01 > De : ramog > A : nagios-users at lists.sourceforge.net > Copie ? : > Objet : [Nagios-users] monitor a directory in windows 2000 > > Is there anybody know how nagios could monitor a directory in windows 2000 system. I want to send an alert if the directory contains say, 180 sub-directories in the directory I want to monitor. What plugin do I use. > Any help would be greatly appreciated. > > Thanks. Rochel ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.rossi at xaos.it Sun Jan 25 14:58:53 2004 From: j.rossi at xaos.it (Jeremy J. Rossi) Date: Sun, 25 Jan 2004 14:58:53 +0100 Subject: icons In-Reply-To: <20040124180822.02DEC8B804D@ibill.no-ip.org> References: <110109588600.20040124170306@xaos.it> <20040124180822.02DEC8B804D@ibill.no-ip.org> Message-ID: <1092160246.20040125145853@xaos.it> Hey Bill, Partially solved my problem... I get images in the summary screens, but gd2 images for the status map don't seem to work. I converted png to gd2 in win2k with chunks=1 and format=1 (raw) but I still get a question mark image (unknown.gd2).... any other suggestions? thanks a lot, Jeremy Saturday, January 24, 2004, 7:09:04 PM, you wrote: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeremy J. > Rossi > Sent: Saturday, January 24, 2004 11:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] icons > Hi, > I can't seem to get icons to work on nagios 1.0. this is an abstract > from my cgi.cfg file: > hostextinfo[3550-1]=;distribution.gif;distribution.gif;distribution.gif; > 3550-1;;; > hostextinfo[3550-2]=;distribution.gif;distribution.gif;distribution.gif; > 3550-2;;; > hostextinfo[2950]=;switch.gif;switch.gif;switch.gif;2950;;; > hostextinfo[3548]=;switch.gif;switch.gif;switch.gif;3548;;; > hostextinfo[adsl_gw]=;router.gif;router.gif;router.gif;adsl_gw;;; > hostextinfo[gw_management]=;router.gif;router.gif;router.gif;gw_manageme > nt;;; > hostextinfo[xaos-f-rm1]=;firewall.gif;firewall.gif;firewall.gif;xaos-f-r > m1;;; > hostextinfo[mail.xaos.it]=;server.gif;server.gif;server.gif;mail.xaos.it > ;;; > hostextinfo[dns.xaos.it]=;server.gif;erver.gifserver.gif;dns.xaos.it;;; > hostextinfo[homer]=;server.gif;server.gif;server.gif;homer;;; > hostextinfo[margie]=;server.gif;server.gif;server.gif;margie;;; > hostextinfo[sviluppo]=;server.gif;server.gif;server.gif;sviluppo;;; > icons are in /usr/local/share/nagios/images/logos/ and are all 644... > any suggestions? > ciao, > Jeremy > Jeremy, > I did check...the cgis default to the template based which is the > suggestion I made for you > See: > http://nagios.sourceforge.net/docs/1_0/configextinfo.html > Bill > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.rossi at xaos.it Sun Jan 25 15:21:00 2004 From: j.rossi at xaos.it (Jeremy J. Rossi) Date: Sun, 25 Jan 2004 15:21:00 +0100 Subject: icons In-Reply-To: <1092160246.20040125145853@xaos.it> References: <110109588600.20040124170306@xaos.it> <20040124180822.02DEC8B804D@ibill.no-ip.org> <1092160246.20040125145853@xaos.it> Message-ID: <813487174.20040125152100@xaos.it> OK I think two things are happening here: 1. nagios isn't accepting my statusmap_image definition since it's still using the unkown.gd2 image... 2. my gd2 format has something wrong since I tried renaming one of my gd2 images to unkown.gd2 and all I get is a white rectangle instead of my image. I tried (from ml archive search) pngtogd2 img.gif img.gd2 1 1 AND pngtogd2 img.gif img.gd2 0 1 AND pngtogd2 img.gif img.gd2 128 1, but nothing seems to work... permissions and ownerships are correct... thanks to all, Jeremy Sunday, January 25, 2004, 2:58:53 PM, you wrote: > Hey Bill, > Partially solved my problem... I get images in the summary screens, but gd2 > images for the status map don't seem to work. I converted png to gd2 in win2k > with chunks=1 and format=1 (raw) but I still get a question mark image > (unknown.gd2).... any other suggestions? > thanks a lot, > Jeremy > Saturday, January 24, 2004, 7:09:04 PM, you wrote: >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeremy J. >> Rossi >> Sent: Saturday, January 24, 2004 11:03 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] icons >> Hi, >> I can't seem to get icons to work on nagios 1.0. this is an abstract >> from my cgi.cfg file: >> hostextinfo[3550-1]=;distribution.gif;distribution.gif;distribution.gif; >> 3550-1;;; >> hostextinfo[3550-2]=;distribution.gif;distribution.gif;distribution.gif; >> 3550-2;;; >> hostextinfo[2950]=;switch.gif;switch.gif;switch.gif;2950;;; >> hostextinfo[3548]=;switch.gif;switch.gif;switch.gif;3548;;; >> hostextinfo[adsl_gw]=;router.gif;router.gif;router.gif;adsl_gw;;; >> hostextinfo[gw_management]=;router.gif;router.gif;router.gif;gw_manageme >> nt;;; >> hostextinfo[xaos-f-rm1]=;firewall.gif;firewall.gif;firewall.gif;xaos-f-r >> m1;;; >> hostextinfo[mail.xaos.it]=;server.gif;server.gif;server.gif;mail.xaos.it >> ;;; >> hostextinfo[dns.xaos.it]=;server.gif;erver.gifserver.gif;dns.xaos.it;;; >> hostextinfo[homer]=;server.gif;server.gif;server.gif;homer;;; >> hostextinfo[margie]=;server.gif;server.gif;server.gif;margie;;; >> hostextinfo[sviluppo]=;server.gif;server.gif;server.gif;sviluppo;;; >> icons are in /usr/local/share/nagios/images/logos/ and are all 644... >> any suggestions? >> ciao, >> Jeremy >> Jeremy, >> I did check...the cgis default to the template based which is the >> suggestion I made for you >> See: >> http://nagios.sourceforge.net/docs/1_0/configextinfo.html >> Bill ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 25 18:39:57 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Sun, 25 Jan 2004 11:39:57 -0600 Subject: check_by_ssh and other plugins In-Reply-To: References: Message-ID: <1075052397.14217.143.camel@localhost> On Sat, 2004-01-24 at 23:42, Thilanka wrote: > that I am going to troubleshoot later on. Can someone advice me as to how to go > about monitoring processor load, disk usage, memory usage, ping latency, > reachabilty on a single remote host. The main thing is the data transfer and > the communication between the Nagios monitoring machine and the remote host > should be secure. Any help would be appreciated. NRPE has an ssh option. It works quite well. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 25 19:19:28 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sun, 25 Jan 2004 12:19:28 -0600 Subject: nsclient and nrpe plugins Message-ID: <20040125181928.94177.qmail@restricted.dyndns.org> Hey guys, What's the difference between nsclient and nrpe. What's the advantage of one over the other? Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Sun Jan 25 19:32:24 2004 From: thilanka at sbcglobal.net (Thilanka) Date: Sun, 25 Jan 2004 18:32:24 +0000 (UTC) Subject: =?utf-8?b?Y2hlY2tfYnlfc3No?= and other plugins References: <1075052397.14217.143.camel@localhost> Message-ID: > NRPE has an ssh option. It works quite well. Yeah ..thanks. I am in the process of reading all the stuff I can get my hands on. Looking into nagmin to ease the creation of certain stuff. Once I get the whole concept down I will go deep into Nagios. Have a nice day! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 25 20:48:18 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Sun, 25 Jan 2004 14:48:18 -0500 Subject: Short review of temperature sensors Message-ID: <000001c3e37c$2f019ab0$98aa6418@netcraftinc.int> For those, like myself, considering purchasing a temperature sensor to work with Nagios, there are at least two choices. I decided to purchase both to try out (I do not work for either of these companies, nor have any association). The more recent product is one from ESensors called EM01 HVAC and the second is from Sensatronics called TempTrax. The EM01 HVAC has some nice features including the ability to monitor temperature, light level and humidity. The unit comes with a CD and a GUI application to configure the sensor unit. The sensor unit requires a separate unit that allow the sensor to be programmed (when purchasing multiple sensors, only one programmer is required). Through the GUI you configure the unit's IP address, subnet mask, an email address for alerts to be sent to, and alert levels for temperature, light level and humidity. One missing item is the ability to configure a default gateway. The unit assumes to communicate with local LAN devices. In my case because I monitor remote networks this is a drawback. The company support people were very helpful and are working on a new model with additional options. In the mean time to monitor this unit remotely you will require a NAT device (e.g. cheap broadband router will do) that the unit needs to be installed behind for monitoring it remotely. The TempTrax unit requires that one or more probes be connected to it (my unit can have up to 4) and can monitor multiple locations limited by the length of the wires (standard wires are 50'). The unit is programmed via a null modem cable shipped with the unit. The unit can have an IP address, subnet mask, default gateway, unit name and probe names programmed. The unit runs an internal web server and display temperature information when connecting to it via browser. The instruction manual also provides information for developers who are interested in writing their own applications. In the end we chose the TempTrax unit for our immediate needs, but are looking forward to trying out the updated EM01 unit when it is released. Frank Pikelner t (416) 736-7474 ext. 40 f (416) 736-7188 e frank.pikelner at blue-dot.ca ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jan 25 21:11:23 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Sun, 25 Jan 2004 14:11:23 -0600 Subject: check_by_ssh and other plugins In-Reply-To: References: <1075052397.14217.143.camel@localhost> Message-ID: <1075061483.27376.1.camel@localhost> On Sun, 2004-01-25 at 12:32, Thilanka wrote: > > NRPE has an ssh option. It works quite well. > Yeah ..thanks. I am in the process of reading all the stuff I can get my hands > on. Looking into nagmin to ease the creation of certain stuff. Once I get the > whole concept down I will go deep into Nagios. Have a nice day! for me, NagMIN was just a pain in the butt. I prefer it by hand - it's not hard to deal with at all, with templates, now. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 23:29:04 2004 From: cjdock at excite.com (ChuckDock) Date: Sun, 25 Jan 2004 17:29:04 -0500 (EST) Subject: check_by_ssh and other plugins Message-ID: <20040125222904.03DFA3CE6@xprdmailfe10.nwk.excite.com> I spent a lot of time installing nagmin and all it's dependencies, it wasn't worth the effort. --- On Sun 01/25, jeff vier < jeff.vier at tradingtechnologies.com > wrote: From: jeff vier [mailto: jeff.vier at tradingtechnologies.com] To: thilanka at sbcglobal.net Cc: nagios-users at lists.sourceforge.net Date: Sun, 25 Jan 2004 14:11:23 -0600 Subject: Re: [Nagios-users] Re: check_by_ssh and other plugins On Sun, 2004-01-25 at 12:32, Thilanka wrote:
> > NRPE has an ssh option. It works quite well.
> Yeah ..thanks. I am in the process of reading all the stuff I can get my hands
> on. Looking into nagmin to ease the creation of certain stuff. Once I get the
> whole concept down I will go deep into Nagios. Have a nice day!

for me, NagMIN was just a pain in the butt. I prefer it by hand - it's
not hard to deal with at all, with templates, now.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourc eforge.net/lists/listinfo/nagios-users
::: 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! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Mon Jan 26 01:45:00 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sun, 25 Jan 2004 18:45:00 -0600 Subject: nsclient and nrpe Message-ID: <20040126004500.36148.qmail@restricted.dyndns.org> Hey guys, what are the difference between nsclient and nrpe? Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Mon Jan 26 08:04:09 2004 From: christian.masopust at siemens.com (Masopust Christian) Date: Mon, 26 Jan 2004 08:04:09 +0100 Subject: AW: output more than 80 characters Message-ID: hi basile, when i'm right, you have to change MAX_INPUT_BUFFER in common/common.h too. regards, chris -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Basile Mathieu Gesendet: Freitag, 23. J?nner 2004 13:30 An: nagios-users at lists.sourceforge.net Cc: pla at softflare.com; ejl at man.fwltech.com Betreff: RE: [Nagios-users] output more than 80 characters i m doing my own plugins it s to make snmp management i find in the source code the constant MAX_PLUGINOUTPUT_LENGTH and change it to 1000 but it doesn t work it seems to be a bit more difficult :) A 11:32 23/01/2004 +0000, vous avez ?crit : >Does it output the extra characters on the command line when you run >./check_http or whichever plugin you are testing? If so, maybe there is a >maximum limit of 80 characters in the nagios web pages too. > >Ewan > > > -----Original Message----- > > From: Basile Mathieu [mailto:Basile.Mathieu at siris.sorbonne.fr] > > Sent: 23 January 2004 11:06 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] output more than 80 characters > > > > > > i post a mail yesterday because i want to change the 80 > > characters of the > > output of plugins > > i think i find it and i recompile nagios but it doesn t work > > if someone know where it is defined > > it will help me > > thanks > > basile > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.Net email is sponsored by EclipseCon 2004 >Premiere Conference on Open Tools Development and Integration >See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >http://www.eclipsecon.org/osdn >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jim.mozley at exponential-e.com Mon Jan 26 11:16:59 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Mon, 26 Jan 2004 10:16:59 +0000 Subject: Traffic Plug-in In-Reply-To: <4F1A91B978EE87478F2447A768883685F467@cbemi-web.cbemi> References: <4F1A91B978EE87478F2447A768883685F467@cbemi-web.cbemi> Message-ID: <4014E91B.2000709@exponential-e.com> Eduardo Moura wrote: > Hi All > > Does anyone knows a plug to measure traffic in cisco routers??? > If you have MRTG/RRD going for trending purposes, I believe that there is a plugin for querying the values in RRD. I assume you mean trigger a notification when the traffic threshold is above a certain percent? MRTG provides a thresholds mechanism, perhaps you could use this to trigger a passive check? Jim ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon Jan 26 11:41:08 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 26 Jan 2004 10:41:08 -0000 Subject: check_nt Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92262D0@netfinity-1.foundation-it.local> Kevin Phillips wrote: > I am having an issue with the check_nt command. When I run > ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C I get the > response "wrong -l argument" Is that the literal command you're running? My reading of the code (which is not necessarily correct :) suggests you'd only get that error if you had an argument to -l on a USEDDISKSPACE check which was more than one character long. I'd check for trailing garbage on your check command definition. Phil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 26 11:41:19 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 26 Jan 2004 10:41:19 +0000 Subject: check_by_ssh and other plugins In-Reply-To: <1075052397.14217.143.camel@localhost> References: <1075052397.14217.143.camel@localhost> Message-ID: <20040126104119.28351.qmail@minnow.softflare.net> jeff vier writes: > NRPE has an ssh option. Not the last time I looked (NRPE 2.0). NRPE has an SSL option, which means that the results are encrypted so only the machine making the query can decipher them. However, the only authentication possible is by using tcpwrappers to restrict queries to a specific IP address. Somebody in a position to packet sniff traffic between the Nagios host and the monitored machine could use IP spoofing to send a query and packet sniff the answer. If you want better security then either set up a VPN or use check_by_ssh. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 26 11:48:27 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 26 Jan 2004 10:48:27 +0000 Subject: icons In-Reply-To: <813487174.20040125152100@xaos.it> References: <110109588600.20040124170306@xaos.it> <20040124180822.02DEC8B804D@ibill.no-ip.org> <1092160246.20040125145853@xaos.it> <813487174.20040125152100@xaos.it> Message-ID: <20040126104827.31422.qmail@minnow.softflare.net> Jeremy J. Rossi writes: > I tried (from ml archive search) pngtogd2 img.gif img.gd2 1 1 AND > pngtogd2 img.gif img.gd2 0 1 AND pngtogd2 img.gif img.gd2 128 1, but > nothing seems to work... Ummmm, I hope you made a thinko there. Pngtogd2 converts png images, not gifs. From fallible memory, I think I read somebody say that chunk size should be a power of two. From painful experience, I know that you should convert using the same version of GD that is on your Nagios server. The gd2 file format can change incompatibly between versions and if you generate a gd2 image with one version and try to display it using a different version (particularly an older version) it can't handle it. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 26 12:11:08 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 26 Jan 2004 11:11:08 +0000 Subject: Where have the cgi gone? In-Reply-To: <20040124043509.44D038B804D@ibill.no-ip.org> References: <20040124043509.44D038B804D@ibill.no-ip.org> Message-ID: <20040126111108.9194.qmail@minnow.softflare.net> Bill James writes: > I have been watching this thread for a little while now and I have only > one question to ask Paul A question which I answered earlier in the thread. Ah, but you were watching, not reading and understanding. > Were you born with knowledge of *nix or did you have a mentor along with > training to help you until you knew everything.... I had a couple of not very good books, the man pages, and the intelligence to figure things out. BTW, I do not claim to know everything. There is a lot I have never had any need to delve into, but if ever the time comes I will read the relevant documentation, read the FAQs and do google searches before asking questions on a mailing list. > At least this guy was trying to learn... The guy is a sponge. He wants everyone to do his work for him, as his most recent post shows. He doesn't want to do anything for himself, he just wants to take the easy way out by asking here. > I even sent him my statusmap.cgi because his first post stated only > that file was missing, if you bothered to really read his mail he was > trying and was frustrated... I did read his mail. He was frustrated but wasn't trying to solve his problems himself. He wants to be spoon-fed with answers, and he will continue in that fashion for as long as people like you are willing to do all his work for him. BTW1: sending somebody an executable compiled on a different hardware platform, different flavour of *nix, or even a different version of a Linux distro is unlikely to work. BTW2: even if it works, accepting something compiled by somebody else is a major security risk. > If you were employed by me you would be outside looking in and wondering > what just happened Then we should both consider ourselves fortunate. I would not wish to be employed by somebody so clueless as to send executables to other people. > I agree with Jamie... /dev/null for you Your loss. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kphillips at wwre.org Mon Jan 26 12:17:50 2004 From: kphillips at wwre.org (Kevin Phillips) Date: Mon, 26 Jan 2004 06:17:50 -0500 Subject: check_nt Message-ID: <3321B3C578DE6F40B92B974303779E6A08B0E6@dcmserver2.wwre.org> I have checked and also get the same response from running the ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C at the command line. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Phil Costelloe Sent: Mon 1/26/2004 5:41 AM To: nagios-users at lists.sourceforge.net Cc: Subject: RE: [Nagios-users] check_nt Kevin Phillips wrote: > I am having an issue with the check_nt command. When I run > ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C I get the > response "wrong -l argument" Is that the literal command you're running? My reading of the code (which is not necessarily correct :) suggests you'd only get that error if you had an argument to -l on a USEDDISKSPACE check which was more than one character long. I'd check for trailing garbage on your check command definition. Phil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jason at pnc.com.au Mon Jan 26 12:23:36 2004 From: jason at pnc.com.au (Jason Thomas) Date: Mon, 26 Jan 2004 22:23:36 +1100 Subject: icons In-Reply-To: <20040126104827.31422.qmail@minnow.softflare.net> References: <110109588600.20040124170306@xaos.it> <20040124180822.02DEC8B804D@ibill.no-ip.org> <1092160246.20040125145853@xaos.it> <813487174.20040125152100@xaos.it> <20040126104827.31422.qmail@minnow.softflare.net> Message-ID: <20040126112336.GC25987@staff.pnc.com.au> I'm having the same problem. I convert this: http://shark.pnc.com.au/nagios/images/logos/aBo.png using this: pngtogd2 aBo.png aBo.gd2 0 1 and get this: http://shark.pnc.com.au/nagios/images/logos/aBo.gd2 which is no longer transparent. all done on the same machine using the same gd libraries. any ideas. On Mon, Jan 26, 2004 at 10:48:27AM +0000, Paul L. Allen wrote: > be a power of two. From painful experience, I know that you should convert > using the same version of GD that is on your Nagios server. The gd2 > file format can change incompatibly between versions and if you generate > a gd2 image with one version and try to display it using a different > version (particularly an older version) it can't handle it. Scanned by PeNiCillin http://safe-t-net.pnc.com.au/ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon Jan 26 12:43:53 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 26 Jan 2004 11:43:53 -0000 Subject: check_nt Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92262D8@netfinity-1.foundation-it.local> Kevin Phillips wrote: > I have checked and also get the same response from running the > ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C at the > command line. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net on behalf of Phil > Costelloe > Sent: Mon 1/26/2004 5:41 AM > To: nagios-users at lists.sourceforge.net > Cc: > Subject: RE: [Nagios-users] check_nt > > > Kevin Phillips wrote: > >> I am having an issue with the check_nt command. When I run >> ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C I get the >> response "wrong -l argument" > > Is that the literal command you're running? My reading of the code > (which is not necessarily correct :) suggests you'd only get that > error > if you had an argument to -l on a USEDDISKSPACE check which was more > than one character long. I'd check for trailing garbage on your check > command definition. Please stop top posting in HTML. In the version of check_nt.c I looked at (you haven't said what version you're running or much else of use like your verbatim command and service configuration), the "wrong -l argument" message is only output if you give a multicharacter -l argument. Using C: rather than C would cause it for example. Phil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 26 13:15:01 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 26 Jan 2004 12:15:01 +0000 Subject: icons In-Reply-To: <20040126112336.GC25987@staff.pnc.com.au> References: <110109588600.20040124170306@xaos.it> <20040124180822.02DEC8B804D@ibill.no-ip.org> <1092160246.20040125145853@xaos.it> <813487174.20040125152100@xaos.it> <20040126104827.31422.qmail@minnow.softflare.net> <20040126112336.GC25987@staff.pnc.com.au> Message-ID: <20040126121502.6125.qmail@minnow.softflare.net> Jason Thomas writes: > I'm having the same problem. It sounds like your problem is different. His problem was that the image did not display at all. > which is no longer transparent. PNG supports two types of transparency. The first is equivalent to GIF transparency, where one palette entry is flagged as being transparent (actually, PNG can have more than one palette entry flagged as transparent). The second is alpha-channel transparency, which allows for funky effects like partial transparency. Pngtogd2 does not support alpha-channel transparency, and if you try to convert a PNG which uses alpha transparency then pngtogd2 will convert the image but discard the alpha information, so the GD2 image is not transparent. This may be your problem. If it is, pngtogd2 emits a warning when you try to convert the image... -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at mobeon.com Mon Jan 26 13:29:07 2004 From: fredrik.wanglund at mobeon.com (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 26 Jan 2004 13:29:07 +0100 Subject: Processor Load In-Reply-To: <5E43695CC08E3D43A722EB75F116BC29DBA594@skyriverserver3.skyriver.net> References: <5E43695CC08E3D43A722EB75F116BC29DBA594@skyriverserver3.skyriver.net> Message-ID: <40150813.9000300@mobeon.com> A have a PIII 1.4 Ghz with 200 hosts / 600 services. At least 50% of the servces is run every minute. My load sits around 4 and the CPU is aound 80% idle. /FredrikW Jamin Cleveland wrote: > All, > > I am configuring Nagios 1.1 to run on a RH 9 box with a Pentium 4 2.5Ghz > CPU, and 1GB of RAM. I will need to monitor up/down status on around > 1,000 hosts with roughly 1,500 services. > > Is this something I can reasonably expect to do on this one machine with > a Normal Check Interval of 1 minute? > > Currently I have 66 hosts setup with 78 services, and my CPU load > quickly climbs through the roof. Is there some sort of throttling I > have not configured, or does Nagios just use whatever CPU is available? > > Thanks in advance for any assistance. > > -Jamin > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Mon Jan 26 14:12:45 2004 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Mon, 26 Jan 2004 13:12:45 +0000 Subject: Config management solutions Message-ID: <1075122765.1906.10.camel@localhost.localdomain> Hello List, I am looking for a web-based config management solution. I am very happy editing the config files by hand (and also using a couple of perl scripts I've written), but I need to allow non-sysadmin people to be able to add hosts and change basic stuff like IP addresses and move hosts about between hostgroups. We also use Apan extensively, mostly for ping RTT and packet loss, but also for some other custom stuff. I currently have a script that will add a host, ping service, apan config and create an rrd. I would probably like to be able to still use this. Stuff I've seen: Nawui - installed this yesterday. Looks like it will (eventually) do what we need but is not very pretty at the moment and has quite a few missing bits and bugs. Also using my script would require config to be re-imported. Nagat - looks quite stable but perhaps a bit basic. On first glance no extinfo support which is vital for us. Nagmin - looks like it would time-consuming to install (I do have mysql running but not webmin). Also it does loads of things we don't need. Potentially its stats features could replaced apan (and hence remove the need for my script) Other solutions? It would also be nice if whatever I chose would be compatible with nagios 2.0, although I don't intend to make the move soon. I would appreciate any insights and experience with the above tools Thanks Matthew Wilson DC-Sat.net ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Mon Jan 26 17:10:53 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 26 Jan 2004 10:10:53 -0600 Subject: differences: nrpe and nsclient Message-ID: <20040126161053.46756.qmail@restricted.dyndns.org> What are the differences between nrpe and nsclient? Which is better and safer to use? Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 17:19:10 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Mon, 26 Jan 2004 11:19:10 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20Processor=20Load?= Message-ID: You should have no problem at all. I run a 1100 services check with time interval ranging from 1 to 30 minutes, with the GUI of redhat9 and no problem at all. I have a 2.5Ghz with 1GB of RAM. Alex >>> "Jamin Cleveland" 2004-01-23 17:48:16 >>> All, I am configuring Nagios 1.1 to run on a RH 9 box with a Pentium 4 2.5Ghz CPU, and 1GB of RAM. I will need to monitor up/down status on around 1,000 hosts with roughly 1,500 services. Is this something I can reasonably expect to do on this one machine with a Normal Check Interval of 1 minute? Currently I have 66 hosts setup with 78 services, and my CPU load quickly climbs through the roof. Is there some sort of throttling I have not configured, or does Nagios just use whatever CPU is available? Thanks in advance for any assistance. -Jamin ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at hvwisp.com Mon Jan 26 17:39:51 2004 From: matt at hvwisp.com (Matt Guzzo) Date: Mon, 26 Jan 2004 11:39:51 -0500 Subject: New mysql install Message-ID: <002301c3e42b$04f704d0$0a01a8c0@matt> I just compiled nagios with mysql. It is logging into the database, nagios is indeed running, I am getting email notifications. This is the error message Error: Could not read host and service status information! Can anyone help? ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Mon Jan 26 17:51:36 2004 From: FReimers at infosysinc.com (Fred Reimers) Date: Mon, 26 Jan 2004 11:51:36 -0500 Subject: Unable to schedule or force a host services check Message-ID: <8F807B93637B104F96D6A4D187408C0D0AAFBE@infocoex2.infosysinc.com> All, I'm having a problem where all services are passive and host checks are not getting scheduled when the status of the service changes. Manual scheduling of all services on the host, either regular or forced does not work. Nagios appears to ignore them. Check freshness is enabled as well. I haven't been able to find anything on this in the lists. Does anyone know if there's a way of changing a host status back again short of restarting Nagios without retaining status information, which is what I've had to do? Can I change the host status in MySQL myself without breaking Nagios? Fred Reimers ------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwhuff at ucdavis.edu Mon Jan 26 18:58:01 2004 From: rwhuff at ucdavis.edu (Ron Huff) Date: Mon, 26 Jan 2004 09:58:01 -0800 Subject: Nagios-users digest, Vol 1 #1863 - 15 msgs In-Reply-To: <200401240342.i0O3gSsO016144@rome.ucdavis.edu> References: <200401240342.i0O3gSsO016144@rome.ucdavis.edu> Message-ID: <200401261758.i0QHwXAA007286@pop17.ucdavis.edu> You know, I try to go thru these lists quickly each morning since I am putting together a new nagios installation and there are still a few things I don't know...this is difficult in itself due to all the PURE chafe (html crap and encrypted pages) that comes along because people are not very carefull about what they send...but ...this running diatribe between Marc and Paul is really over the top tho... Frankly, I agree w/Marc; either be helpfull or shut up, but ...do you suppose you guys could just stop talking to EACH OTHER, completely; that would be very helpfull. - Ron Huff On Friday 23 January 2004 07:41 pm, nagios-users-request at lists.sourceforge.net wrote: > Send Nagios-users mailing list submissions to > nagios-users at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/nagios-users > or, via email, send a message with subject or body 'help' to > nagios-users-request at lists.sourceforge.net > > You can reach the person managing the list at > nagios-users-admin at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nagios-users digest..." > > > Today's Topics: > > 1. RE: statusmap (Bill James) > 2. Re: Re: output more than 80 characters (Mark Wagner) > 3. Where have the cgi gone? (Thilanka Samarasekera) > 4. RE: statusmap (Thilanka Samarasekera) > 5. RE: Where have the cgi gone? (Marc Powell) > 6. how to check routers? (Greg Alexander) > 7. Re: Where have the cgi gone? (Paul L. Allen) > 8. RE: Re: Where have the cgi gone? (Marc Powell) > 9. Processor Load (Jamin Cleveland) > 10. Re: Where have the cgi gone? (Paul L. Allen) > 11. RE: Re: Where have the cgi gone? (Marc Powell) > 12. Nagios Extra Icons (Platt, Nicholas) > 13. Re: Where have the cgi gone? (Paul L. Allen) > 14. RE: Nagios Extra Icons (Bill James) > 15. Re: Re: Where have the cgi gone? (Jamie Baddeley) > > --__--__-- > > Message: 1 > From: "Bill James" > To: "'Thilanka Samarasekera'" > Cc: > Subject: RE: [Nagios-users] statusmap > Date: Fri, 23 Jan 2004 15:54:50 -0500 > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0013_01C3E1C9.3DFB95C0 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: 7bit > > Go to http://www.nagios.org > > Download the version 1.1 > > unpack it > > from within the unpacked nagios directory run ./configure, then make > > once make is done look in the cgi directory under the directory from > where you unpacked nagios and ran configure and make and you will find > the statusmap.cgi > > > > _____ > > From: Thilanka Samarasekera [mailto:thilanka at sbcglobal.net] > Sent: Friday, January 23, 2004 3:48 PM > To: Bill James > Subject: RE: [Nagios-users] statusmap > > > how do i get from the source install ? > > Bill James wrote: > > _____ > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thilanka > Samarasekera > Sent: Friday, January 23, 2004 3:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap > > > Ok I have gone through many documents and still I cann get my status map > and the 3d status map to work. > > > Here's how my configurations look like: > > cgi.cfg > > #hostextinfo[es-eds]=/serverinfo/es-eds.html;novell40.gif;novell40.jpg;n > ovell40.gd2;IntranetWare 4.11;100,50;3.5,0.0,-1.5; > #hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2 > ;NT Server 4.0;;; > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > > #statusmap_background_image=bg-pic.gif > > > I someone needs to see other configuration files of my > installation...let me know and I will post them. > > And also I was looking a the apache error_log while clicking on status > map and I get the following error: > > script not found or unable to stat: /usr/local/nagios/sbin/statusmap.cgi > > > I looked in /usr/local/nagios/sbin and there is no file with the name > statusmap.cgi > > My question is where to get this file from ? Cause a simple 'find on the > whole file system did not yeild any results. > > Any help would be appreciated. > > Thilanka > > > Mine is located in /usr/lib/nagios/cgi/statusmap.cgi (machine is Redhat > 9) > but you could get it from the source install and place it where it is > looking for it on your distro > > > > > ------=_NextPart_000_0013_01C3E1C9.3DFB95C0 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > > > charset=3Dus-ascii"> > > >
size=3D2> class=3D279435120-23012004>Go to href=3D"http://www.nagios.org">http://www.nagios.org IV> >
size=3D2> class=3D279435120-23012004> 
>
size=3D2> class=3D279435120-23012004>Download the version 1.1
>
size=3D2> class=3D279435120-23012004> 
>
size=3D2> class=3D279435120-23012004>unpack it
>
size=3D2> class=3D279435120-23012004> 
>
size=3D2> class=3D279435120-23012004>from within the unpacked nagios directory run = > > ./configure, then make
>
size=3D2> class=3D279435120-23012004> 
>
size=3D2> class=3D279435120-23012004>once make is done look in the cgi directory = > under the=20 > directory from where you unpacked nagios and ran configure and = > make and you=20 > will find the statusmap.cgi
>
size=3D2> class=3D279435120-23012004> 
>
size=3D2> class=3D279435120-23012004> 

>
>
> From: Thilanka Samarasekera=20 > [mailto:thilanka at sbcglobal.net]
Sent: Friday, January 23, = > 2004 3:48=20 > PM
To: Bill James
Subject: RE: [Nagios-users]=20 > statusmap

>
>
how do i get from the source install ?

Bill James=20 > <bill at ibill.no-ip.org> wrote:=20 >
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px = > solid"> > >
>
> From: = > nagios-users-admin at lists.sourceforge.net=20 > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of = > Thilanka=20 > Samarasekera
Sent: Friday, January 23, 2004 3:06 = > PM
To:=20 > nagios-users at lists.sourceforge.net
Subject: [Nagios-users]=20 > statusmap

>
>
Ok I have gone through many documents and still I cann get my = > status map=20 > and the 3d status map to work.
>
 
>
 
>
Here's how my configurations look like:
>
 
>
cgi.cfg
>
 
> = >
#hostextinfo[es-eds]=3D/serverinfo/es-eds.html;novell40.gif;novell40= > .jpg;novell40.gd2;IntranetWare=20 > = > 4.11;100,50;3.5,0.0,-1.5;
#hostextinfo[rosie]=3D/serverinfo/rosie.html= > ;win40.gif;win40.jpg;win40.gd2;NT=20 > Server 4.0;;;
> = >
xedtemplate_config_file=3D/usr/local/nagios/etc/hostextinfo.cfg
<= > /DIV> >
 
>
#statusmap_background_image=3Dbg-pic.gif
>
 
>
 
>
I someone needs to see other configuration files of my = > installation...let=20 > me know and I will post them.
>
 
>
And also I was looking a the apache error_log while clicking on = > status=20 > map and I get the following error:
>
 
>
script not found or unable to stat:=20 > /usr/local/nagios/sbin/statusmap.cgi
>
 
>
I looked in /usr/local/nagios/sbin and there is no file with the = > name=20 > statusmap.cgi
>
 
>
My question is where to get this file from ? Cause a simple 'find = > on the=20 > whole file system did not yeild any results.
>
 
>
Any help would be appreciated.
>
 
>
Thilanka
>
 
>
 
>
color=3D#0000ff size=3D2>Mine=20 > is located in /usr/lib/nagios/cgi/statusmap.cgi (machine is Redhat=20 > 9)
>
color=3D#0000ff size=3D2>but=20 > you could get it from the source install and place it where it is = > looking for=20 > it on your distro
>
 
>
 
> > ------=_NextPart_000_0013_01C3E1C9.3DFB95C0-- > > > > --__--__-- > > Message: 2 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: output more than 80 characters > From: Mark Wagner > Date: Fri, 23 Jan 2004 13:08:56 -0800 > > On 23 January 2004 at 12:14, "Paul L. Allen" wrote: > > Ewan Leith writes: > > > If so, maybe there is a maximum limit of 80 characters in the nagios > > > web pages too. > > > > My own feeling on this is that the significant part of the output should > > be kept short, but there may be additional info. I.e., the output of > > check_disk on a system with several partitions starts with the important > > "DISK OK" and then shows actual space used on each partition. On a pager > > the most important part is "DISK OK" or "DISK CRITICAL" but on the web > > display or in e-mail notification the extra information is useful. > > From > > Nagios will only grab the first line of text from STDOUT when > it notifies contacts about potential problems. If you print > multiple lines, you're out of luck. Remember, keep it short and > to the point. > > This is one feature of Nagios that I don't like too much. I think > there should be the possibility of more verbosity, e.g., > $OUTPUT$ has the first line and the rest would be in $EXTOUTPUT$. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tobeya at tobert.org Mon Jan 26 19:25:04 2004 From: tobeya at tobert.org (Al Tobey) Date: Mon, 26 Jan 2004 13:25:04 -0500 Subject: contrib check_snmp_disk_monitor.pl In-Reply-To: <200401221733.i0MHXqKk009218@host24.the-web-host.com> References: <200401221733.i0MHXqKk009218@host24.the-web-host.com> Message-ID: <1075141504.2296.8.camel@linuxws1.internal.priority-health.com> On Thu, 2004-01-22 at 12:28, James Kelty wrote: > Is anyone using the check_snmp_disk_monitor.pl script? And, if so, > have you noticed that it consistenly reports 2-5 % LESS utilization > than is actually used (on Linux anyway)? I am using the ucd-snmp 4.2.5 > that ships with RHEL AS v2.1. Can you please send me output from both your df and from the plugin? If there is a bug, I will fix it and post a link here. Also, please let me know which filesystem you're monitoring - it may be that the difference in utilization is due to how snmpd gathers disk information as opposed to how df does. For example, the host resources MIB only reports the number of blocks allocated instead of how many bytes are actually consumed. This is probably where the 2-3% you're seeing is coming from and it's likely that any other snmp plugin will have the same problem. > > > Also, can someone point me to a better snmp disk monitor than this > one? Thanks a lot! Gee, you're welcome. > -James -- Al Tobey tobert.org ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.stankaitis at datawire.net Mon Jan 26 19:41:17 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Mon, 26 Jan 2004 13:41:17 -0500 Subject: escalations.cfg question Message-ID: <40155F4D.40708@datawire.net> I am trying to do this: Have 4 services from one box page cell phones, in addition to e-mailing, have all other services just e-mail... The problems I am running into; it would see that the service_description line doesn't appear to accept comma separated values... as well is there a provision in the nagios configs to do a catch-rest I.E. I define, PING,SERVICEA,SERVICEB => page to cell & everything else, just e-mail address X. is there a way to do this WITHOUT having to define each service one by one? -- Chris Stankaitis ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From WDougallJR at nwdtc.com Mon Jan 26 19:55:40 2004 From: WDougallJR at nwdtc.com (WDougallJR at nwdtc.com) Date: Mon, 26 Jan 2004 10:55:40 -0800 Subject: Where have the cgi gone? Message-ID: > I expect an end user to have a basic grasp of those subjects but I do > not expect that they fully understand all the intracacies of a > software package that they are installing for the first time. >I don't expect anyone to fully understand software they are installing >for the first time. I DO expect somebody who ought to be a fairly >experienced *nix admin installing software that is only of use to >experienced *nix admins to have some minimal knowledge of *nix. I don't >expect the petrol pump attendant to know where the filler cap is on a >car he's never seen before, but I do expect him not to just pump petrol >through the open sun roof because he doesn't know where the filler cap >is. YMMV... On those new cars how do the petrol attendants learn where the filler cap is? Do they RTFM? No, they politely ask the driver where it is. The driver does not throw the manual at them and say RTFM. I hope. >This is not an "I am new to Linux and need help" list, this is >supposedly an "I am a real *nix admin and want to do seriously geeky >things because I work for an ISP" list. Are ISP's and IT groups the only people you can think of that might benefit from having a Nagios installation? Have you ever sat down and thought of everything that Nagios could be used for? For example: Ever think that maybe a warehouse, print shop, small/large grocery store, local post office, schools, and libraries might be interested in it? The last three I suppose could raise your taxes more to pay for it to be installed. Otherwise they may not have the budget for a *nix admin but may have a real need for such software. I don't remember reading anywhere in the doc's that you had to be an *nix admin to install this. So guess what, in an effort to save money the manager/teacher/business owner/maybe even your gas station attendant gets to install it and configure it. Oh BTW he/she never went to college for software devel or support. A.K.A. clueless. May not of even heard of google. But through some luck he/she stumbled upon this excellent cost effective software. They might have even been handed some disk with the source on them and told to make it work. Why does he/she not deserve free support on free software from a free list. >I expect a *nix admin to know >what "could not stat /usr/local/nagios/sbin/statusmap.cgi" means or at >least to be able to figure it out without first seeing if the animated >paperclip has an answer. Why can't the animated paperclip tell us that? If it's such rudimentary info as you make it out to be then why not have the magic paperclip give us that answer and get on with the world? Instead you would rather waste your time telling us how the world turns. William Dougall Systems Support The only dumb question is the one not asked. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardo.moura at telway.com.br Mon Jan 26 20:03:13 2004 From: eduardo.moura at telway.com.br (Eduardo Moura) Date: Mon, 26 Jan 2004 17:03:13 -0200 Subject: RES: Traffic Plug-in Message-ID: <4F1A91B978EE87478F2447A768883685F469@cbemi-web.cbemi> I?ve tried this plug-in but in some case it returns the error message (Return code of 13 is out of bounds). Someone has the same problem (or a solution for)? -----Mensagem original----- De: Jason Truong [mailto:Jason.Truong at plumtree.com] Enviada: seg 26/1/2004 16:50 Para: Eduardo Moura; nagios-users at lists.sourceforge.net Cc: Assunto: RE: [Nagios-users] Traffic Plug-in I would check out the check_traffic plugin. I think there is also a check_rrd (or something like that...) plugin but I have not tested that out yet. The check_traffic is pretty nice. Jason T. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Eduardo Moura Sent: Saturday, January 24, 2004 4:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Traffic Plug-in Hi All Does anyone knows a plug to measure traffic in cisco routers??? Tks in advance Eduardo Telway IT Nzf+o!*x*M> zq:N7zZjw?tznv|Gi?+??vz)*y?5zj) ?*?X?~zw??qz?X)*?j?u*?*9,zzx(z???)w)+m?u From pla at softflare.com Mon Jan 26 20:08:17 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 26 Jan 2004 19:08:17 +0000 Subject: Nagios-users digest, Vol 1 #1863 - 15 msgs In-Reply-To: <200401261758.i0QHwXAA007286@pop17.ucdavis.edu> References: <200401240342.i0O3gSsO016144@rome.ucdavis.edu> <200401261758.i0QHwXAA007286@pop17.ucdavis.edu> Message-ID: <20040126190817.582.qmail@minnow.softflare.net> Ron Huff writes: This has to be a troll, right? > this is difficult in itself due to all the PURE chafe (html crap and > encrypted pages) that comes along because people are not very carefull > about what they send...but Not to mention the people who top post and quote the previous message in its entirety when almost none of it is relevant. [The entire digest, quoted by Ron Huff without any trimming whatsoever, snipped] Pot. Kettle. Troll. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jan 26 21:10:39 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 26 Jan 2004 20:10:39 +0000 Subject: Where have the cgi gone? In-Reply-To: References: Message-ID: <20040126201039.14076.qmail@minnow.softflare.net> WDougallJR at nwdtc.com writes: > On those new cars how do the petrol attendants learn where the filler cap > is? Do they RTFM? No, they politely ask the driver where it is. The ones I have encountered are smart enough to LOOK for the filler cap. It's fairly obvious what one looks like, it's only the placement that changes. > Are ISP's and IT groups the only people you can think of that might > benefit from having a Nagios installation? I believe that any enterprise large enough to REQUIRE monitoring services either has an in-house IT group or contracts the work to a specialist company. > Ever think that maybe a warehouse, print shop, small/large grocery store, > local post office, schools, and libraries might be interested in it? They might be. I can imagine a small grocery store or post office with one or two computers buying another computer and installing Linux on it all by themselves because they somehow stumbled across Nagios. I can imagine it, but the picture that accompanies it is of a pig flying. My local library, in a very small town, had eight PCs for internet access the last time I looked. The county council's IT department supplied them. The county council's IT department looks after support and maintenance of them, not the librarian. The county council's IT department is very large but is smart enough to know that if it doesn't have the necessary expertise for a task then it contracts it out. BTW, the librarian notices if computers die because somebody attempting to use it reports a problem, so the librarian phones the county council. What need does the library have for remote monitoring? None whatsoever. > Otherwise they may not have the budget for a *nix admin but may > have a real need for such software. In which case they contract the work out to somebody who knows what they're doing. This is what sensible people do. They look at the cost of a commercial monitoring product on Windows, they look at the cost of getting somebody to install and configure Nagios for them (if they've heard of it) then they decide which to go with. > I don't remember reading anywhere in the doc's that you had to be an > *nix admin to install this. I didn't read anything in the docs saying that you don't have to be clinically brain-dead to install it. The docs take some things for granted, like if you find Nagios somehow and have a need for it then you either know enough about *nix to install it yourself or you contract the task out to somebody who does. > So guess what, in an effort to save money the manager/teacher/business > owner/maybe even your gas station attendant gets to install it and > configure it. Oh BTW he/she never went to college for software devel or > support. A.K.A. clueless. Which pretty much describes the people we have installed Nagios for. Except they have enough of a clue to know that if they can barely use Windows then they have no chance installing Nagios for themselves. > May not of even heard of google. But through some luck he/she > stumbled upon this excellent cost effective software. Without a search engine to help them, right. And decided to install Linux without a clue how to use it. And somehow managed to teach himself or herself how to do things like cd to directories, unpack tarballs, use a *nix command-line editor like vi to read the installation instructions, etc. Somebody who doesn't know *nix but manages to teach himself or herself all that is also quite capable of figuring out the rest, unless he or she is lazy and wants somebody else to do it all at no cost. > Why does he/she not deserve free support on free software from a free > list. Turn that around. Why DOES he or she DESERVE free support about *nix on a list which is dedicated to Nagios? Why should Nagios users have to put up with teaching somebody *nix and Apache almost from scratch when there exist lists with those things as their aim? Why should even this clueless, deserving, person you have posited, not be led down the path of figuring stuff out for himself or herself by pointing out that he should first read the documentation, then the FAQs, then google search before even thinking of asking here? Why is it wrong to guide him towards thinking about the problem himself before posting here? Why, above all, if this person (whom, in your hypothesis, had never encountered *nix before deciding to build a *nix box to install Nagios on) has managed to figure out the *nix filesystem to the point where he or she can cd to /usr/local/nagios/etc and also figured out a *nix text editor to the point where they can edit the configuration files, are they so clueless as to be unable to figure out that "cannot stat /usr/local/nagios/sbin/statusmap.cgi" means they ought to at least cd to /usr/local/nagios/sbin and take a look around? And the answer to that one is the guy is a sponge. He wants to get away with doing as little as possible by getting people here to do it for him. > Why can't the animated paperclip tell us that? If it's such rudimentary > info as you make it out to be then why not have the magic paperclip give > us that answer and get on with the world? Instead you would rather waste > your time telling us how the world turns. I would prefer to give people the tools that allow them to answer the easy questions themselves so that they only come here when they have difficult questions. You and some others appear to wish to answer any question, no matter that it is far more appropriately-asked elsewhere, no matter that anyone who can figure out how to install Nagios ought to be able to figure out the answer himself, and no matter that the person asking it wants a free ride because he's too lazy to put any thought into the matter. "Why isn't it working?" "What does this Apache log mean?" "Why don't I have these CGIs?" All in the space of about an hour. Although I mentioned it in a previous post, I will again give a URL that you ought to read: The author of that page has documented the hacker culture back to its beginnings, has been involved in the hacker culture almost as long, has documented the norms of the hacker culture (such as the smart way to ask questions on mailing lists), and is one of the founders of the Open Software Foundation. He is highly regarded by Tim O'Reilly, Larry Wall, Linus Torvalds and many others (without whom there would be no Linux and probably no Nagios). I suggest you follow that URL and read what he has to say. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamin at skyriver.net Mon Jan 26 21:44:01 2004 From: jamin at skyriver.net (Jamin Cleveland) Date: Mon, 26 Jan 2004 12:44:01 -0800 Subject: Processor Load Message-ID: <5E43695CC08E3D43A722EB75F116BC29DBA59E@skyriverserver3.skyriver.net> That's what I figured. Thank you for the response. Ok, so I have a configuration problem here. I now have 1,100 + hosts being monitored for check-host-alive once per minute. When I start Nagios, uptime(1) shows that my 1 minute load average rapidly climbs to around 13. After about 5 minutes, the load settles to around 7.5, but obviously this is still way too high. I currently only have 1 service setup with the following characteristics: Template: generic-service HostName: * Check Period: *24/7 Notification Interval: 10 Service Notification Options: *Warning Critical Unreachable Recovery Notification Period: *24x7 Check Command: check-host-alive Max Check Attempts: *2 Normal Check Interval: 1 Retry Check Interval: *1 As you can see, this service is checked on all hosts (*) by default. Questions: [1] Is check-host-alive the best way to go for 1 minute check intervals on 1,100 hosts or should I go with something like fping? [2] Nagios is compiled with MySQL support and I am using NagMIN. Could the interaction with the MySQL DB be hindering performance? [3] Would there be less load on the CPU if I break up my Services by Host Group? Or should I create Service Groups in NagMIN and use those? Any suggestions for troubleshooting this problem would be most welcome. -Jamin > -----Original Message----- > From: Fredrik W?nglund [mailto:fredrik.wanglund at mobeon.com] > Sent: Monday, January 26, 2004 4:29 AM > To: Jamin Cleveland > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Processor Load > > A have a PIII 1.4 Ghz with 200 hosts / 600 services. At least 50% of the > servces is run every minute. My load sits around 4 and the CPU is aound > 80% idle. > > /FredrikW > > > Jamin Cleveland wrote: > > > All, > > > > I am configuring Nagios 1.1 to run on a RH 9 box with a Pentium 4 2.5Ghz > > CPU, and 1GB of RAM. I will need to monitor up/down status on around > > 1,000 hosts with roughly 1,500 services. > > > > Is this something I can reasonably expect to do on this one machine with > > a Normal Check Interval of 1 minute? > > > > Currently I have 66 hosts setup with 78 services, and my CPU load > > quickly climbs through the roof. Is there some sort of throttling I > > have not configured, or does Nagios just use whatever CPU is available? > > > > Thanks in advance for any assistance. > > > > -Jamin > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Mon Jan 26 22:24:57 2004 From: thilanka at sbcglobal.net (Thilanka) Date: Mon, 26 Jan 2004 21:24:57 +0000 (UTC) Subject: Where have the cgi gone? References: <20040126201039.14076.qmail@minnow.softflare.net> Message-ID: This way to stupid for me to even read it. Paul has some interesting points, but he needs to go somewhere where he is going to make a buck or two for his support. God help those people who come to softflare or where ever you work, for any help. I am sure there is a manager who keeps all the so called geeks in check. Have a great day! Oh on a side note ....I have got most of the stuff running now. Thanks to Marc Powell and other "intelligent" people (some people do not fit this category) who have helped me. Thanks everyone! And Paul a thank to you too. You pointed out a couple of points that I might look into. Thilanka Wondering whether my name might have set him off ....hmmmmmmm that might be it...I guess ..who knows...either way ...I cannot do anything about it cause I was never in-charge coming up with a name when I was born. LOL ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 22:44:52 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Mon, 26 Jan 2004 16:44:52 -0500 Subject: Status Map and 3-D Status Map Message-ID: <002601c3e455$a2027910$98aa6418@netcraftinc.int> 3-D Status Map ============== Although initially this looks like a nice feature I've found this to be both slow and unusable when managing hundreds of nodes. I'm curious if I'm alone in this observation or maybe using a system that is not optimized for viewing this information. Are there people that use this feature regularly? If yes, for what? Also is there a way to improve the quality of text in the 3-D map? Status Map ========== Are there any solutions, other than manual plotting of nodes, to arrange hundreds of nodes on the map without them clustered on top of each other? For those that are working with v2.0 are there any new options? My only solution at this point is using the BALANCED TREE method of displaying the map - just wish there was a better way such as the Circular with better spacing. Cheers, Frank Pikelner ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at pnc.com.au Mon Jan 26 23:18:00 2004 From: jason at pnc.com.au (Jason Thomas) Date: Tue, 27 Jan 2004 09:18:00 +1100 Subject: icons In-Reply-To: <20040126121502.6125.qmail@minnow.softflare.net> References: <110109588600.20040124170306@xaos.it> <20040124180822.02DEC8B804D@ibill.no-ip.org> <1092160246.20040125145853@xaos.it> <813487174.20040125152100@xaos.it> <20040126104827.31422.qmail@minnow.softflare.net> <20040126112336.GC25987@staff.pnc.com.au> <20040126121502.6125.qmail@minnow.softflare.net> Message-ID: <20040126221800.GA2787@pnc.com.au> On Mon, Jan 26, 2004 at 12:15:01PM +0000, Paul L. Allen wrote: > Jason Thomas writes: > >which is no longer transparent. > > PNG supports two types of transparency. The first is equivalent to I asked on the gimp irc channel an no one there thought of this. they just figured that the alpha-channel was not flaged as such as the png was only RGB. but they assumed it was still that way. I'll ask them how to create the the other kind! > > This may be your problem. If it is, pngtogd2 emits a warning when you > try to convert the image... no warning. Scanned by PeNiCillin http://safe-t-net.pnc.com.au/ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramog at starcalif.com Tue Jan 27 00:58:03 2004 From: ramog at starcalif.com (ramog) Date: Mon, 26 Jan 2004 15:58:03 -0800 Subject: directory_file_count plugin Message-ID: <00a201c3e468$3cf77d50$0d1fa8c0@sysadmin.starcalif.com> Could you please tell me where can I download this plugin, directory_file_count. Thank You. Rochel -------------- next part -------------- An HTML attachment was scrubbed... URL: From somlo at acns.colostate.edu Tue Jan 27 01:12:46 2004 From: somlo at acns.colostate.edu (Gabriel L. Somlo) Date: Mon, 26 Jan 2004 17:12:46 -0700 Subject: recovery notifications for hostgroup escalations ? Message-ID: <20040127001220.GA29318@hedwig.acns.colostate.edu> I'm trying to set up delayed notifications for host-down alerts using host-group escalations. So, here's the relevant part of my object data config file: define host{ ... check_command check-host-alive max_check_attempts 3 notification_interval 1 ; once every minute notification_period 24x7 notification_options d,u,r ... } define hostgroup{ ... contact-groups bit-bucket members .... } define hostgroupescalation{ ... first_notification 10 last_notification 10 ; only notify once ! notification_interval 1 contact_groups network-guys } The idea is that, normally, host down alerts would be sent every minute to the bit-bucket contact group, which is set up to never page or email anyone for anything. The tenth notification is sent to the network guys, essentially ensuring they'll get notified only after the host has been down for 10 minutes or so. Problem is, the network guys never get the recovery notification. Am I doing something wrong in the config above, or is what I want not supported (i.e., if the escalation contact-group was sent a 'down' notification, it should get a recovery one whenever the thing comes back) ? I've used retry_check_interval + notification_interval 0 + max_check_attempts to delay and limit the number of *service* critical notifications, but can't use this with hosts since there's no retry_check_interval for hosts ! (which means in essence that max_check_attempts retries are executed one after the other, which is not a good way to delay a notification :) ) Thanks much for your help, Gabriel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 02:01:01 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 26 Jan 2004 20:01:01 -0500 (EST) Subject: how to check routers? In-Reply-To: <20040123163829.F9044@romulus.netgraft.com> References: <20040123163829.F9044@romulus.netgraft.com> Message-ID: On Fri, 23 Jan 2004, Greg Alexander wrote: > Hi - > > We have a router that is listed as a "parent" in most of our host > definitions, but if I take down any of these hosts, it doesn't seem > to check if the parent is down. The router remains at state: > > (Host assumed to be up) > > The only service on this host is not rechecked, nor is the host status > (apparently). I still get notifications for the individual hosts, even > though the parent is down. Since it is a router, the only service check > for this host is essentially a host check: > > define service{ > use generic-service > host_name gw-router > service_description ALIVE > max_check_attempts 10 > notification_options n ; our T1 is flakey > check_command check_ping!100.0,20%!500.0,60% > } > > And it is not checked often enough to show a problem before the alerts > are sent out. Shouldn't a failure in a "child" host trigger a host > check for the gw-router host even though none of the services on > gw-router have indicated problems yet? > > The T1 operates as a switch so the hosts appear as "DOWN" rather than > "UNREACHABLE". gw-router is actually a router on the other end of the > T1 that conveniently goes AWOL with everything else (and that we trust > to never crash of its own accord, knock on wood)... > Not quite sure of yout topology: assuming the following... Nagios -- router --- T1 ---- child hosts If the router is the parent host for all the child hosts, and on of the child host goes down (host down), then yes the router should get a host check what version are you running? -- -sg ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 02:05:51 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 26 Jan 2004 19:05:51 -0600 Subject: check_nt In-Reply-To: <4E71CFD68DCB4E49B04AD93E84827EE92262D0@netfinity-1.foundation-it.local> References: <4E71CFD68DCB4E49B04AD93E84827EE92262D0@netfinity-1.foundation-it.local> Message-ID: <20040127010551.3354.qmail@restricted.dyndns.org> Hi guys, I have some small issues too with check_nt. On my windows server, I installed pnsclient.exe. I tried the 3 examples of check_nt that came with the documentation and it worked on my unix machine. I was able to get stats from the windows box. I tried to retrieve a COUNTER and it worked too. But I am having a problem getting performance counter on my windows xp's NIC. The one that I am having problems with is Network Interface, Bytes Total/sec and the interface name is Intel[R]PRO_100VE Network Connection - Packet Scheduler Miniport. I just always get a zero. This is how I executed it. ./check_nt -H 192.168.1.3 -p 1248 -v COUNTER -l "\\Network Interface(Intel[R]PRO_100VE Network Connection - Packet Scheduler Miniport)\Bytes Total/sec","Bytes total/sec: %.2f" Bytes total/sec: 0.00 Any help will be greatly appreciated. Thanks. Neil Phil Costelloe writes: > Kevin Phillips wrote: > >> I am having an issue with the check_nt command. When I run >> ./check_nt -H 10.10.10.1 -p 1248 -v USEDDISKSPACE -l C I get the >> response "wrong -l argument" > > Is that the literal command you're running? My reading of the code > (which is not necessarily correct :) suggests you'd only get that error > if you had an argument to -l on a USEDDISKSPACE check which was more > than one character long. I'd check for trailing garbage on your check > command definition. > > Phil > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 02:09:59 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 26 Jan 2004 20:09:59 -0500 (EST) Subject: check_log on windows In-Reply-To: <36256.63.102.39.70.1074801597.squirrel@www.atcomputerconsulting.com> References: <36256.63.102.39.70.1074801597.squirrel@www.atcomputerconsulting.com> Message-ID: On Thu, 22 Jan 2004, newsletters-droidmcse wrote: > If you can export your windows logs out you could map the windows drive > via samba and parse them that way. > > > > > Just wondering whether anybody has used check_log or check_log2 to monitor > > flat files logs on W2K??? > > I am going to try that - just concerned that log rotation on MS is not the same as logrotate and the startup after rotation may be a (perhaps not so) significant hit. BTW: I am looking MS-SQL error logs.. -- -sg ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 02:09:14 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 26 Jan 2004 19:09:14 -0600 Subject: differences: nrpe and nsclient In-Reply-To: References: Message-ID: <20040127010914.4142.qmail@restricted.dyndns.org> One thing I noticed with nsclient is being insecure. Is there a way to protect it without using microsoft's ip filtering? Just like how nrpe treats it, you can specify an ip address that will be calling it. I know, I can run Performance in the control panel. But maybe, you have a other list of performance counters there that are very useful for monitoring. Just like the one you mentioned, IIS hits. Thanks. Jason Truong writes: > I'm assuming you are talking only about monitoring windows correct? (you can't use nsclient to check unix machines...I'm pretty sure of that) > > I have not used nrpe for any of my windows servers but nsclient has worked great for me. You can even monitor perfmon statistics which are very helpful such as hits to your IIS web server. You can also use mrtg to grap information from nsclient. > > Jason T. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Neil > Sent: Monday, January 26, 2004 8:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] differences: nrpe and nsclient > > > What are the differences between nrpe and nsclient? Which is better and > safer to use? > > Thanks. > > Neil > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 02:16:53 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Mon, 26 Jan 2004 18:16:53 -0700 Subject: check_snmp hanging Message-ID: <4015BC05.2060309@unixisgod.com> [jrod at linmon1 jrod]$ snmpget -V NET-SNMP version: 5.1 [jrod at linmon1 jrod]$ strace ./nagios-plugins-1.3.1/plugins/check_snmp -H xxx.xxx.xxx.xxx -P 1 -C community -t 5 -o .1.3.6.1.2.1.1.5.0 execve("./nagios-plugins-1.3.1/plugins/check_snmp", ["./nagios-plugins-1.3.1/plugins/check_snmp", "-H", "xxx.xxx.xxx.xxx", "-P", "1", "-C", "community", "-t", "5", "-o", ".1.3.6.1.2.1.1.5.0"], [/* 22 vars */]) = 0 uname({sys="Linux", node="hidden.somewhere.com", ...}) = 0 brk(0) = 0x804f410 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=27770, ...}) = 0 old_mmap(NULL, 27770, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000 close(3) = 0 open("/lib/i686/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \306\1"..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0755, st_size=5772268, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000 old_mmap(NULL, 1290088, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000 mprotect(0x40151000, 36712, PROT_NONE) = 0 old_mmap(0x40151000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x131000) = 0x40151000 old_mmap(0x40156000, 16232, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40156000 close(3) = 0 munmap(0x40017000, 27770) = 0 brk(0) = 0x804f410 brk(0x804f430) = 0x804f430 brk(0x8050000) = 0x8050000 getrlimit(0x4, 0xbffff590) = 0 setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0 getrlimit(0x7, 0xbffff528) = 0 brk(0x8052000) = 0x8052000 pipe([3, 4]) = 0 pipe([5, 6]) = 0 fork() = 15984 close(4) = 0 fcntl64(0x3, 0x3, 0x40016998, 0) = 0 fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 _llseek(3, 0, 0xbffff3d0, SEEK_CUR) = -1 ESPIPE (Illegal seek) close(6) = 0 fcntl64(0x5, 0x3, 0x3, 0) = 0 fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 _llseek(5, 0, 0xbffff420, SEEK_CUR) = -1 ESPIPE (Illegal seek) read(3, There it hangs, has anyone else had and fixed this problem? Note: I've verified SNMP works on the target host. Jeff ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 02:25:48 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 26 Jan 2004 17:25:48 -0800 Subject: Host down 2 days -- only 1 notifcation Message-ID: <8169887.1075137948@cadabra.stanford.edu> We had a system go down on Saturday, at which point Nagios sent 1 notification. No further notifications were sent out. This is contrary to our configuration: define host { name mail-host-template check_command check-host-alive max_check_attempts 2 notification_interval 30 notification_period 24x7 notification_options d,u register 0 } define host { use mail-host-template host_name webmail4 alias webmail4 parents smr-h-3548 address webmail4.stanford.edu } Any ideas on why only 1 alert was sent out? (It was down for 2 days) Thanks, 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomaspan at usa.net Tue Jan 27 05:23:26 2004 From: thomaspan at usa.net (Hu Thomas Pan) Date: Mon, 26 Jan 2004 20:23:26 -0800 Subject: service dependency Message-ID: <005701c3e48d$4f8d2e40$0d3f91d8@hupan> Hi, I have a question on service dependency. I have a group of hosts - hostsgroup_a. Each of them runs two services: service_a and service_b. Service service_a is dependent on service service_b on each host. There is no dependency across hosts. Could I define service dependency as the following? Define servicedependency { hostgroup_name hostsgroup_a service_description service_a hostgroup_name hostsgroup_a service_description service_b ...... } Or, I still have to define each host per servicedependency? Best, Thomas ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 05:44:25 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 26 Jan 2004 22:44:25 -0600 Subject: service dependency In-Reply-To: <005701c3e48d$4f8d2e40$0d3f91d8@hupan> References: <005701c3e48d$4f8d2e40$0d3f91d8@hupan> Message-ID: <20040127044425.23211.qmail@restricted.dyndns.org> Additional: Can someone site me an example of an application that has service dependency? With this, I can have an idea what service dependency is. And also, I will be able to easily figure out our applications if there are service dependencies. Thanks too. Ronneil Hu Thomas Pan writes: > Hi, > > I have a question on service dependency. I have a group of hosts - > hostsgroup_a. Each of them runs two services: service_a and service_b. > Service service_a is dependent on service service_b on each host. There is > no dependency across hosts. > > Could I define service dependency as the following? > > Define servicedependency { > hostgroup_name hostsgroup_a > service_description service_a > hostgroup_name hostsgroup_a > service_description service_b > ...... > } > > Or, I still have to define each host per servicedependency? > > > Best, > Thomas > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 06:18:19 2004 From: jrhett at isite.net (Joe Rhett) Date: Mon, 26 Jan 2004 21:18:19 -0800 Subject: Solaris 5.8 compile statusmap.cgi problems In-Reply-To: References: Message-ID: <20040127051819.GE19296@isite.net> On Thu, Jan 22, 2004 at 10:45:06PM -0600, Jack F. Bowen Jr. wrote: > There is a line that reads > GDLIBS=-lgd -lpng -lz -lm > > That needs to be changed to read > GDLIBS=-lgd -lpng -lz -lm -ljpeg .. .. .. > then I edited the nagios-1.1/cgi/Makefile as shown above > and ran > make all > all was good! Or just run configure with the flag to tell it where to find the jpeg libraries? On Solaris 8, just installing the libraries and then running configure with flags to tell it where to find each library works seamlessly. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 08:06:55 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 27 Jan 2004 02:06:55 -0500 (EST) Subject: service dependency In-Reply-To: <20040127044425.23211.qmail@restricted.dyndns.org> References: <20040127044425.23211.qmail@restricted.dyndns.org> Message-ID: database driven web app... http server may be up - but will probably return errors if application data from database is not available.... peoplesoft/sap and db On Mon, 26 Jan 2004, Neil wrote: > Additional: > > Can someone site me an example of an application that has service > dependency? With this, I can have an idea what service dependency is. And > also, I will be able to easily figure out our applications if there are > service dependencies. > > Thanks too. > > Ronneil > > Hu Thomas Pan writes: > > > Hi, > > > > I have a question on service dependency. I have a group of hosts - > > hostsgroup_a. Each of them runs two services: service_a and service_b. > > Service service_a is dependent on service service_b on each host. There is > > no dependency across hosts. > > > > Could I define service dependency as the following? > > > > Define servicedependency { > > hostgroup_name hostsgroup_a > > service_description service_a > > hostgroup_name hostsgroup_a > > service_description service_b > > ...... > > } > > > > Or, I still have to define each host per servicedependency? > > > > > > Best, > > Thomas > > > > -- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at localguru.de Tue Jan 27 09:13:17 2004 From: lists at localguru.de (Marcus Schopen) Date: Tue, 27 Jan 2004 09:13:17 +0100 Subject: ping packet size (-s option as normal user) Message-ID: <40161D9D.7090401@localguru.de> Hi, I have problems to use the -s option of (e.g. /bin/ping -n -s 56 -c 5 192.168.1.12) as user nagios on my debian woody (using nagios 1.1). I get a "ping: Operation not permitted" error message on console. Webinterface shows: PING UNKNOWN 01-27-2004 09:05:18 0d 9h 9m 30s 1/3 /bin/ping -n -s 56 -c 5 192.168.1.12 /bin/ping is already set to setuid root. Where can I disable the -s opton in nagios' configuration or make it workable forr user nagios? Using ping without setting package size works fine for user nagios. Thanks, Marcus ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 09:44:49 2004 From: Francois.JEANMOUGIN at 123multimedia.com (Francois JEANMOUGIN) Date: Tue, 27 Jan 2004 09:44:49 +0100 Subject: ping packet size (-s option as normal user) Message-ID: <4B05B471CA57554C8E0361B442971086095D1B@mail.tls.123multimedia.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marcus Schopen > > PING UNKNOWN 01-27-2004 09:05:18 0d 9h 9m 30s 1/3 /bin/ping > -n -s 56 -c 5 192.168.1.12 > > /bin/ping is already set to setuid root. Where can I disable the -s > opton in nagios' configuration or make it workable forr user nagios? > Using ping without setting package size works fine for user nagios. Ping is used in check_host_alive and check_ping on my Nagios installation. Just check the commands definitions in checkcommands.cfg, you should find it. Fran?ois. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at localguru.de Tue Jan 27 10:19:41 2004 From: lists at localguru.de (Marcus Schopen) Date: Tue, 27 Jan 2004 10:19:41 +0100 Subject: ping packet size (-s option as normal user) In-Reply-To: <4B05B471CA57554C8E0361B442971086095D1B@mail.tls.123multimedia.com> References: <4B05B471CA57554C8E0361B442971086095D1B@mail.tls.123multimedia.com> Message-ID: <40162D2D.4050907@localguru.de> Francois JEANMOUGIN wrote: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Marcus Schopen >> >>PING UNKNOWN 01-27-2004 09:05:18 0d 9h 9m 30s 1/3 /bin/ping >>-n -s 56 -c 5 192.168.1.12 >> >>/bin/ping is already set to setuid root. Where can I disable the -s >>opton in nagios' configuration or make it workable forr user nagios? >>Using ping without setting package size works fine for user nagios. > > > Ping is used in check_host_alive and check_ping on my Nagios installation. Just check the commands definitions in checkcommands.cfg, you should find it. jippt, that's where I already looked into and didn't find an answer: # 'check_ping' command definition [...] command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 [...] Where to disable the "-s" option here? A ./check_ping -h tells doesn't tell me any helpfull things. Thanks, Marcus ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Tue Jan 27 11:06:35 2004 From: noah at mac.com (Noah Leaman) Date: Tue, 27 Jan 2004 02:06:35 -0800 Subject: Bug: NSCA 2.4 on OS X 10.3 (Was: NSCA daemon never writes to nagios.cmd or nsca.dump) In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A1C0@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1C0@mismail2.ena.com> Message-ID: <7D1E4CAC-50B0-11D8-864A-00039345125C@mac.com> So far everything indicates that I am dealing with a bug in the NSCA code running on OS X Panther. Attached is a ktrace of nsca (--single) receiving a send_nsca. The bug prevents nsca from functioning at all... On Jan 23, 2004, at 9:52 AM, Marc Powell wrote: >> 22499 nsca RET sendto 59/0x3b >> 22499 nsca CALL select(0x7,0xbffff280,0xbffff300,0xbffff380,0) >> 22499 nsca RET select 1 >> 22499 nsca CALL sendto(0x5,0xbfffe680,0x3b,0,0,0) >> 22499 nsca GIO fd 5 wrote 59 bytes >> "<30>Jan 22 16:21:37 nsca[22499]: Handling the connection..." > > Just FYI, this indicates that nsca _is_ sending more data to a syslog > log file but there isn't enough information to determine which. I don't know where it's writing "Host address checks out ok" though which is also in the ktrace output Also the "Connection from 127.0.0.1 port 50882" output is not written to the syslog even though it's in the ktrace. I do know where it's writing the other entries. It's in the /var/log/system.log which is the systems main syslog. This is the same syslog that nagios writes to (nagios.log also). With debug=1, in the syslog all I get is: Jan 27 01:33:08 MyTiBook nsca[14231]: Handling the connection... Jan 27 01:33:08 MyTiBook nsca[14231]: End of connection... and in nagios.log I get nothing. It seems pretty clear that there is never any external commands sent from nsca. Even if I send an external command that contains totally bogus info, I would still see them in both syslog and nagios.log: Yet nothing is ever seen when send_nsca sends data. Also, I have alternate_dump_file=/Users/nagios/var/rw/nsca.dump and that file is never even created. >> 22499 nsca RET sendto 59/0x3b >> 22499 nsca CALL fcntl(0x6,0x3,0xbffff410) >> 22499 nsca RET fcntl 2 >> 22499 nsca CALL fcntl(0x6,0x4,0x5) >> 22499 nsca RET fcntl 0 >> 22499 nsca CALL open(0x6d28,0,0x1b6) >> 22499 nsca NAMI "/dev/urandom" >> 22499 nsca RET open 7 >> 22499 nsca CALL fstat(0x7,0xbffff0a0) >> 22499 nsca RET fstat 0 >> 22499 nsca CALL ioctl(0x7,FIODTYPE,0xbffff0f0) >> 22499 nsca RET ioctl 0 >> 22499 nsca CALL read(0x7,0x14000,0x20000) >> 22499 nsca GIO fd 7 read 131072 bytes >> >> "\^E\M-%\M-Z|\M^S\M-O\M-a\M-D\M-j\M-h\M-h;A\M-9\M-e\M^Zc\^D\M-2\M^E\M- >> m})\^F\M-4\0\^C\M-%\^_1\M-f\M^\\M-j\M-_\M-\4e\M-o\M^Bl\M-Mb\M-_'{M\ >> < *** 2878 lines of this kind of data are cut out... I assume this is >> the encrptoed data... > > Yup. 131K seems to be an awful lot but it could certainly be attributed > to the encryption method you are using. Just as a test, I would > probably > try using just simple XOR. It was and still is set to XOR... decryption_method=1 >> 22499 nsca RET sendto 132/0x84 >> 22499 nsca CALL select(0x7,0xbffff280,0xbffff300,0xbffff380,0) >> 22499 nsca RET select 1 >> 22499 nsca CALL recvfrom(0x6,0xbfffee70,0x2d0,0,0,0) >> 22499 nsca GIO fd 6 wrote 0 bytes >> "" >> 22499 nsca RET recvfrom 0 >> 22499 nsca CALL sendto(0x5,0xbfffe170,0x35,0,0,0) >> 22499 nsca GIO fd 5 wrote 53 bytes >> "<27>Jan 22 16:21:37 nsca[22499]: End of connection..." > > This is actually saying -- "End of connection or could not read request > from client..." If you can increase the number of characters that > ktrace > displays you should see that (it's -s 512 for strace to display 512 > characters for example). Not sure what you mean here. As far as I know, ktrace is displaying all characters. I only sent you a portion of what I captured, but made sure that it was a complete transaction. I edited out the "M-h;A\M-9\M-e\M^Zc" lines to save on readability. > This is really a symptom of whatever the problem is, but it appears > that > it might be strictly a communication problem. Looking at the code, the > pertinent section is: > > /* process all data we get from the client... */ > > /* read the packet from the client */ > bytes_to_recv=sizeof(receive_packet); > rc=recvall(sock,(char > *)&receive_packet,&bytes_to_recv,socket_timeout); > > /* recv() error or client disconnect */ > if(rc<=0){ > if(debug==TRUE) > syslog(LOG_ERR,"End of connection or could not > read request from client..."); > encrypt_cleanup(decryption_method, CI); > close(sock); > if (mode==SINGLE_PROCESS_DAEMON) > return; > else > do_exit(); > } > > This is before it even attempts to decrypt the packet. The recvall > function, which is really where the failure is, looks like it has a > couple of failure modes. First is if it doesn't get all the data it's > expecting (client disconnect?) and second is if it takes longer than a > specific timeout value which looks to be 10 seconds. If you run > send_nsca by hand, how long does it take to run? Have you tried > enabling > debug on your remote server and see what send_nsca has to say? I'd also > verify hard-coding of speed and duplex on both servers, make sure that > you're not seeing any packet loss between the two machines, etc... > Don't > forget about trying a different encryption method. XOR on my machines > seems to send less than 4K as opposed to you 131K per submission. The send_nsca command takes less than a second to run and finish so I dont think it's that. How do I enable debug on remote server? I added a debug=1 to the send_nsca.cfg file but it complains with a "Unknown option specified" when running send_nsca. The ktrace I sent you is with XOR. When I run the send_nsca comand manually it replies with: 0 data packet(s) sent to host successfully. Is that normal? should it be 0 data packets? There is no packet loss between the systems. I have setup nsca on another OS X 10.3 system and tried to get it to work by sending from the same system that the nsca daemon is running on and I get the same problem. To manually send it I used: /bin/echo -e "host.domain.com\tPing\t0\tPING OK - Packet loss = 0%, RTA = 443.71 ms\n" | /Users/noah/nsca/send_nsca -H 127.0.0.1 -c /Users/noah/nsca/send_nsca.cfg I attached an unedited ktrace/kdump output of exactly one send_nsca command in case it helps at all. -------------- next part -------------- A non-text attachment was scrubbed... Name: nsca.ktrace Type: application/text Size: 399430 bytes Desc: not available URL: From a.koch at eurodata.de Tue Jan 27 11:04:20 2004 From: a.koch at eurodata.de (Andreas Koch) Date: Tue, 27 Jan 2004 11:04:20 +0100 Subject: ping packet size (-s option as normal user) In-Reply-To: <40161D9D.7090401@localguru.de> References: <40161D9D.7090401@localguru.de> Message-ID: <1075197860.10913.6.camel@dresden.eurodata.de> You must edit the check_ping Check_ping can't try the option "-s" You can edit your check_marcus_ping: #!/bin/sh /bin/ping -s 2048 $1 and the right exitstatus what you want Andreas Am Di, den 27.01.2004 schrieb Marcus Schopen um 09:13: > Hi, > > I have problems to use the -s option of (e.g. /bin/ping -n -s 56 -c 5 > 192.168.1.12) as user nagios on my debian woody (using nagios 1.1). I > get a "ping: Operation not permitted" error message on console. > Webinterface shows: > > PING UNKNOWN 01-27-2004 09:05:18 0d 9h 9m 30s 1/3 /bin/ping > -n -s 56 -c 5 192.168.1.12 > > /bin/ping is already set to setuid root. Where can I disable the -s > opton in nagios' configuration or make it workable forr user nagios? > Using ping without setting package size works fine for user nagios. > > Thanks, > Marcus > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alessio at ifc.cnr.it Tue Jan 27 12:03:27 2004 From: alessio at ifc.cnr.it (Alessio Ciregia) Date: Tue, 27 Jan 2004 12:03:27 +0100 Subject: multiple IP Message-ID: <6ECAF7E2-50B8-11D8-99DF-000A95791E60@ifc.cnr.it> Sorry for repeating the question. But how to addressing with multiple IP addresses hosts? So, I have an host with 2 interfaces and 2 IP addresses. How to monitor that host? Also, I have 2 hosts with the same host name in the DNS (for high availability) and different IP addresses. How to resolve this? Bye ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.rossi at xaos.it Tue Jan 27 12:09:28 2004 From: j.rossi at xaos.it (Jeremy J. Rossi) Date: Tue, 27 Jan 2004 12:09:28 +0100 Subject: escaping "!" Message-ID: <1505688800.20040127120928@xaos.it> Hi, anyone know how to escape an "!" esclamation mark in checkcommands.cfg? nagios is obiously taking it as an $ARGn$.... ciao, Jeremy ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alessio at ifc.cnr.it Tue Jan 27 12:36:12 2004 From: alessio at ifc.cnr.it (Alessio Ciregia) Date: Tue, 27 Jan 2004 12:36:12 +0100 Subject: multiple IP Message-ID: <02296E61-50BD-11D8-99DF-000A95791E60@ifc.cnr.it> Sorry for repeating the question. But how to addressing with multiple IP addresses hosts? So, I have an host with 2 interfaces and 2 IP addresses. How to monitor that host? Also, I have 2 hosts with the same host name in the DNS (for high availability) and different IP addresses. How to resolve this? Bye ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alessio at ifc.cnr.it Tue Jan 27 13:06:27 2004 From: alessio at ifc.cnr.it (Alessio Ciregia) Date: Tue, 27 Jan 2004 13:06:27 +0100 Subject: dependencies Message-ID: <3C2019DD-50C1-11D8-99DF-000A95791E60@ifc.cnr.it> So, if I want to NOT execute a service check if the host is down (ie, check-host-status returns a non-OK status), how can I do? Bye ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 14:12:39 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 27 Jan 2004 08:12:39 -0500 Subject: multiple IP In-Reply-To: <6ECAF7E2-50B8-11D8-99DF-000A95791E60@ifc.cnr.it> References: <6ECAF7E2-50B8-11D8-99DF-000A95791E60@ifc.cnr.it> Message-ID: <1075209159.8997.6.camel@localhost.localdomain> On Tue, 2004-01-27 at 12:03 +0100, Alessio Ciregia wrote: > Sorry for repeating the question. > But how to addressing with multiple IP addresses hosts? Use check_ping from the 1.4 alpha plugins, separate hosts by commas IIRC. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 13:51:34 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 27 Jan 2004 12:51:34 +0000 Subject: multiple IP In-Reply-To: <6ECAF7E2-50B8-11D8-99DF-000A95791E60@ifc.cnr.it> References: <6ECAF7E2-50B8-11D8-99DF-000A95791E60@ifc.cnr.it> Message-ID: <20040127125134.17778.qmail@minnow.softflare.net> Alessio Ciregia writes: > So, I have an host with 2 interfaces and 2 IP addresses. How to monitor > that host? One way is to define two hosts, one for each IP address. > Also, I have 2 hosts with the same host name in the DNS (for high > availability) and different IP addresses. How to resolve this? One way is to define two hosts, one for each server. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 15:00:04 2004 From: cjdock at excite.com (ChuckDock) Date: Tue, 27 Jan 2004 09:00:04 -0500 (EST) Subject: paul allen's link Message-ID: <20040127140004.A05E8B71E@xprdmailfe19.nwk.excite.com> Paul, I went to that link you posted. It had very valid points about proper list posting in a hackers circle. I'm not a "rules" person, who cares if someone posts a stupid question. If someone else wants to answer it, making life a little easier then why should that affect you? By you bitching about questions that people ask, people get intimidated and then stop asking questions. Your a smart guy and a good resource to this post but you are to emotional about what people ask. You write more on what people shouldn't ask than answers to questions. How about chilling out and just use this list if you have a question or an answer. What may be a dumb question to you could be useful to a other people on this list. This is from that link: In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way that is likely to get you a satisfactory answer. Whatever...I don't feel like this forum has to abide by "the world of hackers" Were just regular folks helping each other. This part of the paper kinda paints a picture of you that I can relate to! (Some people assert that many hackers have a mild form of autism or Asperger Syndrome, and are actually missing some of the brain circuitry that lubricates `normal' human social interaction. I'm sure your going to pick this all apart with your "my message" then your smart ass answer, how about getting over it and just moving on.... _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 15:16:41 2004 From: andyjproctor at hotmail.com (andy proctor) Date: Tue, 27 Jan 2004 14:16:41 +0000 Subject: check_http Message-ID: i run the check_http over ssl on two boxes, one works and one doesn't. the one that works is using apache 1.3.27 with apache ssl 1.48, the one that doesn't work and returns "cannot retrieve server certificate" is using apache 1.3.28 with modssl 2.8.15. is it the different versions of ssl and apache that are causing me problems? would appreciate any help on this as it is becomming anoying! also have a problem with check_ntp nagios reports high jitter (is only 0.2ms) can't work out why, this used to be ok when nagios was first compiled but has gradually got "worse", i have ntp polling every minute after manually synching but it still reports this error, i have also turned off the slew, any ideas??? thanks Regards, Andy Proctor andyjproctor at hotmail.com _________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schlueri-lists at schlicker.org Tue Jan 27 15:55:21 2004 From: schlueri-lists at schlicker.org (schlueri-lists) Date: Tue, 27 Jan 2004 15:55:21 +0100 Subject: One Host Notification instead of every service possible? Message-ID: <1075215321.19173.68.camel@dirk> Hi there, i use nagios 1.1 and have a problem with configuration. In Example i have one host with 8 services. When the complete host get's down, i.E. kernel panic, i get 16 Notifications for every service. 8 Problems and 8 Recoverys. It's possible to get one Mail like "Host XYZ has Problems. Please take a look at the Nagios Web Interface" or "On Host XYZ are more than 2 problems."? Background, i send a email notification to a mobile phone and get this via sms. It's not cheap! ;-) Thanks for help. Dirk. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smoynes at nerdnest.org Tue Jan 27 15:54:40 2004 From: smoynes at nerdnest.org (Scott Moynes) Date: Tue, 27 Jan 2004 09:54:40 -0500 Subject: paul allen's link In-Reply-To: <20040127140004.A05E8B71E@xprdmailfe19.nwk.excite.com> References: <20040127140004.A05E8B71E@xprdmailfe19.nwk.excite.com> Message-ID: <20040127145440.GR14142@marilyn> * ChuckDock (cjdock at excite.com) wrote: > blah blah Can you take this to private mail? This is a user support list for Nagios and, believe it or not, this is completely off-topic. I really don't want to filter out another thread. Thanks, -- Scott Moynes "Computer science is as much about computers as astronomy is about telescopes." -- Dijkstra ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 16:19:25 2004 From: andyjproctor at hotmail.com (andy proctor) Date: Tue, 27 Jan 2004 15:19:25 +0000 Subject: ssl Message-ID: I have some bizzare behaviour with one host which I am trying to monitor. I have the 1.3.1 plugin's which I build using on Solaris 7 using gcc 2.95.3 / make 3.80: ./configure --prefix=/usr/local/nagios-1.1 --with-cgiurl=/nagios/cgi-bin --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/local/ssl The version of openssl is 0.9.7c (and I have also tried with 0.9.7b with the same results) I am trying to check an SSL server running a wildcard certificate *.domain.com which I thought may have been the cause of my problems. However, I can check SSL sites such as www.verisign.com and www.geotrust.com (who supplied ours) fine, although these are single host certificates. Our main server which runs our sites and virtual hosts works fine with SSL (on apache 1.3.28+modssl 2.8.14 / Solaris 9) to all browsers however obscure, however to check_http you always get the following (with check_http IP address -C 14 -S -v): SSL seeding: OK ERROR: Cannot retrieve server certificate. I have checked from an external address and it fails the same, it also does this on different hosts on different operating systems when checking this host. The reason that I also think that this now isn't the server certificate is we use this certificate on another host which runs apache under Unixware 7 (yuk!) but this works fine with check_http - which presumably also indicates that the plug in has worked fine. Any ideas? Is this looking like a bug that needs fixing? I'd appreciate some feedback and also can give the domain name to one of the authours if you would like to check it out at all. I've trussed it too, but it doesn't really mean anything to me but if someone wants to see the out put I'll post it. Regards, Andy Proctor andyjproctor at hotmail.com _________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Tue Jan 27 17:03:10 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 27 Jan 2004 11:03:10 -0500 Subject: Problem... Message-ID: Average check latency is now 130 some seconds... 0 checks in the last 1 minute. ps -fax on the box returns: 26139 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26247 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26249 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26251 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26257 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26266 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26272 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26276 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26281 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26286 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26290 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26294 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26297 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26300 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26307 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26311 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26315 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26318 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26322 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26325 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26328 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26347 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26350 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26354 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26363 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26365 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26371 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26378 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26380 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26382 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26395 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26397 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26399 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26401 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26403 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26412 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26421 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26425 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26427 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26429 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26442 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26453 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26455 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26457 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26459 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26461 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26469 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26477 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26481 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26485 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26490 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26495 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26497 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26503 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26510 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26512 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26533 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26535 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26537 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26576 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26578 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26580 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26582 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26619 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26622 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26624 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26626 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26628 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26630 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26637 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26639 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26762 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26764 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26766 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26771 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26774 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26778 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26781 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26784 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26787 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26790 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26793 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26795 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26797 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26799 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26801 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26803 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26812 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26815 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26817 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26819 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26831 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26838 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26841 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26974 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg 26978 ? S 0:00 /usr/bin/nagios -d /etc/nagios/nagios.cfg What does all that mean? ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Tue Jan 27 17:31:40 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 27 Jan 2004 11:31:40 -0500 (EST) Subject: Status Map and 3-D Status Map In-Reply-To: <002601c3e455$a2027910$98aa6418@netcraftinc.int> References: <002601c3e455$a2027910$98aa6418@netcraftinc.int> Message-ID: On Mon, 26 Jan 2004, Frank Pikelner wrote: > Are there any solutions, other than manual plotting of nodes, to arrange > hundreds of nodes on the map without them clustered on top of each other? > For those that are working with v2.0 are there any new options? My only > solution at this point is using the BALANCED TREE method of displaying the > map - just wish there was a better way such as the Circular with better > spacing. I was thinking about this myself recently, and came up with an idea for a modification to the Circular mode.. I can't offer patches to the devo team, since my C is a little too deficient for this, but I suspect that it wouldn't be too hard for someone who knows the statusmap code well. Anyway... the idea I had to reduce crowding on the circular map was to allow the creation of secondary circles. In my own case, I have a couple hundred servers to monitor, but they're distributed across three sites. If I could have the status map automatically separate the servers by location, it would tidy things up quite a bit. So, what if it were possible to mark a host as being the center of a new circle? In this case I could wind up with one circle built around the Nagios process itself, with connections that offshoot to two separate circles built around the core switches at those sites. Something to think about anyway... -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 17:55:57 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 27 Jan 2004 16:55:57 +0000 Subject: paul allen's link In-Reply-To: <20040127140004.A05E8B71E@xprdmailfe19.nwk.excite.com> References: <20040127140004.A05E8B71E@xprdmailfe19.nwk.excite.com> Message-ID: <20040127165557.11807.qmail@minnow.softflare.net> ChuckDock writes: > Paul, I went to that link you posted. It had very valid points about > proper list posting in a hackers circle. They're valid everywhere you go for free help. If you want somebody to help you for free, you don't make that person work harder than necessary. You don't make that person teach you stuff you SHOULD have been able to figure out for yourself. You hang around after you have got your answers to help others to pay back the help you got and to lighten the load. This is called courtesy. If you're not prepared to pay money for commercial support the least you can do is pay respect to the people you want to give you free help by doing the blindingly obvious thing of reading the documentation and FAQs first to see if they have the answer. That leaves the list free for people who have real problems not caused by their own laziness and which are not covered in the documentation or FAQs. > I'm not a "rules" person, who cares if someone posts a stupid question. > If someone else wants to answer it, making life a little easier then why > should that affect you? And if I want to answer it in a way that teaches somebody the logical steps he OUGHT to have followed all by himself in the hope that next time he will at least make SOME effort to find the answer to a simple question before asking here, then why should that affect YOU? More to the point, why has everyone who posted here criticising me tried to dictate what I may post when I have not tried to dictate what others may post? All I do is give what I feel to be an appropriate answer and do not try to tell others that they do not have the same right. > By you bitching about questions that people ask, people get intimidated > and then stop asking questions. That is your conjecture. But people rarely read the list before joining to ask their questions, and rarely search the archives before asking their questions (because if they knew they ought to do that they'd also know they ought to read the docs, the FAQ, etc. before asking questions). > What may be a dumb question to you could be useful to a other people on > this list. Learning to read the documentation FIRST would be useful to other people on this list. Learning to try to solve a problem for yourself first would be useful to other people on this list. [from the link] > This guide will teach you how to ask questions in a way that is likely > to get you a satisfactory answer. And was the original question asked in a way that even remotely matched even one of the pieces of advice about how the question should be phrase? No. Was it asked in a way that matched almost all the pieces of advice on how the question should NOT be phrased? Yes. > Whatever...I don't feel like this forum has to abide by "the world of > hackers" Were just regular folks helping each other. This may come as a shock to you, but the people with a deep understanding of Nagios are........ hackers. You should also have read on that web page about what happens to lists which adopt attitudes like yours - the hackers disappear and leave it to the "regular folks" (who don't know much) to amuse themselves by guessing at answers. > This part of the paper kinda paints a picture of you that I can relate > to! Actually, I can do normal human interaction with normal humans. It's the lazy sponges who get different treatment. > I'm sure your going to pick this all apart with your "my message" > then your smart ass answer, Sure I am. How about this quote from that web page: While just muttering RTFM is sometimes justified when replying to someone who is just a lazy slob, a pointer to documentation (even if it's just a suggestion to Google for a key phrase) is better. Marc incorrectly accused me of giving an RTFM response. Although I did not give the guy the name of the library he was missing, I gave him enough information that he could have found it after he had done a little digging - far less digging than he ought to have done before he started asking here. > how about getting over it and just moving on.... How about taking your own advice, going back in a time machine and stopping the post you just made to prove that you have got over it and moved on? Or, if you really still believe I need your advice, use the time machine to go back and send your advice just to me instead of the whole list. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 18:27:08 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 27 Jan 2004 12:27:08 -0500 Subject: check_tcp behavior Message-ID: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> I'm using the check_tcp plugin to check various ports that are open on many of our boxes opened by homegrown applications. The developers are concerned that the plugin might produce an output on the remote machine that would cause issues with the application. My question to the list is; does the check_tcp plugin simply look to see if the port is open, then closes the connection? or is there any output sent to the remote host? If I was a programmer/coder I imagine I could find my answer in the source for the plugin but since I am not, I am at the mercy of more intelligent individuals. Thanks! Dylan ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Tue Jan 27 18:28:45 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 27 Jan 2004 12:28:45 -0500 Subject: Nagios shut down Message-ID: In the event log, I had: Caught SIGSEGV, shutting down... What would cause this? ----- John N. Doyle, Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 > jdoyle at lewisgaleclinic.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Tue Jan 27 18:44:26 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 27 Jan 2004 17:44:26 +0000 Subject: Status Map and 3-D Status Map In-Reply-To: References: Message-ID: <20040127174426.1067.qmail@minnow.softflare.net> Matt Pounsett writes: > So, what if it were possible to mark a host as being the center of a > new circle? That might work in some cases, but is still going to fall over with a large number of hosts clustered around it. Changing the default radius would be a better fix, although it would require it to be configurable. Calculating the default radius so there are no overlaps would be the best solution. As a quick fix, however, invent some dummy parents to go between your Nagios server and the monitored hosts. The more dummies in between, the larger the effective radius when you get to the real host. You could make the dummies just check the server Nagios is running on to see if it's alive. It's a kluge and a little ugly, but prettier than the circles so overlapped you can't see them. I would actually prefer one of the tree layouts, if only they were rotated 90 degrees anti-clockwise to make the scrolling easy. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Tue Jan 27 19:27:30 2004 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Tue, 27 Jan 2004 10:27:30 -0800 Subject: Bug: NSCA 2.4 on OS X 10.3 (Was: NSCA daemon never writes to nagios.cmd or nsca.dump) In-Reply-To: <7D1E4CAC-50B0-11D8-864A-00039345125C@mac.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1C0@mismail2.ena.com> <7D1E4CAC-50B0-11D8-864A-00039345125C@mac.com> Message-ID: <20040127182730.GH74459@radix.cryptio.net> Noah Leaman said on Tue, Jan 27, 2004 at 02:06:35AM -0800: > >Yup. 131K seems to be an awful lot but it could certainly be attributed > >to the encryption method you are using. Just as a test, I would > >probably > >try using just simple XOR. > > It was and still is set to XOR... decryption_method=1 Try turning off encryption entirely for now; until there's data flowing, there's no point in making it harder to figure out what's going on. > The send_nsca command takes less than a second to run and finish so I > dont think it's that. How do I enable debug on remote server? I added a > debug=1 to the send_nsca.cfg file but it complains with a "Unknown > option specified" when running send_nsca. The ktrace I sent you is with > XOR. send_nsca doesn't support debug in its config file AFAIK. > When I run the send_nsca comand manually it replies with: > 0 data packet(s) sent to host successfully. > > Is that normal? should it be 0 data packets? There is no packet loss > between the systems. No, that should say 1 data packet(s). > I have setup nsca on another OS X 10.3 system and tried to get it to > work by sending from the same system that the nsca daemon is running on > and I get the same problem. > > To manually send it I used: > > /bin/echo -e "host.domain.com\tPing\t0\tPING OK - Packet loss = 0%, RTA > = 443.71 ms\n" | /Users/noah/nsca/send_nsca -H 127.0.0.1 -c > /Users/noah/nsca/send_nsca.cfg > > I attached an unedited ktrace/kdump output of exactly one send_nsca > command in case it helps at all. Can you turn off encryption, and ktrace both nsca and send_nsca at the same time? M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From jhmartin at toger.us Tue Jan 27 19:00:14 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 27 Jan 2004 10:00:14 -0800 (PST) Subject: check_tcp behavior In-Reply-To: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The plugin just opens the connection and then closes it. It doesn't actually send any output to the remote host, but it is possible that the remote application will not handle this very well. I'd definetely complain to the devs if this is the case because it means the application is VERY brittle. - -Jason Martin On Tue, 27 Jan 2004 nagios at acmecargo.com wrote: > I'm using the check_tcp plugin to check various ports that are open on many > of our boxes opened by homegrown applications. The developers are concerned > that the plugin might produce an output on the remote machine that would > cause issues with the application. My question to the list is; does the > check_tcp plugin simply look to see if the port is open, then closes the > connection? or is there any output sent to the remote host? If I was a > programmer/coder I imagine I could find my answer in the source for the > plugin but since I am not, I am at the mercy of more intelligent > individuals. Thanks! > > Dylan > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD4DBQFAFqc8l2ODWuqVSBMRAmFSAJ0WHVaqXDbjd2j7VlcGzk0jOI2j9wCXaBAv YF16zsII2zMHsiDFfQBa1w== =g/Qa -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jan 27 20:05:21 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 27 Jan 2004 11:05:21 -0800 (PST) Subject: [Nagios-users] Re: Bug: NSCA 2.4 on OS X 10.3 (Was: NSCA daemon never writes to nagios.cmd or nsca.dump) In-Reply-To: <20040127182730.GH74459@radix.cryptio.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A1C0@mismail2.ena.com> <7D1E4CAC-50B0-11D8-864A-00039345125C@mac.com> <20040127182730.GH74459@radix.cryptio.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > > Is that normal? should it be 0 data packets? There is no packet loss > > between the systems. > > No, that should say 1 data packet(s). Just to clarify, the 'packet' send_nsca is referring to isn't a TCP/IP packet, but really more of a 'message'. The application won't know about any sort of packet loss since TCP connections handle this internally. The 'data packet' send_nsca is referring to is just the message to the remote daemon with status data. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAFrZ6l2ODWuqVSBMRAti3AJ9NtRzpM172amSGGqRrJikX72nUJgCeNY5r f7p+yZS0UBRVSbwKSkVjBrw= =+vg1 -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn From smoynes at nerdnest.org Tue Jan 27 19:28:57 2004 From: smoynes at nerdnest.org (Scott Moynes) Date: Tue, 27 Jan 2004 13:28:57 -0500 Subject: check_tcp behavior In-Reply-To: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> Message-ID: <20040127182857.GS14142@marilyn> * nagios at acmecargo.com (nagios at acmecargo.com) wrote: > My question to the list is; does the check_tcp plugin simply look to > see if the port is open, then closes the connection? or is there any > output sent to the remote host? From my reading, unless you use the --send=STRING argument, it attempts to open the port, then closes it. > ... I am at the mercy of more intelligent individuals. Probably not more intelligent, just more experienced with code. Cheers, -- Scott Moynes "Computer science is as much about computers as astronomy is about telescopes." -- Dijkstra ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charbonnel at lal.in2p3.fr Tue Jan 27 20:38:05 2004 From: charbonnel at lal.in2p3.fr (Jacquelin Charbonnel) Date: Tue, 27 Jan 2004 20:38:05 +0100 Subject: "Caught SIGSEGV, shutting down..." under Fedora 1 In-Reply-To: <001101c3df8c$f182c300$1400a8c0@splash.co.za> References: <200401201707.i0KH7tni029770@gandalf.radonc.washington.edu> <001101c3df8c$f182c300$1400a8c0@splash.co.za> Message-ID: <122422354.1075235885@nb-jacquelin.lal.in2p3.fr> Ok, the problem cames with the Embedded Perl Support. Thank you everybody... --On mardi 20 janvier 2004 21:38 +0200 Richard Mayhew wrote: > Hi > > The only way I got this to work is to not compile Nagios with Embedded > Perl Support and Perl Caching. There seems to be something funny with the > version of perl on fedora and Nagios. > > Hope this helps. > > > ----- Original Message ----- > From: > To: "Jacquelin Charbonnel" > Cc: > Sent: Tuesday, January 20, 2004 7:07 PM > Subject: Re: [Nagios-users] "Caught SIGSEGV, shutting down..." under > Fedora 1 > > >> On 19 January 2004 at 12:58, Jacquelin Charbonnel > wrote: >> >> > I have built Nagios 1.1 undef Fedora 1, with no error, but at >> > runtime, > it = >> > >> > aborts immediately with the message : >> > >> > "Caught SIGSEGV, shutting down..." >> > >> > The same configuration (compilation options and .cfg files) runs > since=20 >> > several months under RedHat with no problem. >> > (in particular, I use MySql databases for all the data). >> > >> > Has anyone else seen this problem ? >> >> I haven't but I suggest compiling nagios with debugging symbols ("-g") >> and run it under GDB. When it segvs get a stack trace and post it to the > list. >> >> -- >> Mark Wagner markwag at u.washington.edu 206-598-0302 >> Unix System Administrator, Radiation Oncology and Radiology >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null --------------------------------------------- Jacquelin Charbonnel CNRS - Laboratoire de l'Acc?l?rateur Lin?aire Bat 200 - Centre Scientifique d'Orsay - BP 34 91898 Orsay Cedex - France mail : charbonnel at lal.in2p3.fr web : www.lal.in2p3.fr t?l : 1 64 46 89 28 fax : 1 69 07 94 04 --------------------------------------------- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Tue Jan 27 21:00:45 2004 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Tue, 27 Jan 2004 15:00:45 -0500 Subject: Host down 2 days -- only 1 notifcation Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF02A6085A@inex1.herffjones.hj-int> Are you sure that: - nagios was up? - the host wasn't flapping? - the contacts had notifications for d,u enabled during that time? - the notification wasn't sent, but dropped elsewhere? The nagios event log ought to hold answers. > -----Original Message----- > From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] > Sent: Monday, January 26, 2004 8:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host down 2 days -- only 1 notifcation > > > We had a system go down on Saturday, at which point Nagios sent 1 > notification. No further notifications were sent out. This > is contrary to > our configuration: > > define host { > name mail-host-template > check_command check-host-alive > max_check_attempts 2 > notification_interval 30 > notification_period 24x7 > notification_options d,u > register 0 > } > > define host { > use mail-host-template > host_name webmail4 > alias webmail4 > parents smr-h-3548 > address webmail4.stanford.edu > } > > Any ideas on why only 1 alert was sent out? (It was down for 2 days) > > > Thanks, > 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 > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill at ibill.no-ip.org Tue Jan 27 21:16:24 2004 From: bill at ibill.no-ip.org (Bill James) Date: Tue, 27 Jan 2004 15:16:24 -0500 Subject: check_tcp behavior In-Reply-To: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> Message-ID: <20040127201623.025808B804D@ibill.no-ip.org> Dylan, This actually was a very good question and raised a concern with me so I looked at my Solaris servers to see if it was recording anything...I have it checking ports for a homegrown script that starts multiple instances of the Tangram Asset tracking software on about 50+ ports and load balanced across several servers and in all the accounting logs for Tangram that I checked I see no record of the plugin attempts but packet captures are showing the plugin doing it's thing I cannot answer for Windows as I am only monitoring Sun servers at this point My syslog is also recording the connections via the PIX firewall. All of my remote connections are via VPN and completely logged My question to your developers would be along the lines of: Is the homegrown software expecting to see a particular kind of connection attempt (IE..telnet, ftp, http, etc...) or is it just listening Based on my packet captures, the plugin looks as though it is just seeing if the port is open Hope this helps a little Bill James -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios at acmecargo.com Sent: Tuesday, January 27, 2004 12:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_tcp behavior I'm using the check_tcp plugin to check various ports that are open on many of our boxes opened by homegrown applications. The developers are concerned that the plugin might produce an output on the remote machine that would cause issues with the application. My question to the list is; does the check_tcp plugin simply look to see if the port is open, then closes the connection? or is there any output sent to the remote host? If I was a programmer/coder I imagine I could find my answer in the source for the plugin but since I am not, I am at the mercy of more intelligent individuals. Thanks! Dylan ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 21:25:25 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 27 Jan 2004 12:25:25 -0800 Subject: Host down 2 days -- only 1 notifcation In-Reply-To: <8FFC76593085ED4A80D3601BC41EFCDF02A6085A@inex1.herffjones.hj-int> References: <8FFC76593085ED4A80D3601BC41EFCDF02A6085A@inex1.herffjones.hj-in t> Message-ID: <76545626.1075206325@cadabra.stanford.edu> --On Tuesday, January 27, 2004 3:00 PM -0500 "Furnish, Trever G" wrote: > Are you sure that: > - nagios was up? Yes -- paging continued as normal for the other hosts. > - the host wasn't flapping? Yes. The host was down due to a hardware issue, and was not available at all on the network. > - the contacts had notifications for d,u enabled during that time? Yes. > - the notification wasn't sent, but dropped elsewhere? > > The nagios event log ought to hold answers. The nagios log shows only one notification being sent, at the time the host went down. No further notifications were sent out until I acknowledged it as down 2 days later. --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramog at starcalif.com Tue Jan 27 21:59:37 2004 From: ramog at starcalif.com (ramog) Date: Tue, 27 Jan 2004 12:59:37 -0800 Subject: monitor a directory in windows 2000 Message-ID: <034e01c3e518$79e89f90$0d1fa8c0@sysadmin.starcalif.com> Is there anybody know how nagios could monitor a directory in windows 2000 system. I want to send an alert if the directory contains say, 180 sub-directories in the directory I want to monitor. What plugin do I use. I tried the "directory_file_count" plugin but it only checks for the files in the directory. Any help would be greatly appreciated. Thanks. Rochel -------------- next part -------------- An HTML attachment was scrubbed... URL: From networks at wi.rr.com Tue Jan 27 22:17:05 2004 From: networks at wi.rr.com (Networks) Date: 27 Jan 2004 15:17:05 -0600 Subject: ldap plugins In-Reply-To: <20040127182857.GS14142@marilyn> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> <20040127182857.GS14142@marilyn> Message-ID: <1075238225.11720.2.camel@elijah> Has anyone have plugins setup for checking to make sure an ldap servcer is available and responding? I am looking at using ldap to do queries to a windows 2003 server to make sure the active directory service is still working. I already have ldapsearch working for the ad. Thanks ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 22:31:18 2004 From: alevitt at navis.com (Aaron Levitt) Date: Tue, 27 Jan 2004 13:31:18 -0800 Subject: nrpe 2.0 with AIX 4.3.2 Message-ID: <7473201406D1FE4CBAD4096D6BD1E92108C09F@hqexch01.hq.navis.net> Simon and anyone else that may care- I figured out the problem with nrpe and aix 4.3.2. For some reason the "--inetd" flag was being read incorrectly by inetd. I changed: /usr/sbin/tcpd /sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd to: /usr/sbin/tcpd /sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i and everything was fine from there on. Just thought I'd post so that anyone else that comes along the same problem I did, won't spend so long searching for the solution. -=Aaron > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Aaron Levitt > Sent: Tuesday, January 20, 2004 10:00 AM > To: simon at ecnetwork.co.nz > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] nrpe 2.0 with AIX 4.3.2 > > On Monday, January 19, 2004 at 6:11 PM Simon Kitching wrote: > > > The problem is actually with the nrpe program. But I haven't made any > > changes to that either (though I think some *should* be made). > > > > I was actually running a custom check program (checking age of > messages > > on an IBM MQ queue). By changing this to ensure that no output ever > went > > to STDERR, I resolved *my* problem without changing nrpe. > > Thanks for the information! It helped with one of the other problems I > was having with my own custom checks. > > However, I believe the problem with my AIX box is different. I can't > even get the default "NRPE v2.0" banner from the AIX box. See the > output below: > > # ./check_nrpe -H (AIX box IP) > CHECK_NRPE: Response packet had invalid CRC32. > > # ./check_nrpe -H (linux box IP) > NRPE v2.0 > > I've verified that inetd and /etc/services are setup correctly as per > the instructions, and that nrpe is available. Any other suggestions? > > Thanks again for all the help! > > -=Aaron > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Tue Jan 27 23:19:07 2004 From: noah at mac.com (Noah Leaman) Date: Tue, 27 Jan 2004 14:19:07 -0800 Subject: Bug: NSCA 2.4 on OS X 10.3 In-Reply-To: <20040127182730.GH74459@radix.cryptio.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A1C0@mismail2.ena.com> <7D1E4CAC-50B0-11D8-864A-00039345125C@mac.com> <20040127182730.GH74459@radix.cryptio.net> Message-ID: On Jan 27, 2004, at 10:27 AM, Mark Ferlatte wrote: > > Try turning off encryption entirely for now; until there's data > flowing, > there's no point in making it harder to figure out what's going on. OK. set encryption_method=0 > No, that should say 1 data packet(s). So maybe the problem IS with the send_nsca... MyTiBook:~ noah$ /bin/echo -e "host.domain.com\tPing\t0\tPING OK - Packet loss = 0%, RTA = 443.71 ms\n" | /Users/noah/nsca/send_nsca -H 127.0.0.1 -c /Users/noah/nsca/send_nsca.cfg 0 data packet(s) sent to host successfully. > Can you turn off encryption, and ktrace both nsca and send_nsca at the > same > time? I will run the ktrace on nsca when I get into work in a few... not sure I am going to run it on send_nsca though since the PID is what I used to to a ktrace on and the PID for send_nsca is only around for sec... do you or anyone know how I can maybe pipe the PID into ktrace on the command line when running it? -- Noah ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn From jhmartin at toger.us Tue Jan 27 22:56:03 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 27 Jan 2004 13:56:03 -0800 (PST) Subject: ldap plugins In-Reply-To: <1075238225.11720.2.camel@elijah> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> <20040127182857.GS14142@marilyn> <1075238225.11720.2.camel@elijah> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The plugin package comes with a check_ldap plugin. It is compiled if you have openLdap libraries available on the compiling system. - -Jason Martin On Tue, 27 Jan 2004, Networks wrote: > Has anyone have plugins setup for checking to make sure an ldap servcer > is available and responding? I am looking at using ldap to do queries to > a windows 2003 server to make sure the active directory service is still > working. I already have ldapsearch working for the ad. > > Thanks > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFAFt6Il2ODWuqVSBMRAu2JAKCTd2IvyBCYBqgjd2vUOKvpI0YIcACfSZbk ye2djSr4ThiKFxyE1Mht5dk= =Ko+y -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 23:00:11 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 27 Jan 2004 22:00:11 +0000 Subject: check_tcp behavior In-Reply-To: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> Message-ID: <20040127220011.9136.qmail@minnow.softflare.net> nagios at acmecargo.com writes: > I'm using the check_tcp plugin to check various ports that are open on > many of our boxes opened by homegrown applications. The developers are > concerned that the plugin might produce an output on the remote machine > that would cause issues with the application. My question to the list is; > does the check_tcp plugin simply look to see if the port is open, then > closes the connection? or is there any output sent to the remote host? You could try it against the application and see what happens. That would tell you if it breaks the application. That would be better than taking the word of somebody who doesn't really have a clue what they're talking about, like some posters to this list. You could run it against something like a telnet daemon and look at the traffic using tcpdump. That would tell you exactly what it is doing. You could even (gasp) read the documentation which tells you how to find out what plugins do and then use that knowledge to find out what the check_tcp plugin does. > If I was a programmer/coder I imagine I could find my answer in the source > for the plugin but since I am not, I am at the mercy of more intelligent > individuals. How about asking the developers who are programming this application to do your job for you? Or have you already asked them and told you to figure it out for yourself? Did you tell them that you don't know what you're doing and you should be replaced with somebody who has a vague sort of clue about *nix admin and networking? Or are you just trolling? -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jan 27 23:08:59 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 27 Jan 2004 14:08:59 -0800 Subject: ldap plugins In-Reply-To: <1075238225.11720.2.camel@elijah> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> <20040127182857.GS14142@marilyn> <1075238225.11720.2.camel@elijah> Message-ID: <82759411.1075212539@cadabra.stanford.edu> --On Tuesday, January 27, 2004 3:17 PM -0600 Networks wrote: > Has anyone have plugins setup for checking to make sure an ldap servcer > is available and responding? I am looking at using ldap to do queries to > a windows 2003 server to make sure the active directory service is still > working. I already have ldapsearch working for the ad. There is a check_ldap plugin that comes with Nagios. I added functionality to it to do v3 LDAP checks, and submitted that patch to the Nagios developers. I have no idea if it has been incorporated. --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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From George.Miscioscia at Ticketmaster.com Tue Jan 27 23:18:31 2004 From: George.Miscioscia at Ticketmaster.com (George Miscioscia) Date: Tue, 27 Jan 2004 14:18:31 -0800 Subject: Nagios "Monitor of Monitors" Message-ID: <4B8F50430DC6D611875E00508BE14DF2108BE636@pasmail.office.tmcs> Hi, Has anyone ever done something like this? I have 4 Central servers and 4 Distributive servers sitting in 4 datacenters, one of each per DC. The Central/Distributive setup is for redundancy and capacity. I plan on putting Central and Distributives in another 9 data centers. What I want to do is roll up the alerts to one MOM, one Central Server which does not check freshness or send notifications. It's sole purpose is to provide a focal point for all 13 Centrals. I have set up "submit_check_result" on the distro's to send to two central servers successfully and have also set up the centrals to "submit_check_results" to a master server after each passive check. The problem is that in both cases, performance degraded on the central or distributive. I know that there are a few applications out there which do something like this, but I have found that they do not have the functionality of Nagios as far as sorting, etc. I also want to keep the GUI's consistent. Thoughts? Thanks, George ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tkraft8 at comcast.net Tue Jan 27 23:48:57 2004 From: tkraft8 at comcast.net (Tom Kraft) Date: Tue, 27 Jan 2004 16:48:57 -0600 Subject: Traffic Plug-in In-Reply-To: <4F1A91B978EE87478F2447A768883685F467@cbemi-web.cbemi> References: <4F1A91B978EE87478F2447A768883685F467@cbemi-web.cbemi> Message-ID: Use cacti -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Eduardo Moura Sent: Saturday, January 24, 2004 6:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Traffic Plug-in Hi All Does anyone knows a plug to measure traffic in cisco routers??? Tks in advance Eduardo Telway IT Nzf?+o!*x*M>? z?q:N?7zZjw tzn?v|G?i?+??vz) *y?5Kz?j) ?*?X?~zw? q z X)* j u *? *9,zzx(z ?)w)R+m u ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jan 27 23:54:11 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 27 Jan 2004 14:54:11 -0800 (PST) Subject: Nagios "Monitor of Monitors" In-Reply-To: <4B8F50430DC6D611875E00508BE14DF2108BE636@pasmail.office.tmcs> References: <4B8F50430DC6D611875E00508BE14DF2108BE636@pasmail.office.tmcs> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It sounds like the overhead of sending all those checkresults up the tree is slowing you down. I think there is a extra called OCSP sweeper that will batch up the updates and send them in larger chunks. The key is make the OCSP command on the heavy duty machines as light and quick as possible and have a slightly heavier process upload them via nsca less often. You could use OCSP sweeper or a custom script to do the same thing. - -Jason Martin On Tue, 27 Jan 2004, George Miscioscia wrote: > Hi, > > Has anyone ever done something like this? I have 4 Central servers and 4 > Distributive servers sitting in 4 datacenters, one of each per DC. The > Central/Distributive setup is for redundancy and capacity. I plan on > putting Central and Distributives in another 9 data centers. What I want to > do is roll up the alerts to one MOM, one Central Server which does not check > freshness or send notifications. It's sole purpose is to provide a focal > point for all 13 Centrals. I have set up "submit_check_result" on the > distro's to send to two central servers successfully and have also set up > the centrals to "submit_check_results" to a master server after each passive > check. The problem is that in both cases, performance degraded on the > central or distributive. > > I know that there are a few applications out there which do something like > this, but I have found that they do not have the functionality of Nagios as > far as sorting, etc. I also want to keep the GUI's consistent. > > Thoughts? > > Thanks, > George > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFAFuwhl2ODWuqVSBMRAr6QAJ0VUbRX9+opBe/aqZbW+qC4TsO4iQCgkccB BOh//NExrMjshkkaT/wWQes= =+1/X -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Wed Jan 28 00:36:38 2004 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Tue, 27 Jan 2004 15:36:38 -0800 Subject: Bug: NSCA 2.4 on OS X 10.3 In-Reply-To: References: <370ACCFA5BB3B346A31222E5559BF91F03A1C0@mismail2.ena.com> <7D1E4CAC-50B0-11D8-864A-00039345125C@mac.com> <20040127182730.GH74459@radix.cryptio.net> Message-ID: <20040127233638.GJ74459@radix.cryptio.net> Noah Leaman said on Tue, Jan 27, 2004 at 02:19:07PM -0800: > On Jan 27, 2004, at 10:27 AM, Mark Ferlatte wrote: > >Can you turn off encryption, and ktrace both nsca and send_nsca at the > >same > >time? > > I will run the ktrace on nsca when I get into work in a few... not sure > I am going to run it on send_nsca though since the PID is what I used > to to a ktrace on and the PID for send_nsca is only around for sec... > do you or anyone know how I can maybe pipe the PID into ktrace on the > command line when running it? man ktrace. It appears that you can do something like: echo "foo bar baz" | ktrace send_nsca -args -for -nsca M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From George.Miscioscia at Ticketmaster.com Wed Jan 28 01:28:19 2004 From: George.Miscioscia at Ticketmaster.com (George Miscioscia) Date: Tue, 27 Jan 2004 16:28:19 -0800 Subject: service dependency Message-ID: <4B8F50430DC6D611875E00508BE14DF2108BE637@pasmail.office.tmcs> Service dependancy: HTTP is some cases is dependant on Oracle or MySQL. DB failure can cause HTTP checks to fail. I see this all the time and have not come up with a solution. -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Monday, January 26, 2004 8:44 PM To: Hu Thomas Pan Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: service dependency Additional: Can someone site me an example of an application that has service dependency? With this, I can have an idea what service dependency is. And also, I will be able to easily figure out our applications if there are service dependencies. Thanks too. Ronneil Hu Thomas Pan writes: > Hi, > > I have a question on service dependency. I have a group of hosts - > hostsgroup_a. Each of them runs two services: service_a and service_b. > Service service_a is dependent on service service_b on each host. There is > no dependency across hosts. > > Could I define service dependency as the following? > > Define servicedependency { > hostgroup_name hostsgroup_a > service_description service_a > hostgroup_name hostsgroup_a > service_description service_b > ...... > } > > Or, I still have to define each host per servicedependency? > > > Best, > Thomas > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 01:56:03 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 27 Jan 2004 16:56:03 -0800 (PST) Subject: service dependency In-Reply-To: <4B8F50430DC6D611875E00508BE14DF2108BE637@pasmail.office.tmcs> References: <4B8F50430DC6D611875E00508BE14DF2108BE637@pasmail.office.tmcs> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Another might be "if the apache tomcat server isn't running (check_proc), then all of the http checks against the servlets will also fail and alarm on them is spurious". - -Jason Martin On Tue, 27 Jan 2004, George Miscioscia wrote: > Service dependancy: > > HTTP is some cases is dependant on Oracle or MySQL. DB failure can cause > HTTP checks to fail. I see this all the time and have not come up with a > solution. > > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Monday, January 26, 2004 8:44 PM > To: Hu Thomas Pan > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: service dependency > > > Additional: > > Can someone site me an example of an application that has service > dependency? With this, I can have an idea what service dependency is. And > also, I will be able to easily figure out our applications if there are > service dependencies. > > Thanks too. > > Ronneil > > Hu Thomas Pan writes: > > > Hi, > > > > I have a question on service dependency. I have a group of hosts - > > hostsgroup_a. Each of them runs two services: service_a and service_b. > > Service service_a is dependent on service service_b on each host. There is > > no dependency across hosts. > > > > Could I define service dependency as the following? > > > > Define servicedependency { > > hostgroup_name hostsgroup_a > > service_description service_a > > hostgroup_name hostsgroup_a > > service_description service_b > > ...... > > } > > > > Or, I still have to define each host per servicedependency? > > > > > > Best, > > Thomas > > > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFAFwiul2ODWuqVSBMRAkbzAJ9pbGWn7StPysMGJ4wTotRso62xcwCfVh5z SLiZ29Gfac4E9pbKUS3bHrw= =c3DP -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zak at mode3.com Wed Jan 28 01:53:42 2004 From: zak at mode3.com (zak at mode3.com) Date: Tue, 27 Jan 2004 16:53:42 -0800 (PST) Subject: Incorrect Service Outages Listed. Message-ID: Nagios Users, I'm using Nagios version 1.0 on FreeBSD 4.7-Stable. I've had good results with it thusfar, but I've noticed that over the past few weeks Nagios has started displaying blatently incorrect information about some hosts and services. It seems to be stuck at some point in the past. There are checks and notifications that are showing disabled even though I've enabled them. There are missing service checks. Services and hosts that are up are being shown as down. It's not a cached version of the page, since most services are showing the (near) current time for last check. I'm thinking that something has gone haywire with my log files and this is causing nagios to display incorrect information. The solution that I'm considering is deleting all of my logs and starting over. However I would like to avoid this if possible. Any ideas? Thanks, -- Zak Brown www.mode3.com -- "Reports that say something hasn't happened are interesting to me, because as we know, there are known unknowns; there things we know we know, "We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns -- the ones we don't know we don't know." -- Defense Secretary Donald Rumsfeld ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 02:12:11 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 28 Jan 2004 01:12:11 +0000 Subject: ldap plugins In-Reply-To: <1075238225.11720.2.camel@elijah> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> <20040127182857.GS14142@marilyn> <1075238225.11720.2.camel@elijah> Message-ID: <20040128011211.15603.qmail@minnow.softflare.net> Networks writes: > Has anyone have plugins setup for checking to make sure an ldap servcer > is available and responding? Check_tcp will check that the ldap server is awake enough to actually allow incoming connections, which may be all you need. The additional send/expect options would allow you to probe a little deeper than that. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 02:17:19 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 28 Jan 2004 01:17:19 +0000 Subject: nrpe 2.0 with AIX 4.3.2 In-Reply-To: <7473201406D1FE4CBAD4096D6BD1E92108C09F@hqexch01.hq.navis.net> References: <7473201406D1FE4CBAD4096D6BD1E92108C09F@hqexch01.hq.navis.net> Message-ID: <20040128011719.16940.qmail@minnow.softflare.net> Aaron Levitt writes: > I figured out the problem with nrpe and aix 4.3.2. As they say: "aix and pains" :) Thanks for letting us know what the problem was. I hope I will never have to make use of the info, but life is full of surprises, and maybe one day I will have to monitor an aix box. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomaspan at usa.net Wed Jan 28 02:25:16 2004 From: thomaspan at usa.net (Hu Thomas Pan) Date: Tue, 27 Jan 2004 17:25:16 -0800 Subject: service dependency In-Reply-To: <4B8F50430DC6D611875E00508BE14DF2108BE637@pasmail.office.tmcs> References: <4B8F50430DC6D611875E00508BE14DF2108BE637@pasmail.office.tmcs> Message-ID: <000001c3e53d$96333550$0d3f91d8@hupan> Service dependency could be across machines or within one machine. Use George's case. Suppose George's web application is dependent on database. The central database is a remote Oracle one. Certain amount of data is cashed locally on the same boxy using MySQL. If local MySQL is down, HTTP is down. If remote Oracle database is down, local HTTP is down. If I am wrong, please correct me. Currently, dependency only supports multiple to multiple relationship. It doesn't support one to one well, which means that I have to write one dependency for each of one-to-one dependency. Best, Thomas -----Original Message----- From: George Miscioscia [mailto:George.Miscioscia at Ticketmaster.com] Sent: Tuesday, January 27, 2004 4:28 PM To: 'Neil'; Hu Thomas Pan Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: service dependency Service dependancy: HTTP is some cases is dependant on Oracle or MySQL. DB failure can cause HTTP checks to fail. I see this all the time and have not come up with a solution. -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Monday, January 26, 2004 8:44 PM To: Hu Thomas Pan Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: service dependency Additional: Can someone site me an example of an application that has service dependency? With this, I can have an idea what service dependency is. And also, I will be able to easily figure out our applications if there are service dependencies. Thanks too. Ronneil Hu Thomas Pan writes: > Hi, > > I have a question on service dependency. I have a group of hosts - > hostsgroup_a. Each of them runs two services: service_a and service_b. > Service service_a is dependent on service service_b on each host. There is > no dependency across hosts. > > Could I define service dependency as the following? > > Define servicedependency { > hostgroup_name hostsgroup_a > service_description service_a > hostgroup_name hostsgroup_a > service_description service_b > ...... > } > > Or, I still have to define each host per servicedependency? > > > Best, > Thomas > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at localguru.de Wed Jan 28 03:27:16 2004 From: lists at localguru.de (Marcus Schopen) Date: Wed, 28 Jan 2004 03:27:16 +0100 Subject: https + samba plugins Message-ID: <40171E04.4030801@localguru.de> Hi, how do I check https and samba services on a remote server? Thanks, Marcus ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Wed Jan 28 04:59:52 2004 From: noah at mac.com (Noah Leaman) Date: Tue, 27 Jan 2004 19:59:52 -0800 Subject: Bug: NSCA 2.4 on OS X 10.3 In-Reply-To: <38D779E0-5145-11D8-8EAD-00039345125C@mac.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A1C0@mismail2.ena.com> <7D1E4CAC-50B0-11D8-864A-00039345125C@mac.com> <20040127182730.GH74459@radix.cryptio.net> <20040127233638.GJ74459@radix.cryptio.net> <38D779E0-5145-11D8-8EAD-00039345125C@mac.com> Message-ID: <6D063731-5146-11D8-8EAD-00039345125C@mac.com> Resending attachments as a compressed archive. Moderator: You may cancel the previous uncompressed posting. On Jan 27, 2004, at 7:51 PM, Noah Leaman wrote: > I've turned off encryption. Captured a ktrace of the nsca (in --single > mode) starting up, receiving some data and then killing it. I've also > captured a ktrace of the corresponding send_nsca command. See > attachments for both ktrace outputs. > > Just FYI, these are the commands I used to capture the traces: > > ktrace -di -f nsca.ktrace /Users/nleaman/nsca/nsca -c > /Users/nleaman/nsca/nsca.cfg > > /bin/echo -e "host.domain.com\tPing\t0\tPING OK - Packet loss = 0%, > RTA = 443.71 ms\n" | ktrace -di -f send_nsca.ktrace > /Users/nleaman/nsca/send_nsca -H 127.0.0.1 -c > /Users/nleaman/nsca/send_nsca.cfg > > As you may notice, I am doing all of this on localhost (127.0.0.1) for > testing purposes so there is no network between the client and the > daemon. Also all the configs involved here are in the ktraces > themselves. I don't know enough to be able to determine from the > ktrace dumps wether data is actually being sent from the client > (send_nsca) side. > > -- > Noah Leaman > Apple Computer > IS&T SCV DC Operations -------------- next part -------------- A non-text attachment was scrubbed... Name: ktrace.dumps.tar.gz Type: application/x-gzip Size: 185476 bytes Desc: not available URL: From neil-on-nagios at restricted.dyndns.org Wed Jan 28 04:44:03 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 27 Jan 2004 21:44:03 -0600 Subject: service dependency In-Reply-To: <000001c3e53d$96333550$0d3f91d8@hupan> References: <000001c3e53d$96333550$0d3f91d8@hupan> Message-ID: <20040128034403.97176.qmail@restricted.dyndns.org> Ok guys. Here are the configs that I've come up with. Basically, I have 2 machines, freebsd and solaris. I brought down Apache HTTP service in freebsd machine. I got a mail notification. Subject was: ** PROBLEM alert - FreeBSD 4.9/Apache HTTP is CRITICAL ** But I never received any other email notification relating to servicedependency failures. I waited almost 2 hours but still no email. Where am I wrong? Thanks in advance. Neil ---------------- DEPENDENCIES.CFG ---------------- define servicedependency{ host_name freebsd service_description Apache HTTP dependent_host_name solarisx86 dependent_service_description Apache Web - Port 80 execution_failure_criteria w,u,c notification_failure_criteria w,u,c } --------- HOSTS.CFG --------- define host{ use generic-host host_name freebsd alias FreeBSD 4.9 address 10.156.190.190 check_command check-host-alive parents gateway10.156.188.3 max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define host{ use generic-host host_name solarisx86 alias Intel Solaris 5.8 address 10.156.188.15 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } ------------ SERVICES.CFG ------------ define service{ use generic-service host_name freebsd service_description Apache HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups web-admins notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_http } define service{ use generic-service host_name solarisx86 service_description Apache Web - Port 80 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups web-admins notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_http } ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 06:12:09 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 27 Jan 2004 23:12:09 -0600 Subject: service dependency In-Reply-To: <000001c3e53d$96333550$0d3f91d8@hupan> References: <000001c3e53d$96333550$0d3f91d8@hupan> Message-ID: <20040128051209.5226.qmail@restricted.dyndns.org> Also guys, please read my previous post too. I am really confused now. Let say we 2 servers, svr-A running apache-svc and svr-B running mysql-svc. Assuming that apache-svc on svr-A is dependent on mysql-svc on svr-B. Tell me if I understood servicedependency here. 1. What I want to happen is that when mysql-svc on svr-B fails, I would like to get notified that apache-svc on svr-A will not work properly too. 2. I was also thinking that in the Service Detail(left pane of the nagios monitor webpage), the dependent host will have a different color on the dependent service if the depended upon service is down. Maybe a simple matrix will help me much more to understand servicedependency. Since I am really confused, what is the purpose of servicedependency? Is it to prevent email notifications when the dependend upon service is down? Or is it to prevent email notifications when the dependent service is down? Please bear with me for now :) Neil Hu Thomas Pan writes: > Service dependency could be across machines or within one machine. Use > George's case. Suppose George's web application is dependent on database. > The central database is a remote Oracle one. Certain amount of data is > cashed locally on the same boxy using MySQL. If local MySQL is down, HTTP is > down. If remote Oracle database is down, local HTTP is down. > > If I am wrong, please correct me. Currently, dependency only supports > multiple to multiple relationship. It doesn't support one to one well, which > means that I have to write one dependency for each of one-to-one dependency. > > > Best, > Thomas > > > -----Original Message----- > From: George Miscioscia [mailto:George.Miscioscia at Ticketmaster.com] > Sent: Tuesday, January 27, 2004 4:28 PM > To: 'Neil'; Hu Thomas Pan > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: service dependency > > Service dependancy: > > HTTP is some cases is dependant on Oracle or MySQL. DB failure can cause > HTTP checks to fail. I see this all the time and have not come up with a > solution. > > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Monday, January 26, 2004 8:44 PM > To: Hu Thomas Pan > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: service dependency > > > Additional: > > Can someone site me an example of an application that has service > dependency? With this, I can have an idea what service dependency is. And > also, I will be able to easily figure out our applications if there are > service dependencies. > > Thanks too. > > Ronneil > > Hu Thomas Pan writes: > >> Hi, >> >> I have a question on service dependency. I have a group of hosts - >> hostsgroup_a. Each of them runs two services: service_a and service_b. >> Service service_a is dependent on service service_b on each host. There is >> no dependency across hosts. >> >> Could I define service dependency as the following? >> >> Define servicedependency { >> hostgroup_name hostsgroup_a >> service_description service_a >> hostgroup_name hostsgroup_a >> service_description service_b >> ...... >> } >> >> Or, I still have to define each host per servicedependency? >> >> >> Best, >> Thomas >> >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 06:07:25 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Wed, 28 Jan 2004 00:07:25 -0500 Subject: Status Map and 3-D Status Map Message-ID: <002b01c3e55c$9ef2f3a0$98aa6418@netcraftinc.int> >Changing the default radius would be a better fix, although >it would require it to be configurable. Calculating the >default radius so there are no overlaps would be the best >solution. It would be nice to be able to abstract the Status Map to a 3rd dimension such that say I could group a number of sites (site consisting of multiple LAN nodes) in a city into an icon called NYC. Then I could group all the cities in a given state with a NY icon, etc. This would permit a drill-down effect while keeping each layer small and simple. You could then overlay the logical abstractions of nodes over say a map of a country, or data center (if logical components are hosted environments), etc. Just a thought... Frank Pikelner ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Wed Jan 28 07:59:38 2004 From: noah at mac.com (Noah Leaman) Date: Tue, 27 Jan 2004 22:59:38 -0800 Subject: Bug: NSCA 2.4 on OS X 10.3 In-Reply-To: <4016EFE7.22415.6D40E8@localhost> References: <20040127182730.GH74459@radix.cryptio.net> <4016EFE7.22415.6D40E8@localhost> Message-ID: <8A1AB917-515F-11D8-8EAD-00039345125C@mac.com> Yes. Look at that. It appears /bin/echo on OSX doesn't support -e ... http://developer.apple.com/documentation/Darwin/Reference/ManPages/ html/echo.1.html So I took the -e out... but still the same problem. BUT... now knowing that the \t characters were probably getting interrupted. I changed the default delimiter to ";" and BINGO: MyTiBook:~/nsca nleaman$ /bin/echo "host.domain.com;Ping;0;PING OK - Packet loss = 0%, RTA = 443.71 ms\n" | /Users/nleaman/nsca/send_nsca -H 127.0.0.1 -d ";" -c /Users/nleaman/nsca/send_nsca.cfg 1 data packet(s) sent to host successfully. That works as expected! Thanks to everyone for your help... -- noah On Jan 27, 2004, at 9:10 PM, Ethan Galstad wrote: > Looks like the culprit is /bin/echo ! It looks like /bin/echo isn't > interpreting the -e command line option. Check the man page to see > if you should be using -c or something else. send_nsca is reading > from STDIN and its getting the "-e" as part of the data to be sent to > the daemon. > > Relevant snippets from the dump file are listed below: > > > 972 send_nsca GIO fd 0 read 75 bytes > "-e host.domain.com\\tPing\\t0\\tPING OK - Packet loss = 0%, > RTA = 443.71 ms\\n > " > 972 send_nsca RET read 75/0x4b > 972 send_nsca CALL read(0,0x801200,0x2000) > 972 send_nsca GIO fd 0 read 0 bytes > "" > 972 send_nsca RET read 0 > 972 send_nsca CALL close(0x3) > 972 send_nsca RET close 0 > 972 send_nsca CALL fstat(0x1,0xbfffea30) > 972 send_nsca RET fstat 0 > 972 send_nsca CALL ioctl(0x1,FIODTYPE,0xbfffea80) > 972 send_nsca RET ioctl 0 > 972 send_nsca CALL write(0x1,0xd000,0x2c) > 972 send_nsca GIO fd 1 wrote 44 bytes > "0 data packet(s) sent to host successfully. > " > > > > > On 27 Jan 2004 at 14:19, Noah Leaman wrote: > >> >> On Jan 27, 2004, at 10:27 AM, Mark Ferlatte wrote: >>> >>> Try turning off encryption entirely for now; until there's data >>> flowing, there's no point in making it harder to figure out what's >>> going on. >> >> OK. set encryption_method=0 >> >>> No, that should say 1 data packet(s). >> >> So maybe the problem IS with the send_nsca... >> >> MyTiBook:~ noah$ /bin/echo -e "host.domain.com\tPing\t0\tPING OK - >> Packet loss = 0%, RTA = 443.71 ms\n" | /Users/noah/nsca/send_nsca -H >> 127.0.0.1 -c /Users/noah/nsca/send_nsca.cfg 0 data packet(s) sent to >> host successfully. >> >>> Can you turn off encryption, and ktrace both nsca and send_nsca at >>> the same time? >> >> I will run the ktrace on nsca when I get into work in a few... not >> sure I am going to run it on send_nsca though since the PID is what I >> used to to a ktrace on and the PID for send_nsca is only around for >> sec... do you or anyone know how I can maybe pipe the PID into ktrace >> on the command line when running it? >> >> -- >> Noah >> > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn From w.pfeiffer at enbw.com Wed Jan 28 08:49:51 2004 From: w.pfeiffer at enbw.com (w.pfeiffer at enbw.com) Date: Wed, 28 Jan 2004 08:49:51 +0100 Subject: nrpe 2.0 with AIX 4.3.2 Message-ID: <949B03E209CCCE43A00F0BBEA2FB4034018C8F@s2h3148r> Aaron Levitt wrote: > Simon and anyone else that may care- > > I figured out the problem with nrpe and aix 4.3.2. For some > reason the "--inetd" flag was being read incorrectly by inetd. > I changed: > > /usr/sbin/tcpd /sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd > > to: > > /usr/sbin/tcpd /sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > > and everything was fine from there on. Just thought I'd post so that > anyone else that comes along the same problem I did, won't > spend so long searching for the solution. inetd eating up arguments like this would be strange indeed. But now that you mention it my (admittedly shaky ;-) memory seems to recall some posts on this list about the library for --long-arguments-like-this not existing on AIX systems. The fix was to simply comment out the respective includes. If you compiled your Nagios system using this fix all Nagios apps (that depend on this lib) will only grok short options and silently ignore the long ones; so you may also wish to check your other config files (e.g. check command definitions) to verify that no other long options have sneaked in that would cause strange behaviour in the future. (Sorry if I misremembered and the long options patch was for another system than AIX, I could not find the original message in the mailing list archives.) Kind regards, Wolfram Pfeiffer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kudjat at voila.fr Wed Jan 28 10:49:29 2004 From: kudjat at voila.fr (kudjat) Date: Wed, 28 Jan 2004 10:49:29 +0100 (CET) Subject: Still facing max check attempt issues Message-ID: <10205159.1075283369131.JavaMail.www@wwinf4003> Hello, I wrote my own nagios plugins. Those are requested thanks to SSH. Those are written in perl and run on linux or win2K servers. They work since they display their service status and description in nagios. However, if such a check returns me a CRITICAL or a WARNING state, nagios does not try to check another time 1 minute later as I asked it to do in services.cfg As a consequence nagios cannot reach the max_check_attempts and so cannot notify me. Thanks for your help. ==>Here is the service syntax from /etc/nagios/services.cfg : define service{ use generic-service host_name nt_francois_2 service_description IS_WINDOWS_CLOCK_RUNNING is_volatile 0 contact_groups nt-admins notification_period workhours notification_interval 15 normal_check_interval 5 retry_check_interval 1 max_check_attempts 5 check_period workhours check_command check_ssh_pour_checks_persos!"./check_service_generique_v3 --process W32Time --desc IS_WINDOWS_CLOCK_RUNNING" } ==>Here is my check_ssh_pour_checks_persos prototype as written in the checkcommands.cfg file : define command{ command_name check_ssh_pour_checks_persos command_line $USER1$/check_ssh_pour_checks_persos -H $HOSTADDRESS$ -C $ARG1$ } ==>Here is how is written my perl check_ssh_pour_checks_persos script (I know that it is a really dirty script) #! /usr/bin/perl $NAGIOS_HOME="/usr/lib/nagios/plugins"; $NAGIOS_COMMAND_FILE_PATH="/var/log/nagios/rw/nagios.cmd"; #I did not past the arguments checking lines... $cmd_a_exec="$NAGIOS_HOME/check_by_ssh -H $host_address -t 40 -C '$cmd_a_executer_chez_l_hote'"; $return_code = system("$cmd_a_exec > /var/log/nagios/rw/test"); open(FH,"/var/log/nagios/rw/test"); #usefull for monitoring what is returned by the ssh check while true do more /var/log/nagios/rw/test... $first_line=; close(FH); $la_date=time(); $to_nagios_cmd_file="[$la_date] PROCESS_SERVICE_CHECK_RESULT;$host_address;$first_line"; system("echo \"$to_nagios_cmd_file\" >> $NAGIOS_COMMAND_FILE_PATH"); ==>Here is a log extract : ==>performing "Re-schedule the next check of this service" command : Jan 27 16:37:49 nagios nagios: EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;nt_francois_2;IS_WINDOWS_CLOCK_RUNNING;1075217867 Jan 27 16:37:55 nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;10.207.51.121;IS_WINDOWS_CLOCK_RUNNING;2;Process W32Time arrete! Demarres le! Jan 27 16:38:00 nagios nagios: SERVICE ALERT: nt_francois_2;IS_WINDOWS_CLOCK_RUNNING;CRITICAL;SOFT;1;Process W32Time arrete! Demarres le! ==>seems to be ok : since there is a service alert. Waiting for the next check which should be in 1 minute as set in the services.cfg file ==>No more checks and SERVICE ALERT ... I was expecting for the 4 remaining checks before the notification event. ==>What follows is a non forced check : Jan 27 16:42:54 nagios nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;10.207.51.121;IS_WINDOWS_CLOCK_RUNNING;2;Process W32Time arrete! Demarres le! ==>I wonder why I get the next line and why it is followed by the right output Jan 27 16:43:00 nagios nagios: SERVICE ALERT: nt_francois_2;IS_WINDOWS_CLOCK_RUNNING;OK;SOFT;2;(No output!) Jan 27 16:43:00 nagios nagios: SERVICE ALERT: nt_francois_2;IS_WINDOWS_CLOCK_RUNNING;CRITICAL;SOFT;1;Process W32Time arrete! Demarres le! ==>And then next check will happen at 16:48.... ==>So I'like to know if the non notification (due to the non reaching max attempts) is due to the nearly blank line (....OK;SOFT;2;(No output!)) inserted in the nagios log file PS : notification well works with classic nagios plugins. Many thanks for your help Fran?ois ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 12:21:17 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 28 Jan 2004 11:21:17 +0000 Subject: Status Map and 3-D Status Map In-Reply-To: <002b01c3e55c$9ef2f3a0$98aa6418@netcraftinc.int> References: <002b01c3e55c$9ef2f3a0$98aa6418@netcraftinc.int> Message-ID: <20040128112117.4232.qmail@minnow.softflare.net> Frank Pikelner writes: > It would be nice to be able to abstract the Status Map to a 3rd dimension > such that say I could group a number of sites (site consisting of multiple > LAN nodes) in a city into an icon called NYC. You can almost do that by grouping hosts and selecting layers. You can almost do that with the "depth layers" layout method. Neither of them give you a "dependent nodes are down so I'll display this node as having a problem". While we're dreaming... We provide monitoring services to a number of clients, each with their own login. With all the other CGIs, they are blissfully unaware of the other people. With the status map, although they only see their own machines, the map is laid out as though all machines are present, so they see the same cramped view that I do except only a handful of servers are shown. Somewhat worse, if some of the servers they can't see are down, the background colour for the invisible machines changes from light green to pink. My feeling is that those with a restricted view should be given a status map that is laid out as if theirs were the only servers being monitored. Except I'd like to be able to specify hosts/routers that are displayed but no health is given, so that anything of ours on the path to their machines is displayed but they don't get to see what services it's running. > Just a thought... My guess is that it won't happen unless you or I code it... -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Wed Jan 28 12:36:18 2004 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Wed, 28 Jan 2004 11:36:18 +0000 Subject: updating Nagios config manually with NagMIN Message-ID: <1075289778.1910.1.camel@localhost.localdomain> Greetings list, I am interested in trying NagMIN but have one concern - I need to be able to use a custom perl script to update nagios config files (the script adds hosts, services, apan configs and creates rrds). Is this possible without screwing up NagMIN's config info? thanks Matthew Wilson DC-Sat.net ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Jan 28 13:17:05 2004 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 28 Jan 2004 12:17:05 -0000 Subject: check_nt Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE922631D@netfinity-1.foundation-it.local> Neil wrote: > > I tried to retrieve a COUNTER and it worked too. But I am > having a problem > getting performance counter on my windows xp's NIC. The one > that I am having > problems with is Network Interface, Bytes Total/sec and the interface > name is Intel[R]PRO_100VE Network Connection - Packet Scheduler > Miniport. I just always get a zero. > > This is how I executed it. > > ./check_nt -H 192.168.1.3 -p 1248 -v COUNTER -l "\\Network > Interface(Intel[R]PRO_100VE Network Connection - Packet Scheduler > Miniport)\Bytes Total/sec","Bytes total/sec: %.2f" > > Bytes total/sec: 0.00 There should be two backslashes between the object and the counter, e.g. ./check_nt -H 192.168.1.3 -p 1248 -v COUNTER -l "\\Network Interface(Intel[R]PRO_100VE Network Connection - Packet Scheduler Miniport)\\Bytes Total/sec","Bytes total/sec: %.2f" Apart from that it looks OK. Phil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kvaibhav at magnum.barc.ernet.in Wed Jan 28 13:58:43 2004 From: kvaibhav at magnum.barc.ernet.in (Kumar Vaibhav) Date: Wed, 28 Jan 2004 18:28:43 +0530 Subject: problem with cgi authentication Message-ID: <002801c3e59e$75640af0$2805011f@VaibhavCompDiv> I am having the same problem that most of the users are facing regarding the permission access to the cgi. i have installed the nagios in the usr/local/nagios and configures all the configuration files. my system runs on on only one host and have 3 services the data is seen in the status.log file but to view it in the web frontend I get the errors that it appears as though that u have not permissions............ if you think this is an error you check the http server configuration for accessing these CGI ............ i tried with setting the authorisation required field in cgi.cfg to 0 but the problem exists. i read the archive but i didnot get the solution thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From somlo at acns.colostate.edu Wed Jan 28 13:52:27 2004 From: somlo at acns.colostate.edu (Gabriel L. Somlo) Date: Wed, 28 Jan 2004 05:52:27 -0700 Subject: Please Help: Anyone using hostgroup escalations ? Message-ID: <20040128125213.GA4823@hedwig.acns.colostate.edu> Hey, Is anyone using hostgroup escalations ? (How) do you get nagios to send RECOVERY notifications to the escalation contact-group, if any DOWN notifications were sent to it ? I can post config data and get specific if anyone can help ! Thanks much in advance ! Gabriel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 13:55:12 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 28 Jan 2004 07:55:12 -0500 Subject: multiple IP In-Reply-To: <8BE8E6CD-50DB-11D8-99DF-000A95791E60@ifc.cnr.it> References: <6ECAF7E2-50B8-11D8-99DF-000A95791E60@ifc.cnr.it> <1075209159.8997.6.camel@localhost.localdomain> <8BE8E6CD-50DB-11D8-99DF-000A95791E60@ifc.cnr.it> Message-ID: <1075294511.1550.8.camel@localhost.localdomain> On Tue, 2004-01-27 at 16:14 +0100, Alessio Ciregia wrote: > mmm, ok, but it what report to me? if an ip is down? I should have been more specific. This is useful for the check_host_alive that is the actual physical box. It will report OK if either IP responds. So when I have 2 IPs on a box, I set up 3 hosts: Parent: 10.0.0.10,10.0.0.11 Sib1 10.0.0.10 Sib2 10.0.0.11 Then I run check_ping and the check_host_alive against parent, so if the hardware dies, I only get one host down notification. In my case, say Sib1 is the public port of a web server and Sib2 is the private part. So I might define service checks for the child hosts as follows: Sib1: check_ping, check_http Sib1: check_snmp (use to check load, CPU utilization, open network connections, etc) Hope that is a little clearer. BTW, please try and keep followups on list. > On 27 gen 2004, at 14:12, Karl DeBisschop wrote: > > > On Tue, 2004-01-27 at 12:03 +0100, Alessio Ciregia wrote: > >> Sorry for repeating the question. > >> But how to addressing with multiple IP addresses hosts? > > > > Use check_ping from the 1.4 alpha plugins, separate hosts by commas > > IIRC. -- Karl ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreoni at ksolutions.it Wed Jan 28 13:56:59 2004 From: andreoni at ksolutions.it (Andreoni Antonella) Date: Wed, 28 Jan 2004 13:56:59 +0100 Subject: check_ldap returns (No output)! Message-ID: <11AD6C34FEBDB34E96622FEB7E6B64C503AAEED0@kmail.ksolutions.it> I've configured a LDAP Service that use the chek_ldap plugin (whith all parameters specified) but Nagios returns a critical alarm whith (No output!) as status information if I run the check_ldap plugin from the command line it works fine (LDAP ok - 0 seconds response time) and $?=0 grep "No output" nagios.log [1075289517] SERVICE ALERT: idol1;LDAP;CRITICAL;SOFT;1;(No output!) [1075289578] SERVICE ALERT: idol1;LDAP;CRITICAL;SOFT;2;(No output!) [1075289637] SERVICE ALERT: idol1;LDAP;CRITICAL;HARD;3;(No output!) grep "No output" status.log [1075294432] SERVICE;idol1;LDAP;CRITICAL;3/3;HARD;1075294361;1075294661;ACTIVE;1;1;1;1075289637;0;CRITICAL;120;0;0;3955;1075289637;1;1;0;0;1;0;0.00;0;1;1;1;(No output!) any ideas? thanks Antonella --------------------------------------------- Antonella Andreoni System Engineer KSOLUTIONS S.p.A. http://www.ksolutions.it --------------------------------------------- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdebisschop at alert.infoplease.com Wed Jan 28 14:08:10 2004 From: kdebisschop at alert.infoplease.com (Karl DeBisschop) Date: Wed, 28 Jan 2004 08:08:10 -0500 Subject: Bug: NSCA 2.4 on OS X 10.3 In-Reply-To: <8A1AB917-515F-11D8-8EAD-00039345125C@mac.com> References: <20040127182730.GH74459@radix.cryptio.net> <4016EFE7.22415.6D40E8@localhost> <8A1AB917-515F-11D8-8EAD-00039345125C@mac.com> Message-ID: <1075295289.1550.12.camel@localhost.localdomain> On Tue, 2004-01-27 at 22:59 -0800, Noah Leaman wrote: > Yes. Look at that. It appears /bin/echo on OSX doesn't support -e ... A note to developers. 'echo' is not portable. Use 'printf' (See POSIX for a description of the rationale, but the long and short is echo cannot be used portably.) So the portable solution is like: printf "%s %s\n", $var1, $var2 -- Karl DeBisschop Director of Software Development, Infoplease/Pearson Education ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn From ric at nkn.net Wed Jan 28 15:15:53 2004 From: ric at nkn.net (Ric Moseley) Date: Wed, 28 Jan 2004 08:15:53 -0600 Subject: [Nagios-devel] Re: Bug: NSCA 2.4 on OS X 10.3 In-Reply-To: <1075295289.1550.12.camel@localhost.localdomain> References: <1075295289.1550.12.camel@localhost.localdomain> Message-ID: Yeah, I also use printf. Echo did not work as expected for me on FreeBSD. Here is my config. /usr/bin/printf "%s\t%s\t$return_code\t%s\n" $1 "$2" "$4" | /usr/local/nagios/sbin/nsca/send_nsca -H 192.168.1.2 -c /usr/local/nagi os/sbin/nsca/send_nsca.cfg Thanks. Ric. The Planet www.theplanet.com ###### from: /usr/local/nagios/libexec/submit_check_result #### #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server /usr/bin/printf "%s\t%s\t$return_code\t%s\n" $1 "$2" "$4" | /usr/local/nagios/sbin/nsca/send_nsca -H 192.168.1.2 -c /usr/local/nagi os/sbin/nsca/send_nsca.cfg ########### from command.cfg ############### define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Karl DeBisschop Sent: Wednesday, January 28, 2004 7:08 AM To: Noah Leaman Cc: Ethan Galstad; nagios devel; nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: [Nagios-devel] Re: Bug: NSCA 2.4 on OS X 10.3 On Tue, 2004-01-27 at 22:59 -0800, Noah Leaman wrote: > Yes. Look at that. It appears /bin/echo on OSX doesn't support -e ... A note to developers. 'echo' is not portable. Use 'printf' (See POSIX for a description of the rationale, but the long and short is echo cannot be used portably.) So the portable solution is like: printf "%s %s\n", $var1, $var2 -- Karl DeBisschop Director of Software Development, Infoplease/Pearson Education ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 28 16:12:28 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 28 Jan 2004 09:12:28 -0600 Subject: Incorrect Service Outages Listed. In-Reply-To: References: Message-ID: <1075302747.13515.29.camel@localhost> On Tue, 2004-01-27 at 18:53, zak at mode3.com wrote: > I'm using Nagios version 1.0 on FreeBSD 4.7-Stable. you really should upgrade. > I've had good results with it thusfar, but I've noticed that over the past few weeks Nagios has started displaying blatently incorrect information about some hosts and services. It seems to be stuck at some point in the past. There are checks and notifications that are showing disabled even though I've enabled them. There are missing service checks. Services and hosts that are up are being shown as down. > It's not a cached version of the page, since most services are showing the (near) current time for last check. > I'm thinking that something has gone haywire with my log files and this is causing nagios to display incorrect information. > The solution that I'm considering is deleting all of my logs and starting over. However I would like to avoid this if possible. This sounds like a classic case of multiple nagios processes. Shut nagios down, then make sure your process list shows no nagios processes. I bet there's at least one that won't die (give it a minute to let them die off, notably). ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 28 16:13:42 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 28 Jan 2004 09:13:42 -0600 Subject: updating Nagios config manually with NagMIN In-Reply-To: <1075289778.1910.1.camel@localhost.localdomain> References: <1075289778.1910.1.camel@localhost.localdomain> Message-ID: <1075302822.13515.31.camel@localhost> On Wed, 2004-01-28 at 05:36, Matthew Wilson wrote: > I am interested in trying NagMIN but have one concern - I need to be > able to use a custom perl script to update nagios config files (the > script adds hosts, services, apan configs and creates rrds). Is this > possible without screwing up NagMIN's config info? If you have these scripts, why would you need NagMIN? You're essentially using two tools for the same thing. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Wed Jan 28 16:12:08 2004 From: mramos at co.sapo.pt (Marco Ramos) Date: Wed, 28 Jan 2004 15:12:08 +0000 Subject: Nagios Status Critical Message-ID: <1075302728.3761.10.camel@supernova> Hi, I've a little question regarding the transition to status critical. Is is possible to configure nagios so that the web gui only goes to critical state for a particular service check whenever that service enters a hard state? If so, how? I've checked the documentation, faqs and mailing list and have found nothing about this. TIA, Marco Ramos ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Wed Jan 28 16:19:20 2004 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Wed, 28 Jan 2004 15:19:20 +0000 Subject: updating Nagios config manually with NagMIN In-Reply-To: <1075302822.13515.31.camel@localhost> References: <1075289778.1910.1.camel@localhost.localdomain> <1075302822.13515.31.camel@localhost> Message-ID: <1075303160.1910.7.camel@localhost.localdomain> On Wed, 2004-01-28 at 15:13, jeff vier wrote: > On Wed, 2004-01-28 at 05:36, Matthew Wilson wrote: > > I am interested in trying NagMIN but have one concern - I need to be > > able to use a custom perl script to update nagios config files (the > > script adds hosts, services, apan configs and creates rrds). Is this > > possible without screwing up NagMIN's config info? > > If you have these scripts, why would you need NagMIN? > You're essentially using two tools for the same thing. > My script currently adds new hosts and associated stuff. Due to the rather dynamic nature of our clients and our satellite terminals we have a need to frequently update hostnames and IP addresses in nagios. As my role is effectively as an external consultant and I'm not in the office, I currently handle updates on a weekly basis. My boss would like to be able to do minor updates in the office, which means we need NagMIN (as those doing the updates will be non-tech/non-sysadmin people) cheers Matthew. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:52:54 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 28 Jan 2004 10:52:54 -0500 (EST) Subject: Still facing max check attempt issues In-Reply-To: <10205159.1075283369131.JavaMail.www@wwinf4003> References: <10205159.1075283369131.JavaMail.www@wwinf4003> Message-ID: On Wed, 28 Jan 2004, kudjat wrote: > Hello, > > I wrote my own nagios plugins. > Those are requested thanks to SSH. > Those are written in perl and run on linux or win2K servers. > They work since they display their service status and description in nagios. > > However, if such a check returns me a CRITICAL or a WARNING state, nagios > does not try to check another time 1 minute later as I asked it to do in > services.cfg > As a consequence nagios cannot reach the max_check_attempts and so cannot > notify me. I don't see a call to exit() anywhere in your code. You'll probably want to read http://nagiosplug.sourceforge.net/developer-guidelines.html -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Wed Jan 28 17:13:12 2004 From: thilanka at sbcglobal.net (Thilanka) Date: Wed, 28 Jan 2004 16:13:12 +0000 (UTC) Subject: Plugins Message-ID: I posted this question but I have not seen it on the mailing list. Hopefully this is not dumb question even. Do you have to compile the plugins on the remote hosts or can you just copy the plugins that you have compiled on the nagios host and put them in a directory (e.g. /usr/local/nagios/libexec) Now, I am thinking that plugins will have to compiled on the remote host in order for it to make it compatible with OS of the remote host, but the on the otherhand if you have to compile the plugins on the remote host wihtout copying them from the Nagios host, I can see some admins frowning on that idea if the remote host is in production. Can someone please clear this out for me? Thank you for all your help. This is the second attempt at posting this question. I hope there are no filters to filter out dumb questions, in case this is a dumb one. Thilanka ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:16:54 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 28 Jan 2004 08:16:54 -0800 (PST) Subject: service dependency In-Reply-To: <20040128051209.5226.qmail@restricted.dyndns.org> References: <000001c3e53d$96333550$0d3f91d8@hupan> <20040128051209.5226.qmail@restricted.dyndns.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > 1. What I want to happen is that when mysql-svc on svr-B fails, I would like > to get notified that apache-svc on svr-A will not work properly too. That functionalty doesn't exist right now. Service depenendcies are used for event *suppression*, not generation. > 2. I was also thinking that in the Service Detail(left pane of the nagios > monitor webpage), the dependent host will have a different color on the > dependent service if the depended upon service is down. That functionality is also not implemented at this time. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAF+COl2ODWuqVSBMRAtcAAKCZbSdoh5V37YuoEBMYiF20zUFO0wCgiOrQ WsUO7oR9mKP7bWst8kGI6HE= =glib -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:24:54 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 28 Jan 2004 08:24:54 -0800 (PST) Subject: Plugins In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In most cases you can compile them on a host seperately than the one they will be executing on as long as the two hosts have a compatible OS. There are some special cases regarding library availability, in which case you'd have to install the appropriate libraries on the production host. - -Jason Martin On Wed, 28 Jan 2004, Thilanka wrote: > I posted this question but I have not seen it on the mailing list. Hopefully > > this is not dumb question even. Do you have to compile the plugins on the > > remote hosts or can you just copy the plugins that you have compiled on the > > nagios host and put them in a directory (e.g. /usr/local/nagios/libexec) Now, I > > am thinking that plugins will have to compiled on the remote host in order for > > it to make it compatible with OS of the remote host, but the on the otherhand > > if you have to compile the plugins on the remote host wihtout copying them from > > the Nagios host, I can see some admins frowning on that idea if the remote host > > is in production. Can someone please clear this out for me? Thank you for all > > your help. This is the second attempt at posting this question. I hope there > > are no filters to filter out dumb questions, in case this is a dumb one. > > > > Thilanka > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFAF+Jil2ODWuqVSBMRAhGTAJ0S5DEvRb1iyLjogzH7wNO2OE0oygCgitKR SLqyb96fB7l0J9G12sfMuJA= =KNfM -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 28 17:28:29 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 28 Jan 2004 10:28:29 -0600 Subject: Nagios Status Critical In-Reply-To: <1075302728.3761.10.camel@supernova> References: <1075302728.3761.10.camel@supernova> Message-ID: <1075307308.13515.33.camel@localhost> On Wed, 2004-01-28 at 09:12, Marco Ramos wrote: > I've a little question regarding the transition to status critical. Is > is possible to configure nagios so that the web gui only goes to > critical state for a particular service check whenever that service > enters a hard state? If so, how? I've checked the documentation, faqs > and mailing list and have found nothing about this. What does 'hard state' mean to you? Perhaps a real-life example would help us. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:43:39 2004 From: marc at ena.com (Marc Powell) Date: Wed, 28 Jan 2004 10:43:39 -0600 Subject: Plugins Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1DF@mismail2.ena.com> On Wednesday, January 28, 2004 10:13 AM, Thilanka shared with us: > I posted this question but I have not seen it on the mailing list. > Hopefully > > this is not dumb question even. Do you have to compile the plugins on > the > > remote hosts or can you just copy the plugins that you have compiled > on the > > nagios host and put them in a directory (e.g. > /usr/local/nagios/libexec) Now, I If the machines are of the same architecture, OS and have the same libraries installed that the plugins are dependent on then yes, you can certainly copy the plugins over and expect them to work properly. If one of the above is different and you cannot correct it by installing additional packages then you will need to recompile on the destination host or possibly use a cross compiler. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.rossi at xaos.it Wed Jan 28 17:51:15 2004 From: j.rossi at xaos.it (Jeremy J. Rossi) Date: Wed, 28 Jan 2004 17:51:15 +0100 Subject: nsca Message-ID: <9326151684.20040128175115@xaos.it> bart:~#printf "3550-2\snmp\CRITICAL\this is a test" | /usr/local/bin/send_nsca -H 127.0.0.1 -c /usr/local/etc/nagios/send_nsca.cfg 0 data packet(s) sent to host successfully. bart:~#ps xa | grep nsc 66380 ?? Is 0:00.01 /usr/local/bin/nsca -c /usr/local/etc/nagios/nsca.cfg --daemon any clue of why this is happening? ciao, Jeremy ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernandosc at planetarium.com.br Wed Jan 28 17:49:30 2004 From: fernandosc at planetarium.com.br (Fernando dos Santos Camargo) Date: Wed, 28 Jan 2004 14:49:30 -0200 Subject: Hosts Up services down.help me. Message-ID: <1075308570.4017e81a5e3e8@webmail.planetarium.com.br> Hello people, i have Nagios Monitoring my network and my service definition is like this: define service{ name generico active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 check_period 24x7 notification_period 24x7 notification_interval 120 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups telecom notification_options w,u,c,r register 0 } My hosts definition is this: define host{ name generico notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 checks_enabled 1 check_command check-host-alive max_check_attempts 10 notification_interval 60 notification_period 24x7 notification_options d,u,r register 0 } This particular host is defined: define service{ use generico host_name rottec10 service_description LAN 01 - Porta Ethernet check_command check_ifoperstatus!test } define service{ use generico host_name rottec10 service_description WAN 01 - Link Internet check_command check_ifoperstatus!test } define host{ use generico host_name rottec10 alias Roteador Cisco 3725 - Link Internet - Tecnologia address 172.18.0.220 } I will explain my problem: I have one HOST and its SERVICES is DOWN, but the HOST is not down( i tested a ping and its ok), therefore nagios should not include the HOST at "hosts down list", but nagios is including this host and mark it as a down host. What would i have to do? I think that nagios should include the host marking it as a DOWN HOST only if the host dont respond, but in this case the services are down , not the host. Fernando dos Santos Camargo ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:46:10 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 28 Jan 2004 10:46:10 -0600 Subject: service dependency In-Reply-To: References: <000001c3e53d$96333550$0d3f91d8@hupan> <20040128051209.5226.qmail@restricted.dyndns.org> Message-ID: <20040128164610.61281.qmail@restricted.dyndns.org> Hi Jason, So the purpose of servicedependency is to hold back notifications. Now, my question is, why would we not want to receive emails from nagios when the depended upon service fails? Like in my previous scenario, I still want to know if mysql-svc failed. I hope, the functionality I mentioned can be implemented in the future. If was just a good programmer, I would love to contribute. :( Thanks again. Jason Martin writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >> 1. What I want to happen is that when mysql-svc on svr-B fails, I would like >> to get notified that apache-svc on svr-A will not work properly too. > That functionalty doesn't exist right now. Service depenendcies are used > for event *suppression*, not generation. > >> 2. I was also thinking that in the Service Detail(left pane of the nagios >> monitor webpage), the dependent host will have a different color on the >> dependent service if the depended upon service is down. > That functionality is also not implemented at this time. > > - -Jason Martin > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAF+COl2ODWuqVSBMRAtcAAKCZbSdoh5V37YuoEBMYiF20zUFO0wCgiOrQ > WsUO7oR9mKP7bWst8kGI6HE= > =glib > -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 18:13:55 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 28 Jan 2004 09:13:55 -0800 (PST) Subject: service dependency In-Reply-To: <20040128164610.61281.qmail@restricted.dyndns.org> References: <000001c3e53d$96333550$0d3f91d8@hupan> <20040128051209.5226.qmail@restricted.dyndns.org> <20040128164610.61281.qmail@restricted.dyndns.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The idea is that somewhere you are monitoring both mysql-svc and apache-svc. If mysql-svc goes down you would get a notification from Nagios about it. However, if apache-svc depends on mysql-svc, you already know that apache-svc will have problems and thus don't want a notificaiton on it if mysql-svc is broken. - -Jason Martin On Wed, 28 Jan 2004, Neil wrote: > Hi Jason, > > So the purpose of servicedependency is to hold back notifications. Now, my > question is, why would we not want to receive emails from nagios when the > depended upon service fails? Like in my previous scenario, I still want to > know if mysql-svc failed. > > I hope, the functionality I mentioned can be implemented in the future. If > was just a good programmer, I would love to contribute. :( > > Thanks again. > > > Jason Martin writes: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > >> 1. What I want to happen is that when mysql-svc on svr-B fails, I would like > >> to get notified that apache-svc on svr-A will not work properly too. > > That functionalty doesn't exist right now. Service depenendcies are used > > for event *suppression*, not generation. > > > >> 2. I was also thinking that in the Service Detail(left pane of the nagios > >> monitor webpage), the dependent host will have a different color on the > >> dependent service if the depended upon service is down. > > That functionality is also not implemented at this time. > > > > - -Jason Martin > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.3.3 (GNU/Linux) > > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > > > iD8DBQFAF+COl2ODWuqVSBMRAtcAAKCZbSdoh5V37YuoEBMYiF20zUFO0wCgiOrQ > > WsUO7oR9mKP7bWst8kGI6HE= > > =glib > > -----END PGP SIGNATURE----- > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAF+3cl2ODWuqVSBMRAh8fAJ4pqRAiYXjpNLjrTuqPx9/dq9z3XwCeIsjr NILgGYXR5jGig8amZp5qNeo= =asPL -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 18:23:46 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 28 Jan 2004 12:23:46 -0500 Subject: Hosts Up services down.help me. Message-ID: I may be misreading something... But because you put: Register 0 That identifies the definition as a template, I believe. Templates should have register 0 Actual definitions should register. -----Original Message----- From: Fernando dos Santos Camargo [mailto:fernandosc at planetarium.com.br] Sent: Wednesday, January 28, 2004 11:49 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hosts Up services down.help me. Hello people, i have Nagios Monitoring my network and my service definition is like this: define service{ name generico active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 check_period 24x7 notification_period 24x7 notification_interval 120 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups telecom notification_options w,u,c,r register 0 } My hosts definition is this: define host{ name generico notifications_enabled 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 checks_enabled 1 check_command check-host-alive max_check_attempts 10 notification_interval 60 notification_period 24x7 notification_options d,u,r register 0 } This particular host is defined: define service{ use generico host_name rottec10 service_description LAN 01 - Porta Ethernet check_command check_ifoperstatus!test } define service{ use generico host_name rottec10 service_description WAN 01 - Link Internet check_command check_ifoperstatus!test } define host{ use generico host_name rottec10 alias Roteador Cisco 3725 - Link Internet - Tecnologia address 172.18.0.220 } I will explain my problem: I have one HOST and its SERVICES is DOWN, but the HOST is not down( i tested a ping and its ok), therefore nagios should not include the HOST at "hosts down list", but nagios is including this host and mark it as a down host. What would i have to do? I think that nagios should include the host marking it as a DOWN HOST only if the host dont respond, but in this case the services are down , not the host. Fernando dos Santos Camargo ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 28 18:31:05 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 28 Jan 2004 11:31:05 -0600 Subject: Plugins In-Reply-To: References: Message-ID: <1075311065.13515.42.camel@localhost> On Wed, 2004-01-28 at 10:13, Thilanka wrote: > I posted this question but I have not seen it on the mailing list. Hopefully > this is not dumb question even. Do you have to compile the plugins on the > remote hosts or can you just copy the plugins that you have compiled on the > nagios host and put them in a directory (e.g. /usr/local/nagios/libexec) Now, I It depends. If the remote is the same OS (same libraries and such), then just copy it over. It will work. If it's *similar* (like, compiled for RedHat8, copied to RedHat9) it very well might work. If it's very close (SuSE 8.1 copied to SuSE 8.2) it SHOULD work. You generally don't want to copy "down" (like compile on RH9, copy to RH8) but copying "up" is usually okay. If they're not even kind of the same (Compiled on Mandrake 9.2, copied to Solaris 9) there's no chance in hell. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 18:42:04 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 28 Jan 2004 11:42:04 -0600 Subject: service dependency In-Reply-To: References: <000001c3e53d$96333550$0d3f91d8@hupan> <20040128051209.5226.qmail@restricted.dyndns.org> <20040128164610.61281.qmail@restricted.dyndns.org> Message-ID: <20040128174204.65719.qmail@restricted.dyndns.org> Ok. So, are you saying here that when apache-svc goes down too, you will not receive any notifications anymore related to apache-svc? I think this matrix will help me better: apache-svc=UP, mysql-svc=DOWN - What notification should I get? apache-svc=DOWN, mysql-svc=DOWN - What notification should I get? apache-svc=DOWN, mysql-svc=UP - What notification should I get? Please bear with me for now. :) Thanks again. Jason Martin writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > The idea is that somewhere you are monitoring both mysql-svc and > apache-svc. If mysql-svc goes down you would get a notification from > Nagios about it. However, if apache-svc depends on mysql-svc, you already > know that apache-svc will have problems and thus don't want a notificaiton > on it if mysql-svc is broken. > > - -Jason Martin > > On Wed, 28 Jan 2004, Neil wrote: > >> Hi Jason, >> >> So the purpose of servicedependency is to hold back notifications. Now, my >> question is, why would we not want to receive emails from nagios when the >> depended upon service fails? Like in my previous scenario, I still want to >> know if mysql-svc failed. >> >> I hope, the functionality I mentioned can be implemented in the future. If >> was just a good programmer, I would love to contribute. :( >> >> Thanks again. >> >> >> Jason Martin writes: >> >> > -----BEGIN PGP SIGNED MESSAGE----- >> > Hash: SHA1 >> > >> >> 1. What I want to happen is that when mysql-svc on svr-B fails, I would like >> >> to get notified that apache-svc on svr-A will not work properly too. >> > That functionalty doesn't exist right now. Service depenendcies are used >> > for event *suppression*, not generation. >> > >> >> 2. I was also thinking that in the Service Detail(left pane of the nagios >> >> monitor webpage), the dependent host will have a different color on the >> >> dependent service if the depended upon service is down. >> > That functionality is also not implemented at this time. >> > >> > - -Jason Martin >> > >> > >> > -----BEGIN PGP SIGNATURE----- >> > Version: GnuPG v1.3.3 (GNU/Linux) >> > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ >> > >> > iD8DBQFAF+COl2ODWuqVSBMRAtcAAKCZbSdoh5V37YuoEBMYiF20zUFO0wCgiOrQ >> > WsUO7oR9mKP7bWst8kGI6HE= >> > =glib >> > -----END PGP SIGNATURE----- >> >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAF+3cl2ODWuqVSBMRAh8fAJ4pqRAiYXjpNLjrTuqPx9/dq9z3XwCeIsjr > NILgGYXR5jGig8amZp5qNeo= > =asPL > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yohann.desquerre at anpe.fr Wed Jan 28 18:38:56 2004 From: yohann.desquerre at anpe.fr (Yohann DESQUERRE (DSI NOISIEL)) Date: Wed, 28 Jan 2004 18:38:56 +0100 Subject: Monitor disk use info !!! Message-ID: Hi all, I would know if it's possible to have only the saturated fs in the message send back from check_disk instead of have a long list of all fs on the system it's very tedious to have to look for which is saturated in it Thanks !!! ----------------------------------------------- Yohann Desquerre "Plateforme ANPE.FR" S/Direction de la production Gestion des Ressources 01-49-31-82-03 ----------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Jan 28 19:05:51 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 28 Jan 2004 10:05:51 -0800 (PST) Subject: service dependency In-Reply-To: <20040128174204.65719.qmail@restricted.dyndns.org> References: <000001c3e53d$96333550$0d3f91d8@hupan> <20040128051209.5226.qmail@restricted.dyndns.org> <20040128164610.61281.qmail@restricted.dyndns.org> <20040128174204.65719.qmail@restricted.dyndns.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is fairly well spelled out at http://nagios.sourceforge.net/docs/1_0/dependencies.html, but assuming that apache is dependant on mysql, you'd get: > apache-svc=UP, mysql-svc=DOWN - What notification should I get? Mysql is down > apache-svc=DOWN, mysql-svc=DOWN - What notification should I get? Mysql is down > apache-svc=DOWN, mysql-svc=UP - What notification should I get? Apache is down - -Jason Martin On Wed, 28 Jan 2004, Neil wrote: > Ok. So, are you saying here that when apache-svc goes down too, you will not > receive any notifications anymore related to apache-svc? > > I think this matrix will help me better: > > apache-svc=UP, mysql-svc=DOWN - What notification should I get? > apache-svc=DOWN, mysql-svc=DOWN - What notification should I get? > apache-svc=DOWN, mysql-svc=UP - What notification should I get? > > Please bear with me for now. :) > > Thanks again. > > Jason Martin writes: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > The idea is that somewhere you are monitoring both mysql-svc and > > apache-svc. If mysql-svc goes down you would get a notification from > > Nagios about it. However, if apache-svc depends on mysql-svc, you already > > know that apache-svc will have problems and thus don't want a notificaiton > > on it if mysql-svc is broken. > > > > - -Jason Martin > > > > On Wed, 28 Jan 2004, Neil wrote: > > > >> Hi Jason, > >> > >> So the purpose of servicedependency is to hold back notifications. Now, my > >> question is, why would we not want to receive emails from nagios when the > >> depended upon service fails? Like in my previous scenario, I still want to > >> know if mysql-svc failed. > >> > >> I hope, the functionality I mentioned can be implemented in the future. If > >> was just a good programmer, I would love to contribute. :( > >> > >> Thanks again. > >> > >> > >> Jason Martin writes: > >> > >> > -----BEGIN PGP SIGNED MESSAGE----- > >> > Hash: SHA1 > >> > > >> >> 1. What I want to happen is that when mysql-svc on svr-B fails, I would like > >> >> to get notified that apache-svc on svr-A will not work properly too. > >> > That functionalty doesn't exist right now. Service depenendcies are used > >> > for event *suppression*, not generation. > >> > > >> >> 2. I was also thinking that in the Service Detail(left pane of the nagios > >> >> monitor webpage), the dependent host will have a different color on the > >> >> dependent service if the depended upon service is down. > >> > That functionality is also not implemented at this time. > >> > > >> > - -Jason Martin > >> > > >> > > >> > -----BEGIN PGP SIGNATURE----- > >> > Version: GnuPG v1.3.3 (GNU/Linux) > >> > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > >> > > >> > iD8DBQFAF+COl2ODWuqVSBMRAtcAAKCZbSdoh5V37YuoEBMYiF20zUFO0wCgiOrQ > >> > WsUO7oR9mKP7bWst8kGI6HE= > >> > =glib > >> > -----END PGP SIGNATURE----- > >> > >> > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.3.3 (GNU/Linux) > > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > > > iD8DBQFAF+3cl2ODWuqVSBMRAh8fAJ4pqRAiYXjpNLjrTuqPx9/dq9z3XwCeIsjr > > NILgGYXR5jGig8amZp5qNeo= > > =asPL > > -----END PGP SIGNATURE----- > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by EclipseCon 2004 > > Premiere Conference on Open Tools Development and Integration > > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > > http://www.eclipsecon.org/osdn > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFAF/oDl2ODWuqVSBMRAqpEAKCcW4ny3IIyt4X33B0xCHMsTNjNewCfcenk DAvak6/3XxTuCSN0wJukbhc= =8Km6 -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zak at mode3.com Wed Jan 28 19:16:03 2004 From: zak at mode3.com (zak at mode3.com) Date: Wed, 28 Jan 2004 10:16:03 -0800 (PST) Subject: Incorrect Service Outages Listed. In-Reply-To: <1075302747.13515.29.camel@localhost> References: <1075302747.13515.29.camel@localhost> Message-ID: You called the Multiple Nagios processes perfectly, thanks! On Wed, 28 Jan 2004, jeff vier wrote: > On Tue, 2004-01-27 at 18:53, zak at mode3.com wrote: > > I'm using Nagios version 1.0 on FreeBSD 4.7-Stable. > > you really should upgrade. > > > I've had good results with it thusfar, but I've noticed that over the past few weeks Nagios has started displaying blatently incorrect information about some hosts and services. It seems to be stuck at some point in the past. There are checks and notifications that are showing disabled even though I've enabled them. There are missing service checks. Services and hosts that are up are being shown as down. > > It's not a cached version of the page, since most services are showing the (near) current time for last check. > > I'm thinking that something has gone haywire with my log files and this is causing nagios to display incorrect information. > > The solution that I'm considering is deleting all of my logs and starting over. However I would like to avoid this if possible. > > This sounds like a classic case of multiple nagios processes. Shut > nagios down, then make sure your process list shows no nagios > processes. I bet there's at least one that won't die (give it a minute > to let them die off, notably). > > -- Zak Brown www.mode3.com -- "Reports that say something hasn't happened are interesting to me, because as we know, there are known unknowns; there things we know we know, "We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns -- the ones we don't know we don't know." -- Defense Secretary Donald Rumsfeld ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 28 19:46:49 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 28 Jan 2004 12:46:49 -0600 Subject: Monitor disk use info !!! In-Reply-To: References: Message-ID: <1075315609.13515.49.camel@localhost> On Wed, 2004-01-28 at 11:38, Yohann DESQUERRE (DSI NOISIEL) wrote: > I would know if it?s possible to have only the saturated fs in the > message send back from check_disk instead of have a long list of all > fs on the system it?s very tedious to have to look for which is > saturated in it perhaps /usr/local/nagios/libexec/check_disk --help will help you. Perhaps, too, you should focus your attention on "-p" and the example given at the bottom. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jan 28 20:12:41 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 28 Jan 2004 13:12:41 -0600 Subject: Incorrect Service Outages Listed. In-Reply-To: References: Message-ID: <1075317161.13515.52.camel@localhost> On Wed, 2004-01-28 at 12:16, zak at mode3.com wrote: > You called the Multiple Nagios processes perfectly, thanks! the way to make sure that doesn't happen again is to NOT use /etc/init.d/nagios restart I don't know that I've seen any other culprit. Use the web interface for restarting and it's fine, or do a full 'stop/start' with the init script (making sure to check that nagios is 'gone' after stopping). ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 20:22:12 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 28 Jan 2004 19:22:12 +0000 Subject: Monitor disk use info !!! In-Reply-To: References: Message-ID: <20040128192212.19587.qmail@minnow.softflare.net> Yohann DESQUERRE (DSI NOISIEL) writes: > I would know if it's possible to have only the saturated fs in the > message send back from check_disk instead of have a long list of all fs > on the system it's very tedious to have to look for which is saturated > in it Four solutions. 1) Run check_disk against each partition individually. Then the one that is full is shown in red. The disadvantage is that if you add another disk with more partitions you have to remember to add them to Nagios. 2) Take the existing plugin, give it a new name, and modify the code to do what you want. Do not be tempted to submit your modification to the plugin developers using the original name unless you add an optional switch that gives the behaviour you want, because some of us like the present behaviour. 3) Live with the current output. Unless your disks frequently get full you're not going to have the terrible difficulty of reading that long list very often. 4) To fix the problem by deleting unwanted junk, you'll have to login to the box with the full partition. Learn what the command df does and use it after you've logged into the box with the full.partition instead of trying to read the information from the web page. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 20:31:40 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 28 Jan 2004 11:31:40 -0800 (PST) Subject: Monitor disk use info !!! In-Reply-To: <20040128192212.19587.qmail@minnow.softflare.net> References: <20040128192212.19587.qmail@minnow.softflare.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It sounds like you are looking for the -e option: -e, --errors-only Display only devices/mountpoints with errors - -Jason Martin On Wed, 28 Jan 2004, Paul L. Allen wrote: > Yohann DESQUERRE (DSI NOISIEL) writes: > > > I would know if it's possible to have only the saturated fs in the > > message send back from check_disk instead of have a long list of all fs > > on the system it's very tedious to have to look for which is saturated > > in it > > Four solutions. > > 1) Run check_disk against each partition individually. Then the one that > is full is shown in red. The disadvantage is that if you add another > disk with more partitions you have to remember to add them to Nagios. > > 2) Take the existing plugin, give it a new name, and modify the code > to do what you want. Do not be tempted to submit your modification > to the plugin developers using the original name unless you add > an optional switch that gives the behaviour you want, because some of us > like the present behaviour. > > 3) Live with the current output. Unless your disks frequently get full > you're not going to have the terrible difficulty of reading that long > list very often. > > 4) To fix the problem by deleting unwanted junk, you'll have to login > to the box with the full partition. Learn what the command df does and > use it after you've logged into the box with the full.partition instead > of trying to read the information from the web page. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAGA4kl2ODWuqVSBMRAhY3AJ0e8y67ijJCGXd7Eubv6iDfjDafUACcDO+5 D+QUSIzTQDO/R8Y+wiRoQ9I= =ZBt2 -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asoto at admin.nmt.edu Wed Jan 28 21:28:37 2004 From: asoto at admin.nmt.edu (Aaron Soto) Date: Wed, 28 Jan 2004 13:28:37 -0700 Subject: One Host Notification instead of every service possible? References: <1075215321.19173.68.camel@dirk> Message-ID: <010901c3e5dd$5246ca50$63bbfea9@NMTADM.AD> Dirk, By the nature of Nagios, if you have a host check defined for that particular host, it will automatically run that test to determine if that host is down. For example: A server with HTTP and HTTPS both checked by Nagios goes down. Nagios will check HTTP and HTTPS and notice that it is down. Once it determines this, it will also run the host check (defined in your config files) which is normally a PING. If the PING does not respond, Nagios will check the rather than getting two messages saying "HTTP is CRITICAL" and "HTTPS is CRITICAL", you get one page saying "SERVER is down." I believe there are several programs (namely nagmin) which are designed to do what you are asking. I have heard good stories about them, but I personally have not any time with which to test them out. Let me know if you try it out! :-) Aaron Soto New Mexico Tech ----- Original Message ----- From: "schlueri-lists" To: Sent: Tuesday, January 27, 2004 7:55 AM Subject: [Nagios-users] One Host Notification instead of every service possible? > Hi there, > > i use nagios 1.1 and have a problem with configuration. > > In Example i have one host with 8 services. When the complete host get's > down, i.E. kernel panic, i get 16 Notifications for every service. 8 > Problems and 8 Recoverys. > > It's possible to get one Mail like "Host XYZ has Problems. Please take a > look at the Nagios Web Interface" or "On Host XYZ are more than 2 > problems."? > > Background, i send a email notification to a mobile phone and get this > via sms. It's not cheap! ;-) > > Thanks for help. > > Dirk. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Thu Jan 29 00:22:10 2004 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Wed, 28 Jan 2004 18:22:10 -0500 Subject: feature suggestion / can I already do this? Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF0373363E@inex1.herffjones.hj-int> I'll admit that since installing 1.0 I've stopped paying very close attention to Nagios development, so if this is already available (in 1.x or 2), please excuse me... It would be very useful to be able to say "except" when applying services to hostgroups. For example, I have about 30 DNS servers, all of which I want to apply several services to ... except one. For that one, I run a different check command. Because of that ONE host's difference, I have to apply the service check separately to all of the hosts in the group, effectively removing the major management benefit of being able to apply services to hostgroups. It would be sooo much nicer to simply have one service definition applied to the group, with an exception for that one host, so that I could follow that definition up with another one that applied only to that host. I realize it's awfully late for 2.0 feature requests, but this seems like a *very* easy thing to code - just add a step that removes exceptions from the list of hosts before applying a given service definition. If there's already a way to do that, then please tell me and I'll be both suitably chagrined and ecstaticallly happy. :-) -- Trever Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Thu Jan 29 01:04:51 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 29 Jan 2004 00:04:51 +0000 Subject: Incorrect Service Outages Listed. In-Reply-To: <1075317161.13515.52.camel@localhost> References: <1075317161.13515.52.camel@localhost> Message-ID: <20040129000451.30874.qmail@minnow.softflare.net> jeff vier writes: > the way to make sure that doesn't happen again is to NOT use > /etc/init.d/nagios restart Yes, restart does seem to cause this problem. > I don't know that I've seen any other culprit. Use the web interface > for restarting and it's fine, or do a full 'stop/start' with the init > script (making sure to check that nagios is 'gone' after stopping). I would agree that you have to wait for all the detached nagios processes to fade away after stopping (or terminate them with extreme prejudice using killall -9). And this is probably the reason restart causes the problem - there is no wait for the detached processes to go away (and nothing about stop or restart gets rid of them, which it should). However, I prefer stop/wait/restart to stop/wait/start because usually the only reason I want to stop and start Nagios is because I've changed the configs and restart does a check on the consistency of the configs and reports problems which start does not. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 00:02:54 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 28 Jan 2004 17:02:54 -0600 Subject: projected or recommended service check option Message-ID: <20040128230254.90098.qmail@restricted.dyndns.org> Hey guys, I don't know why this email bounced back to my inbox. So I am sending it again. I tried nagios -s nagios.cfg and it gives me this info. SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 76 Total hosts: 44 Command check interval: 5 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 247.895 sec Inter-check delay: 3.262 sec Interleave factor method: SMART Average services per host: 1.727 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1075330870 -> Wed Jan 28 15:01:10 2004 Last scheduled check: 1075331114 -> Wed Jan 28 15:05:14 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 4 Recommend value: 12 I don't know why I am just still having a 12 in recommended value. I already installed it on a 1 gig memory. And I am just monitoring 74 services for now. What are the things that I need to tweak so I can have a good max_concurrent_checks value? If someone again can send there .cfg files, it will be awesome. This will give me an idea what things I am doing wrong. Thanks in advance. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alessio at ifc.cnr.it Wed Jan 28 09:36:10 2004 From: alessio at ifc.cnr.it (Alessio Ciregia) Date: Wed, 28 Jan 2004 09:36:10 +0100 Subject: Dependency Message-ID: <066CB9F4-516D-11D8-AE79-000A95791E60@ifc.cnr.it> So I have an host with some services (serv_a, serv_b, serv_c). If the host is down, I receive: - host down notification - serv_a down notification - serv_b down notification - ... Well, if the host is down, it is clean that the services of this host are down also. How must I configure nagios to resolve this issue? Bye ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 23:00:43 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 28 Jan 2004 16:00:43 -0600 Subject: projected/recommended service check option Message-ID: <20040128220043.85322.qmail@restricted.dyndns.org> Hey guys, I tried nagios -s nagios.cfg and it gives me this. SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 76 Total hosts: 44 Command check interval: 5 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 247.895 sec Inter-check delay: 3.262 sec Interleave factor method: SMART Average services per host: 1.727 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1075330870 -> Wed Jan 28 15:01:10 2004 Last scheduled check: 1075331114 -> Wed Jan 28 15:05:14 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 4 Recommend value: 12 I don't know why I am just still having a 12 in recommended value. I already installed it on a 1 gig memory. And I am just monitoring 74 services for now. What are the things that I need to tweak so I can have a good max_concurrent_checks value? If someone again can send there .cfg files, it will be awesome. This will give me an idea what things I am doing wrong. Thanks in advance. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 12:46:47 2004 From: extern.Lars.Oeschey at audi.de (extern.Lars.Oeschey at audi.de) Date: Thu, 29 Jan 2004 12:46:47 +0100 Subject: NSClient or SNMP? Message-ID: <3A51ADC7DE201748AE224D58A8CA83B502256FC0@deaudiis1127.audi.de> Hi, I'm monitoring several Compaq servers with Nagios and CIM7. While CIM7 should be responsible for hardware failures and traps, I want Nagios to monitor services and other stuff. Since I have already all those Compaq Agents running on those machines, should I use SNMP f?r status infos (diskspace, traffic) or should I use NSClient? With SNMP, how can I find out the OIDs that are interesting? Lars ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Thu Jan 29 14:26:10 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Thu, 29 Jan 2004 08:26:10 -0500 Subject: Maximum in hostgroup? Message-ID: I just figured out that I cannot add more than 288 devices to any one hostgroup. If I do, the config file errors out. I am running version 1.1. I would assume this is a limitation with Nagios. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Wed Jan 28 07:30:18 2004 From: thilanka at sbcglobal.net (thilanka) Date: Wed, 28 Jan 2004 06:30:18 +0000 (UTC) Subject: Just quick question Message-ID: when you go to install the plugins on a remote host, do you have to compile the plugins on the remote host or can you just copy the plugins from the Nagios host's '/usr/local/nagios/libexec/' on the remote host? The main reason why I am asking this is becuase if you have to download and install the necessary perl modules and other libraries, some machines might already be in production and any changes have to be carefully managed. In most cases the compiling of modules and libraries can have adverse effects on the OS. Just a thought. Hopefully this question is not a dumb one....I hope .... ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwhuff at ucdavis.edu Thu Jan 29 19:24:09 2004 From: rwhuff at ucdavis.edu (Ron Huff) Date: Thu, 29 Jan 2004 10:24:09 -0800 Subject: Nagios Notifications Message-ID: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> I'm one of those implementors that does not come from a System Administration background. I've successfully implemented much of the nagios monitoring system, but I'm having trouble with Notifications. I need help just setting up a simple notification command to use sendmail. I have sendmail functioning at the most basic level (I can send myself mail). Would someone send me a simple, 'command_line' for the checkcommands.cfg file that uses sendmail...the sample configs just invoke 'printf' ...I just need a little boost over this hurdle, rather than spending days digging thru sendmail docs... - Ron Huff / UCD NOC ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Thu Jan 29 19:30:16 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 29 Jan 2004 18:30:16 +0000 Subject: Error in docs on distributed monitoring Message-ID: <20040129183016.16276.qmail@minnow.softflare.net> The sample submit_service_check shell script appears to have a remnant of the old plugin API before it went POSIX-compliant. The return code for the UNKNOWN case is given as -1 but these days it should be 3. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 18:43:48 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 29 Jan 2004 17:43:48 +0000 Subject: Dependency In-Reply-To: <066CB9F4-516D-11D8-AE79-000A95791E60@ifc.cnr.it> References: <066CB9F4-516D-11D8-AE79-000A95791E60@ifc.cnr.it> Message-ID: <40194654.1030206@exponential-e.com> Alessio Ciregia wrote: > So I have an host with some services (serv_a, serv_b, serv_c). > If the host is down, I receive: > - host down notification > - serv_a down notification > - serv_b down notification > - ... > > Well, if the host is down, it is clean that the services of this host > are down also. > How must I configure nagios to resolve this issue? It should do this "out of the box". Have you checked the docs against your config, I'd imagine there is a problem somewhere. Can you post the config of one of your hosts and associated services? Has this ever worked as you expect, is this a new install? Jim ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 07:01:16 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 29 Jan 2004 00:01:16 -0600 Subject: host status refresh on web inconsistency Message-ID: <20040129060116.22309.qmail@restricted.dyndns.org> Hi guys, This is what I have in services.cfg: define service{ use generic-service ; Name of service template to use host_name freebsd service_description Apache Web Server is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups freebsd-admins notification_interval 2 notification_period 24x7 notification_options c,r check_command check_http } Assuming current time is 12:59 and that the next check is at 1:00. I killed Apache at 12:58. Now, once the time on my nagios server hits 1:00, I do a ps ax|grep check_http. Yes, I can see check_http and after few seconds, it will go away. Quickly, I go to my browser and click refresh button for a couple of times. I noticed that before the status changes to CRITICAL, it's take about 25 secs to 40 secs. The behavior is also the same once I start Apache. It takes about 25 to 40 secs before it changes the STATUS to ok. Is this normal? How would I configure nagios so that the status changes within 10 to 15 secs only? And also, what can you say about my config above? Is it bad? If so, what is the proper acceptable values in a production environment? Thanks again. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.rossi at xaos.it Fri Jan 30 15:35:02 2004 From: j.rossi at xaos.it (Jeremy J. Rossi) Date: Fri, 30 Jan 2004 15:35:02 +0100 Subject: Nagios Notifications In-Reply-To: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> References: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> Message-ID: <4218481334.20040130153502@xaos.it> Ron, try this: printf " Hostname: $HOSTNAME$\n IP: $HOSTADDRESS$\n Service: $SERVICEDESC$\n State is: $SERVICESTATE$\n Reason: $OUTPUT$" | mail -s "$HOSTNAME$ $SERVICEDESC$ *$SERVICESTATE$*" $CONTACTEMAIL$ ciao, Jeremy Thursday, January 29, 2004, 7:24:09 PM, you wrote: > I'm one of those implementors that does not come from a System > Administration background. I've successfully implemented much of > the nagios monitoring system, but I'm having trouble with Notifications. > I need help just setting up a simple notification command to use sendmail. > I have sendmail functioning at the most basic level (I can send myself mail). > Would someone send me a simple, 'command_line' for the checkcommands.cfg > file that uses sendmail...the sample configs just invoke 'printf' ...I just > need a little boost over this hurdle, rather than spending days digging thru > sendmail docs... > - Ron Huff / UCD NOC > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 22:18:50 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 29 Jan 2004 15:18:50 -0600 Subject: mail notification and notification_interval Message-ID: <20040129211850.89834.qmail@restricted.dyndns.org> Hey guys, I got a question on email notifications. Let say we have notification_interval 5 in of services that we are monitoring, say http. Now, nagios did a check_http on the server, processed the results and found out that the http service has died. Does nagios send notifications immediately or will it wait for 5 minutes before it sends out the notification? Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 16:37:51 2004 From: nagios at pensol.net (MT Morales) Date: Fri, 30 Jan 2004 08:37:51 -0700 Subject: MRTGEXT.nlm on Netware 6.5 abending Message-ID: <000e01c3e747$4452d7c0$d8a68f0a@siley2004> We have been using mrtgext.nlm v1.43 agent on many netware 5x servers successfully until we started to upgrade to 6.5, mrtgext.nlm now abends the server (mrtgext.nlm itself crashes). Looks like somebody else reported the same problem at mrtgext development site but no anwsers/fixes have been posted. Has anyone experienced a similar problem? or any ideas on this? thanks, -Tomas ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 17:28:40 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 10:28:40 -0600 Subject: Nagios Notifications In-Reply-To: <4218481334.20040130153502@xaos.it> References: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> <4218481334.20040130153502@xaos.it> Message-ID: <20040130162840.69811.qmail@restricted.dyndns.org> Hi Jeremy and other nagios gurus, Just found out this morning that the object for mailing stuff is in misccommands.cfg. In there, I saw variables like $NOTIFICATIONTYPE$, $SERVICESTATE$, etc. Does anyone have a complete list of variables that can be use in misccommands.cfg? Thanks. Jeremy J. Rossi writes: > > Ron, > > try this: > > printf " Hostname: $HOSTNAME$\n IP: $HOSTADDRESS$\n Service: $SERVICEDESC$\n State is: $SERVICESTATE$\n Reason: $OUTPUT$" > | mail -s "$HOSTNAME$ $SERVICEDESC$ *$SERVICESTATE$*" $CONTACTEMAIL$ > > ciao, > Jeremy > > Thursday, January 29, 2004, 7:24:09 PM, you wrote: > >> I'm one of those implementors that does not come from a System >> Administration background. I've successfully implemented much of >> the nagios monitoring system, but I'm having trouble with Notifications. > >> I need help just setting up a simple notification command to use sendmail. >> I have sendmail functioning at the most basic level (I can send myself mail). > >> Would someone send me a simple, 'command_line' for the checkcommands.cfg >> file that uses sendmail...the sample configs just invoke 'printf' ...I just >> need a little boost over this hurdle, rather than spending days digging thru >> sendmail docs... >> - Ron Huff / UCD NOC > > >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 19:17:14 2004 From: skip at pobox.com (Skip Montanaro) Date: Thu, 29 Jan 2004 12:17:14 -0600 Subject: check_tcp in the presence of tcp wrappers Message-ID: <16409.20010.765134.963550@montanaro.dyndns.org> I have a check_telnet command defined as $USER1$/check_tcp -H $HOSTADDRESS$ -p 23 (I don't recall if it's part of Nagios or NagMIN or something I chucked in there.) In the presence of tcp wrappers this seems like a pretty useless check, since I might successfully get to port 23 but not get past the wrappers to the real telnet daemon. I tried something like check_tcp -H host -p 23 -e "login:" or check_tcp -H host -p 23 -s "" -e "login:" but these both just hang. What send/expect chit chat should I use to determine that I actually received a login prompt? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://spambayes.sf.net/ skip at pobox.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 17:35:52 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 10:35:52 -0600 Subject: mail notification and notification_interval In-Reply-To: References: <20040129211850.89834.qmail@restricted.dyndns.org> Message-ID: <20040130163552.70317.qmail@restricted.dyndns.org> Hi Jason, After spending hours studying each configuration and looking at the state status in the webpage monitor, I noticed that the attempts increments such as 1/3, then 2/3, and lastly 3/3. Then it becomes HARD. LOL. Anyways, I also found out that the value 3 is actually the max_check_attempts I defined for that service. I have a question now. Am I correct that if we set "max_check_attempts" to 10, and we have "retry_check_interval" set at 5, then before we can receive an email, it will take 50 minutes? The way I understand this config is that it will check the service every 5 minutes, then it will try 10 times before it changes the STATE to hard. Thanks everyone. Jason Martin writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > It means that it will send out notifications every 5 minutes after it > determines that the service is in a HARD non-OK state until the problem is > resolved. > > - -Jason Martin > > On Thu, 29 Jan 2004, Neil wrote: > >> Hey guys, >> >> I got a question on email notifications. Let say we have >> notification_interval 5 in of services that we are monitoring, say http. >> Now, nagios did a check_http on the server, processed the results and found >> out that the http service has died. Does nagios send notifications >> immediately or will it wait for 5 minutes before it sends out the >> notification? >> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAGoL5l2ODWuqVSBMRAgWhAJ9VABY9cvnify4Ylt5rrDl/8GmR1gCffPZn > MqImKWVflTh4lNzNPr4Yi54= > =ht/r > -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Jan 30 17:42:08 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 30 Jan 2004 08:42:08 -0800 (PST) Subject: mail notification and notification_interval In-Reply-To: <20040130163552.70317.qmail@restricted.dyndns.org> References: <20040129211850.89834.qmail@restricted.dyndns.org> <20040130163552.70317.qmail@restricted.dyndns.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I have a question now. Am I correct that if we set "max_check_attempts" to > 10, and we have "retry_check_interval" set at 5, then before we can receive > an email, it will take 50 minutes? The way I understand this config is that > it will check the service every 5 minutes, then it will try 10 times before You are correct. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAGolol2ODWuqVSBMRAnwoAKCWajdA0crTICmuxcD/k3d5fSaWcQCgknGH +eJxzmqoTadf/sJgwX1nZtA= =Eh6N -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 17:46:26 2004 From: marc at ena.com (Marc Powell) Date: Fri, 30 Jan 2004 10:46:26 -0600 Subject: Nagios Notifications Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1F3@mismail2.ena.com> On Friday, January 30, 2004 10:29 AM, Neil shared with us: > Hi Jeremy and other nagios gurus, > > Just found out this morning that the object for mailing stuff is in > misccommands.cfg. > > In there, I saw variables like $NOTIFICATIONTYPE$, $SERVICESTATE$, > etc. > > Does anyone have a complete list of variables that can be use in > misccommands.cfg? http://nagios.sourceforge.net/docs/1_0/macros.html -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 17:48:49 2004 From: marc at ena.com (Marc Powell) Date: Fri, 30 Jan 2004 10:48:49 -0600 Subject: mail notification and notification_interval Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1F4@mismail2.ena.com> On Friday, January 30, 2004 10:36 AM, Neil shared with us: > Hi Jason, > > After spending hours studying each configuration and looking at the > state status in the webpage monitor, I noticed that the attempts > increments such as 1/3, then 2/3, and lastly 3/3. Then it becomes > HARD. LOL. Anyways, I also found out that the value 3 is actually the > max_check_attempts I defined for that service. This is documented. http://nagios.sourceforge.net/docs/1_0/statetypes.html > > I have a question now. Am I correct that if we set > "max_check_attempts" to 10, and we have "retry_check_interval" set at > 5, then before we can receive an email, it will take 50 minutes? The > way I understand this config is that it will check the service every > 5 minutes, then it will try 10 times before it changes the STATE to > hard. That is correct, within a few minutes either way. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 17:44:38 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 10:44:38 -0600 Subject: mail notification and notification_interval In-Reply-To: References: <20040129211850.89834.qmail@restricted.dyndns.org> <20040130163552.70317.qmail@restricted.dyndns.org> Message-ID: <20040130164438.70980.qmail@restricted.dyndns.org> Jason Martin writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >> I have a question now. Am I correct that if we set "max_check_attempts" to >> 10, and we have "retry_check_interval" set at 5, then before we can receive >> an email, it will take 50 minutes? The way I understand this config is that >> it will check the service every 5 minutes, then it will try 10 times before > You are correct. Oh! So what's your recommendation on a critical app/service like ORACLE or MSSQL? This is what I have now: define service{ use generic-service host_name dbsvr023 service_description Microsoft SQL Service - 1433/TCP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups sql-admins notification_interval 2 notification_period 24x7 notification_options c,r check_command check_tcp!1433 } This seems to be working now. But I don't know if the values here are good for production use. Thanks again. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Jan 30 17:55:39 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 30 Jan 2004 08:55:39 -0800 (PST) Subject: mail notification and notification_interval In-Reply-To: <20040130164438.70980.qmail@restricted.dyndns.org> References: <20040129211850.89834.qmail@restricted.dyndns.org> <20040130163552.70317.qmail@restricted.dyndns.org> <20040130164438.70980.qmail@restricted.dyndns.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'd suggest a normal interval of 5, retry interval of 1 and max attempts of 2. That means you normally check every 5 minutes, but if there is a failure it'll come back in 1 minute and check again. If that fails it'll send a notifications. This gives you a max time-to-notify of ~ 6 minutes. - -Jason Martin On Fri, 30 Jan 2004, Neil wrote: > Jason Martin writes: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > >> I have a question now. Am I correct that if we set "max_check_attempts" to > >> 10, and we have "retry_check_interval" set at 5, then before we can receive > >> an email, it will take 50 minutes? The way I understand this config is that > >> it will check the service every 5 minutes, then it will try 10 times before > > You are correct. > > Oh! So what's your recommendation on a critical app/service like ORACLE or > MSSQL? > > This is what I have now: > define service{ > use generic-service > host_name dbsvr023 > service_description Microsoft SQL Service - 1433/TCP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 2 > retry_check_interval 1 > contact_groups sql-admins > notification_interval 2 > notification_period 24x7 > notification_options c,r > check_command check_tcp!1433 > } > > This seems to be working now. But I don't know if the values here are good > for production use. > > Thanks again. > > Neil > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAGo3Cl2ODWuqVSBMRAksSAJ4sge4yRs4KFXWiRQwPjydoHR08EgCfZcCF DTuGrvK/yGQcSk2cWIQCpT8= =YoP7 -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwhuff at ucdavis.edu Fri Jan 30 18:27:42 2004 From: rwhuff at ucdavis.edu (Ron Huff) Date: Fri, 30 Jan 2004 09:27:42 -0800 Subject: Nagios Notifications In-Reply-To: <20040130075440.GA6412@isite.net> References: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> <20040130075440.GA6412@isite.net> Message-ID: <200401301728.i0UHS9tQ005971@pop17.ucdavis.edu> Thanks to everyone who responded to this dodo mail; I realized soon enough that the printf was doing exactly what I wanted... sendmail just had me a little 'whelmed...now I can't seem to get off localhost...I can probably work this out. - Ron Huff On Thursday 29 January 2004 11:54 pm, Joe Rhett wrote: > On Thu, Jan 29, 2004 at 10:24:09AM -0800, Ron Huff wrote: > > Would someone send me a simple, 'command_line' for the checkcommands.cfg > > file that uses sendmail...the sample configs just invoke 'printf' ...I > > just need a little boost over this hurdle, rather than spending days > > digging thru sendmail docs... > > The printf commands are piped to /usr/bin/mail > > Let me guess -- are you using Solaris? If so, pipe to /usr/bin/mailx > instead. The printf()s will work fine. Just fix the part that you are > piping it to. > > If you're still confused, send me a command line that you use to send mail > (subject and sender and all) and I'll give you back a line for the > misccommands.cfg. > > FYI: /usr/bin|lib/sendmail isn't what you want to invoke to send mail. You > want to use a front-end program like "mail" or "mailx" or something so that > you can customize headers and all that noise. They invoke sendmail for > you. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Fri Jan 30 18:31:10 2004 From: thilanka at sbcglobal.net (Thilanka) Date: Fri, 30 Jan 2004 17:31:10 +0000 (UTC) Subject: not authorized to commit the specified change Message-ID: Hello all, I am getting the following error message when I try to add a new host comment. "Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. Return from whence you came" "Add a new service comment" spits out the same error as noted above. Now this sounds like a permission issue on the cgi scripts folder "/usr/local/nagios/sbin" here's how the permissions on "/usr/local/nagios/sbin/" drwxr-xr-x 2 nagios other 512 Jan 28 19:47 sbin A question is should this directory(sbin) be owned by nagios and the group nobody since apache is running as nobody? Or is this ill adviced? The cgi scripts that are in "/usr/local/nagios/sbin" have the following permissions: -rwxr-xr-x 1 nagios other 174472 Jan 24 18:02 avail.cgi -rwxr-xr-x 1 nagios other 169636 Jan 24 18:03 cmd.cgi -rwxr-xr-x 1 nagios other 137072 Jan 24 18:03 config.cgi -rw------- 1 nagios other 531840 Jan 28 19:47 core -rwxr-xr-x 1 nagios other 186928 Jan 24 18:03 extinfo.cgi -rwxr-xr-x 1 nagios other 149928 Jan 24 18:03 histogram.cgi -rwxr-xr-x 1 nagios other 129224 Jan 24 18:03 history.cgi -rwxr-xr-x 1 nagios other 125016 Jan 24 18:03 notifications.cgi -rw-r--r-- 1 nagios other 138 Jan 20 23:39 old-htaccess -rwxr-xr-x 1 nagios other 123452 Jan 24 18:03 outages.cgi -rwxr-xr-x 1 nagios other 124336 Jan 24 18:03 showlog.cgi -rwxr-xr-x 1 nagios other 176936 Jan 24 18:03 status.cgi -rwxr-xr-x 1 nagios other 157960 Jan 24 18:03 statusmap.cgi -rwxr-xr-x 1 nagios other 138224 Jan 24 18:03 statuswml.cgi -rwxr-xr-x 1 nagios other 137248 Jan 24 18:03 statuswrl.cgi -rwxr-xr-x 1 nagios other 144960 Jan 24 18:03 summary.cgi -rwxr-xr-x 1 nagios other 153568 Jan 24 18:03 tac.cgi -rwxr-xr-x 1 nagios other 152808 Jan 24 18:03 trends.cgi Are my permissions correct? Or should all the scripts in this directory be owned by user "nagios" and group "nobody" ? Also, I am logged into Nagios as "nagiosadmin" who has the following permissions on the cgi.cfg file: use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin If I have omitted some key info for someone to help me out, please let me know I will provide that information. I was also wondering whether the permission issues when trying to add a host or a service comment are do to Apache's suEXEC support ? Any help would be appreciated. Thanks all! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 18:48:14 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 11:48:14 -0600 Subject: mail notification and notification_interval In-Reply-To: References: <20040129211850.89834.qmail@restricted.dyndns.org> <20040130163552.70317.qmail@restricted.dyndns.org> <20040130164438.70980.qmail@restricted.dyndns.org> Message-ID: <20040130174814.75402.qmail@restricted.dyndns.org> Jason Martin writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'd suggest a normal interval of 5, retry interval of 1 and max attempts > of 2. That means you normally check every 5 minutes, but if there is a > failure it'll come back in 1 minute and check again. If that fails it'll > send a notifications. This gives you a max time-to-notify of ~ 6 minutes. > This is what you meant right? define service{ use generic-service ; Name of service template to use host_name freebsd service_description Apache Web Server is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 contact_groups bsd-admins notification_interval 5 notification_period 24x7 notification_options c,r check_command check_http_string!/test.txt!test!5!10 } ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 18:54:14 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 11:54:14 -0600 Subject: not authorized to commit the specified change In-Reply-To: References: Message-ID: <20040130175414.75855.qmail@restricted.dyndns.org> Thilanka writes: > > > "Sorry, but you are not authorized to commit the specified command. > Check the user that you used to log in. Check your apache password file. Make sure you create .htaccess in sbin folder. > > > Read the section of the documentation that deals with authentication and > > authorization in the CGIs for more information. > > > > Return from whence you came" > Hey guys, I saw a small issue when using guest account. If we try to execute a command, it will not allow us to do it. This is fine. But right on this webpage, where it says "Return from whence you came", there is a href or URL link. Once you click it, it goes back to the page. The issue is that, anything you click on the left pane(side.html), it will create a new window. Looks like, the earlier url I was refering didn't have an ANCHOR named "main". Can you verify this please? Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 18:57:43 2004 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Fri, 30 Jan 2004 12:57:43 -0500 Subject: check_log issues Message-ID: <6.0.0.22.2.20040130124845.027fd8c8@mail.acmecargo.com> I am having some issues working check_log into my Nagios 1.1 install. I am able to run the plugin manually, but when I run it through Nagios, the plugin reports it can't find the log file. RUNNING MANUALLY: libexec/check_log -F /var/log/HOSTS/ns2/ns2.syslog -O /tmp/ns2.syslog -q lame Log check ok - 0 pattern matches found NAGIOS: Log check error: Log file /var/log/HOSTS/ns2/ns2.syslog does not exist! CONFIGS: # 'check_log' command definition define command{ command_name check_log command_line $USER1$/check_log -F $ARG1$ -O $ARG2$ -q $ARG3$ } # Service definition define service{ use generic-service ; Name of service template to use host_name sysmon service_description LOGcheck TEST is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options n check_command check_log!/var/log/HOSTS/ns2/ns2.syslog!/tmp/ns2.syslog!lame } What am I doing wrong? Dylan ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Jan 30 19:05:02 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 30 Jan 2004 10:05:02 -0800 (PST) Subject: check_log issues In-Reply-To: <6.0.0.22.2.20040130124845.027fd8c8@mail.acmecargo.com> References: <6.0.0.22.2.20040130124845.027fd8c8@mail.acmecargo.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can the Nagios user read the source file? - -Jason Martin On Fri, 30 Jan 2004 nagios at acmecargo.com wrote: > I am having some issues working check_log into my Nagios 1.1 install. I am > able to run the plugin manually, but when I run it through Nagios, the > plugin reports it can't find the log file. > > RUNNING MANUALLY: > libexec/check_log -F /var/log/HOSTS/ns2/ns2.syslog -O /tmp/ns2.syslog -q lame > Log check ok - 0 pattern matches found > > NAGIOS: > Log check error: Log file /var/log/HOSTS/ns2/ns2.syslog does not exist! > > > CONFIGS: > > # 'check_log' command definition > define command{ > command_name check_log > command_line $USER1$/check_log -F $ARG1$ -O $ARG2$ -q $ARG3$ > } > > # Service definition > define service{ > use generic-service ; Name of > service template to use > host_name sysmon > service_description LOGcheck TEST > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 2 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options n > check_command > check_log!/var/log/HOSTS/ns2/ns2.syslog!/tmp/ns2.syslog!lame > } > > > What am I doing wrong? > > Dylan > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFAGpzWl2ODWuqVSBMRAv2FAJwNR8m/BpM6K1DjVWDAjiWhUDRbyACghDcP Q31CbHhaJ0q409Qd04Aghvk= =z6/a -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sfdata.net Fri Jan 30 19:09:49 2004 From: karl at sfdata.net (Karl R. Balsmeier) Date: Fri, 30 Jan 2004 10:09:49 -0800 (PST) Subject: NT Disk Monitoring, OpenBSD Disk Monitoring, 3D Status Message-ID: <12942.216.175.104.108.1075486189.squirrel@www.sfdata.net> Howdy, These are but two of the OS's i've been tasked to monitor the disks for. On NT, I get a result that says "connection refused by host". Should I create a nagios user that matches my existing NT/2000 account? Or is this some kind of internal route/proxy error? It's a large network. On OpenBSD, it's saying "disk not mounted or nonexistant", yet when I do a df, there's /dev/wd0a. Should I trim it to wd0? -------- I built this nagios setup on an openbsd 3.0 machine, and 3D status map doesn't work, any suggestions? Right now it tries to save the status.wrl as a file instead of parsing it. That tells me I need to activate something other than the php I already have running, right? What would that be? VRML? -- Karl R. Balsmeier Senior Systems Engineer SFDATA.NET, LLC Mobile 415.608.2681 Office: 415.396.0302 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 19:06:41 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 12:06:41 -0600 Subject: check_log issues In-Reply-To: <6.0.0.22.2.20040130124845.027fd8c8@mail.acmecargo.com> References: <6.0.0.22.2.20040130124845.027fd8c8@mail.acmecargo.com> Message-ID: <20040130180641.76725.qmail@restricted.dyndns.org> Additional: 1. Is this check_log similar to tail command wherein it only checks the last entry? If so, how does it takes care of log rotation? 2. What if we want to check_log something on the remote? Do I also use nrpe? Thanks. nagios at acmecargo.com writes: > I am having some issues working check_log into my Nagios 1.1 install. I am > able to run the plugin manually, but when I run it through Nagios, the > plugin reports it can't find the log file. > > RUNNING MANUALLY: > libexec/check_log -F /var/log/HOSTS/ns2/ns2.syslog -O /tmp/ns2.syslog -q > lame > Log check ok - 0 pattern matches found > > NAGIOS: > Log check error: Log file /var/log/HOSTS/ns2/ns2.syslog does not exist! > > > CONFIGS: > > # 'check_log' command definition > define command{ > command_name check_log > command_line $USER1$/check_log -F $ARG1$ -O $ARG2$ -q $ARG3$ > } > > # Service definition > define service{ > use generic-service ; Name of > service template to use > host_name sysmon > service_description LOGcheck TEST > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 2 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options n > check_command > check_log!/var/log/HOSTS/ns2/ns2.syslog!/tmp/ns2.syslog!lame > } > > > What am I doing wrong? > > Dylan > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Fri Jan 30 19:20:18 2004 From: networks at wi.rr.com (Networks) Date: 30 Jan 2004 12:20:18 -0600 Subject: ldap plugins In-Reply-To: <20040128011211.15603.qmail@minnow.softflare.net> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> <20040127182857.GS14142@marilyn> <1075238225.11720.2.camel@elijah> <20040128011211.15603.qmail@minnow.softflare.net> Message-ID: <1075486818.16131.1.camel@elijah> I got the ldap plugin installed, and have a working version of an ldap client which I can do a search against the windows ad server. The problem I am having is getting the plugin to work. Does anyone have examples of what the command should look like? I have tried entering the information on the command line to do a check but it just errors with unable to parse arguments, maybe there's something simple i'm missing here. Any help is appreciated. Thanks again guys, Josh On Tue, 2004-01-27 at 19:12, Paul L. Allen wrote: > Networks writes: > > > Has anyone have plugins setup for checking to make sure an ldap servcer > > is available and responding? > > Check_tcp will check that the ldap server is awake enough to actually > allow incoming connections, which may be all you need. The additional > send/expect options would allow you to probe a little deeper than that. > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Jan 30 19:18:22 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 30 Jan 2004 10:18:22 -0800 (PST) Subject: check_log issues In-Reply-To: <20040130180641.76725.qmail@restricted.dyndns.org> References: <6.0.0.22.2.20040130124845.027fd8c8@mail.acmecargo.com> <20040130180641.76725.qmail@restricted.dyndns.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 check_log is a shell script so should be fairly easy to examine. > > 1. Is this check_log similar to tail command wherein it only checks the last > entry? If so, how does it takes care of log rotation? I believe it only checks data past the last invocation. > 2. What if we want to check_log something on the remote? Do I also use nrpe? Yes. - -Jason Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAGqAYl2ODWuqVSBMRApjsAJ4nSRUSDeygEXuNULqPYUF4wRCk9gCglbYs WWNy/qg6VAEyt+YQ+FxJG7E= =SqsJ -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eqescribano at yahoo.es Fri Jan 30 12:45:53 2004 From: eqescribano at yahoo.es (=?iso-8859-1?q?EmiQ?=) Date: Fri, 30 Jan 2004 12:45:53 +0100 (CET) Subject: UNKNOWN status for check_ping based service Message-ID: <20040130114553.75972.qmail@web25209.mail.ukl.yahoo.com> Hi everybody. I have installed Nagios 1.1 with standar plugins version 1.3.1 and gd library 2.0.21, in a server Nec Express5800 with Red Hat 9. I have created some services 'alive' based in check_ping command, to see if the hosts are up or not. Well, it seems easy, but it doesn't operate properly... the service status is UNKNOWN (orange) and the status information is: PING UNKNOWN - Packet loss = 0%, RTA = 1.60ms So the host remain in 'UNREACHABLE' or 'DOWN' status with PING UNKNOWN status information too, because I suppose check-host-alive has a similar problem. I don't think the problem is about main configuration because other checks in different hosts (check_ldap, check_tcp, check_dns and check_smpt) are going OK. I reach without problems the servers by ping (as root and nagios user). I have probe check_ping at command line using the same arguments nagios is using, and I have the same result ... PING UNKNOWN. Also, I have recompiled and reinstall the plugins and I have put ping and check_ping with SUID root... I don't have more ideas and I don't know what I'm not doing right.... PLEASE HELP! Thanks in advance. E. ___________________________________________________ Yahoo! Messenger - Nueva versi?n GRATIS Super Webcam, voz, caritas animadas, y m?s... http://messenger.yahoo.es ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thilanka at sbcglobal.net Fri Jan 30 19:30:17 2004 From: thilanka at sbcglobal.net (Thilanka) Date: Fri, 30 Jan 2004 18:30:17 +0000 (UTC) Subject: not authorized to commit the specified change References: <20040130175414.75855.qmail@restricted.dyndns.org> Message-ID: Neil restricted.dyndns.org> writes: > > I saw a small issue when using guest account. I am not using the guest account feature so I cannot verify this. Sorry. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 05:28:08 2004 From: mtucker at airmail.net (Michael Tucker) Date: Wed, 28 Jan 2004 22:28:08 -0600 Subject: Plugins In-Reply-To: References: Message-ID: <8A42C948-5213-11D8-A811-0030657DF28A@airmail.net> On Wednesday, January 28, 2004, at 10:13 AM, Thilanka wrote: > I posted this question but I have not seen it on the mailing list. > Hopefully > this is not dumb question even. Do you have to compile the plugins on > the > remote hosts or can you just copy the plugins that you have compiled > on the > nagios host and put them in a directory (e.g. > /usr/local/nagios/libexec) Now, I > am thinking that plugins will have to compiled on the remote host in > order for > it to make it compatible with OS of the remote host, but the on the > otherhand > if you have to compile the plugins on the remote host wihtout copying > them from > the Nagios host, I can see some admins frowning on that idea if the > remote host > is in production. Can someone please clear this out for me? Thank you > for all > your help. This is the second attempt at posting this question. I hope > there > are no filters to filter out dumb questions, in case this is a dumb > one. > > Thilanka > Thilanka, I'm pretty sure that I saw a couple of replies to your question. I have deleted them, but the answer to your question is this: If the machine you compile them on, and the machine you copy them to, are *exactly* the same type of hardware (Intel, Sun, whatever) running *exactly* the same operating system with *exactly* the same level of patches, and *exactly* the same shared libraries installed, and *exactly* the same version of Perl (for those plugins that depend on Perl), then... and usually *only* then... you can simply copy the binaries over from the machine you compiled them on (a development machine, for example) to the machine you want to monitor (a production machine, for example). However, if the hardware architecture is different, or the operating systems, patches, shared libraries and other dependencies (such as Perl) aren't *exactly* the same, then your plugins aren't going to work (or, at best, will try to work but won't run correctly). If the hardware is the same (Intel, for example), but the operating systems are different (Linux on one, Windows 2000 on the other), then it isn't going to work. If the hardware is different, forget it; it isn't going to work. My theory on dumb questions, by the way: it's better to ask them, than to do something stupid. Better yet, do a little independent research. Not to put you down, but your question indicates that you don't know much about how computers work, and for some reason have been stuck with having to figure out how to make Nagios work (which demands an extremely high and comprehensive understanding of how computers, operating systems and networks work). That's a big step for you to have to make, and you have my sympathy. I would seriously suggest that you take a course at your local university or college in computer fundamentals. And read some books. I highly recommend any books by O'Reilly (http://www.oreilly.com/). You might start with a general book on Unix, such as "Learning Red Hat Linux" (O'Reilly), or "Unix System Administration Handbook" (Prentice Hall). Then this stuff will make a lot more sense to you. And you won't have to ask dumb questions. :-) Good luck to you. We were all new at this once upon a time. Yours, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwhuff at ucdavis.edu Thu Jan 29 20:09:30 2004 From: rwhuff at ucdavis.edu (Ron Huff) Date: Thu, 29 Jan 2004 11:09:30 -0800 Subject: Nagios Notifications In-Reply-To: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> References: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> Message-ID: <200401291909.i0TJ9wtQ028824@pop17.ucdavis.edu> ...Never Mind... I just didn't look closely enough at the 'command_line' printf...I see what this is doing now (pipe to /bin/mail); now that I have my 'contacts' info setup, I should get something out of this...sorry for the lame mail below... - Ron Huff / UCD NOC On Thursday 29 January 2004 10:24 am, you wrote: > I'm one of those implementors that does not come from a System > Administration background. I've successfully implemented much of > the nagios monitoring system, but I'm having trouble with Notifications. > > I need help just setting up a simple notification command to use sendmail. > I have sendmail functioning at the most basic level (I can send myself > mail). > > Would someone send me a simple, 'command_line' for the checkcommands.cfg > file that uses sendmail...the sample configs just invoke 'printf' ...I just > need a little boost over this hurdle, rather than spending days digging > thru sendmail docs... > - Ron Huff / UCD NOC ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Jan 30 20:42:44 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 30 Jan 2004 13:42:44 -0600 Subject: Plugins In-Reply-To: <8A42C948-5213-11D8-A811-0030657DF28A@airmail.net> References: <8A42C948-5213-11D8-A811-0030657DF28A@airmail.net> Message-ID: <1075491764.13515.264.camel@localhost> On Wed, 2004-01-28 at 22:28, Michael Tucker wrote: > However, if the hardware architecture is different, or the operating > systems, patches, shared libraries and other dependencies (such as > Perl) aren't *exactly* the same, then your plugins aren't going to work > (or, at best, will try to work but won't run correctly). That's just plain not true. I run several 'patchlevels' of RedHat9, and I only compile my plugins once on an RH9 machine. I run stuff compiled on/for RedHat on Mandrake all the time. When there's an RPM, but not for your platform, you sometimes have to just use what they give you. For example, I run Yahoo! Messenger (because GAIM is broken right now) on the same Mandrake 10 (cooker) workstation I'm emailing this message from. Now, if you go to http://messenger.yahoo.com/ you'll see that there is no Mandrake distribution. How does it work, then? Microcom. Microcom comes pre-compiled for Mandrake 6.0! It runs FINE on Mandrake 10. I re-compiled it for my machine, but I ran it for about an hour with the pre-compiled version because I was in a hurry. So, you're really just spreading FUD. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 20:41:19 2004 From: grunky at rockriver.net (Roger) Date: Fri, 30 Jan 2004 13:41:19 -0600 Subject: icons per group Message-ID: <401AB35F.6060405@rockriver.net> I'm putting image statements in hostextinfo.cfg This works and the icons used to change - however I'm wondering if you can do this on a group basis? I've put the name of the template in for the host_name in hostextinfo.cfg but that doesn't change the icon of any group member. define hostextinfo{ host_name core <- name of template in hosts.cfg icon_image cisco7206.jpg icon_image_alt Core Router vrml_image cisco7206.jpg statusmap_image cisco7206.jpg 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 05:42:27 2004 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Fri, 30 Jan 2004 17:42:27 +1300 Subject: Nagios Notifications In-Reply-To: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> References: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> Message-ID: <1075437747.4362.153.camel@pcsimon.ecnnz.ecnetwork.co.nz> On Fri, 2004-01-30 at 07:24, Ron Huff wrote: > I'm one of those implementors that does not come from a System > Administration background. I've successfully implemented much of > the nagios monitoring system, but I'm having trouble with Notifications. > > I need help just setting up a simple notification command to use sendmail. > I have sendmail functioning at the most basic level (I can send myself mail). > > Would someone send me a simple, 'command_line' for the checkcommands.cfg > file that uses sendmail...the sample configs just invoke 'printf' ...I just > need a little boost over this hurdle, rather than spending days digging thru > sendmail docs... I think you'll find the command in "misccommands.cfg" is using printf to generate the *body* of the email, and piping this to the mail command: printf "email body" | /bin/mail -s "..subject.." rwhuff at ucdavis.edu The /bin/mail app can act as a front-end to sendmail, ie it just does some munging of parameters and invokes sendmail. It should "just work" (tm) with sendmail without any problems. Try "man mail" and ignore all the doco on interactive use. Regards, Simon ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 21:45:05 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 14:45:05 -0600 Subject: another question Message-ID: <20040130204505.87691.qmail@restricted.dyndns.org> Hey guys, How will I monitor Application, Security and System in Event Viewer/Microsoft Windows? In my Event Viewer now, I see different types in TYPE column (ie: Information, Warning, Error, Failure Audit, etc). What about checking Microsoft SQL by logging in to the database? Thanks. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.wilhelm at frontiercorp.com Fri Jan 30 22:24:07 2004 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Fri, 30 Jan 2004 16:24:07 -0500 Subject: Help: Distributed Server Configuration Message-ID: <5070FD2FA9CF484C883AC33034027E6A11496F24@nyrofcs2kexch01.east.frontiercorp.com> Hello nagios users, I need some help. I am trying to get a distributed server configured and working. I have followed the instruction in the documentation completely. Everything is working with the exception of the submit_check_result. If I submit results manually with submit_check_result script, the central Nagios server receives the results. The Nagios core is not executing the submit_check_result command for some reason. Nagios on the distributed server is actively checking all services/hosts it should and loging the results to status.log and nagios.log. It just is not sending it so the central server. Central server is running Nagios 1.0. I orginally started with Nagios 1.1 on the distributed server but went back to Nagios 1.0 thinking it was a possible version problem (I have not seen any such problem listed on the nagios-users list). Out put of my configuration. # submit_check_result command definition define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' '$SERVICESTATE$' '$OUTPUT$' } #nagios.cfg enable_notifications=0 execute_service_checks=1 obsess_over_services=1 ocsp_command=submit_check_result submit_check_result is owned by nagios:nagios with 777 permissions. I tried with 755 as well, no such luck. I used the submit_check_result script from the documention. Via command line it works. Am I missing anything? Is there anything else I should check. Thanks in advanced for your help, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Jan 29 21:24:09 2004 From: marc at ena.com (Marc Powell) Date: Thu, 29 Jan 2004 14:24:09 -0600 Subject: Maximum in hostgroup? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1EA@mismail2.ena.com> On Thursday, January 29, 2004 2:05 PM, TIM MOORE shared with us: > Is it possible that those files are not for template-based > configuration. Maybe the definition needs to be set in the > xedtemplate_config_file. Let me look into it. Xodtemplate.h is the one you need. xedtemplate.h is for extended data files, xodtemplate.h is for object data files. [root at gemini xdata]# pwd /usr/local/src/nagios-1.1/xdata [root at gemini xdata]# ls -l xodtemplate.h -rw-rw-r-- 1 nagios nagios 15887 Oct 2 16:50 xodtemplate.h [root at gemini xdata]# grep MAX_XODTEMPLATE_INPUT_BUFFER xodtemplate.h #define MAX_XODTEMPLATE_INPUT_BUFFER 49152 -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jan 29 18:58:14 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 29 Jan 2004 11:58:14 -0600 Subject: projected/recommended service check option In-Reply-To: <20040128220043.85322.qmail@restricted.dyndns.org> References: <20040128220043.85322.qmail@restricted.dyndns.org> Message-ID: <1075399094.13515.72.camel@localhost> On Wed, 2004-01-28 at 16:00, Neil wrote: > I tried nagios -s nagios.cfg and it gives me this. > I don't know why I am just still having a 12 in recommended value. I already > installed it on a 1 gig memory. And I am just monitoring 74 services for > now. What are the things that I need to tweak so I can have a good > max_concurrent_checks value? > If someone again can send there .cfg files, it will be awesome. This will > give me an idea what things I am doing wrong. Run 'grep -v "^#" nagios.cfg |grep -v "^$"' and send that over and I (and maybe others) will have a look at it for you. (that just strips out the comments and blank lines - makes it plenty short for mailing list posting.) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 20:47:46 2004 From: marc at ena.com (Marc Powell) Date: Thu, 29 Jan 2004 13:47:46 -0600 Subject: Maximum in hostgroup? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1E9@mismail2.ena.com> On Thursday, January 29, 2004 7:26 AM, TIM MOORE shared with us: > I just figured out that I cannot add more than 288 devices to any one > hostgroup. If I do, the config file errors out. I am running > version 1.1. I would assume this is a limitation with Nagios. It's not a device limit but a character input limit. The max number of characters to be read from each line of the config files is defined in xdata/xodtemplate.h. The default value is either 4096 or 8192 characters (I can't remember off the top of my head which). I've increased mine to 49152 and I'm supporting some very large hostgroups (> 750 hosts), but YMMV -- #define MAX_XODTEMPLATE_INPUT_BUFFER 49152 -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 23:10:54 2004 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Fri, 30 Jan 2004 15:10:54 -0700 Subject: NT Disk Monitoring, OpenBSD Disk Monitoring, 3D Status In-Reply-To: <12942.216.175.104.108.1075486189.squirrel@www.sfdata.net> References: <12942.216.175.104.108.1075486189.squirrel@www.sfdata.net> Message-ID: <401AD66E.4050207@unixisgod.com> What plugins/addons are you using to do your checks? This could be done via SNMP or probably NRPE, maybe other stuff. Jeff Karl R. Balsmeier wrote: > Howdy, > > These are but two of the OS's i've been tasked to monitor the disks for. > > On NT, I get a result that says "connection refused by host". Should I > create a nagios user that matches my existing NT/2000 account? Or is this > some kind of internal route/proxy error? It's a large network. > > On OpenBSD, it's saying "disk not mounted or nonexistant", yet when I do a > df, there's /dev/wd0a. Should I trim it to wd0? > > -------- > I built this nagios setup on an openbsd 3.0 machine, and 3D status map > doesn't work, any suggestions? Right now it tries to save the status.wrl as > a file instead of parsing it. That tells me I need to activate something > other than the php I already have running, right? What would that be? VRML? > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbara.schelkle at undp.org Fri Jan 30 23:48:02 2004 From: barbara.schelkle at undp.org (Barbara Schelkle) Date: Fri, 30 Jan 2004 17:48:02 -0500 Subject: schedule downtime without extinfo.cgi Message-ID: Hi, how would I configure a planned downtime for some services without using the CGI? I haven't enabled the possibility to send commands to Nagios via the command CGI and don't want to. I suppose there must be a way to configure that by editing one of the configuration scripts, but couldn't figure out how to do that. Thank you, Barbara -- Barbara Schelkle +1 (212) 906-5070 PGP Key fingerprint = F3D9 19D7 D75F 4810 8D7A 78D5 5158 095B D644 6CC9 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at localguru.de Thu Jan 29 11:04:20 2004 From: lists at localguru.de (Marcus Schopen) Date: Thu, 29 Jan 2004 11:04:20 +0100 Subject: ping packet size (-s option as normal user) In-Reply-To: <1075197860.10913.6.camel@dresden.eurodata.de> References: <40161D9D.7090401@localguru.de> <1075197860.10913.6.camel@dresden.eurodata.de> Message-ID: <4018DAA4.8040206@localguru.de> Andreas Koch wrote: > You must edit the check_ping > > Check_ping can't try the option "-s" > > You can edit your check_marcus_ping: > > #!/bin/sh > > /bin/ping -s 2048 $1 > > and the right exitstatus what you want I did change it in plugins/config.h and rebuilt the plugins. Now ping runs without -s option Thanks, Marcus ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sat Jan 31 00:19:14 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 30 Jan 2004 15:19:14 -0800 (PST) Subject: schedule downtime without extinfo.cgi In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If it is a recurring downtime you can set up a check period that excludes the downtime, otherwise you have to echo something into the external command file. - -Jason Martin On Fri, 30 Jan 2004, Barbara Schelkle wrote: > Hi, > how would I configure a planned downtime for some services without > using the CGI? > I haven't enabled the possibility to send commands to Nagios via the > command CGI and don't want to. > I suppose there must be a way to configure that by editing one of the > configuration scripts, but couldn't figure out how to do that. > Thank you, > Barbara > > -- > Barbara Schelkle +1 (212) 906-5070 > PGP Key fingerprint = F3D9 19D7 D75F 4810 8D7A 78D5 5158 095B D644 > 6CC9 > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/ iD8DBQFAGuZ6l2ODWuqVSBMRAl/CAJ92DFR/V7ydzVXoRishK/TN75IawACffVPG Aec6oqxdXJpXIN0z6TGVElY= =9KJX -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 08:54:40 2004 From: jrhett at isite.net (Joe Rhett) Date: Thu, 29 Jan 2004 23:54:40 -0800 Subject: Nagios Notifications In-Reply-To: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> References: <200401291824.i0TIObtQ002781@pop17.ucdavis.edu> Message-ID: <20040130075440.GA6412@isite.net> On Thu, Jan 29, 2004 at 10:24:09AM -0800, Ron Huff wrote: > Would someone send me a simple, 'command_line' for the checkcommands.cfg > file that uses sendmail...the sample configs just invoke 'printf' ...I just > need a little boost over this hurdle, rather than spending days digging thru > sendmail docs... The printf commands are piped to /usr/bin/mail Let me guess -- are you using Solaris? If so, pipe to /usr/bin/mailx instead. The printf()s will work fine. Just fix the part that you are piping it to. If you're still confused, send me a command line that you use to send mail (subject and sender and all) and I'll give you back a line for the misccommands.cfg. FYI: /usr/bin|lib/sendmail isn't what you want to invoke to send mail. You want to use a front-end program like "mail" or "mailx" or something so that you can customize headers and all that noise. They invoke sendmail for you. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 sfdata.net Sat Jan 31 01:41:44 2004 From: karl at sfdata.net (Karl R. Balsmeier) Date: Fri, 30 Jan 2004 16:41:44 -0800 (PST) Subject: NT Disk Monitoring: Part 2, nrpe,nrpe2,nrpe_nt In-Reply-To: <20040130183343.78713.qmail@restricted.dyndns.org> References: <20040130183343.78713.qmail@restricted.dyndns.org> Message-ID: <13852.216.175.104.108.1075509704.squirrel@www.sfdata.net> Actually, i've not configured this just yet, any links specific to monitoring NT/2000 hosts in the enterprise would be much appreciated. -krb > Karl R. Balsmeier writes: > >> Howdy, >> >> These are but two of the OS's i've been tasked to monitor the disks >> for. >> >> On NT, I get a result that says "connection refused by host". Should >> I create a nagios user that matches my existing NT/2000 account? Or >> is this some kind of internal route/proxy error? It's a large >> network. > > How are you monitoring the disk, is it via NRPE_NT? If so, try this. > From the nagios machine's console/prompt, do the command below: > > telnet "IP_OF_NT_THAT_RUNS_NRPE" 5666 > > You should get similar output below: > > [root at nagios etc]# telnet 10.156.188.159 5666 > Trying 10.156.188.159... > Connected to 10.156.188.159. > Escape character is '^]'. > > If you didnt get a connection, go to the NT machine and do this: > > netstat -na|find "5666" > > The output should contain LISTENING and so on. > > If there was an output, I could say that are some devices that's > filtering that traffic such as firewall. > > Just my 2 cents. >> >> On OpenBSD, it's saying "disk not mounted or nonexistant", yet when I >> do a df, there's /dev/wd0a. Should I trim it to wd0? >> >> -------- >> I built this nagios setup on an openbsd 3.0 machine, and 3D status map >> doesn't work, any suggestions? Right now it tries to save the >> status.wrl as a file instead of parsing it. That tells me I need to >> activate something other than the php I already have running, right? >> What would that be? VRML? > > I used cortvrml plugin for IE or Netscape. :) It saves it because you > don't have the plugin. -- Karl R. Balsmeier Senior Systems Engineer SFDATA.NET, LLC Mobile 415.608.2681 Office: 415.396.0302 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Fri Jan 30 00:31:48 2004 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Thu, 29 Jan 2004 18:31:48 -0500 Subject: Multiple services with the same service_description directive s Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF03733640@inex1.herffjones.hj-int> Yes, Noah, it's safe to duplicate your descriptions. I've always done that. Did you cc me on your message because you thought your response was an answer to what I was asking about? If so then I wasn't clear enough in my own question. :-) I was asking about an exception clause for service definitions - ie without such a clause the only way to apply the same service description to all members of a hostgroup except one would be to apply the service to each host in that group separately. In the case of your example below, imagine if "wan-us" included a host named "router-chicago" which needed a different check_command. The only options you have for applying a ping command to everything in the "wan-us" group EXCEPT "router-chicago" is to create one "Ping Test" service description per host or to create a new group that includes everything in "wan-us" except "router-chicago". Now imagine that "wan-us" is 200 devices, only one of which needs a different check_command. Having to expand that group and apply the services to hosts instead of hostgroups just made your config file about 100 times the size it would have been if there had only been an "except" clause. :-( -- Trever > -----Original Message----- > From: Noah Leaman [mailto:noah at mac.com] > Sent: Thursday, January 29, 2004 12:08 AM > To: nagios-users at lists.sourceforge.net > Cc: Furnish, Trever G > Subject: Multiple services with the same service_description > directives > > > Is this a safe? It seems to work. I don't see anything > mentioned in the > Object Inheritance or the Time-Saving Tricks For > Template-Based Object > Definitions sections of the docs > (http://nagios.sourceforge.net/docs/1_0/templatetricks.html and > http://nagios.sourceforge.net/docs/1_0/templatetricks.html). It seems > though it's a result of template object inheritance. > > define service { > use generic-service-template > service_description Ping Test > hostgroup_name wan-us,lan-us > check_command check_ping!200.0,50%!1000.0,90% > } > define service { > use generic-service-template > service_description Ping Test > hostgroup_name lan-euro,wan-euro > check_command check_ping!3000.0,80%!5000.0,100% > } > > < From the nagios docs > > This directive is used to define the description of the > service, which > may contain spaces, dashes, and colons (semicolons, apostrophes, and > quotation marks should be avoided). No two services > associated with the > same host can have the same description. Services are uniquely > identified with their host_name and service_description directives. > > > So it works as long as one host is assigned to both services of the > same description... which does makes sense. But knowing that "No two > services associated with the same host can have the same > description," > I find it useful to "reuse" service descriptions across multiple > definitions. > > For example, I can set up an SNMP based service for routers that have > different read community strings: > > define service { > use generic-service-template > service_description Uptime > hostgroup_name wan-us,lan-us > check_command check_snmp_uptime!ReadCommunity1 > } > define service { > use generic-service-template > service_description Uptime > hostgroup_name wan-us,lan-us > check_command check_snmp_uptime!ReadCommunity2 > } > define service { > use generic-service-template > service_description Uptime > hostgroup_name wan-asia,lan-asia > check_command check_dummy > active_checks_enabled 0 > } > > The cool thing here is that I don't have to change the service > description for what is essentially the same service check (even for > the passive checks I have being done on a distribution > server). So they > all show up with the same sevice desc even though they are configured > slightly differently. > > Is this a safe or am I going to run into problems? > > -- > Noah > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 03:12:50 2004 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 29 Jan 2004 20:12:50 -0600 Subject: feature suggestion / can I already do this? In-Reply-To: <8FFC76593085ED4A80D3601BC41EFCDF0373363E@inex1.herffjones.hj-int> References: <8FFC76593085ED4A80D3601BC41EFCDF0373363E@inex1.herffjones.hj-int> Message-ID: <40196942.2629.175A57C@localhost> A couple of people have requested this feature, so I just added it into the 2.0 code - should be in CVS shortly. You'll be able exclude hosts, hostgroups, service and servicegroups in various object definitions. Here's an example... define service{ service_description PING hostgroup_name windows-boxes,all-linux-servers,!linux-webservers host_name somehost,!thishost,anotherhost ... } On 28 Jan 2004 at 18:22, Furnish, Trever G wrote: > I'll admit that since installing 1.0 I've stopped paying very close > attention to Nagios development, so if this is already available (in > 1.x or 2), please excuse me... > > It would be very useful to be able to say "except" when applying > services to hostgroups. > > For example, I have about 30 DNS servers, all of which I want to apply > several services to ... except one. For that one, I run a different > check command. > > Because of that ONE host's difference, I have to apply the service > check separately to all of the hosts in the group, effectively > removing the major management benefit of being able to apply services > to hostgroups. It would be sooo much nicer to simply have one service > definition applied to the group, with an exception for that one host, > so that I could follow that definition up with another one that > applied only to that host. > > I realize it's awfully late for 2.0 feature requests, but this seems > like a *very* easy thing to code - just add a step that removes > exceptions from the list of hosts before applying a given service > definition. > > If there's already a way to do that, then please tell me and I'll be > both suitably chagrined and ecstaticallly happy. :-) > > -- > Trever > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 04:59:03 2004 From: skip at pobox.com (Skip Montanaro) Date: Thu, 29 Jan 2004 21:59:03 -0600 Subject: updating Nagios config manually with NagMIN In-Reply-To: <1075303160.1910.7.camel@localhost.localdomain> References: <1075289778.1910.1.camel@localhost.localdomain> <1075302822.13515.31.camel@localhost> <1075303160.1910.7.camel@localhost.localdomain> Message-ID: <16409.54919.942425.382094@montanaro.dyndns.org> Matthew> My script currently adds new hosts and associated stuff. Due Matthew> to the rather dynamic nature of our clients and our satellite Matthew> terminals we have a need to frequently update hostnames and IP Matthew> addresses in nagios. As my role is effectively as an external Matthew> consultant and I'm not in the office, I currently handle Matthew> updates on a weekly basis. My boss would like to be able to do Matthew> minor updates in the office, which means we need NagMIN (as Matthew> those doing the updates will be non-tech/non-sysadmin people) We use NagMIN. When I have a large number of changes or a wide-ranging change I simply dump the SQL, edit the SQL directly and reload it. I wish NagMIN allowed me to lock the database so I could do that safely. You should have it easier. Just rewrite your scripts to interact with MySQL instead of fiddling the config files. -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://spambayes.sf.net/ skip at pobox.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Thu Jan 29 14:05:23 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Thu, 29 Jan 2004 08:05:23 -0500 Subject: Maximum in hostgroup? Message-ID: Is there a maximum number of hosts that can be in one group? I addedd all the switches (a few hundred probably) and nagios config errors out saying: Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 134. It doesn't say what is causing it to error. I even added the hosts through Nagat which pulls directly from the hosts.cfg file and still it won't accept them. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Thu Jan 29 21:06:38 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Thu, 29 Jan 2004 15:06:38 -0500 Subject: Maximum in hostgroup? Message-ID: Another guy just wrote me and told me it was a line limit not a count. He said to change the default amount in the xdata/xodtemplate.h file. However, I can't find that file on the box. I think it might be associated with object based config rather than template based. I wonder if it should be defined in the xedtemplate config that you can create. I will do some looking. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS >>> jeff vier 01/29/04 03:01PM >>> On Thu, 2004-01-29 at 07:26, TIM MOORE wrote: > I just figured out that I cannot add more than 288 devices to any one hostgroup. If I do, the config file errors out. I am running version 1.1. I would assume this is a limitation with Nagios. Are you sure it's the number of hosts and not a line-length limit? See if you can exchange one longer-named-host for two with shorter names :) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Sat Jan 31 02:42:55 2004 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Fri, 30 Jan 2004 20:42:55 -0500 Subject: feature suggestion / can I already do this? Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF02A6089A@inex1.herffjones.hj-int> THANK YOU THANK YOU THANK YOU!!! :-) > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] > Sent: Thursday, January 29, 2004 9:13 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] feature suggestion / can I > already do this? > > > A couple of people have requested this feature, so I just added it > into the 2.0 code - should be in CVS shortly. You'll be able exclude > hosts, hostgroups, service and servicegroups in various object > definitions. Here's an example... > > define service{ > service_description PING > hostgroup_name > windows-boxes,all-linux-servers,!linux-webservers > host_name > somehost,!thishost,anotherhost > ... > } > > > On 28 Jan 2004 at 18:22, Furnish, Trever G wrote: > > > I'll admit that since installing 1.0 I've stopped paying very close > > attention to Nagios development, so if this is already available (in > > 1.x or 2), please excuse me... > > > > It would be very useful to be able to say "except" when applying > > services to hostgroups. > > > > For example, I have about 30 DNS servers, all of which I > want to apply > > several services to ... except one. For that one, I run a different > > check command. > > > > Because of that ONE host's difference, I have to apply the service > > check separately to all of the hosts in the group, effectively > > removing the major management benefit of being able to > apply services > > to hostgroups. It would be sooo much nicer to simply have > one service > > definition applied to the group, with an exception for that > one host, > > so that I could follow that definition up with another one that > > applied only to that host. > > > > I realize it's awfully late for 2.0 feature requests, but this seems > > like a *very* easy thing to code - just add a step that removes > > exceptions from the list of hosts before applying a given service > > definition. > > > > If there's already a way to do that, then please tell me and I'll be > > both suitably chagrined and ecstaticallly happy. :-) > > > > -- > > Trever > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 22:28:54 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 29 Jan 2004 15:28:54 -0600 Subject: projected/recommended service check option In-Reply-To: <1075411638.13515.89.camel@localhost> References: <20040128220043.85322.qmail@restricted.dyndns.org> <1075399094.13515.72.camel@localhost> <20040129211326.89483.qmail@restricted.dyndns.org> <1075411638.13515.89.camel@localhost> Message-ID: <20040129212855.90542.qmail@restricted.dyndns.org> Looks like there is something wrong on the Nagios mailing list server. I tried sending other emails last night and still hasn't been posted. Anyways, can you show me your nagios -s nagios.cfg output please? Thanks. jeff vier writes: > On Thu, 2004-01-29 at 15:13, Neil wrote: >> I also took out lines that are just paths. Here it is. > > Looks pretty much like mine. > here's the differences (in a kind of mangled diff -u format): > --- you > +++ me > -log_event_handlers=1 > +log_event_handlers=0 > -log_initial_states=0 > +log_initial_states=1 > -max_concurrent_checks=15 > +max_concurrent_checks=150 > -service_reaper_frequency=10 > +service_reaper_frequency=15s > -retention_update_interval=60 > +retention_update_interval=14 > -use_retained_program_state=0 > +use_retained_program_state=1 > -process_performance_data=0 > +process_performance_data=1 > -check_for_orphaned_services=0 > +check_for_orphaned_services=1 > -freshness_check_interval=60 > +freshness_check_interval=300 > -aggregate_status_updates=1 > +aggregate_status_updates=0 > > >> Actually, below is how it looks now. I found out after tweaking >> service_reaper_frequency and interval_lenght. I even got it to a recommended >> value of 186. :) But I don't know if it's good for a production monitoring >> server. So I brought it down just to 15. > > I'd jack it up to 150 :) > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noah at mac.com Thu Jan 29 06:08:26 2004 From: noah at mac.com (Noah Leaman) Date: Wed, 28 Jan 2004 21:08:26 -0800 Subject: Multiple services with the same service_description directives Message-ID: <2B6CDC6F-5219-11D8-A967-00039345125C@mac.com> Is this a safe? It seems to work. I don't see anything mentioned in the Object Inheritance or the Time-Saving Tricks For Template-Based Object Definitions sections of the docs (http://nagios.sourceforge.net/docs/1_0/templatetricks.html and http://nagios.sourceforge.net/docs/1_0/templatetricks.html). It seems though it's a result of template object inheritance. define service { use generic-service-template service_description Ping Test hostgroup_name wan-us,lan-us check_command check_ping!200.0,50%!1000.0,90% } define service { use generic-service-template service_description Ping Test hostgroup_name lan-euro,wan-euro check_command check_ping!3000.0,80%!5000.0,100% } < From the nagios docs > This directive is used to define the description of the service, which may contain spaces, dashes, and colons (semicolons, apostrophes, and quotation marks should be avoided). No two services associated with the same host can have the same description. Services are uniquely identified with their host_name and service_description directives. So it works as long as one host is assigned to both services of the same description... which does makes sense. But knowing that "No two services associated with the same host can have the same description," I find it useful to "reuse" service descriptions across multiple definitions. For example, I can set up an SNMP based service for routers that have different read community strings: define service { use generic-service-template service_description Uptime hostgroup_name wan-us,lan-us check_command check_snmp_uptime!ReadCommunity1 } define service { use generic-service-template service_description Uptime hostgroup_name wan-us,lan-us check_command check_snmp_uptime!ReadCommunity2 } define service { use generic-service-template service_description Uptime hostgroup_name wan-asia,lan-asia check_command check_dummy active_checks_enabled 0 } The cool thing here is that I don't have to change the service description for what is essentially the same service check (even for the passive checks I have being done on a distribution server). So they all show up with the same sevice desc even though they are configured slightly differently. Is this a safe or am I going to run into problems? -- Noah ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TGFurnish at herff-jones.com Thu Jan 29 14:56:15 2004 From: TGFurnish at herff-jones.com (Furnish, Trever G) Date: Thu, 29 Jan 2004 08:56:15 -0500 Subject: projected or recommended service check option Message-ID: <8FFC76593085ED4A80D3601BC41EFCDF02A60877@inex1.herffjones.hj-int> Are you worrying about it because you've had problems with performance? If not, then just don't worry about it. A pentiumII with 64MB could easily monitor that many services... > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Wednesday, January 28, 2004 6:03 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] projected or recommended service check option > > > Hey guys, > I don't know why this email bounced back to my inbox. So I am > sending it > again. > > I tried nagios -s nagios.cfg and it gives me this info. > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 76 > Total hosts: 44 > > Command check interval: 5 sec > Check reaper interval: 10 sec > > Inter-check delay method: SMART > Average check interval: 247.895 sec > Inter-check delay: 3.262 sec > > Interleave factor method: SMART > Average services per host: 1.727 > Service interleave factor: 2 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1075330870 -> Wed Jan 28 > 15:01:10 2004 > Last scheduled check: 1075331114 -> Wed Jan 28 > 15:05:14 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 4 > Recommend value: 12 > > > I don't know why I am just still having a 12 in recommended > value. I already > installed it on a 1 gig memory. And I am just monitoring 74 > services for > now. What are the things that I need to tweak so I can have a good > max_concurrent_checks value? > > If someone again can send there .cfg files, it will be > awesome. This will > give me an idea what things I am doing wrong. > > Thanks in advance. > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.wilhelm at frontiercorp.com Thu Jan 29 22:29:40 2004 From: john.wilhelm at frontiercorp.com (Wilhelm, John) Date: Thu, 29 Jan 2004 16:29:40 -0500 Subject: Implementing a distributed Nagios environment Message-ID: <5070FD2FA9CF484C883AC33034027E6A11496F1E@nyrofcs2kexch01.east.frontiercorp.com> Hello, I am wondering if anyone can help me with implementing a distributed Nagios environment. I have followed the documentation exactly when configuring and cannot get the distributed server to send to the central server. Nagios is running on the distributed server and is performing the checks correctly ( I verified this by checking the nagios.log and status.sav). However, the results information is not getting back to the central server. I can use the submit_check_result script manually to submit the results information and the info gets back to the central Nagios server correctly. Any help would be appreciated. Thanks, John Wilhelm System Administrator - Unix Frontier Telephone of Rochester -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Thu Jan 29 22:35:28 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 29 Jan 2004 15:35:28 -0600 Subject: projected/recommended service check option In-Reply-To: <20040129212855.90542.qmail@restricted.dyndns.org> References: <20040128220043.85322.qmail@restricted.dyndns.org> <1075399094.13515.72.camel@localhost> <20040129211326.89483.qmail@restricted.dyndns.org> <1075411638.13515.89.camel@localhost> <20040129212855.90542.qmail@restricted.dyndns.org> Message-ID: <1075412128.13515.101.camel@localhost> On Thu, 2004-01-29 at 15:28, Neil wrote: > Anyways, can you show me your nagios -s nagios.cfg output please? here it is: Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 11-22-2003 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 1197 Total hosts: 262 Command check interval: 5 sec Check reaper interval: 15 sec Inter-check delay method: SMART Average check interval: 392.782 sec Inter-check delay: 0.328 sec Interleave factor method: SMART Average services per host: 4.569 Service interleave factor: 5 Initial service check scheduling info: -------------------------------------- First scheduled check: 1075411989 -> Thu Jan 29 15:33:09 2004 Last scheduled check: 1075412382 -> Thu Jan 29 15:39:42 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 46 Recommend value: 138 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Jan 30 17:14:37 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 30 Jan 2004 08:14:37 -0800 (PST) Subject: mail notification and notification_interval In-Reply-To: <20040129211850.89834.qmail@restricted.dyndns.org> References: <20040129211850.89834.qmail@restricted.dyndns.org> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It means that it will send out notifications every 5 minutes after it determines that the service is in a HARD non-OK state until the problem is resolved. - -Jason Martin On Thu, 29 Jan 2004, Neil wrote: > Hey guys, > > I got a question on email notifications. Let say we have > notification_interval 5 in of services that we are monitoring, say http. > Now, nagios did a check_http on the server, processed the results and found > out that the http service has died. Does nagios send notifications > immediately or will it wait for 5 minutes before it sends out the > notification? > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAGoL5l2ODWuqVSBMRAgWhAJ9VABY9cvnify4Ylt5rrDl/8GmR1gCffPZn MqImKWVflTh4lNzNPr4Yi54= =ht/r -----END PGP SIGNATURE----- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Parker at beacon.com.au Fri Jan 30 03:37:10 2004 From: Mark.Parker at beacon.com.au (Mark Parker) Date: Fri, 30 Jan 2004 10:37:10 +0800 Subject: Failover central servers, and NSCA checks. Message-ID: <625D3E3C37F378439E59202BA15ADBD201B658@opal.beacon.com.au> We have a distributed Nagios configuration, with a central server (that does perform active checks and receives NSCA results from passive checks on various hosts) and a single distributed server that submits service check results via the usual OCSP command. I would like to create a failover server for the central server. Reading the documentation on configuring failovers appears simple enough, however I am uncertain as to how the OCSP and NSCA commands on the remote distributed server and hosts will submit the service check results successfully should a failover occur without manual intervention. (i.e. how does it send the results to a new server with a different IP address without having to manually change the config) Any thoughts on this would be greatly appreciated. Many Thanks Mark Parker ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 31 04:13:04 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 21:13:04 -0600 Subject: check_log issues In-Reply-To: References: <6.0.0.22.2.20040130124845.027fd8c8@mail.acmecargo.com> <20040130180641.76725.qmail@restricted.dyndns.org> Message-ID: <20040131031304.14380.qmail@restricted.dyndns.org> Jason Martin writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > check_log is a shell script so should be fairly easy to examine. Ok. I got SNARE working in one of my XP boxes. I've also configured my linux's syslogd to accept logs from remote machine. I did a tail -f /var/log/messages and YES, I do get the Events very fast. I also did read check_log and followed the 3 TIPS. I added a command in checkcommands.cfg. IIRC, I wrote it as check_log -F /var/log/messages -O /tmp/nterror.log -q Error I checked it first in the commandline and I got the eventlog that was received from the XP. I tried it the second time, and I didn't get the same message anymore. I think, this is how it's really supposed to be since it's doing a diff. Anyways, I started monitoring my XP. I was watching nagios frontend. The first status that I got was kinda like "log initialized". Then just to make my testing perfect, I didn't do anything for 5 minutes. So, on the XP, I did some things to make it log an Error event. /var/log/messages got it but nagios didn't change the status. Is check_log really problematic? Are there other ways of monitoring this kind of scenario? What am I missing? Thanks again. Neil ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mels.Kooijman at vanderlet.nl Thu Jan 29 16:06:51 2004 From: Mels.Kooijman at vanderlet.nl (Mels.Kooijman at vanderlet.nl) Date: Thu, 29 Jan 2004 16:06:51 +0100 Subject: New mysql install Message-ID: From: Matt Guzzo New mysql install 2004-01-26 16:42 I just compiled nagios with mysql. It is logging into the database, nagios is indeed running, I am getting email notifications. This is the error message Error: Could not read host and service status information! Can anyone help? Check the permissions of the cgi.cfg and resource.cfg files ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 15:32:49 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 29 Jan 2004 08:32:49 -0600 Subject: projected or recommended service check option In-Reply-To: <8FFC76593085ED4A80D3601BC41EFCDF02A60877@inex1.herffjones.hj-int> References: <8FFC76593085ED4A80D3601BC41EFCDF02A60877@inex1.herffjones.hj-int> Message-ID: <20040129143249.61833.qmail@restricted.dyndns.org> Hi Trever, I got it to a good value now after tweaking reaper and interval in nagios.cfg. I have now 50 in max_concurrent_checks. I did a "ps ax" everytime the next check for a specific service check is done, and yes, it really does it at the exact time. But I have seen a delay now on the status of a service in the webpage. Let's say, next check is at 11:30. At exactly 11:30, my nagios does a check_http to an apache that I just intentionally stopped. I went back to the webpage and click apache service on the host where I stopped apache. I clicked on IE's refresh button many times just to quickly see the changes from OK to CRITICAL. I took 40 secs before it became red and sometimes, it takes 2 minutes. I don't know why it's like that. And likewise when I bring up apache service. Any ideas why it's taking so long before the STATUS on the webpage changes? Thanks again. Furnish, Trever G writes: > Are you worrying about it because you've had problems with performance? If > not, then just don't worry about it. A pentiumII with 64MB could easily > monitor that many services... > >> -----Original Message----- >> From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] >> Sent: Wednesday, January 28, 2004 6:03 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] projected or recommended service check option >> >> >> Hey guys, >> I don't know why this email bounced back to my inbox. So I am >> sending it >> again. >> >> I tried nagios -s nagios.cfg and it gives me this info. >> >> SERVICE SCHEDULING INFORMATION >> ------------------------------- >> Total services: 76 >> Total hosts: 44 >> >> Command check interval: 5 sec >> Check reaper interval: 10 sec >> >> Inter-check delay method: SMART >> Average check interval: 247.895 sec >> Inter-check delay: 3.262 sec >> >> Interleave factor method: SMART >> Average services per host: 1.727 >> Service interleave factor: 2 >> >> Initial service check scheduling info: >> -------------------------------------- >> First scheduled check: 1075330870 -> Wed Jan 28 >> 15:01:10 2004 >> Last scheduled check: 1075331114 -> Wed Jan 28 >> 15:05:14 2004 >> >> Rough guidelines for max_concurrent_checks value: >> ------------------------------------------------- >> Absolute minimum value: 4 >> Recommend value: 12 >> >> >> I don't know why I am just still having a 12 in recommended >> value. I already >> installed it on a 1 gig memory. And I am just monitoring 74 >> services for >> now. What are the things that I need to tweak so I can have a good >> max_concurrent_checks value? >> >> If someone again can send there .cfg files, it will be >> awesome. This will >> give me an idea what things I am doing wrong. >> >> Thanks in advance. >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by EclipseCon 2004 >> Premiere Conference on Open Tools Development and Integration >> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. >> http://www.eclipsecon.org/osdn >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Thu Jan 29 00:57:46 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 28 Jan 2004 23:57:46 +0000 Subject: Monitor disk use info !!! In-Reply-To: References: <20040128192212.19587.qmail@minnow.softflare.net> Message-ID: <20040128235747.29882.qmail@minnow.softflare.net> Jason Martin writes: > It sounds like you are looking for the -e option: > > -e, --errors-only > Display only devices/mountpoints with errors It wasn't me that wanted it but the other guy. I didn't remember the -e option because it was long ago when I looked at what check_disk did and figured out what I wanted to do with it. Silly me, I also assumed that because this guy asked, he had already looked at what check_disk did and there wasn't such an option, so there was no need for me to have a look. Surely, if somebody asks for an option to do something, it is because he has already looked at what options exist - not on this list, which should probably be renamed nagios-for-users-too-lazy-or-too-stupid- to-do-anything-for-themselves-and-expect-others-to-do-it-all-for-them. The reason I decided against using -e all that time ago was that it can give you a false sense of security if a mount-point goes missing for whatever reason (a real possibility with NFS mounts, or if you have more than one hard disk and one of them gets unmounted somehow). If you don't use -e then at least you have a chance of noticing if a mount goes away, although you have to look hard and have a good memory for what should be on each machine. If you deal with all the mount points separately then check_disk will actually notice that a mount point has gone away and flag a critical error (and -e is no longer needed to show which partition of many is critical because they're all handled separately). I decided that -e was more of a liability than an asset, and that checking mount points individually was the way to go, then forgot all about -e. Checking mount points individually clutters up the displays, though, and means more individual checks. Better would be if check_disk allowed multiple -p options, so that you could list all the mount points you want to check, it would be done in one check, and you could use -e to display only the ones with problems if you wanted. Alternatively, -p could take a comma-separated list of mount points. Either way would let you spot if a mount point goes missing without having to perform separate checks on each. -- Paul Allen Softflare Support ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 02:23:53 2004 From: skip at pobox.com (Skip Montanaro) Date: Thu, 29 Jan 2004 19:23:53 -0600 Subject: check_tcp behavior In-Reply-To: <20040127201623.025808B804D@ibill.no-ip.org> References: <6.0.0.22.2.20040127122316.02bcf008@mail.acmecargo.com> <20040127201623.025808B804D@ibill.no-ip.org> Message-ID: <16409.45609.339054.390714@montanaro.dyndns.org> Dylan> I'm using the check_tcp plugin to check various ports that are Dylan> open on many of our boxes opened by homegrown applications. The Dylan> developers are concerned that the plugin might produce an output Dylan> on the remote machine that would cause issues with the Dylan> application. Bill> This actually was a very good question and raised a concern with Bill> me so I looked at my Solaris servers to see if it was recording Bill> anything...I have it checking ports for a homegrown script that Bill> starts multiple instances of the Tangram Asset tracking software Bill> on about 50+ ports and load balanced across several servers and in Bill> all the accounting logs for Tangram that I checked I see no record Bill> of the plugin attempts but packet captures are showing the plugin Bill> doing it's thing A previous homegrown system monitor here used to perform a simple connect/disconnect test for the Syncsort Backup Express listener on the machines to be backed up. Apparently (this predates my time here), that hosed up the listener, so they wound up disabling that test. I haven't encountered any other applications which work that way (and we've dumped Backup Express in the meantime), but it's not altogether out of the realm of possibility tha simply connecting and disconnecting won't hose the server listening at the other end. -- Skip Montanaro Got gigs? http://www.musi-cal.com/submit.html Got spam? http://spambayes.sf.net/ skip at pobox.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jan 29 21:01:04 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 29 Jan 2004 14:01:04 -0600 Subject: Maximum in hostgroup? In-Reply-To: References: Message-ID: <1075406464.13515.76.camel@localhost> On Thu, 2004-01-29 at 07:26, TIM MOORE wrote: > I just figured out that I cannot add more than 288 devices to any one hostgroup. If I do, the config file errors out. I am running version 1.1. I would assume this is a limitation with Nagios. Are you sure it's the number of hosts and not a line-length limit? See if you can exchange one longer-named-host for two with shorter names :) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mseisdedos at mediafusion.es Thu Jan 29 18:25:21 2004 From: mseisdedos at mediafusion.es (Montserrat Seisdedos) Date: Thu, 29 Jan 2004 18:25:21 +0100 Subject: embedded-perl Message-ID: <008e01c3e68c$df6453d0$520101c0@mesa.local> Hello everybody: I configured nagios with "--enable-embedded-perl --with-perlcache" options. When I start it, I get a segment violation, I couldn't get any other clue, no any other message in /var/log/messages. If I take these options away, every thing is ok, so nagios configuration is ok. Any body can help me? -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu Jan 29 16:28:53 2004 From: marc at ena.com (Marc Powell) Date: Thu, 29 Jan 2004 09:28:53 -0600 Subject: projected or recommended service check option Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A1E1@mismail2.ena.com> On Wednesday, January 28, 2004 5:03 PM, Neil shared with us: > Hey guys, > I don't know why this email bounced back to my inbox. So I am sending > it again. > > I tried nagios -s nagios.cfg and it gives me this info. > > SERVICE SCHEDULING INFORMATION > ------------------------------- > Total services: 76 > Total hosts: 44 > > Command check interval: 5 sec > Check reaper interval: 10 sec > > Inter-check delay method: SMART > Average check interval: 247.895 sec > Inter-check delay: 3.262 sec > > Interleave factor method: SMART > Average services per host: 1.727 > Service interleave factor: 2 > > Initial service check scheduling info: > -------------------------------------- > First scheduled check: 1075330870 -> Wed Jan 28 15:01:10 > 2004 Last scheduled check: 1075331114 -> Wed Jan 28 > 15:05:14 2004 > > Rough guidelines for max_concurrent_checks value: > ------------------------------------------------- > Absolute minimum value: 4 > Recommend value: 12 > > > I don't know why I am just still having a 12 in recommended value. I > already installed it on a 1 gig memory. And I am just monitoring 74 > services for now. What are the things that I need to tweak so I can > have a good max_concurrent_checks value? Why do you think that number is bad? 76 service checks can easily be completed in the 250ish seconds you've specified as the check_interval (250s/75c =~ 3 checks a second). Memory is not a factor in this calculation, nor is CPU, only the factors listed above. Assuming each nagios process takes about 10 megs of ram, then it's only going to be using about 120 megs _assuming_ that all the concurrent checks are happening at once. If you're uncomfortable with the number, double it, but it's really not going to make a big difference. Nagios is designed to spread all the checks out over your check_interval so that the monitoring load is evenly distributed over that time interval both on your monitoring box and the hosts that are being monitored. Here's one from one of my machines for comparison -- SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 1185 Total hosts: 750 Check reaper interval: 2 sec Inter-check delay method: SMART Average check interval: 300.000 sec Inter-check delay: 0.253 sec Interleave factor method: SMART Average services per host: 1.580 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1075389526 -> Thu Jan 29 09:18:46 2004 Last scheduled check: 1075389826 -> Thu Jan 29 09:23:46 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 8 Recommend value: 24 -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Fri Jan 30 13:50:40 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Fri, 30 Jan 2004 07:50:40 -0500 Subject: Maximum in hostgroup? Message-ID: Ya, that's what I figured out. I pulled down the source code yesterday and the data is in there. I will have to recompile nagios to make this change. Thanks for all your help. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS >>> "Marc Powell" 01/29/04 04:30PM >>> On Thursday, January 29, 2004 2:39 PM, TIM MOORE shared with us: > Marc, > > I don't have the xdata directory in my nagios directory. Is this > something I can add and nagios will detect it? Can I get a copy of > yours and throw it in to my nagios and have it work? I did not setup > this nagios as it came pre installed with Sentinix install (distro). Then you may be out of luck. I don't know much about sentinix but the modification I am talking about is specifically against the nagios source code, not any thing that's runtime. You would need to obtain the nagios source, make the appropriate change, recompile then install the updated version. If the sentinix guys have made any changes to the nagios source specific to their application you would be blowing those changes away. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jan 30 06:00:59 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 30 Jan 2004 16:00:59 +1100 Subject: Nagios Notifications In-Reply-To: <200401300420.i0U4KQ4D026292@figg.securenet.com.au>; from nagios-users-request@lists.sourceforge.net on Thu, Jan 29, 2004 at 08:11:38PM -0800 References: <200401300420.i0U4KQ4D026292@figg.securenet.com.au> Message-ID: <20040130160057.D50516@IPAustralia.Gov.AU> On Thu, Jan 29, 2004 at 08:11:38PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 4 > From: Ron Huff > Organization: UCD NOC > Date: Thu, 29 Jan 2004 10:24:09 -0800 > > I need help just setting up a simple notification command to use sendmail. > I have sendmail functioning at the most basic level (I can send myself mail). > Unless the Nagios host lacks the ability to forward messages or directly deliver them to your recipients there is no need for any sendmail changes whatsover. OTOH, if that is _not_ the case, then in my view you will have to seriously consider learning more about your MTA (which may be sendmail). > Would someone send me a simple, 'command_line' for the checkcommands.cfg > file that uses sendmail...the sample configs just invoke 'printf' ...I just > need a little boost over this hurdle, rather than spending days digging thru > sendmail docs... # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.2 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\n Address: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $ HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } 1 Printf is simply used to format the notification message You can change the format and the content of by varying its arguments 2 Mail is actually sent with a 'Mail User Agent', in this case /usr/bin/mail. If you have a Linux/Unix box you have a CLI mailer like mail or mailx. Locate mail or whereis mail will find it. Printf sends its message through a pipe '|' to the MUA. The MUA in turn hands it to the MTA (sendmail, postfix, exchange and so on) for delivery. > - Ron Huff / UCD NOC > 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. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Jan 29 17:45:52 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 29 Jan 2004 09:45:52 -0700 Subject: Incorrect Service Outages Listed. Message-ID: <41FD7929498A174DAB86C45F28E0EC0D1AD01B@golden-m.mactec.com> >> the way to make sure that doesn't happen again is to NOT use >> /etc/init.d/nagios restart > > Yes, restart does seem to cause this problem. > >> I don't know that I've seen any other culprit. Use the web interface >> for restarting and it's fine, or do a full 'stop/start' with the init >> script (making sure to check that nagios is 'gone' after stopping). > > I would agree that you have to wait for all the detached nagios > processes to fade away after stopping (or terminate them with > extreme prejudice using killall -9). And this is probably the reason > restart causes the problem - there is no wait for the > detached processes > to go away (and nothing about stop or restart gets rid of them, which > it should). However, I prefer stop/wait/restart to stop/wait/start > because usually the only reason I want to stop and start > Nagios is because > I've changed the configs and restart does a check on the > consistency of the > configs and reports problems which start does not. > I edited my Nagios daemon and added a 'sleep 15s' command between the 'stop' and 'start' function calls. While I found that the web interface restart worked perfectly every time, it was sometimes a hassle to have to open a browser and login just to restart. A 15 second wait seemed to do the trick for me, allowing all of the child processes to die off. YMMV Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Thu Jan 29 21:53:45 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Thu, 29 Jan 2004 15:53:45 -0500 Subject: Maximum in hostgroup? Message-ID: I guess I have to probably re-compile nagios with the new setting. Does that sound right to you? -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS >>> "Marc Powell" 01/29/04 03:24PM >>> On Thursday, January 29, 2004 2:05 PM, TIM MOORE shared with us: > Is it possible that those files are not for template-based > configuration. Maybe the definition needs to be set in the > xedtemplate_config_file. Let me look into it. Xodtemplate.h is the one you need. xedtemplate.h is for extended data files, xodtemplate.h is for object data files. [root at gemini xdata]# pwd /usr/local/src/nagios-1.1/xdata [root at gemini xdata]# ls -l xodtemplate.h -rw-rw-r-- 1 nagios nagios 15887 Oct 2 16:50 xodtemplate.h [root at gemini xdata]# grep MAX_XODTEMPLATE_INPUT_BUFFER xodtemplate.h #define MAX_XODTEMPLATE_INPUT_BUFFER 49152 -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.traylen at rl.ac.uk Fri Jan 30 10:44:00 2004 From: s.traylen at rl.ac.uk (Steve Traylen) Date: Fri, 30 Jan 2004 09:44:00 +0000 (GMT) Subject: Many services dependent on nrpe. Message-ID: Hi, I now have a fairly good basic set up but want to add service dependencies. I'm using many things via the nrpe deamon such as check_proc, check_disk.... As a result all of these are dependent on nrpe working on the remote host. So I was going to define this as a service dependency so I would only get one warning for an nrpe going down and not many from the things it is managing. To do this though It seems I have to create an servicedependency for every combination of host and service that is managed via nrpe. Is there a shorter method I am missing? Steve -- Steve Traylen s.traylen at rl.ac.uk http://www.gridpp.ac.uk/ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 20:57:29 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [Non-Employee]) Date: Thu, 29 Jan 2004 13:57:29 -0600 Subject: Host Check Question Message-ID: <516DA7BE5D87C8469D89F150CA0B4911043E5E26@PDAWB02C.ad.sprint.com> Anybody know why on most of my servers it says "Host assumed to be up" instead of showing the results from the ping? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence 913.762.8667 913.221.8241 PCS Stanley.G.Martin at mail.sprint.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Sat Jan 31 06:07:03 2004 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Fri, 30 Jan 2004 23:07:03 -0600 Subject: Check_disk_smb returning -H error Message-ID: <115F85A8196CD411BBAB0008C759066182102D@FS01> All, I've setup my check_disk_smb check command in checkcommands.cfg as follows: define command{ command_name check_disk_smb command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -u administrator -p snip } The checks run, but return this error: current Status: UNKNOWN Status Information: Invalid warning threshold: -H Can anyone give me any pointers? Daniel Jimenez Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 12:44:30 2004 From: extern.Lars.Oeschey at audi.de (extern.Lars.Oeschey at audi.de) Date: Thu, 29 Jan 2004 12:44:30 +0100 Subject: NSClient: Connection refused Message-ID: <3A51ADC7DE201748AE224D58A8CA83B502256FBF@deaudiis1127.audi.de> Hi, I recently installed NSClient on all Windows machines. While I have no problems with most of them, one gives me only a "Connection refused". What could that be? Where should I check? Lars ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Phillip.Wilson at gwinnettcounty.com Thu Jan 29 23:01:19 2004 From: Phillip.Wilson at gwinnettcounty.com (Phillip.Wilson at gwinnettcounty.com) Date: Thu, 29 Jan 2004 17:01:19 -0500 Subject: Question regarding availability of hosts ( PERCENT_TOTAL_TIME_UNDETERMINED variable) Message-ID: Greetings, I think I have a problem with either my Nagios configuration or the server I'm running it on. The issue I've noticed is that a huge number of my hosts availability status is "Undetermined" When I run an Availability report using "avail.cgi" and chose "Hosts" -> ** ALL HOSTS ** -> the last 7 days I get the resulting grid with the columns: Host, % Time Up, % Time Down, % Time Unreachable, % Time Undetermined 1) 168 of my hosts have 100.00% in the column "% Time Undetermined" 2) 9 of my hosts have between 98.74% and 99.05% in the column "% Time Undetermined" Server details: Nagios version: 1.1 RedHat Linux 8.0 Dual processor box with 512 MB RAM My performance data is: Active checks: Time Frame Checks Completed <= 1 minute: 32 (9.1%) <= 5 minutes: 291 (82.9%) <= 15 minutes: 338 (96.3%) <= 1 hour: 349 (99.4%) Since program start: 349 (99.4%) Metric Min. Max. Average Check Execution Time: < 1 sec 11 sec 3.593 sec Check Latency: < 1 sec 24 sec 0.900 sec Percent State Change: 0.00% 15.20% 0.19% Passive checks: Time Frame Checks Completed <= 1 minute: 0 (0.0%) <= 5 minutes: 0 (0.0%) <= 15 minutes: 0 (0.0%) <= 1 hour: 0 (0.0%) Since program start: 0 (0.0%) Metric Min. Max. Average Percent State Change: 0.00% 0.00% 0.00% Top info: 4:44pm up 1 day, 3:20, 2 users, load average: 0.11, 0.16, 0.15 123 processes: 122 sleeping, 1 running, 0 zombie, 0 stopped CPU0 states: 2.0% user, 4.3% system, 0.0% nice, 93.0% idle CPU1 states: 0.3% user, 2.0% system, 0.0% nice, 97.1% idle Mem: 513420K av, 360656K used, 152764K free, 0K shrd, 139092K buff Swap: 1124540K av, 0K used, 1124540K free 114976K cached Any ideas? Thanks, Phillip Wilson Consultant SNIA FC-Professional and FC-Specialist Gwinnett County Government DOSS/Information Technology Services 75 Langley Dr. Lawrenceville, GA 30045 Office: 770-822-7381 phillip.wilson at gwinnettcounty.com This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From MOORET10 at odjfs.state.oh.us Thu Jan 29 21:05:12 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Thu, 29 Jan 2004 15:05:12 -0500 Subject: Maximum in hostgroup? Message-ID: Is it possible that those files are not for template-based configuration. Maybe the definition needs to be set in the xedtemplate_config_file. Let me look into it. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS >>> "Marc Powell" 01/29/04 02:47PM >>> On Thursday, January 29, 2004 7:26 AM, TIM MOORE shared with us: > I just figured out that I cannot add more than 288 devices to any one > hostgroup. If I do, the config file errors out. I am running > version 1.1. I would assume this is a limitation with Nagios. It's not a device limit but a character input limit. The max number of characters to be read from each line of the config files is defined in xdata/xodtemplate.h. The default value is either 4096 or 8192 characters (I can't remember off the top of my head which). I've increased mine to 49152 and I'm supporting some very large hostgroups (> 750 hosts), but YMMV -- #define MAX_XODTEMPLATE_INPUT_BUFFER 49152 -- Marc ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Fri Jan 30 10:32:26 2004 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Fri, 30 Jan 2004 10:32:26 +0100 Subject: NSClient or SNMP? In-Reply-To: <3A51ADC7DE201748AE224D58A8CA83B502256FC0@deaudiis1127.audi.de> References: <3A51ADC7DE201748AE224D58A8CA83B502256FC0@deaudiis1127.audi.de> Message-ID: <1075455145.9957.47.camel@roy-sin> nsclient works, somehow. it's got a memory leak, which requires it to be restarted every few weeks, and it's no longer maintained. as it's written in fscking Delphi, not a lot of people can continue the work easily. Let's just hope for a replacement one day. But then - I don't know if the info gatherable from nsclient is available in the win2k MIB. To check, simply run snmpwalk roy On Thu, 2004-01-29 at 12:46, extern.Lars.Oeschey at audi.de wrote: > Hi, > > I'm monitoring several Compaq servers with Nagios and CIM7. While CIM7 > should be responsible for hardware failures and traps, I want Nagios to > monitor services and other stuff. Since I have already all those Compaq > Agents running on those machines, should I use SNMP f?r status infos > (diskspace, traffic) or should I use NSClient? > With SNMP, how can I find out the OIDs that are interesting? > > Lars > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 22:13:26 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 29 Jan 2004 15:13:26 -0600 Subject: projected/recommended service check option In-Reply-To: <1075399094.13515.72.camel@localhost> References: <20040128220043.85322.qmail@restricted.dyndns.org> <1075399094.13515.72.camel@localhost> Message-ID: <20040129211326.89483.qmail@restricted.dyndns.org> Hi Jeff, I also took out lines that are just paths. Here it is. check_external_commands=1 command_check_interval=5s log_rotation_method=d use_syslog=0 log_notifications=1 log_service_retries=0 log_host_retries=0 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=15 service_reaper_frequency=10 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 retention_update_interval=60 use_retained_program_state=0 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=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 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=`~$&|'"<> Actually, below is how it looks now. I found out after tweaking service_reaper_frequency and interval_lenght. I even got it to a recommended value of 186. :) But I don't know if it's good for a production monitoring server. So I brought it down just to 15. SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 76 Total hosts: 43 Command check interval: 5 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 163.421 sec Inter-check delay: 2.150 sec Interleave factor method: SMART Average services per host: 1.767 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1075414482 -> Thu Jan 29 14:14:42 2004 Last scheduled check: 1075414643 -> Thu Jan 29 14:17:23 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 5 Recommend value: 15 Let me know your recommendations. jeff vier writes: > On Wed, 2004-01-28 at 16:00, Neil wrote: >> I tried nagios -s nagios.cfg and it gives me this. > >> I don't know why I am just still having a 12 in recommended value. I already >> installed it on a 1 gig memory. And I am just monitoring 74 services for >> now. What are the things that I need to tweak so I can have a good >> max_concurrent_checks value? >> If someone again can send there .cfg files, it will be awesome. This will >> give me an idea what things I am doing wrong. > > Run 'grep -v "^#" nagios.cfg |grep -v "^$"' and send that over and I > (and maybe others) will have a look at it for you. > > (that just strips out the comments and blank lines - makes it plenty > short for mailing list posting.) > ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 21:04:08 2004 From: mtucker at airmail.net (Michael Tucker) Date: Thu, 29 Jan 2004 14:04:08 -0600 Subject: Plugins Message-ID: <4C87B872-5296-11D8-9835-0030657DF28A@airmail.net> I originally emailed this at 10:28 am (US/Central) yesterday. I have seen other messages arrive in my Nagios-users mailbox, but not this one. I've decided it got lost in the bit storm on the 'net, and am sending it again. (This of course guarantees that the original message will show up, probably 5 minutes after this one.) Assuming that two copies arrive, please accept my apologies. Michael ----- Begin original message ----- On Wednesday, January 28, 2004, at 10:13 AM, Thilanka wrote: > I posted this question but I have not seen it on the mailing list. > Hopefully > this is not dumb question even. Do you have to compile the plugins on > the > remote hosts or can you just copy the plugins that you have compiled > on the > nagios host and put them in a directory (e.g. > /usr/local/nagios/libexec) Now, I > am thinking that plugins will have to compiled on the remote host in > order for > it to make it compatible with OS of the remote host, but the on the > otherhand > if you have to compile the plugins on the remote host wihtout copying > them from > the Nagios host, I can see some admins frowning on that idea if the > remote host > is in production. Can someone please clear this out for me? Thank you > for all > your help. This is the second attempt at posting this question. I hope > there > are no filters to filter out dumb questions, in case this is a dumb > one. > > Thilanka > Thilanka, I'm pretty sure that I saw a couple of replies to your question. I have deleted them, but the answer to your question is this: If the machine you compile them on, and the machine you copy them to, are *exactly* the same type of hardware (Intel, Sun, whatever) running *exactly* the same operating system with *exactly* the same level of patches, and *exactly* the same shared libraries installed, and *exactly* the same version of Perl (for those plugins that depend on Perl), then... and usually *only* then... you can simply copy the binaries over from the machine you compiled them on (a development machine, for example) to the machine you want to monitor (a production machine, for example). However, if the hardware architecture is different, or the operating systems, patches, shared libraries and other dependencies (such as Perl) aren't *exactly* the same, then your plugins aren't going to work (or, at best, will try to work but won't run correctly). If the hardware is the same (Intel, for example), but the operating systems are different (Linux on one, Windows 2000 on the other), then it isn't going to work. If the hardware is different, forget it; it isn't going to work. My theory on dumb questions, by the way: it's better to ask them, than to do something stupid. Better yet, do a little independent research. Not to put you down, but your question indicates that you don't know much about how computers work, and for some reason have been stuck with having to figure out how to make Nagios work (which demands an extremely high and comprehensive understanding of how computers, operating systems and networks work). That's a big step for you to have to make, and you have my sympathy. I would seriously suggest that you take a course at your local university or college in computer fundamentals. And read some books. I highly recommend any books by O'Reilly (http://www.oreilly.com/). You might start with a general book on Unix, such as "Learning Red Hat Linux" (O'Reilly), or "Unix System Administration Handbook" (Prentice Hall). Then this stuff will make a lot more sense to you. And you won't have to ask dumb questions. :-) Good luck to you. We were all new at this once upon a time. Yours, Michael ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 15:33:39 2004 From: DOlbersen at stbernard.com (David Olbersen) Date: Thu, 29 Jan 2004 06:33:39 -0800 Subject: Just quick question Message-ID: thilanka wrote: > when you go to install the plugins on a remote host, do you have to compile > the > > plugins on the remote host or can you just copy the plugins from the Nagios > > host's '/usr/local/nagios/libexec/' on the remote host? If the monitoring server and the remote server are the same OS & version you should be fine. Any custom tweaks (different libraries) may break the Nagios modules. I've found that all the standard Nagios modules can be compiled once for FreeBSD 3, 4, 5 and then distributed to any machine with one of those version numbers. That is, if I compile on 4.3 I can install them on 4.8 without problem. If you're using some other operating system, no promises. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Jan 29 22:27:18 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 29 Jan 2004 15:27:18 -0600 Subject: projected/recommended service check option In-Reply-To: <20040129211326.89483.qmail@restricted.dyndns.org> References: <20040128220043.85322.qmail@restricted.dyndns.org> <1075399094.13515.72.camel@localhost> <20040129211326.89483.qmail@restricted.dyndns.org> Message-ID: <1075411638.13515.89.camel@localhost> On Thu, 2004-01-29 at 15:13, Neil wrote: > I also took out lines that are just paths. Here it is. Looks pretty much like mine. here's the differences (in a kind of mangled diff -u format): --- you +++ me -log_event_handlers=1 +log_event_handlers=0 -log_initial_states=0 +log_initial_states=1 -max_concurrent_checks=15 +max_concurrent_checks=150 -service_reaper_frequency=10 +service_reaper_frequency=15s -retention_update_interval=60 +retention_update_interval=14 -use_retained_program_state=0 +use_retained_program_state=1 -process_performance_data=0 +process_performance_data=1 -check_for_orphaned_services=0 +check_for_orphaned_services=1 -freshness_check_interval=60 +freshness_check_interval=300 -aggregate_status_updates=1 +aggregate_status_updates=0 > Actually, below is how it looks now. I found out after tweaking > service_reaper_frequency and interval_lenght. I even got it to a recommended > value of 186. :) But I don't know if it's good for a production monitoring > server. So I brought it down just to 15. I'd jack it up to 150 :) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From almayirapinzon at yahoo.com Thu Jan 29 18:06:47 2004 From: almayirapinzon at yahoo.com (=?iso-8859-1?q?almayira=20pinzon?=) Date: Thu, 29 Jan 2004 11:06:47 -0600 (CST) Subject: SNMPTT Message-ID: <20040129170647.77362.qmail@web40307.mail.yahoo.com> Hi, list I need some help about snmptt I had installed it, but when I start snmptrapd in order to receive trap and then write /etc/rc.d/init.d/snmptrapd status, the system tell me the snmptrad is inactive but the subsystem is blocked. Then look for the message file and I can see the snmptrapd couldn't open hBOn --erronr 2 (no such file or directory). Before installed the snmptt , my snmptrapd was working fine. If someone of you gays knows how to figure out, please tell me. _________________________________________________________ Do You Yahoo!? Informaci?n de Estados Unidos y Am?rica Latina, en Yahoo! Noticias. Vis?tanos en http://noticias.espanol.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jan 29 18:41:08 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 29 Jan 2004 17:41:08 +0000 Subject: Just quick question In-Reply-To: References: Message-ID: <401945B4.1070705@exponential-e.com> thilanka wrote: > when you go to install the plugins on a remote host, do you have to compile the > > plugins on the remote host or can you just copy the plugins from the Nagios > > host's '/usr/local/nagios/libexec/' on the remote host? The main reason why I > > am asking this is becuase if you have to download and install the necessary > > perl modules and other libraries, some machines might already be in production > > and any changes have to be carefully managed. In most cases the compiling of > > modules and libraries can have adverse effects on the OS. Just a thought. > > Hopefully this question is not a dumb one....I hope .... > I think this is correct... For the C compiled plugins one can copy from the Nagios server if the remote has the same OS/Version/Architecture e.g. RH9 to RH9 or Sun4u Solaris 8 to Sun4u Solaris 8. It won't work if you copy the Solaris binary to RH9 (or whatever its called today). If its a perl module you will need the libraries on the remote host. You could keep this up to date using CPAN (you can even take your own copy of CPAN - I do this using rsync then my servers get it from my copy and don't need internet access). Jim ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jan 30 19:33:43 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 30 Jan 2004 12:33:43 -0600 Subject: NT Disk Monitoring, OpenBSD Disk Monitoring, 3D Status In-Reply-To: <12942.216.175.104.108.1075486189.squirrel@www.sfdata.net> References: <12942.216.175.104.108.1075486189.squirrel@www.sfdata.net> Message-ID: <20040130183343.78713.qmail@restricted.dyndns.org> Karl R. Balsmeier writes: > Howdy, > > These are but two of the OS's i've been tasked to monitor the disks for. > > On NT, I get a result that says "connection refused by host". Should I > create a nagios user that matches my existing NT/2000 account? Or is this > some kind of internal route/proxy error? It's a large network. How are you monitoring the disk, is it via NRPE_NT? If so, try this. From the nagios machine's console/prompt, do the command below: telnet "IP_OF_NT_THAT_RUNS_NRPE" 5666 You should get similar output below: [root at nagios etc]# telnet 10.156.188.159 5666 Trying 10.156.188.159... Connected to 10.156.188.159. Escape character is '^]'. If you didnt get a connection, go to the NT machine and do this: netstat -na|find "5666" The output should contain LISTENING and so on. If there was an output, I could say that are some devices that's filtering that traffic such as firewall. Just my 2 cents. > > On OpenBSD, it's saying "disk not mounted or nonexistant", yet when I do a > df, there's /dev/wd0a. Should I trim it to wd0? > > -------- > I built this nagios setup on an openbsd 3.0 machine, and 3D status map > doesn't work, any suggestions? Right now it tries to save the status.wrl as > a file instead of parsing it. That tells me I need to activate something > other than the php I already have running, right? What would that be? VRML? I used cortvrml plugin for IE or Netscape. :) It saves it because you don't have the plugin. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 linuxpowered.net Sat Jan 31 11:03:37 2004 From: nagios at linuxpowered.net (nate) Date: Sat, 31 Jan 2004 02:03:37 -0800 (PST) Subject: Nagios & java JMX Message-ID: <33852.216.39.174.24.1075543417.squirrel@webmail.linuxpowered.net> I was curious if anyone was aware of any projects/products that helped integrate jmx and nagios ? thanks! nate ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 31 12:03:33 2004 From: chris at bluecobras.com (Chris Hammond) Date: Sat, 31 Jan 2004 06:03:33 -0500 Subject: NSClient or SNMP? In-Reply-To: <1075455145.9957.47.camel@roy-sin> References: <3A51ADC7DE201748AE224D58A8CA83B502256FC0@deaudiis1127.audi.de> <1075455145.9957.47.camel@roy-sin> Message-ID: <1075547013.2981.0.camel@localhost> On Fri, 2004-01-30 at 04:32, Roy Sigurd Karlsbakk wrote: > nsclient works, somehow. it's got a memory leak, which requires it to be > restarted every few weeks, and it's no longer maintained. as it's > written in fscking Delphi, not a lot of people can continue the work > easily. Let's just hope for a replacement one day. It's still maintained. They are even talking about plans for the next major version. http://support.tsmgsoftware.com/ Chris ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 31 12:40:03 2004 From: chris at bluecobras.com (Chris Hammond) Date: Sat, 31 Jan 2004 06:40:03 -0500 Subject: Maximum in hostgroup? In-Reply-To: References: Message-ID: <1075549203.2985.24.camel@localhost> > > I don't have the xdata directory in my nagios directory. Is this > > something I can add and nagios will detect it? Can I get a copy of > > yours and throw it in to my nagios and have it work? I did not setup > > this nagios as it came pre installed with Sentinix install (distro). I work a little with the developer of Sentinix. He has made no major changes to Nagios. I use it at work and put a 2.0alpha1 snapshot in with nothing more than a ./configure, make and make install. IF you go the 2.0 route, there is a minor change in two config files that will need to be done before it will start. Or atleast it did for me. Chris ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Sat Jan 31 13:45:07 2004 From: stanb at panix.com (stan) Date: Sat, 31 Jan 2004 07:45:07 -0500 Subject: does anyone have an example of using check_snmp? Message-ID: <20040131124507.GA28796@teddy.fas.com> I'm a first time Nagios user. Jut getting it set up (with some help from an experienced user). I'm running it on FreeBSD STABLE built from the port. I've got it working to check some stuff, and I want to increase the amount of things I'm checking with it. Specificly I want to check cpu load, and disk space, an perhaps network load, on machines remote to the Nagios server. It appears that the plugin I need to use for this is check_snmp, Is this correct? If it is could anyone give me an example of how to configure checkcommands.cfg and services.cfg to use check_snmp? Thanks. And thanks to all the developers for such a professional looking product! -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 31 16:41:14 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sat, 31 Jan 2004 09:41:14 -0600 Subject: NSClient or SNMP? In-Reply-To: <1075547013.2981.0.camel@localhost> References: <3A51ADC7DE201748AE224D58A8CA83B502256FC0@deaudiis1127.audi.de> <1075455145.9957.47.camel@roy-sin> <1075547013.2981.0.camel@localhost> Message-ID: <20040131154114.67665.qmail@restricted.dyndns.org> What about nrpe_nt, does it have a memory leak? Chris Hammond writes: > On Fri, 2004-01-30 at 04:32, Roy Sigurd Karlsbakk wrote: >> nsclient works, somehow. it's got a memory leak, which requires it to be >> restarted every few weeks, and it's no longer maintained. as it's >> written in fscking Delphi, not a lot of people can continue the work >> easily. Let's just hope for a replacement one day. > > It's still maintained. They are even talking about plans for the next > major version. > > http://support.tsmgsoftware.com/ > > Chris > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sven.sternberger at desy.de Sat Jan 31 16:46:53 2004 From: sven.sternberger at desy.de (Sven Sternberger) Date: Sat, 31 Jan 2004 16:46:53 +0100 Subject: Problems with submit_check_result Message-ID: <401BCDED.7060109@desy.de> Hello! I wrote a program which makes a complicated test of a service on several machines. Now I try to send the result with submit_check_result to a central service. I send the result every 2 minutes ( I also tried 5 minutes) . I have the effect that nagios display that an error occured but after a short time the result disappear and after a another short time it will re-appear. The problem is that couldn't set an ack because of this behavior. I checked the output of the script twice, it looks okay I'm not the nagios admin, but responsible for the test. Is this a "normal" problem, or are there some parameters I should look at. hope somebody can help bye! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 17:04:57 2004 From: marc at ena.com (Marc Powell) Date: Sat, 31 Jan 2004 10:04:57 -0600 Subject: Problems with submit_check_result Message-ID: <370ACCFA5BB3B346A31222E5559BF91F01421D@mismail2.ena.com> You've got multiple nagios processes running most likely. Your admin will need to stop nagios, kill any remaining processes and restart the program. -- Marc -----Original Message----- From: Sven Sternberger To: 'nagios-users at lists.sourceforge.net' Sent: Sat Jan 31 09:46:53 2004 Subject: [Nagios-users] Problems with submit_check_result Hello! I wrote a program which makes a complicated test of a service on several machines. Now I try to send the result with submit_check_result to a central service. I send the result every 2 minutes ( I also tried 5 minutes) . I have the effect that nagios display that an error occured but after a short time the result disappear and after a another short time it will re-appear. The problem is that couldn't set an ack because of this behavior. I checked the output of the script twice, it looks okay I'm not the nagios admin, but responsible for the test. Is this a "normal" problem, or are there some parameters I should look at. hope somebody can help bye! ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 matthewwilson at dsl.pipex.com Sat Jan 31 17:11:03 2004 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Sat, 31 Jan 2004 16:11:03 +0000 Subject: serviceextinfo notes_url not appearing Message-ID: <1075565463.1912.4.camel@localhost.localdomain> Hi guys, I have the following serviceextinfos generated by NagMIN: define serviceextinfo { 36: use PING 37: host_name host1 38: service_description PING 39: notes_url /nagios/cgi-bin/apan.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ 40: icon_image graph.png 41: icon_image_alt View graphs 42: } define serviceextinfo { 364: use PING 365: host_name host2 366: service_description PING 367: notes_url /nagios/cgi-bin/apan.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ 368: icon_image graph.png 369: icon_image_alt View graphs 370: } and the template is: 589: define serviceextinfo { 590: name PING 591: service_description PING 592: notes_url /nagios/cgi-bin/apan.cgi?host=$HOSTNAME$&service=$SERVICEDESC$ 593: icon_image graph.png 594: icon_image_alt View graphs 595: } (which actually is redundant, as all the info is present in the definitions about - not sure why NagMIN does it like that) Host1 is fine. Host2 has no notes_url link and no icon displayed. I can't figure out why. They both have the same service PING inherited from the same template. Any suggestions much appreciated Matthew Wilson DC-Sat.net ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jan 31 19:48:20 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Sat, 31 Jan 2004 13:48:20 -0500 (EST) Subject: Host Check Question In-Reply-To: <516DA7BE5D87C8469D89F150CA0B4911043E5E26@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B4911043E5E26@PDAWB02C.ad.sprint.com> Message-ID: On Thu, 29 Jan 2004, Martin, Stanley G [Non-Employee] wrote: > Anybody know why on most of my servers it says "Host assumed to be up" > instead of showing the results from the ping? Nagios only executes the host check if one or more services are down. If the host is providing services, then it must be up, so there's no need to tie up resources checking that. http://www.nagios.org/faqs/viewfaq.php?faq_id=86 -- 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 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Sat Jan 31 20:21:06 2004 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Sat, 31 Jan 2004 13:21:06 -0600 Subject: icons per group Message-ID: <115F85A8196CD411BBAB0008C759066182102F@FS01> This is a really good request. I second it. -----Original Message----- From: Roger [mailto:grunky at rockriver.net] Sent: Friday, January 30, 2004 1:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] icons per group I'm putting image statements in hostextinfo.cfg This works and the icons used to change - however I'm wondering if you can do this on a group basis? I've put the name of the template in for the host_name in hostextinfo.cfg but that doesn't change the icon of any group member. define hostextinfo{ host_name core <- name of template in hosts.cfg icon_image cisco7206.jpg icon_image_alt Core Router vrml_image cisco7206.jpg statusmap_image cisco7206.jpg 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Hicks at POGGS.CO.UK Sat Jan 31 23:42:36 2004 From: Peter.Hicks at POGGS.CO.UK (Peter Hicks) Date: Sat, 31 Jan 2004 22:42:36 +0000 Subject: Host Check Question In-Reply-To: References: Message-ID: <401C2F5C.90305@POGGS.CO.UK> Matt Pounsett wrote: > Nagios only executes the host check if one or more services are down. > If the host is providing services, then it must be up, so there's no > need to tie up resources checking that. There are some situations where checking a host is up or not might be useful, e.g. when monitoring an infrastructure device's up/down status. I have a load of service provider CPE to monitor, and I just care whether they're up or down, not on whether they're providing a monitorable service. At the moment, I have a service called 'ping' which will ping the device, but this then becomes confusing when the host goes down - the 'ping' service returns CRITICAL, Nagios then checks the host which returns CRITICAL, and I get two alerts. FEATURE REQUEST: How about an option to check a host and if its up, check its services? Peter. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null