From GWCOOK at mactec.com Thu Apr 1 00:15:05 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 31 Mar 2004 15:15:05 -0700 Subject: Nagiosmap Woes Message-ID: <41FD7929498A174DAB86C45F28E0EC0D3EA589@golden-m.mactec.com> Has anyone had success with the Nagiosmap add-on? I'm running Nagios 1.2 and I've downloaded the nagiosmap.pl script and installed the necessary Perl modules. Nagiosmap starts up OK, and I open the hosts.cfg and hostextinfo.cfg, but that's as far as it gets. It just sits there with a message that reads 'Please wait while reading hostextinfo.cfg ...'. In the terminal window from which I started the app I see the following: [root at monitor2 bin]# ./nagiosmap.pl Tcl_GetStringFromObj @ 535 not utf8 SV = PV(0x86b4f0c) at 0x86b4a30 REFCNT = 1 FLAGS = (POK,pPOK,UTF8) PV = 0x86b68e8 "couldn't recognize data in image file \"\364Nk\10\1\""\0Malformed UTF-8 character (unexpected non-continuation byte 0x4e, immediately after start byte 0xf4) in subroutine entry at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Image.pm line 21. [UTF8 "couldn't recognize data in image file "\x{0}\x{1}""] CUR = 45 LEN = 46 SV = PVMG(0x8685e10) at 0x86b4a30 REFCNT = 1 FLAGS = (SMG,POK,pPOK,UTF8) IV = 0 NV = 0 PV = 0x86b68e8 "couldn't recognize data in image file \"\364Nk\10\1\""\0Malformed UTF-8 character (unexpected non-continuation byte 0x4e, immediately after start byte 0xf4) in subroutine entry at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Image.pm line 21. [UTF8 "couldn't recognize data in image file "\x{0}\x{1}""] CUR = 45 LEN = 46 MAGIC = 0x86b58c0 MG_VIRTUAL = &PL_vtbl_utf8 MG_TYPE = PERL_MAGIC_utf8(w) MG_LEN = 42 " at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Image.pm line 21. Tk callback for image Tk::Image::new at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Image.pm line 21 Tk::Image::__ANON__ at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Image.pm line 63 main::create_objects at ./nagiosmap.pl line 532 main::read_nscgi at ./nagiosmap.pl line 501 main::open_dialog at ./nagiosmap.pl line 305 Tk callback for .frame.menubutton.menu Tk::__ANON__ at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk.pm line 247 Tk::Menu::Invoke at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Tk/Menu.pm line 531 (command bound to event) It just hangs here until I exit, then it adds the following: Tk::Error: couldn't recognize data in image file "?N Anyone have an idea what I might be doing wrong? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsp at graphtek.com Thu Apr 1 00:52:27 2004 From: dsp at graphtek.com (Drake Philbrook) Date: Wed, 31 Mar 2004 14:52:27 -0800 Subject: Problem with check_ping configuration Message-ID: <97C31C85504F2A4BB7292A317348E2290E16B4@exchange.graphtek.com> I have check_ping enabled as a service for each host. When I look at the Host Detail, all of my hosts have acceptable ping times, but when I go to Service Detail all of my hosts have the following Service: PING Status: UNKNOWN Status Information: check_ping: %s: Warning threshold must be integer or percentage! And of course the system sends out emails and pages every few minutes. I'm sure it must be something simple, but I have spent hours reading the docs and searching the web for a solution. Thanks for any help you can provide. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Seth.Hollist at ingenix.com Thu Apr 1 01:16:30 2004 From: Seth.Hollist at ingenix.com (Seth Hollist) Date: Wed, 31 Mar 2004 17:16:30 -0600 Subject: NRPE problems Message-ID: I'm running nrpe to remotely monitor local services on a fedora core 1 machine, but I keep getting these errors: Mar 31 16:00:52 fedora xinetd[572]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds. Mar 31 16:01:22 fedora xinetd[572]: Activating service nrpe Mar 31 16:03:16 fedora xinetd[572]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds. Mar 31 16:03:46 fedora xinetd[572]: Activating service nrpe Mar 31 16:03:47 fedora xinetd[572]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds. Mar 31 16:04:17 fedora xinetd[572]: Activating service nrpe Mar 31 16:05:52 fedora xinetd[572]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds. Mar 31 16:06:22 fedora xinetd[572]: Activating service nrpe Mar 31 16:07:34 fedora sshd(pam_unix)[27223]: session opened for user root by (uid=0) Mar 31 16:08:16 fedora xinetd[572]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds. Mar 31 16:08:46 fedora xinetd[572]: Activating service nrpe Mar 31 16:10:52 fedora xinetd[572]: Deactivating service nrpe due to excessive incoming connections. Restarting in 30 seconds. On the Nagios server it says: Connection refused by host Any ideas what might be wrong? Here's the xinetd configuration: # more /etc/xinetd.d/nrpe # default: on # description: NRPE service nrpe { flags = REUSE socket_type = stream user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/nrpe.cfg -i wait = yes protocol = tcp log_on_failure += USERID disable = no only_from = 10.128.52.103 } This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Thu Apr 1 01:52:50 2004 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Wed, 31 Mar 2004 18:52:50 -0500 Subject: Multiple Servers on the internet -- possible? Message-ID: <003e01c4177b$4733a640$0200a8c0@SRINILAPTOP> Hi all I want to be able to use Nagios to monitor 3-4 servers (running RedHat Linux). What kind of access do I require on each box if they are all internet server (not on the same local network). Are there any security issues that I need to keep in mind before setting this up? Any input appreciated in advance! Cheers KS ----- Srinivas Kotapally, Analyst BISIL North America Inc. 919, Conestoga Road, Suite 206, Bldg 2 Rosemont, PA 19010 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakes_email at yahoo.com Thu Apr 1 05:33:11 2004 From: blakes_email at yahoo.com (Blake) Date: Wed, 31 Mar 2004 19:33:11 -0800 (PST) Subject: Multiple Servers on the internet -- possible? In-Reply-To: <003e01c4177b$4733a640$0200a8c0@SRINILAPTOP> References: <003e01c4177b$4733a640$0200a8c0@SRINILAPTOP> Message-ID: <20040401033311.61944.qmail@web10506.mail.yahoo.com> what do you plan to monitor? host up down status, service, performance, etc.. ? --- Srinivas Kotapally wrote: > Hi all > > I want to be able to use Nagios to monitor 3-4 > servers (running RedHat > Linux). What kind of access do I require on each > box if they are all > internet server (not on the same local network). > Are there any security > issues that I need to keep in mind before setting > this up? > > Any input appreciated in advance! > > Cheers > > KS > > ----- > Srinivas Kotapally, Analyst > > BISIL North America Inc. > 919, Conestoga Road, Suite 206, Bldg 2 > Rosemont, PA 19010 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrhett at isite.net Thu Apr 1 06:11:00 2004 From: jrhett at isite.net (Joe Rhett) Date: Wed, 31 Mar 2004 20:11:00 -0800 Subject: PLEA -- reference documentation instead of answering. Message-ID: <20040401041100.GB11936@isite.net> I would really like to stay on the -users list instead of just -devel, but this list is way too high volume. And 90% of that volume is all people being nice and trying to help out others who won't read the documentation. This is my plea to how we can make this a better list. There are things that aren't well documented, or that require a little reading between the lines. We should certainly help people with this. But if we could start taking obvious instances where they are just ignoring the documentation and start referring them back to it, they will stop assuming that we're here to help them avoid reading. It works. When we shifted our helpdesk approach from answering every question, to always providing a pointer to the right documentation - our customers learned that they would end up reading the documentation anyway. So they learned to start there, and stopped depending on us to answer things which were clearly documented. Our tech support calls went down by more then 50%, and we were able to take on more business without increasing our technical support staff. Anyway, I'm blabbering. But please can we start refering people to the right documentation? There's enough about Nagios which isn't documented, isn't documented well or just needs some extra guff to get through. Wading through a mailing list of questions which ARE clearly answered means that I stop paying attention and just start hitting delete over everything. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomaspan at usa.net Thu Apr 1 06:36:59 2004 From: thomaspan at usa.net (THOMAS PAN) Date: Thu, 01 Apr 2004 04:36:59 -0000 Subject: Nagios-users digest, Vol 1 #1969 - 16 msgs Message-ID: Hi, My email address has been changed to thomaspan2 at yahoo.com. Please forward your email to the new address. Sorry for the inconvenience. Thanks, Thomas ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Thu Apr 1 07:37:38 2004 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Thu, 1 Apr 2004 00:37:38 -0500 Subject: Multiple Servers on the internet -- possible? In-Reply-To: <20040401033311.61944.qmail@web10506.mail.yahoo.com> References: <20040401033311.61944.qmail@web10506.mail.yahoo.com> Message-ID: <000001c417ab$73161510$6401a8c0@SRINILAPTOP> Yes... Stuff like host up/down, diskspace, permofmance (CPU usage, memory, bandwidth, etc)... -----Original Message----- From: Blake [mailto:blakes_email at yahoo.com] Sent: Wednesday, March 31, 2004 10:33 PM To: ksrinivas at bisil.com; Nagios (E-mail) Subject: Re: [Nagios-users] Multiple Servers on the internet -- possible? what do you plan to monitor? host up down status, service, performance, etc.. ? --- Srinivas Kotapally wrote: > Hi all > > I want to be able to use Nagios to monitor 3-4 > servers (running RedHat > Linux). What kind of access do I require on each > box if they are all > internet server (not on the same local network). > Are there any security > issues that I need to keep in mind before setting > this up? > > Any input appreciated in advance! > > Cheers > > KS > > ----- > Srinivas Kotapally, Analyst > > BISIL North America Inc. > 919, Conestoga Road, Suite 206, Bldg 2 > Rosemont, PA 19010 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtuecks at neuwied.de Thu Apr 1 10:06:41 2004 From: dtuecks at neuwied.de (Daniel Tuecks) Date: Thu, 1 Apr 2004 10:06:41 +0200 Subject: Nagios 2.0 Servicegroups (again) Message-ID: <20040401T100641Z_BD3300140000@neuwied.de> Hi I'm still having problems getting my servicegroups to work. I updated to Nagios 2.0a1, created the appropriate servicegroups.cfg file and added that file in my nagios.cfg. --nagios.cfg---- cfg_file=/usr/local/nagios/2.0a1/etc/netware5/servicegroups.cfg --servicegroups.cfg---- define servicegroup{ servicegroup_name ping alias Ping members server1,ping,server2,ping } In the cgi.cfg all authorizations are set to *. (system_information,configuration_information,system_commands,all_services,all_hosts,all_service_commands,all_host_commands) Nagios starts without any errors/warning but I can't access the servicegroups*. It keeps telling me "you do not have permission"... --Daniel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmartinezg at fecsa.es Thu Apr 1 09:09:00 2004 From: fmartinezg at fecsa.es (Martinez Gonzalez, Francisco) Date: Thu, 1 Apr 2004 09:09:00 +0200 Subject: SNMP on AIX 4.x Message-ID: Hello all, I want to check the state of memory, cpu, filesystems and network via SNMP of an AIX 4.x, but the MIB only contains the OID's for the network (according to have I seen). Anybody knows how I can check three others parameters? Many thanks Francisco Mart?nez ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mohr at elaxy.com Thu Apr 1 10:31:21 2004 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 1 Apr 2004 10:31:21 +0200 Subject: Nagios as a replacement for HP OpenView Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C1291930@srv-cob-00-0014.elaxy.org> Hi All! I have been given the task of looking into OpenSource software as either a supplement to or replacement for HP OpenView. I have found a number of places that say things like "Nagios is not initially designed to be a Full Blown SNMP Monitoring and Control system like HP OpenView". However, I cannot go to my boss with a vague statement like that. So, I am initially looking for something that compares the two feature-by-feature, more or less. I did a search on google, but did not find anything very useful. Does anyone know of a feature comparision? One of the key aspects is that we have a number of applications that we need to monitor. For example, Apache, BEA WebLogic, and a number of our own applications. Among other things, monitoring consists of making sure the processes are running, parsing log files, etc. Based on the doc that I have read it seems that I would need to define a service for each application and then create our own plug-in that monitors the app/service and sets the status accordingly. Is this right, so far? One thing I am missing is that it appears as if services are "state" oriented and not "event" oriented. That is, you have the states good, warning, or bad but know nothing about the cause of any problems. For example, our application could be "bad" because 5 different conditions. Would each of these 5 conditions be what appears in "Status Information"? Can I provide or send "messages" in the sense of OpenView that are event based? That is simply "Hey folks, XXX has just happened"? As I mentioned we need to monitor if certain processes are running and I came across the "Process Monitor Plugin". It talks about optionally restarting the process. Is the ability to start programs something built into Nagios or just this one plug-in. We have some many cases were automated actions are started when certain events occur. In many cases these are sent What about remotely starting actions from the console? For example, a message comes that a certain condition exists, and we start an action that performs an additional check on the system. Or, a service stops and we do not want it to be automatically started. Instead we want to be able to start it on demand. I have also been looking for something that describe Nagios in abstract terms, rather than telling me how to configure it. Something along the lines of a schematic diagram of the various components, who communicates with whom, how they communicat, what processes are running where and so on. Any info is greatly appreaciated. Regards, Jim Mohr ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From starbase_947 at knesset.gov.il Thu Apr 1 12:43:17 2004 From: starbase_947 at knesset.gov.il (=?windows-1255?Q?=EE=F9=E4_=F8=E5=F4=E0?=) Date: Thu, 1 Apr 2004 12:43:17 +0200 Subject: 3D status map Message-ID: <457CE430FA75D61193D90002A5F0CF89012E7F25@ZAVITAN> Greetigs, I have look on the discussion regarding 3d statup map and, Have installed cortona vrml client But still I get the following error "Internet Explorer cannot download statuswrl.cgi?host=all from server?.please try again later" Statuswrl.cgi is available and I have script alias to the cgi folder. I don?t know what's the problem. Ideas anyone? Moshe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From blakes_email at yahoo.com Thu Apr 1 14:46:44 2004 From: blakes_email at yahoo.com (Blake) Date: Thu, 1 Apr 2004 04:46:44 -0800 (PST) Subject: Multiple Servers on the internet -- possible? In-Reply-To: <000001c417ab$73161510$6401a8c0@SRINILAPTOP> References: <000001c417ab$73161510$6401a8c0@SRINILAPTOP> Message-ID: <20040401124644.80639.qmail@web10510.mail.yahoo.com> Im not so sure what your looking for but my thoughts are that if these servers already have services available on the Internet (HTTP, HTTPS, etc..) then you have no other concerns than what you should already have .. other than that you should be able to get away with opening up TCP port 22 in your firewall for SSH. Nagios should be able to use SSH to get all the information you need. You could also open up SNMP and limit access via your firewall access lists and locally using iptables. Make sure your software is patched and configured properly. Those are my thoughts. -- Blake --- Srinivas Kotapally wrote: > Yes... Stuff like host up/down, diskspace, > permofmance (CPU usage, memory, > bandwidth, etc)... > > -----Original Message----- > From: Blake [mailto:blakes_email at yahoo.com] > Sent: Wednesday, March 31, 2004 10:33 PM > To: ksrinivas at bisil.com; Nagios (E-mail) > Subject: Re: [Nagios-users] Multiple Servers on the > internet -- > possible? > > > what do you plan to monitor? host up down status, > service, performance, etc.. ? > > --- Srinivas Kotapally wrote: > > Hi all > > > > I want to be able to use Nagios to monitor 3-4 > > servers (running RedHat > > Linux). What kind of access do I require on each > > box if they are all > > internet server (not on the same local network). > > Are there any security > > issues that I need to keep in mind before setting > > this up? > > > > Any input appreciated in advance! > > > > Cheers > > > > KS > > > > ----- > > Srinivas Kotapally, Analyst > > > > BISIL North America Inc. > > 919, Conestoga Road, Suite 206, Bldg 2 > > Rosemont, PA 19010 > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux > > Tutorials > > Free Linux tutorial presented by Daniel Robbins, > > President and CEO of > > GenToo technologies. Learn everything from > > fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/ > __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.gutmann at db.com Thu Apr 1 16:23:40 2004 From: peter.gutmann at db.com (Peter Gutmann) Date: Thu, 1 Apr 2004 09:23:40 -0500 Subject: Multiple Servers on the internet -- possible? Message-ID: Yes there are security issues. What sort of security issues that are involved depend on the host based and network based security and what you are looking to monitor. For example, if you are monitoring a web site (www.yahoo.com) to check internet connectivity. Then the standard check_http should work, and you would just have to secure the outside interface of the machine used to run the monitor. If you are looking to monitor your own web servers, you are presented with a very different challenge. The key thing is to not rely on any single protocol, single piece of hardware, or single device to protect your applications, networks and hosts. In short, you should fully secure each of your web server farms, build secure VPN connections between the web sever farms, and regularly monitor all of the log files. If you can tell us more about what you are attempting to accomplish, perhaps we can help more. ---- Peter Gutmann Peter.Gutmann at db.com "Srinivas Kotapally" Sent by: nagios-users-admin at lists.sourceforge.net 03/31/2004 06:52 PM Please respond to ksrinivas To: "Nagios \(E-mail\)" cc: Subject: [Nagios-users] Multiple Servers on the internet -- possible? Hi all I want to be able to use Nagios to monitor 3-4 servers (running RedHat Linux). What kind of access do I require on each box if they are all internet server (not on the same local network). Are there any security issues that I need to keep in mind before setting this up? Any input appreciated in advance! Cheers KS ----- Srinivas Kotapally, Analyst BISIL North America Inc. 919, Conestoga Road, Suite 206, Bldg 2 Rosemont, PA 19010 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Apr 1 17:02:42 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 1 Apr 2004 08:02:42 -0700 Subject: Nagios as a replacement for HP OpenView Message-ID: <41FD7929498A174DAB86C45F28E0EC0D3EA593@golden-m.mactec.com> > Hi All! > > I have been given the task of looking into OpenSource > software as either [snip] > > Any info is greatly appreaciated. > > Regards, > > Jim Mohr That's an awful lot of questions, all of which have very detailed answers. Fortunately, I believe that every one of them is answered in the Nagios documentation, which lives at http://www.nagios.org/docs/. HTH Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 17:33:09 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [Contractor for Sprint]) Date: Thu, 1 Apr 2004 09:33:09 -0600 Subject: Kudos for Nagios Message-ID: <516DA7BE5D87C8469D89F150CA0B4911052303E7@PDAWB02C.ad.sprint.com> Just thought I'd send out some Kudos for Nagios. This morning I received an alert that 2 of my web servers were down. Both of these servers are behind a Content Switch that performs load balancing to the web servers. When I pinged the servers, they both returned 0% packet loss from the Content Switch, but the servers were unreachable. Traceroute died at the Content Switch. Sprint's Enterprise Solutions group (IT) is using a package called Telenium that they spent a $#%& load of money on. It didn't pick up the problem. It was fooled by the 0% packet loss that the Content Switch returned. Great job done by Nagios!!! Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cschelin at hq.nasa.gov Thu Apr 1 18:43:12 2004 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 01 Apr 2004 11:43:12 -0500 Subject: Nagios as a replacement for HP OpenView In-Reply-To: <369E6D11A6CCA64BB73C1D1EFDB0D2C1291930@srv-cob-00-0014.elaxy.org> References: <369E6D11A6CCA64BB73C1D1EFDB0D2C1291930@srv-cob-00-0014.elaxy.org> Message-ID: <1080837792.18709.283.camel@unixgod.hq.nasa.gov> Two books that I've looked at might be of help: Essential SNMP Network Troubleshooting Tools While they don't have feature by feature breakdowns, they might be able to help you choose what to review. Carl On Thu, 2004-04-01 at 03:31, Mohr James wrote: > Hi All! > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adecarli at computeasy.com.br Thu Apr 1 18:58:41 2004 From: adecarli at computeasy.com.br (Alex Decarli) Date: Thu, 1 Apr 2004 13:58:41 -0300 Subject: Nsclient 2.01 and Windows Message-ID: Hi Mrs, When I execute check_nt from FreeBSD, I get the following answer: C:\ - total: ??????? Gb - used: ??????? Gb (???????%) - free ??????? Gb (???????%) I can get the UPTIME variable. My windows is 2000 Server english. Windows and Netsaint is working propperly. This is a first attempt to execute nsclient in windows. Any help is very apprecied, TKS Alex ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smitchell at slumberland.com Thu Apr 1 19:57:13 2004 From: smitchell at slumberland.com (Seth Mitchell) Date: Thu, 1 Apr 2004 11:57:13 -0600 Subject: Nsclient 2.01 and Windows Message-ID: That's a known-issue - the check_nt plugin was written to run on Linux. See: http://nsclient.ready2run.nl/faq.htm#q7 -Seth -----Original Message----- From: Alex Decarli [mailto:adecarli at computeasy.com.br] Sent: Thursday, April 01, 2004 10:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nsclient 2.01 and Windows Hi Mrs, When I execute check_nt from FreeBSD, I get the following answer: C:\ - total: ??????? Gb - used: ??????? Gb (???????%) - free ??????? Gb (???????%) I can get the UPTIME variable. My windows is 2000 Server english. Windows and Netsaint is working propperly. This is a first attempt to execute nsclient in windows. Any help is very apprecied, TKS Alex ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ________________________________________________________________________ This email has been scanned for viruses by the MessageLabs Email Security System. For more information, contact IT. ________________________________________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndhanks at geneva.com Thu Apr 1 19:51:54 2004 From: ndhanks at geneva.com (Ned Hanks) Date: Thu, 1 Apr 2004 10:51:54 -0700 Subject: Presentation on Nagios Message-ID: <6E2F5D19CB27D4118E1900B0D02220D501BA038B@nt2.geneva.com> I'm giving a presentation on Nagios to my local Linux users group. Does anyone have anything that would be useful for the presentation? I want to create some slides that show how the process works, i.e. plugins, nagios, nrpe, etc. I am giving this presentation the second week of may, so any help will be appreciated. I will also publish the presentation, using OpenOffice Impress, on a web site. Thanks Ned -------------------------------------- Ned D Hanks IT Manager Geneva Steel 10 South Geneva Rd Vineyard, UT 84058 Office: 801-227-9182 Fax: 801-227-9400 -------------- next part -------------- A non-text attachment was scrubbed... Name: Ned D Hanks (E-mail).vcf Type: application/octet-stream Size: 456 bytes Desc: not available URL: From levym at bhphoto.com Thu Apr 1 20:33:39 2004 From: levym at bhphoto.com (Levy) Date: Thu, 01 Apr 2004 13:33:39 -0500 Subject: check_ifoperstatus Message-ID: <406C1A33.14882.4CB8D79@localhost> Hi I'm new to nagios, but have it setup and worked fine for most checks. Problem is when using the check_ifoperstatus this is the error I'm getting: -bash-2.05b$ ./check_ifoperstatus Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /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_ifoperstatus line 40. BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. -bash-2.05b$ Nagios 1.2 on Red hat linux 9 with nagios-plugins 1.3.1 Thanks for any help. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From levym at bhphoto.com Thu Apr 1 20:33:00 2004 From: levym at bhphoto.com (Levy) Date: Thu, 01 Apr 2004 13:33:00 -0500 Subject: Connection refused by host" Message-ID: <406C1A0C.17830.4CAF65B@localhost> An HTML attachment was scrubbed... URL: From tiago at pbi.com.br Thu Apr 1 20:42:00 2004 From: tiago at pbi.com.br (Tiago Augusto Wegner) Date: Thu, 01 Apr 2004 15:42:00 -0300 Subject: check_ifoperstatus In-Reply-To: <406C1A33.14882.4CB8D79@localhost> References: <406C1A33.14882.4CB8D79@localhost> Message-ID: <406C6278.7050400@pbi.com.br> Levy, A quick way to solve this is: # perl -MCPAN -e shell # install Net::SNMP # quit This is seen in the REQUIREMENTS file in nagios-plugins package. Regards Levy escreveu: > Hi > I'm new to nagios, but have it setup and worked fine for most checks. > Problem is when using the check_ifoperstatus this is the error I'm getting: > > -bash-2.05b$ ./check_ifoperstatus > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /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_ifoperstatus > line 40. > BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. > -bash-2.05b$ > > Nagios 1.2 on Red hat linux 9 with nagios-plugins 1.3.1 > > Thanks for any help. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Tiago A. Wegner - Consultor T?cnico tiago at pbi.com.br Red Hat Certified Engineer PBI - Redu??o de TCO www.pbi.com.br 55 51 33251088 /91885858 MSN:tawegner at hotmail.com ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thepcguy at veryspeedy.net Thu Apr 1 20:48:23 2004 From: thepcguy at veryspeedy.net (Pat) Date: Thu, 01 Apr 2004 13:48:23 -0500 Subject: NSCA Help resend Message-ID: <1080845302.7195.36.camel@localhost.localdomain> I compiled. Fixed the cfg files. I loading it up stand alone manually for now. The process starts on the server without any error. But on the client (send_) I get the followin error. Server closed connection before INIT packet was received could not read init packet from server What does it mean? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakes_email at yahoo.com Thu Apr 1 20:46:45 2004 From: blakes_email at yahoo.com (Blake) Date: Thu, 1 Apr 2004 10:46:45 -0800 (PST) Subject: check_ifoperstatus In-Reply-To: <406C1A33.14882.4CB8D79@localhost> References: <406C1A33.14882.4CB8D79@localhost> Message-ID: <20040401184645.72564.qmail@web10509.mail.yahoo.com> install perl-Net-SNMP package --- Levy wrote: > Hi > I'm new to nagios, but have it setup and worked fine > for most checks. > Problem is when using the check_ifoperstatus this is > the error I'm getting: > > -bash-2.05b$ ./check_ifoperstatus > Can't locate Net/SNMP.pm in @INC (@INC contains: > /usr/local/nagios/libexec > /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_ifoperstatus > line 40. > BEGIN failed--compilation aborted at > ./check_ifoperstatus line 40. > -bash-2.05b$ > > Nagios 1.2 on Red hat linux 9 with nagios-plugins > 1.3.1 > > Thanks for any help. > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Apr 1 20:57:40 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 1 Apr 2004 10:57:40 -0800 (PST) Subject: NSCA Help resend In-Reply-To: <1080845302.7195.36.camel@localhost.localdomain> References: <1080845302.7195.36.camel@localhost.localdomain> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This usually means that nsca has not been configured to allow access to the host making the connection. Check the config files for a specification of allowed hosts. - -Jason Martin On Thu, 1 Apr 2004, Pat wrote: > I compiled. Fixed the cfg files. I loading it up stand alone manually > for now. > The process starts on the server without any error. > > But on the client (send_) I get the followin error. > > Server closed connection before INIT packet was received > could not read init packet from server > > What does it mean? > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAbGaal2ODWuqVSBMRAgLgAKCM3RdOjEhSk0LAi3tFVM0F6P5pPwCfUUsR aF2eQ9MeS1CNZT6YJATc0nc= =J4HD -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakes_email at yahoo.com Thu Apr 1 21:03:29 2004 From: blakes_email at yahoo.com (Blake) Date: Thu, 1 Apr 2004 11:03:29 -0800 (PST) Subject: Connection refused by host" In-Reply-To: <406C1A0C.17830.4CAF65B@localhost> References: <406C1A0C.17830.4CAF65B@localhost> Message-ID: <20040401190329.56422.qmail@web10504.mail.yahoo.com> check your services.cfg again, your missing an 's' for the command check_https --- Levy wrote: --------------------------------- Hi#160; I'm monitoring HTTPS on our web servers, when runing it via command line it works fine. But when runing it through Nagios it gives me back "Connection refused by host" This is my services.cfg file: # Service Definition HTTPS define service{ #160;#160;#160;#160;#160;#160;#160; use#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160; generic-service #160;#160;#160;#160;#160;#160;#160; host_name#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160; secure02 #160;#160;#160;#160;#160;#160;#160; service_description#160;#160;#160;#160; HTTPS #160;#160;#160;#160;#160;#160;#160; is_volatile#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160; 0 #160;#160;#160;#160;#160;#160;#160; check_period#160;#160;#160;#160;#160;#160;#160;#160;#160;#160;#160; 24x7 #160;#160;#160;#160;#160;#160;#160; max_check_attempts#160;#160;#160;#160;#160; 4 #160;#160;#160;#160;#160;#160;#160; normal_check_interval#160;#160; 5 #160;#160;#160;#160;#160;#160;#160; retry_check_interval#160;#160;#160; 1 #160;#160;#160;#160;#160;#160;#160; contact_groups#160;#160;#160;#160;#160;#160;#160;#160;#160; System_Group #160;#160;#160;#160;#160;#160;#160; notification_interval#160;#160; 240 #160;#160;#160;#160;#160;#160;#160; notification_period#160;#160;#160;#160; 24x7 #160;#160;#160;#160;#160;#160;#160; notification_options#160;#160;#160; n #160;#160;#160;#160;#160;#160;#160; check_command#160;#160;#160;#160;#160;#160;#160;#160;#160;#160; check_http!/testme.html this is the checkcommands.cfg file: # 'check_https' command definition define command{ #160;#160;#160;#160;#160;#160;#160; command_name#160;#160;#160; check_https #160;#160;#160;#160;#160;#160;#160; command_line#160;#160;#160; $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ -S When I run it in command line: ./check_http -H 000.000.000.000 -u testme.html -S#160; This is what I will get HTTP ok: HTTP/1.1 200 OK -#160;#160; 0.029 second response time |time=#160; 0.029 Nagios Version 1.2 - Plugins 1.3 - Red hat linux 9#160;#160; -------------------------------------------------------This SF.Net email is sponsored by: IBM Linux TutorialsFree Linux tutorial presented by Daniel Robbins, President and CEO ofGenToo technologies. Learn everything from fundamentals to systemadministration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click_______________________________________________Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thepcguy at veryspeedy.net Thu Apr 1 21:11:48 2004 From: thepcguy at veryspeedy.net (Pat) Date: Thu, 01 Apr 2004 14:11:48 -0500 Subject: NSCA Help resend In-Reply-To: References: <1080845302.7195.36.camel@localhost.localdomain> Message-ID: <1080846707.7195.39.camel@localhost.localdomain> Okay. Figured out that I's put spaces between the allowed IP addresses in the cfg file. Only comma...no spaces. Now I get a timeout though. No errors, just a timeout after whatever I put there. On Thu, 2004-04-01 at 13:57, Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > This usually means that nsca has not been configured to allow access to > the host making the connection. Check the config files for a specification > of allowed hosts. > > - -Jason Martin > > On Thu, 1 Apr 2004, Pat wrote: > > > I compiled. Fixed the cfg files. I loading it up stand alone manually > > for now. > > The process starts on the server without any error. > > > > But on the client (send_) I get the followin error. > > > > Server closed connection before INIT packet was received > > could not read init packet from server > > > > What does it mean? > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and CEO of > > GenToo technologies. Learn everything from fundamentals to system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.5 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAbGaal2ODWuqVSBMRAgLgAKCM3RdOjEhSk0LAi3tFVM0F6P5pPwCfUUsR > aF2eQ9MeS1CNZT6YJATc0nc= > =J4HD > -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gemeosdf at yahoo.com.br Thu Apr 1 21:17:22 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Thu, 1 Apr 2004 16:17:22 -0300 (ART) Subject: nagios access database Message-ID: <20040401191722.69452.qmail@web12901.mail.yahoo.com> Hi, I'm name is Marcelo, I am science computer student and I have a project to use Nagios. However, I'm having some problems in order to configure Nagios access Mysql database or Postgresql. I would like to know if somebody have any expertise with it. If so, Can anybody help me? Thanks Marcelo --------------------------------- Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel.e.asselin at bell.ca Thu Apr 1 17:48:06 2004 From: daniel.e.asselin at bell.ca (ASSELIN, DANIEL) Date: Thu, 01 Apr 2004 10:48:06 -0500 Subject: 3D problem Message-ID: <406C39B6.7050203@bell.ca> Nasty problem on 3D The image apears then dissapears; I'm runing FreeWRL-1.06-pre1 on Linux 8 for display the server is Solaris7 Daniel Asselin Sys/Admin ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakes_email at yahoo.com Thu Apr 1 21:36:48 2004 From: blakes_email at yahoo.com (Blake) Date: Thu, 1 Apr 2004 11:36:48 -0800 (PST) Subject: nagios access database In-Reply-To: <20040401191722.69452.qmail@web12901.mail.yahoo.com> References: <20040401191722.69452.qmail@web12901.mail.yahoo.com> Message-ID: <20040401193648.25047.qmail@web10505.mail.yahoo.com> what exactly are you having a problem with? have you read http://nagios.sourceforge.net/docs/1_0/xdata-db.html ? what is your ultimate goal? --- Marcos & Marcelo wrote: > Hi, > > I'm name is Marcelo, I am science computer student > and I have a project to use Nagios. > However, I'm having some problems in order to > configure Nagios access Mysql database or > Postgresql. I would like to know if somebody have > any expertise with it. If so, Can anybody help me? > > Thanks > Marcelo > > > > --------------------------------- > Yahoo! Mail - O melhor e-mail do Brasil. Abra sua > conta agora! __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Thu Apr 1 21:43:19 2004 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Thu, 1 Apr 2004 14:43:19 -0500 Subject: 3D problem Message-ID: Okay, what is Linux 8? Last I checked the Linux kernel was at 2.6.x? SuSE 8? Red Hat 8? Slackware 8? Mandrake 8? ---- Charles H. Baker Unix/Linux Systems Administrator, RHCE 803003765209325 chbaker at ps.rockwell.com work: 864.281.2409 cell: 864.363.5302 Whatever you vividly imagine, ardently desire, sincerely believe and enthusiastically act upon, must inevitably come to pass. Paul J. Meyer "ASSELIN, DANIEL" To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sour Subject: [Nagios-users] 3D problem ceforge.net 04/01/2004 10:48 AM Nasty problem on 3D The image apears then dissapears; I'm runing FreeWRL-1.06-pre1 on Linux 8 for display the server is Solaris7 Daniel Asselin Sys/Admin ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HargisM at si.edu Thu Apr 1 22:49:52 2004 From: HargisM at si.edu (Mandy Hargis) Date: Thu, 01 Apr 2004 15:49:52 -0500 Subject: Status Information (No output)! on all service checks Message-ID: I recently installed Nagios 1.2 with Nagios plugins 1.3.1 on Solaris 9. I have been running Nagios 1.0b6 for over a year and monitoring around 700 hosts and 1100 services so I copied my old /usr/local/nagios/etc directory which also contains all of my *.cfg files. The web interface shows all of the hosts 'UP' but all of my service check "Status Information"s are showing as (No output!). All *.cfg files worked perfectly with Nagios 1.0b6 so I am omitting the definitions in this posting because of that. I can run all the check_ commands via command line with success and single line output. The status.log shows only more of the same (No output!) and I cannot see any other problems in the logs or /var/adm/messages file. I checked the FAQs and mailing lists without success. Any suggestions would be greatly appreciated. Thanks, Mandy ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gemeosdf at yahoo.com.br Thu Apr 1 23:03:04 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Thu, 1 Apr 2004 18:03:04 -0300 (ART) Subject: nagios access database In-Reply-To: <20040401193648.25047.qmail@web10505.mail.yahoo.com> References: <20040401193648.25047.qmail@web10505.mail.yahoo.com> Message-ID: <20040401210304.86619.qmail@web12907.mail.yahoo.com> Blake, I have already seen this site before, but when I tried to do, it didn't work. Then, I found an rpm http://rpm.pbone.net/index.php3/stat/4/idpl/914077/com/nagios-mysql-www-1.1-alt2.i586.rpm.html However, I don't know if it's really necessary in order to make nagios access mysql database. Do you have any kind of cookbook for this subject? Thanks Marcelo Blake wrote: what exactly are you having a problem with? have you read http://nagios.sourceforge.net/docs/1_0/xdata-db.html ? what is your ultimate goal? --- Marcos & Marcelo wrote: > Hi, > > I'm name is Marcelo, I am science computer student > and I have a project to use Nagios. > However, I'm having some problems in order to > configure Nagios access Mysql database or > Postgresql. I would like to know if somebody have > any expertise with it. If so, Can anybody help me? > > Thanks > Marcelo > > > > --------------------------------- > Yahoo! Mail - O melhor e-mail do Brasil. Abra sua > conta agora! __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ --------------------------------- Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sam.Harris at fns.usda.gov Thu Apr 1 23:08:11 2004 From: Sam.Harris at fns.usda.gov (Harris, Sam) Date: Thu, 1 Apr 2004 16:08:11 -0500 Subject: Apache on Red Hat Enterprise Message-ID: HI, Any of you ever experienced problems with accessing Nagios directories with apache 2.0 under RH enterprise version ? Sam Harris Network and Systems Security ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Thu Apr 1 23:42:39 2004 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Thu, 1 Apr 2004 16:42:39 -0500 Subject: Multiple Servers on the internet -- possible? In-Reply-To: References: Message-ID: <002301c41832$42598150$0200a8c0@SRINILAPTOP> Peter Thanks for the response. Basically, my situation is similar to the you have identified! Here is the environment I am operating in: 1. I have 3 web servers (most of them hosting multiple sites - virtual hosting) on 3 different networks. 2. I have 1 host that I want to set-up 1 monitoring host on one of the networks, that will monitor the following: a. http availability (for all the sites that are hosted). So, say server1 has n sites, server2 has x sites and server 3 has y sites I want to monitor (n + x + y) sites. -- for this I guess check_http should work just fine! b. cpu usage - by host c. bandwidth usage - by host d. memory usage - by host e. core dumps and page faults - by host f. Essential services up and running - Sendmail, PostgreSQL, etc I understood the VPN point that you had raised. I am not too familiar with VPNs (and perhaps this is not the forum for getting an understanding about VPNs), but will I need to set-up 2 NICs on my hosts to establish a reliable VPN between 2 networks? i.e. 1 for the regular connections and 1 solely for the VPN? Regards KS -----Original Message----- From: Peter Gutmann [mailto:peter.gutmann at db.com] Sent: Thursday, April 01, 2004 9:24 AM To: ksrinivas at bisil.com Cc: Nagios (E-mail); nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Multiple Servers on the internet -- possible? Yes there are security issues. What sort of security issues that are involved depend on the host based and network based security and what you are looking to monitor. For example, if you are monitoring a web site (www.yahoo.com) to check internet connectivity. Then the standard check_http should work, and you would just have to secure the outside interface of the machine used to run the monitor. If you are looking to monitor your own web servers, you are presented with a very different challenge. The key thing is to not rely on any single protocol, single piece of hardware, or single device to protect your applications, networks and hosts. In short, you should fully secure each of your web server farms, build secure VPN connections between the web sever farms, and regularly monitor all of the log files. If you can tell us more about what you are attempting to accomplish, perhaps we can help more. ---- Peter Gutmann Peter.Gutmann at db.com "Srinivas Kotapally" Sent by: nagios-users-admin at lists.sourceforge.net 03/31/2004 06:52 PM Please respond to ksrinivas To: "Nagios \(E-mail\)" cc: Subject: [Nagios-users] Multiple Servers on the internet -- possible? Hi all I want to be able to use Nagios to monitor 3-4 servers (running RedHat Linux). What kind of access do I require on each box if they are all internet server (not on the same local network). Are there any security issues that I need to keep in mind before setting this up? Any input appreciated in advance! Cheers KS ----- Srinivas Kotapally, Analyst BISIL North America Inc. 919, Conestoga Road, Suite 206, Bldg 2 Rosemont, PA 19010 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksrinivas at bisil.com Thu Apr 1 23:45:33 2004 From: ksrinivas at bisil.com (Srinivas Kotapally) Date: Thu, 1 Apr 2004 16:45:33 -0500 Subject: Multiple Servers on the internet -- possible? In-Reply-To: <20040401124644.80639.qmail@web10510.mail.yahoo.com> References: <20040401124644.80639.qmail@web10510.mail.yahoo.com> Message-ID: <002401c41832$a964bf40$0200a8c0@SRINILAPTOP> Blake is there a tutorial that will give the steps on how to set-up nagios to get this info through ssh? Thanks for this response! KS -----Original Message----- From: Blake [mailto:blakes_email at yahoo.com] Sent: Thursday, April 01, 2004 7:47 AM To: ksrinivas at bisil.com; 'Nagios (E-mail)' Subject: RE: [Nagios-users] Multiple Servers on the internet -- possible? Im not so sure what your looking for but my thoughts are that if these servers already have services available on the Internet (HTTP, HTTPS, etc..) then you have no other concerns than what you should already have .. other than that you should be able to get away with opening up TCP port 22 in your firewall for SSH. Nagios should be able to use SSH to get all the information you need. You could also open up SNMP and limit access via your firewall access lists and locally using iptables. Make sure your software is patched and configured properly. Those are my thoughts. -- Blake --- Srinivas Kotapally wrote: > Yes... Stuff like host up/down, diskspace, > permofmance (CPU usage, memory, > bandwidth, etc)... > > -----Original Message----- > From: Blake [mailto:blakes_email at yahoo.com] > Sent: Wednesday, March 31, 2004 10:33 PM > To: ksrinivas at bisil.com; Nagios (E-mail) > Subject: Re: [Nagios-users] Multiple Servers on the > internet -- > possible? > > > what do you plan to monitor? host up down status, > service, performance, etc.. ? > > --- Srinivas Kotapally wrote: > > Hi all > > > > I want to be able to use Nagios to monitor 3-4 > > servers (running RedHat > > Linux). What kind of access do I require on each > > box if they are all > > internet server (not on the same local network). > > Are there any security > > issues that I need to keep in mind before setting > > this up? > > > > Any input appreciated in advance! > > > > Cheers > > > > KS > > > > ----- > > Srinivas Kotapally, Analyst > > > > BISIL North America Inc. > > 919, Conestoga Road, Suite 206, Bldg 2 > > Rosemont, PA 19010 > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux > > Tutorials > > Free Linux tutorial presented by Daniel Robbins, > > President and CEO of > > GenToo technologies. Learn everything from > > fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/ > __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgarcia at suse.com.ve Thu Apr 1 23:44:56 2004 From: jgarcia at suse.com.ve (Javier Garcia) Date: Thu, 1 Apr 2004 17:44:56 -0400 (VET) Subject: nagios access database In-Reply-To: <20040401191722.69452.qmail@web12901.mail.yahoo.com> References: <20040401191722.69452.qmail@web12901.mail.yahoo.com> Message-ID: Hi Marcelo, What do you need? Please, describe exactly your problems, and if is important, copy/paste the error mensages... I was installed Nagios with MySQL support just few days ago. j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 On Thu, 1 Apr 2004, [iso-8859-1] Marcos & Marcelo wrote: > Hi, > > I'm name is Marcelo, I am science computer student and I have a project to use Nagios. > However, I'm having some problems in order to configure Nagios access Mysql database or Postgresql. I would like to know if somebody have any expertise with it. If so, Can anybody help me? > > Thanks > Marcelo > > > > --------------------------------- > Yahoo! Mail - O melhor e-mail do Brasil. Abra sua conta agora! ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luke at indiana.edu Thu Apr 1 23:53:45 2004 From: luke at indiana.edu (Luke Fowler) Date: Thu, 1 Apr 2004 16:53:45 -0500 (EST) Subject: check_ping strangeness Message-ID: We have recently set up a Nagios instance on a redhat 9 box, and are seeing strange things from check_ping (which we are using as a host check). Our service checks are all working fine, and returning output as expected. check_ping, however, is doing some strange things. Pings to devices that are pingable return the following in the status information field: "/bin/ping -n -U -c 1 10.0.1.1" (the /bin/ping command that check_ping is calling, I assume). However, running check_ping from the command line, with the same parameters, gives: [luke at ratt libexec]$ ./check_ping -H 10.0.1.1 -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 7.32 ms The definition in checkcommands.cfg: define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } Any idea what could be causing this? Thanks! --Luke -- Luke A. Fowler GlobalNOC Programmer luke at indiana.edu Office: 812.856.0978 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Apr 2 00:18:11 2004 From: marc at ena.com (Marc Powell) Date: Thu, 1 Apr 2004 16:18:11 -0600 Subject: check_ping strangeness Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A3B4@mismail2.ena.com> On Thursday, April 01, 2004 3:54 PM, Luke Fowler shared with us: > We have recently set up a Nagios instance on a redhat 9 box, and are > seeing strange things from check_ping (which we are using as a host > check). > > Our service checks are all working fine, and returning output as > expected. > check_ping, however, is doing some strange things. > > Pings to devices that are pingable return the following in the status > information field: "/bin/ping -n -U -c 1 10.0.1.1" (the /bin/ping > command that check_ping is calling, I assume). > > However, running check_ping from the command line, with the same > parameters, gives: > > [luke at ratt libexec]$ ./check_ping -H 10.0.1.1 -w 3000.0,80% -c > 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 7.32 ms > > The definition in checkcommands.cfg: > > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } > > > Any idea what could be causing this? Yes. Did you run your test command as root or the nagios user, which check_ping is run as? /bin/ping probably isn't executable by any user other than root. To change that, chmod 4755 /bin/ping and make sure it's owned by root. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakes_email at yahoo.com Fri Apr 2 00:18:14 2004 From: blakes_email at yahoo.com (Blake) Date: Thu, 1 Apr 2004 14:18:14 -0800 (PST) Subject: Apache on Red Hat Enterprise In-Reply-To: References: Message-ID: <20040401221814.85827.qmail@web10504.mail.yahoo.com> what exactly is the prolem? --- "Harris, Sam" wrote: > HI, > > Any of you ever experienced problems with accessing > Nagios directories with apache 2.0 under RH > enterprise version ? > > > Sam Harris > Network and Systems Security > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luke at indiana.edu Fri Apr 2 00:22:25 2004 From: luke at indiana.edu (Luke Fowler) Date: Thu, 1 Apr 2004 17:22:25 -0500 (EST) Subject: check_ping strangeness Message-ID: Marc, tried both as the nagios user and as another non-privledged user. both work fine: [root at ratt libexec]# su nagios [nagios at ratt libexec]$ ./check_ping 10.0.1.2 -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 9.41 ms [nagios at ratt libexec]$ ls -l /bin/ping -rwsr-xr-x 1 root root 28628 Jan 24 2003 /bin/ping --Luke On Thu, 1 Apr 2004, Marc Powell wrote: > On Thursday, April 01, 2004 3:54 PM, Luke Fowler shared with us: > > > We have recently set up a Nagios instance on a redhat 9 box, and are > > seeing strange things from check_ping (which we are using as a host > > check). > > > > Our service checks are all working fine, and returning output as > > expected. > > check_ping, however, is doing some strange things. > > > > Pings to devices that are pingable return the following in the status > > information field: "/bin/ping -n -U -c 1 10.0.1.1" (the /bin/ping > > command that check_ping is calling, I assume). > > > > However, running check_ping from the command line, with the same > > parameters, gives: > > > > [luke at ratt libexec]$ ./check_ping -H 10.0.1.1 -w 3000.0,80% -c > > 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 7.32 ms > > > > The definition in checkcommands.cfg: > > > > define command{ > > command_name check-host-alive > > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > > 3000.0,80% -c 5000.0,100% -p 1 > > } > > > > > > Any idea what could be causing this? > > Yes. Did you run your test command as root or the nagios user, which > check_ping is run as? /bin/ping probably isn't executable by any user > other than root. To change that, chmod 4755 /bin/ping and make sure it's > owned by root. > > -- > Marc > -- Luke A. Fowler luke at indiana.edu Office: 812.856.0978 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomaspan at usa.net Fri Apr 2 00:27:51 2004 From: thomaspan at usa.net (THOMAS PAN) Date: Thu, 01 Apr 2004 22:27:51 -0000 Subject: Nagios-users digest, Vol 1 #1970 - 36 msgs Message-ID: Hi, My email address has been changed to thomaspan2 at yahoo.com. Please forward your email to the new address. Sorry for the inconvenience. Thanks, Thomas ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 01:08:53 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 02 Apr 2004 00:08:53 +0100 Subject: NRPE problems In-Reply-To: References: Message-ID: <20040401230855.26825.qmail@minnow.softflare.net> Seth Hollist writes: > I'm running nrpe to remotely monitor local services on a fedora core 1 > machine, but I keep getting these errors: > > Mar 31 16:00:52 fedora xinetd[572]: Deactivating service nrpe due to > excessive incoming connections. Restarting in 30 seconds. xinetd tries to protect you from DoS attacks by deactivating demons that have excessive incoming connections. The easy fix is to read the man pages for xinetd to find out how to allow more incoming connections. The real problem, however, may be completely unrealistic check schedules and/or retry intervals. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Apr 2 01:28:12 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 02 Apr 2004 00:28:12 +0100 Subject: Echo nagios status? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A3AB@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A3AB@mismail2.ena.com> Message-ID: <20040401232812.29256.qmail@minnow.softflare.net> Marc Powell writes: > On Wednesday, March 31, 2004 12:21 PM, Paul L. Allen shared with us: >> As I recall if the check goes stale then Nagios will try to perform >> an the active check that you defined. This is useful if you want >> distributed monitoring to take the load off the central monitor but >> want the central machine to take over if one of your distributed >> monitors goes down. > > Presuming freshness checking is enabled... Moot point. If it's not enabled you'll never know if your passive checks have stopped coming in. So if you're doing passive checks without freshness checking you have a sub-optimal configuration. > Also from the documentation on freshness checking "It is important to > note that an active service check which is being forced because the > service was detected as being "stale" gets executed even if active > service checks are disabled on a program-wide or service-specific > basis." I'd forgotten about that one. When I replied (as now) it was late at night because I'd spent most of the day dealing with important issues. I'm now working through my mailbox dealing with the issues of lesser importance through a haze of red wine. You do need to set up a dummy active check in some circumstances, IST(vaguely)R. >> If the reason you have a machine submitting passive checks is because >> an intervening firewall won't let you do active checks then you don't >> want active checks enabled unless you want misleading error mesages. > > This seems to me to be irrelevant. He already recognizes that in his > situation, active checks from Nagios aren't acceptable to him and the > desired solution is the same either way. The distinction is whether you see a critical error that tells you the results are stale or a critical error that tells you that such-and-such a check failed. If the passive check is stale you get told it is stale, which points you in one direction. But if an active check gets run and fails (because there's no way it could work) you get led in another direction. In an ideal world you remember every detail of your configs and understand that if the active check gets run it will necessarily fail. In the real world you get woken at an ungodly hour by an alert and start trying to figure things out with excess blood in your caffeinestream. Also you have a PHB screaming at you that an active check has failed when really a passive check has gone stale. > If you were to see 'misleading error messages' because of this then I > would say the installation wasn't thought through or implemented very > well. You do have to understand that Nagios is designed to do active checks if passive checks fail so that failover monitoring is possible and that you need to take additional steps if active checks are not possible. However, I still think Nagios is wrong in reporting stale checks as critical. This is a transport issue and I believe the correct interpretation is that the service state is unknown. But that's an other issue. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjapko at xeloq.com Fri Apr 2 01:30:16 2004 From: tjapko at xeloq.com (XeloQ Communications) Date: 01 Apr 2004 19:30:16 -0400 Subject: check snmp question In-Reply-To: <1080769540.15237.38.camel@dc854336e.dslam-03-16-4-02-01-01.urb.dsl.cantv.net> References: <1080769540.15237.38.camel@dc854336e.dslam-03-16-4-02-01-01.urb.dsl.cantv.net> Message-ID: <1080862215.4582.2.camel@dc85430e7.dslam-04-31-4-02-01-02.urb.dsl.cantv.net> OK . I solved this one. If you use the -O n parameter in the snmpwalk you see all the OID numerics. On Wed, 2004-03-31 at 17:45, XeloQ Communications wrote: > Hello, > > Installed nagios on RH9 and running well. I try to implement the > chec_snmp service and therefore installed net-snmp with success. > > The units that I like to snmp are provided with a propietary MIB list. > The unit itself are prepared for the use of snmp. > > After in depth trying to get the snmpget to work I end up all the time > with a famous SNMP error SNMP Problem No data received from host. > > My big question is the -o parameter in the check_snmp plugin. > > I do have the vendors SNMPv2 MIB definition txt file but I don't have > anything related to the OID information. > > As I understood from all the material I read sofar I need to tell the > snmpget what info he need to take out the device that I like to manage > by filling out the -o parameter by using some sort of number like > 1.2.3.5.23.0 > > What I would like to know if is I am right and if so HOW to obtain the > appropriate numbers. > > My command while testing sofar is looking like this: > > check_snmp -H 200.84.100.100 -p 161 -P 1 -m /usr/share/snmp/mib/DEVICE. > MIB.txt -0 ?.?.?.? > > Can anybody give me a hint here? > > Tjapko. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjapko at xeloq.com Fri Apr 2 01:35:00 2004 From: tjapko at xeloq.com (XeloQ Communications) Date: 01 Apr 2004 19:35:00 -0400 Subject: SNMP Plugin Help In-Reply-To: References: Message-ID: <1080862500.4582.7.camel@dc85430e7.dslam-04-31-4-02-01-02.urb.dsl.cantv.net> I am no expert and just started implementing this snmp thing. For me it is working now and it seems that you need a trailing .0 in your OID to make it happen. check_snmp!.1.3.6.1.4.1.2021.10.1.3.1.0!nagios!2112. Tjapko. On Wed, 2004-03-31 at 17:16, Clint Sulis wrote: > Hello, > > > I'm having trouble monitoring load average, and could use some help. > My SNMP service runs on port 2112 and the community is called > "nagios". When I call the check_snmp plugin from a shell prompt it > works great, but when I create a service to do the same thing, I get a > warning that no data was received! I will provide as much information > as I can about my setup and the tests I have run so far. Any advice > you can give on how I can troubleshoot this more in-depth would be > greatly appreciated! > > > =================== > > COMMAND PROMPT TEST > > =================== > > > /usr/local/nagios/libexec/check_snmp -H 69.20.4.144 -o > .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 > > SNMP OK - "0.20" > > > ========================== > > ENTRY IN CHECKCOMMANDS.CFG > > ========================== > > > define command { > > command_name check_snmp > > command_line /usr/local/nagios/libexec/check_snmp -H > $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ -p $ARG3$ > > } > > > ===================== > > ENTRY IN SERVICES.CFG > > ===================== > > > define service { > > use generic_service > > host_name rackspace_yourmis > > service_description LOAD > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 3 > > retry_check_interval 1 > > contact_groups admin > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command > check_snmp!.1.3.6.1.4.1.2021.10.1.3.1!nagios!2112 > > } > > > I'm really puzzled at what could be the problem. If you know how I > can get more detail on what nagios might be doing wrong when it runs > this service check, please let me know. Thank you! > > > HelveticaClint Sulis > > ==================== > > System Administrator > > PHP/MySQL Programmer ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Apr 2 02:35:18 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 1 Apr 2004 16:35:18 -0800 (PST) Subject: Echo nagios status? In-Reply-To: <20040401232812.29256.qmail@minnow.softflare.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A3AB@mismail2.ena.com> <20040401232812.29256.qmail@minnow.softflare.net> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > However, I still think Nagios is wrong in reporting stale checks as > critical. This is a transport issue and I believe the correct > interpretation is that the service state is unknown. But that's an other > issue. Nagios doesn't know that a stale check is critical, it just forces a service check. If you want stale checks to report their staleness, just define a service check command script that does an echo w/a meaningful report of staleness and have it "exit 3". The only thing Nagios does (if freshness is enabled) w/a stale check is force execution of a plugin. - -Jason Martin > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAbLVJl2ODWuqVSBMRArizAKCPUI4ZTihJx3W1N3XV80mryrxskQCfScpK uUpUuyWfIeri8jzxz3piaU4= =hiYK -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Fri Apr 2 02:40:10 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 02 Apr 2004 01:40:10 +0100 Subject: Echo nagios status? In-Reply-To: References: <370ACCFA5BB3B346A31222E5559BF91F03A3AB@mismail2.ena.com> <20040401232812.29256.qmail@minnow.softflare.net> Message-ID: <20040402004011.6979.qmail@minnow.softflare.net> Jason Martin writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >> However, I still think Nagios is wrong in reporting stale checks as >> critical. This is a transport issue and I believe the correct >> interpretation is that the service state is unknown. But that's an other >> issue. > Nagios doesn't know that a stale check is critical, it just forces a > service check. If you want stale checks to report their staleness, just > define a service check command script that does an echo w/a meaningful > report of staleness and have it "exit 3". Damn, I thought I'd done that. :( Obviously I have an error there. > The only thing Nagios does (if freshness is enabled) w/a stale check is > force execution of a plugin. Yeah, I know. So I created a plugin that would return a "this check is stale" warning. Looks like I screwed up. Damn, I hate it when that happens. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at netspace.net.au Fri Apr 2 03:17:59 2004 From: scott at netspace.net.au (Scott) Date: Fri, 2 Apr 2004 11:17:59 +1000 Subject: Flap Detection Message-ID: <947D78E6-8443-11D8-A670-000A9582EEFA@netspace.net.au> Hi Guys and girls and any other genders available. I wouldn't say I am new to Nagios but I seem to have hit a bit of a wall in regards to a slight problem with flapping. I have it set to the default settings in the nagios.cfg file low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 This is working fine with the current setup except when I come across a scenerio that looks similar to this. [2004-04-02 10:21:54] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 10:12:54] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. [2004-04-02 10:06:54] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 10:00:44] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. [2004-04-02 08:41:35] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 08:23:34] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. [2004-04-02 06:32:14] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 06:29:14] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. [2004-04-02 06:26:08] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 06:05:14] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. [2004-04-02 05:13:24] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 04:55:29] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. [2004-04-02 04:25:15] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 04:16:25] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. [2004-04-02 03:31:14] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 03:25:24] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. [2004-04-02 03:22:24] SERVICE ALERT: mx4;RAID_STATUS;UNKNOWN;HARD;5;CHECK_NRPE: No output returned from NRPE daemon. [2004-04-02 03:19:24] SERVICE ALERT: mx4;RAID_STATUS;CRITICAL;HARD;5;CHECK_NRPE: Socket timeout after 30 seconds. As is seen from this log, I am getting a state change every check, this continues for some time and therefore I get a notification for every one of these checks until Nagios sees the threshold crossed for flapping (in this case it would be the very next check or 2). The only problem is that I would like to set up something to let me know that the service/host has gone into flap detecion territory and therefore suspend notifications after notifying the correct parties that it has been put into a flap state. Not sure if this makes sense or not but at present notifications go silent and its not until I look at the web gui that I actually know that it has gone into a flap state. Was wondering if anybody else has found this problem and if there is a simple solution for it. I have read the docs and they do say that in flap states NOBODY GETS NOTIFIED, which I won't argue with but would like to know that it has occured though. Looking forward to hearing some feedback --- Scott -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3671 bytes Desc: not available URL: From sghosh at sghosh.org Fri Apr 2 03:22:04 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 1 Apr 2004 20:22:04 -0500 (EST) Subject: nrpe_nt/ssh & perl script Message-ID: Has any one come across an issue with running a perl script on a Windows 2003 box using either NRPE_NT or SSH? I keep getting a "Bad file descriptor" in $! However, running the script while logged on, via rdesktop or ssh, causes no errors. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ZalafR at Leadingedgegroup.com.au Fri Apr 2 05:05:19 2004 From: ZalafR at Leadingedgegroup.com.au (Rabbie Zalaf) Date: Fri, 2 Apr 2004 13:05:19 +1000 Subject: Customising status map Message-ID: <5237E8DD31703E4B8F18DE416229C8C0C282C7@legsydms01.leadingedgegroup.com.au> Hi All, Can someone please tell me how I can configure the statusmap to not have that green background? Thanks. Rabbie Zalaf Network Consultant Leading Edge Internet 02 9497 4024 http://www.leadingedgeinternet.net.au -----BEGIN GEEK CODE BLOCK----- VERSION: 3.1 GIT d++ s:>s-:- a22 C++++ L U+++ P+ L+++>$L+++++ E--- W+++ w-- M-- t+++ G++ -----END GEEK CODE BLOCK----- This document together with any attachments is confidential and is intended for the named recipient only. It can not be copied, disclosed, passed on or duplicated in any way shape or form, without the prior permission of the author. If you are not the intended recipient please contact the author immediately and destroy the message. All parties acknowledge that any breach of confidence or disclosures made by any party, (including their employees, agents and contracted service providers such as solicitors, accountants, auditors and others), which may result in a commercial loss to Leading Edge Group, may result in Leading Edge Group exercising such rights as are available to them in connection with that loss. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakes_email at yahoo.com Fri Apr 2 05:13:14 2004 From: blakes_email at yahoo.com (Blake) Date: Thu, 1 Apr 2004 19:13:14 -0800 (PST) Subject: Customising status map In-Reply-To: <5237E8DD31703E4B8F18DE416229C8C0C282C7@legsydms01.leadingedgegroup.com.au> References: <5237E8DD31703E4B8F18DE416229C8C0C282C7@legsydms01.leadingedgegroup.com.au> Message-ID: <20040402031314.69784.qmail@web10509.mail.yahoo.com> does this http://nagios.sourceforge.net/docs/1_0/configcgi.html#statusmap_background_image help?? --- Rabbie Zalaf wrote: > Hi All, > > Can someone please tell me how I can configure the > statusmap to not have > that green background? > > Thanks. > > Rabbie Zalaf > Network Consultant > Leading Edge Internet > 02 9497 4024 > http://www.leadingedgeinternet.net.au > -----BEGIN GEEK CODE BLOCK----- > VERSION: 3.1 > GIT d++ s:>s-:- a22 C++++ L U+++ > P+ L+++>$L+++++ E--- W+++ w-- M-- > t+++ G++ > -----END GEEK CODE BLOCK----- > This document together with any attachments is > confidential and is intended > for the named recipient only. It can not be copied, > disclosed, passed on or > duplicated in any way shape or form, without the > prior permission of the > author. If you are not the intended recipient please > contact the author > immediately and destroy the message. All parties > acknowledge that any breach > of confidence or disclosures made by any party, > (including their employees, > agents and contracted service providers such as > solicitors, accountants, > auditors and others), which may result in a > commercial loss to Leading Edge > Group, may result in Leading Edge Group exercising > such rights as are > available to them in connection with that loss. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pedmonds.nagios at boursedata.com.au Fri Apr 2 05:37:31 2004 From: pedmonds.nagios at boursedata.com.au (Peter Edmonds) Date: Fri, 2 Apr 2004 13:37:31 +1000 Subject: Nagios as a replacement for HP OpenView In-Reply-To: <369E6D11A6CCA64BB73C1D1EFDB0D2C1291930@srv-cob-00-0014.elaxy.org> References: <369E6D11A6CCA64BB73C1D1EFDB0D2C1291930@srv-cob-00-0014.elaxy.org> Message-ID: <01e501c41863$d3f9f820$f707a8c0@pedellwin2k> Hi James, Have a look at the following links about Nagios http://www.onlamp.com/pub/a/onlamp/2002/12/05/essentialsysadmin.html http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html http://www.linux-magazine.com/issue/29/Nagios.pdf As a short answer to your feature set question, Nagios can monitor anything, assuming you have a plugin designed to check for the specific condition. You can parse log files for regexs, write your own Perl scripts to parse files etc. Nagios plugins allow you to add performance data to the plugin output, so you could get "event" type information about why a service is in the state it is. There have been a few posts to the listg about event correlation, but I haven't ventured into this area as of yet. Event handlers for Nagios are described here http://nagios.sourceforge.net/docs/1_0/eventhandlers.html You can setup an event handler to respond to a specific service event and automatically perform a pre-defined action. I have event handlers setup to run remote commands via SSH on our Windows servers. Peter Edmonds > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mohr James > Sent: Thursday, April 01, 2004 6:31 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios as a replacement for HP OpenView > > > Hi All! > > I have been given the task of looking into OpenSource software as either > a supplement to or replacement for HP OpenView. I have found a number of > places that say things like "Nagios is not initially designed to be a > Full Blown SNMP Monitoring and Control system like HP OpenView". > However, I cannot go to my boss with a vague statement like that. So, I > am initially looking for something that compares the two > feature-by-feature, more or less. I did a search on google, but did not > find anything very useful. Does anyone know of a feature comparision? > > One of the key aspects is that we have a number of applications that we > need to monitor. For example, Apache, BEA WebLogic, and a number of our > own applications. Among other things, monitoring consists of making sure > the processes are running, parsing log files, etc. Based on the doc that > I have read it seems that I would need to define a service for each > application and then create our own plug-in that monitors the > app/service and sets the status accordingly. Is this right, so far? > > One thing I am missing is that it appears as if services are "state" > oriented and not "event" oriented. That is, you have the states good, > warning, or bad but know nothing about the cause of any problems. For > example, our application could be "bad" because 5 different conditions. > Would each of these 5 conditions be what appears in "Status > Information"? Can I provide or send "messages" in the sense of OpenView > that are event based? That is simply "Hey folks, XXX has just happened"? > > > As I mentioned we need to monitor if certain processes are running and I > came across the "Process Monitor Plugin". It talks about optionally > restarting the process. Is the ability to start programs something built > into Nagios or just this one plug-in. We have some many cases were > automated actions are started when certain events occur. In many cases > these are sent > > What about remotely starting actions from the console? For example, a > message comes that a certain condition exists, and we start an action > that performs an additional check on the system. Or, a service stops and > we do not want it to be automatically started. Instead we want to be > able to start it on demand. > > I have also been looking for something that describe Nagios in abstract > terms, rather than telling me how to configure it. Something along the > lines of a schematic diagram of the various components, who communicates > with whom, how they communicat, what processes are running where and so > on. > > Any info is greatly appreaciated. > > Regards, > > Jim Mohr > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zaineb.de.souza at consultant.volvo.com Fri Apr 2 07:54:47 2004 From: zaineb.de.souza at consultant.volvo.com (De Souza Zaineb) Date: Fri, 2 Apr 2004 13:54:47 +0800 Subject: host, no service Message-ID: Hi Guys. I was wondering how I can create backup contact groups ie so after a host has been down for some time a back up group (with different contacts) is notified.... I had a look in the docu but cant find any ideas... Thanks Zaineb ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 08:10:13 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 2 Apr 2004 01:10:13 -0500 (EST) Subject: host, no service In-Reply-To: References: Message-ID: On Fri, 2 Apr 2004, De Souza Zaineb wrote: > Hi Guys. > I was wondering how I can create backup contact groups ie so after a > host has been down for some time a back up group (with different > contacts) is notified.... > I had a look in the docu but cant find any ideas... > Thanks > Zaineb > you want escalations... -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Fri Apr 2 09:22:55 2004 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 2 Apr 2004 09:22:55 +0200 Subject: AW: Nagios as a replacement for HP OpenView Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C1291944@srv-cob-00-0014.elaxy.org> Hi Carl! If you mean the O'Reilly books, then I have "Essential SNMP", but I am just getting started. The other one got good reviews on Amazon, so I will take a look. Thanks! Regards, Jim > -----Urspr?ngliche Nachricht----- > Von: Carl Schelin [mailto:cschelin at hq.nasa.gov] > Gesendet: Donnerstag, 1. April 2004 18:43 > An: nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] Nagios as a replacement for HP OpenView > > > Two books that I've looked at might be of help: > > Essential SNMP > Network Troubleshooting Tools > > While they don't have feature by feature breakdowns, they > might be able to help you choose what to review. > > Carl > > On Thu, 2004-04-01 at 03:31, Mohr James wrote: > > Hi All! > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President > and CEO of GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Markus.Roelle at sytech.de Fri Apr 2 09:42:16 2004 From: Markus.Roelle at sytech.de (Markus.Roelle at sytech.de) Date: Fri, 2 Apr 2004 09:42:16 +0200 Subject: Problem getting Nagios work with NRPE_NT Message-ID: HI I have the following problem: I like to controll a win2000 machine with nagios on a suse linux machine. But I get the error message from the nagios server: Error receiving data from daemon (nagios.log) And this error in the error log on the windows maschine: Error Could not complete SSL handshake. 0:1 I?m using Nagios 1.2, and the check_nrpe 2.0 on the linux server and nrpe_nt 0.7-e on the windows client. I have installed openssl on the server, and I get the windowslog, the nrpe_nt plugin is initializing and using the encrypted version. So where is my bug ? Thank you for messages. Greetings Markus Roelle ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking at shaw.ca Fri Apr 2 09:45:08 2004 From: wgking at shaw.ca (Greg King) Date: Fri, 02 Apr 2004 00:45:08 -0700 Subject: Nagios as a replacement for HP OpenView Message-ID: <2025e7e2028b92.2028b922025e7e@shaw.ca> > Hi All! >=20 > I have been given the task of looking into OpenSource > software as either [snip] >=20 > Any info is greatly appreaciated. >=20 > Regards, >=20 > Jim Mohr I have worked with HP OV for a few years and with Nagios for a few months, but I'll give you my impressions of how Nagios compares with HP OV. First HP OV is not one product but 50+, but from your questions I think you are referring to HP OV Operations (a bundle of NNM, Operations, and performance tools). Likewise Nagios has many add ons which can extend the base functionality to include most of those functionality, although I'd say at a less complete level at this point. Please forgive me if I underestimate what Nagios and its add ons can do but I'm just learning them at this point and I have not implemented all of them yet, although I intend to at some point. Here goes: 1. Network management via SNMP (NNM). HP OV wins big time with its ability to auto discover networks, map, monitor, track network performance, do basic reporting, receive SNMP traps, and generaly manage large complex dynamically changing networks. Nagios is not nearly as automated and requires other SNMP tools to manage traps. 2. Server management. Here Nagios gets a lot closer to what you get with basic OVO without the smart plug ins (SPIs). Nagios is more flexible at hows checks are performed to get at info source (snmp, local agent, ssh) and since you have source code you can probably monitor any brand of system as opposed to the 12 or so supported by HPOV. Nagios' server checks are more basic than HPOVs but basic process and log file scrubbing plugins are available. Three addons (NRPE, NSClient, NCSA) are required to come up to HP OVOs level of server-agent message communication with automatic actions, and you will probably have to do some scripting for the automatic action parts. If you need the deep application monitoring of an OVO SPI, Nagios is not there yet. 3. Performance monitoring/tracking/alerting: Nagios is spotty here compared to OVO If you add rrdtool and apan, you can get closer, but each performance metric must be setup manually in Nagios/apan, and the Unix support doesn't seem to be as flexible as the Windows support with apan. Overall, I'd say Nagios is great for smaller or fairly static IT environments, unless you put some effort into automating the Nagios configuration whch I think the larger Nagios users have done based on some comments on this list. In the bigger picture, not all servers are equal, but HP OVO agents cost is based on server size not purpose. I'd recommend a coexistance strategy until such time as you are comfortable that Nagios can do it all. For the simple file/print/infrastructure servers, redeploy the OVO agent from them to a more worthy (complex) environment, and monitor it with Nagios. Then put an OVO agent on the Nagios management server, and scrube the syslog messages with OVOs logfile encapsulator and pass the alert up to the central console. I hope this helps. Regards, Greg King ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verdon at cict.fr Fri Apr 2 10:03:19 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 02 Apr 2004 10:03:19 +0200 Subject: check_ifoperstatus In-Reply-To: <406C1A33.14882.4CB8D79@localhost> References: <406C1A33.14882.4CB8D79@localhost> Message-ID: <406D1E47.1050403@cict.fr> If you already installed the Net::SNMP module, that means check_ifoperstatus don't find the SNMP.pm library in the good directory (Net directory of perl). You must do something that seems like: cp /usr/local/net-snmp-5.1/perl/blib/lib/SNMP.pm /usr/lib/perl5/5.8.0/Net/ I hope that will help you. Carole. Levy wrote: >Hi >I'm new to nagios, but have it setup and worked fine for most checks. >Problem is when using the check_ifoperstatus this is the error I'm getting: > >-bash-2.05b$ ./check_ifoperstatus >Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec >/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_ifoperstatus >line 40. >BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. >-bash-2.05b$ > >Nagios 1.2 on Red hat linux 9 with nagios-plugins 1.3.1 > >Thanks for any help. > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mohr at elaxy.com Fri Apr 2 13:10:02 2004 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 2 Apr 2004 13:10:02 +0200 Subject: AW: Nagios as a replacement for HP OpenView Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C126ED68@srv-cob-00-0014.elaxy.org> Thanks for the detailed reply. > First HP OV is not one product but 50+, but from > your questions I think you are referring to HP OV > Operations (a bundle of NNM, Operations, and > performance tools). My bad. We have OVOU along with OVIS, the OV Service Desk and Performance Agent. OVIS could easily be replaced with a simply perl script that checks if certain pages were accessible. > 1. Network management via SNMP (NNM). HP OV wins big > time with its ability to auto discover networks, > map, monitor, track network performance, do basic > reporting, receive SNMP traps, and generaly manage > large complex dynamically changing networks. Nagios > is not nearly as automated and requires other SNMP > tools to manage traps. Our networks are fairly static, but the auto discover is a real time save during the initial setup. However, once that setup is done, things do not change too much. We do application hosting and our customers range from 5-20 machines. We have a total of about 120-150 nodes that we would need to monitor including router, switches, UPSes, etc. > 2. Server management. Here Nagios gets a lot closer > to what you get with basic OVO without the smart > plug ins (SPIs). Nagios is more flexible at hows > checks are performed to get at info source (snmp, > local agent, ssh) and since you have source code you > can probably monitor any brand of system as opposed > to the 12 or so supported by HPOV. We're only running Solaris, Linux and Windows right now, so the support is less of an issue. However, I didn't think of that point. > Nagios' server > checks are more basic than HPOVs but basic process > and log file scrubbing plugins are available. Can you be a little more specific? What's is missing? > Three > addons (NRPE, NSClient, NCSA) are required to come > up to HP OVOs level of server-agent message > communication with automatic actions, and you will > probably have to do some scripting for the automatic > action parts. If you need the deep application > monitoring of an OVO SPI, Nagios is not there yet. Well, as long as I can start anything based on an event, then I say we are good to go. One "issue" is the annotation in the messages. When certain events occur we run auto actions that add output as an annotation. Is there any way that we can do that? Is there any way of passing "fairly" large chunks of data to the server (e.g. > 2K)? What about remote action not related to events? For example, we have dozens of applications that start processes on the remote machines. Is there anything built in? > 3. Performance monitoring/tracking/alerting: Nagios > is spotty here compared to OVO If you add rrdtool > and apan, you can get closer, but each performance > metric must be setup manually in Nagios/apan, and > the Unix support doesn't seem to be as flexible as > the Windows support with apan. What do you mean by "manually"? I imagine that you have do define them individually in the config files. Is that correct? Which brings up another point: templates. Other than ftp, scp, etc is there anything built in to nagios for the distribution of "templates"? > Overall, I'd say Nagios is great for smaller or > fairly static IT environments, unless you put some > effort into automating the Nagios configuration whch > I think the larger Nagios users have done based on > some comments on this list. We're dealing with ca. 100 agent machines where we would need to distribute "templates", etc. We create about 5 new templates a week which we usually need to distribute to just a subset of the machines. However, "manually" distributing 10 machines is a pain. > In the bigger picture, not all servers are equal, > but HP OVO agents cost is based on server size not > purpose. In my experience it is pretty arbitrary. There are some Sun machines that are less powerful than Intel machine that are just "servers", but for these you need to pay "datacenter server" prices. > I'd recommend a coexistance strategy until > such time as you are comfortable that Nagios can do > it all. For the simple file/print/infrastructure > servers, redeploy the OVO agent from them to a more > worthy (complex) environment, and monitor it with > Nagios. Then put an OVO agent on the Nagios > management server, and scrube the syslog messages > with OVOs logfile encapsulator and pass the alert up > to the central console. Now that's not a bad idea for a couple of reasons. First, we don't loose any functionality during the transition and can see the functionality side-by-side, thus checking what Nagios misses. Second, this might allow us to have the two running side-by-side indefinately. The primary concern is for the low-end customers who just want things at the level of web-apps or Windows Terminal Server clients. The ratio of agent costs to the whole maintenance contract is proportionally high compared to customers using our custom apps. The time save by certain aspects of OpenView might compensate for the extra work involved in running two systems. Hmmmmm....... Regards, Jim Mohr ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Fri Apr 2 16:36:56 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 02 Apr 2004 09:36:56 -0500 Subject: Flap Detection In-Reply-To: <947D78E6-8443-11D8-A670-000A9582EEFA@netspace.net.au> References: <947D78E6-8443-11D8-A670-000A9582EEFA@netspace.net.au> Message-ID: <1080916616.4403.13.camel@pel> On Thu, 2004-04-01 at 20:17, Scott wrote: > Not sure if this makes sense or not but at present notifications > gosilent and its not until I look at the web gui that I actually > knowthat it has gone into a flap state. > > Was wondering if anybody else has found this problem and if there is > asimple solution for it. > > I have read the docs and they do say that in flap states NOBODY > GETSNOTIFIED, which I won't argue with but would like to know that it > hasoccured though. > > Looking forward to hearing some feedback I don't have a solution, but I do agree it is something that would be nice. Perhaps allow people to add an 'f' to notification_options to indicate notification of when the service/host has entered flapping state. If such a thing were implemented, it would also be nice if it indicates the current state when it notifies that flapping has stopped. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at techadvise.com Fri Apr 2 16:59:20 2004 From: justin at techadvise.com (Justin Ellison) Date: Fri, 02 Apr 2004 08:59:20 -0600 Subject: RTG + Nagios? Message-ID: <1080917960.13704.9.camel@localhost> And no, it's not a typo. http://rtg.sf.net Anybody using this? I currently have some custom perl plugins that are ran by nagios that also log performance data to an RRD file, and I show the pretty graphs using Cacti. Looks like RTG is a much better SNMP poller, and it would be fairly easy to design a perl plugin that queried the MySQL db for Nagios related info. Anybody tried? -- Justin Ellison -------------- 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 emauriello at DELOITTE.IT Fri Apr 2 17:03:17 2004 From: emauriello at DELOITTE.IT (Mauriello, Ermelindo (IT - Avellino)) Date: Fri, 2 Apr 2004 17:03:17 +0200 Subject: Include comments in nagios alerts Message-ID: <6F07AA950948D043A58F7FC8D8DE03EC0422F2FD@itave0411.atrema.deloitte.com> Hello, I'm thinking to give a sense to the field comment in services and hosts, that is: how could I include the field comment in the alert notification to send a long description of the problem. Is there a way to do that in the configuration files or I have to modify the sources ? Thanks Ermelindo Mauriello <> This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Mauriello, Ermelindo (IT - Avellino).vcf Type: text/x-vcard Size: 323 bytes Desc: Mauriello, Ermelindo (IT - Avellino).vcf URL: From Sam.Harris at fns.usda.gov Fri Apr 2 17:39:54 2004 From: Sam.Harris at fns.usda.gov (Harris, Sam) Date: Fri, 2 Apr 2004 10:39:54 -0500 Subject: Apache on Red Hat Enterprise Message-ID: The problem has been that the I get a 404 "access denied" usually I would know how to solve this issue, I tried the following: 1. made sure the options under in the httpd.conf are set correctly 2. changed the permissions for the Directory to accommodate the susexec requirements. 3. on one of the attempts disabled susexec and gave the user apache read.write.exec 4. tested the access to the directories using regular user, in which case I was able to. still I get the same error from the browser. Thanks for the help Sam -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Blake Sent: Thursday, April 01, 2004 5:18 PM To: Harris, Sam; nagios-users at lists.sourceforge.net%INTER2 Subject: Re: [Nagios-users] Apache on Red Hat Enterprise Importance: Low what exactly is the prolem? --- "Harris, Sam" wrote: > HI, > > Any of you ever experienced problems with accessing > Nagios directories with apache 2.0 under RH > enterprise version ? > > > Sam Harris > Network and Systems Security > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3352 bytes Desc: not available URL: From jim.mozley at exponential-e.com Fri Apr 2 18:08:23 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Fri, 02 Apr 2004 17:08:23 +0100 Subject: Status Information (No output)! on all service checks In-Reply-To: References: Message-ID: <406D8FF7.1090903@exponential-e.com> Mandy Hargis wrote: > I recently installed Nagios 1.2 with Nagios plugins 1.3.1 on Solaris 9. I have been running Nagios 1.0b6 for over a year and monitoring around 700 hosts and 1100 services so I copied my old /usr/local/nagios/etc directory which also contains all of my *.cfg files. The web interface shows all of the hosts 'UP' but all of my service check "Status Information"s are showing as (No output!). All *.cfg files worked perfectly with Nagios 1.0b6 so I am omitting the definitions in this posting because of that. > > I can run all the check_ commands via command line with success and single line output. The status.log shows only more of the same (No output!) and I cannot see any other problems in the logs or /var/adm/messages file. I checked the FAQs and mailing lists without success. > > Any suggestions would be greatly appreciated. Could it be a permissions problem? What user did you execute the plugins as? Jim ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HargisM at si.edu Fri Apr 2 18:35:05 2004 From: HargisM at si.edu (Mandy Hargis) Date: Fri, 02 Apr 2004 11:35:05 -0500 Subject: Status Information (No output)! on all servicechecks Message-ID: I was thinking along the lines of a permissions problem as well. Just can't seem to figure out where. Command line I can run the checks as nagios which outputs successfully. nagios.cfg is configured to run as: nagios_user=nagios nagios_group=nagios My libexec dir cmds are all set owner nagios/group nagios. Thanks for your help, Mandy >>> Jim Mozley 04/02/04 11:08AM >>> Mandy Hargis wrote: > I recently installed Nagios 1.2 with Nagios plugins 1.3.1 on Solaris 9. I have been running Nagios 1.0b6 for over a year and monitoring around 700 hosts and 1100 services so I copied my old /usr/local/nagios/etc directory which also contains all of my *.cfg files. The web interface shows all of the hosts 'UP' but all of my service check "Status Information"s are showing as (No output!). All *.cfg files worked perfectly with Nagios 1.0b6 so I am omitting the definitions in this posting because of that. > > I can run all the check_ commands via command line with success and single line output. The status.log shows only more of the same (No output!) and I cannot see any other problems in the logs or /var/adm/messages file. I checked the FAQs and mailing lists without success. > > Any suggestions would be greatly appreciated. Could it be a permissions problem? What user did you execute the plugins as? Jim ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 18:33:52 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Fri, 2 Apr 2004 11:33:52 -0500 Subject: Include comments in nagios alerts Message-ID: Your question is sortof along the lines of what I was also wanting... General comments in nagios that aren't directly related to a host or service. i.e. documentation so that you can document changes to network, config, etc. ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: Mauriello, Ermelindo (IT - Avellino) [mailto:emauriello at DELOITTE.IT] Sent: Friday, April 02, 2004 10:03 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Include comments in nagios alerts Hello, I'm thinking to give a sense to the field comment in services and hosts, that is: how could I include the field comment in the alert notification to send a long description of the problem. Is there a way to do that in the configuration files or I have to modify the sources ? Thanks Ermelindo Mauriello <> This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri Apr 2 18:49:31 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 2 Apr 2004 11:49:31 -0500 (EST) Subject: check_ifoperstatus In-Reply-To: <406D1E47.1050403@cict.fr> References: <406D1E47.1050403@cict.fr> Message-ID: Don't do this... (copy the file) SNMP.pm in the lib directory comes from a different package than SNMP.pm in the Net directory. For the Net::SNMP module - verify installation be running 'perl -M CPAN -e "install Net::SNMP' ' Net::SNMP perl module is different than the Net-SNMP package from net-snmp.sourceforge.net which provides the command line tools, snmp agent and a perl interface to the library. -sg On Fri, 2 Apr 2004, carole verdon wrote: > If you already installed the Net::SNMP module, that means > check_ifoperstatus don't find the SNMP.pm library in the good directory > (Net directory of perl). You must do something that seems like: > > cp /usr/local/net-snmp-5.1/perl/blib/lib/SNMP.pm /usr/lib/perl5/5.8.0/Net/ > > I hope that will help you. > > Carole. > > Levy wrote: > > >Hi > >I'm new to nagios, but have it setup and worked fine for most checks. > >Problem is when using the check_ifoperstatus this is the error I'm getting: > > > >-bash-2.05b$ ./check_ifoperstatus > >Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > >/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_ifoperstatus > >line 40. > >BEGIN failed--compilation aborted at ./check_ifoperstatus line 40. > >-bash-2.05b$ > > > >Nagios 1.2 on Red hat linux 9 with nagios-plugins 1.3.1 > > > >Thanks for any help. > > > > > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IBM Linux Tutorials > >Free Linux tutorial presented by Daniel Robbins, President and CEO of > >GenToo technologies. Learn everything from fundamentals to system > >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > -- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter.gutmann at db.com Fri Apr 2 18:47:22 2004 From: peter.gutmann at db.com (Peter Gutmann) Date: Fri, 2 Apr 2004 11:47:22 -0500 Subject: How to make use of 2 NICs on server instead of 1 Message-ID: The other thing that you can do, is to add a second default route out the second interface (depending on the OS). Solaris 8 will round robin the connections. As always, you milage may vary. Peter ---- Peter Gutmann Peter.Gutmann at db.com emily zhou Sent by: nagios-users-admin at lists.sourceforge.net 03/30/2004 02:37 PM To: Subhendu Ghosh cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to make use of 2 NICs on server instead of 1 Hi Sg, Thank you so much for giving this clue. I'd really like to listen to you a little bit more. For sure, if I'll use 2 Nic, they'll be connected to different networks, in our case is in different VLAN. The issue is that I have to manually setup routing table (static path) instead of simply using defaut gateway, which means forcing the Nagios server goes to one Nic for checking one group of hosts; goes to another Nic when checking another group of hosts. Is that correct? Emily Subhendu Ghosh wrote: > On Tue, 30 Mar 2004, emily zhou wrote: > >> Hi, >> I'm using one Solaris box to monitor 200+ boxes >> (Unix/NT/Router/Switch/Printers). On Nagios server, we have 2 NICs, >> right now I only use 1 of them. In order to split the traffic, I >> intend to use 2 networks, but I just wonder how to conduct bunch of >> checks going to 1 Nic and others going to another NIC, does anyone >> have any ideas? >> > > Depends on your software, switch and routing. > > If each nic connects to a different network, then the routing will use > the appropriate nic. > > If they connect to the same network, the OS decides which nic to use. > > Optionally, you can configure load balancing connection to switch - > cisco etherchannel or vlan trunk to carry traffic across both links by > creating a virtual link. > BEGIN-CANIT-VOTING-LINKS ------------------------------------------------------ Teach CanIt if this mail (ID 2724887) is spam: Spam: http://mailgate1.algonquincollege.com/canit/b.php?c=s&i=2724887&m=5e422f5f2465 Not spam: http://mailgate1.algonquincollege.com/canit/b.php?c=n&i=2724887&m=5e422f5f2465 Forget vote: http://mailgate1.algonquincollege.com/canit/b.php?c=f&i=2724887&m=5e422f5f2465 ------------------------------------------------------ END-CANIT-VOTING-LINKS ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Apr 2 18:57:54 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 2 Apr 2004 11:57:54 -0500 Subject: Problem Getting the APAN Link to Appear in Nagios Message-ID: <5593DA408212D511B0910002A513501F0655927D@phsexch20.mgh.harvard.edu> Hi there, I have installed the apan-sql 3.0 utility onto my Nagios system. I made the small hack that was recommended to show the graphs in the same window as Nagios as well as followed the instructions included with the program. As a test, I configured the Load service documented in the Apan instructions .After I configured the Apan program, I ran the sanity check on the system and everything appeared to be in order. After I started Nagios, I waited for the Apan service to go from pending to ready. It did go to ready, but the link that was supposed to appear next to the Load service did not appear. What else should I do to correct the program configuration? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Apr 2 20:13:16 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 12:13:16 -0600 Subject: Problem Getting the APAN Link to Appear in Nagios In-Reply-To: <5593DA408212D511B0910002A513501F0655927D@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F0655927D@phsexch20.mgh.harvard.edu> Message-ID: <1080929596.2096.1.camel@localhost> On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. wrote: > It did go to ready, but the link that was supposed to appear next to the Load > service did not appear. What else should I do to correct the program > configuration? Thanks. You need serviceextinfo stuff set up (you don't mention it, so I'm guessing you don't have it). The icon that you define will be a link to it. Is that what you're looking for? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Apr 2 20:16:30 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 2 Apr 2004 13:16:30 -0500 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F0655927E@phsexch20.mgh.harvard.edu> Jeff -- I you referring to the servicextinfo-apan or servicextinfo.cfg file? I have the former, but not the latter. If I need servicextinfo.cfg, what is the syntax used in it? -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Friday, April 02, 2004 1:13 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: Re: [Nagios-users] Problem Getting the APAN Link to Appear in Nagios On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. wrote: > It did go to ready, but the link that was supposed to appear next to the Load > service did not appear. What else should I do to correct the program > configuration? Thanks. You need serviceextinfo stuff set up (you don't mention it, so I'm guessing you don't have it). The icon that you define will be a link to it. Is that what you're looking for? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clint at misinc.net Fri Apr 2 20:16:29 2004 From: clint at misinc.net (Clint Sulis) Date: Fri, 2 Apr 2004 11:16:29 -0700 Subject: check_snmp problems Message-ID: Okay, so I posted a day or two ago about check_snmp problems. This is driving me absolutely insane! Please give this email a look and offer any suggestions you have on what I should investigate. Thank you in advance! I can run snmp_check commands from the command-line but nagios always gets the result "SNMP problem - No data recieved from host". I can only think of two possible reasons why I can run check_snmp as root, but not as the nagios user: 1. Permissions on plugins or the snmpget binary. I tested this below, and indeed if the nagios user cannot execute the snmpget binary, the result will be shown as "SNMP problem - No data received from host". [root nagios]# chmod 755 /usr/local/bin/snmpget [root nagios]# /usr/local/nagios/libexec/check_snmp -H 69.20.4.144 -o .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 SNMP OK - 0.06 [root nagios]# chmod 000 /usr/local/bin/snmpget [root nagios]# /usr/local/nagios/libexec/check_snmp -H 69.20.4.144 -o .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -m ALL -v 1 -c nagios www.homewarranty.com:2112 .1.3.6.1.4.1.2021.10.1.3.1 2. Location of the snmpget utility not in /usr/bin. This also can cause the same bad result, as newer versions of Net-SNMP install the binaries in /usr/local/bin by default. From the output above, it is clear that check_snmp requires the snmpget binary be in the /usr/bin directory. [root nagios]# su - nagios [nagios nagios]$ /usr/local/nagios/libexec/check_snmp -H 69.20.4.144 -o .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 SNMP OK - 0.06 Since I can run the check command as the nagios user at the command-line, I cannot figure out what the heck is wrong. If anyone can suggest where I might be able to investigate this problem further, I will be extremely thankful! For reference, my checkcommands.cfg, services.cfg, and hosts.cfg entries are configured as follows: ================= CHECKCOMMANDS.CFG ================= define command { command_name check_snmp command_line /usr/local/nagios/libexec/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ -p $ARG3$ } ============ SERVICES.CFG ============ define service { use generic_service host_name rackspace service_description LOAD is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admin notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp!.1.3.6.1.4.1.2021.10.1.3.1!nagios!2112 } ========= HOSTS.CFG ========= define host { use generic_host host_name rackspace alias Rackspace Dedicated Server address 69.20.4.144 check_command check_host_alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } =============== VERSION DETAILS =============== nagios v1.2 check_snmp (nagios-plugins 1.3.0) 1.24 Clint Sulis ==================== System Administrator PHP/MySQL Programmer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 3574 bytes Desc: not available URL: From jeff.vier at tradingtechnologies.com Fri Apr 2 20:22:06 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 12:22:06 -0600 Subject: Problem Getting the APAN Link to Appear in Nag ios In-Reply-To: <5593DA408212D511B0910002A513501F0655927E@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F0655927E@phsexch20.mgh.harvard.edu> Message-ID: <1080930126.2096.6.camel@localhost> Mine looks like this: define serviceextinfo{ host_name serverA service_description Ping icon_image pong.png notes_url /nagios/cgi-bin/apan-sql.cgi?host=$HOSTNAME$&service=Ping } On Fri, 2004-04-02 at 12:16, Kaplan, Andrew H. wrote: > Jeff -- > > I you referring to the servicextinfo-apan or servicextinfo.cfg file? I have the > former, but not the latter. > If I need servicextinfo.cfg, what is the syntax used in it? > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, April 02, 2004 1:13 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: Re: [Nagios-users] Problem Getting the APAN Link to Appear in > Nagios > > > On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. wrote: > > It did go to ready, but the link that was supposed to appear next to the Load > > service did not appear. What else should I do to correct the program > > configuration? Thanks. > > You need serviceextinfo stuff set up (you don't mention it, so I'm > guessing you don't have it). > > The icon that you define will be a link to it. > > Is that what you're looking for? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clint at misinc.net Fri Apr 2 20:21:17 2004 From: clint at misinc.net (Clint Sulis) Date: Fri, 2 Apr 2004 11:21:17 -0700 Subject: Status Information (No output)! on all servicechecks In-Reply-To: References: Message-ID: <88A20688-84D2-11D8-959D-003065E550D2@misinc.net> On Friday, April 2, 2004, at 09:35 AM, Mandy Hargis wrote: >> I recently installed Nagios 1.2 with Nagios plugins 1.3.1 on Solaris >> 9. I have been running Nagios 1.0b6 for over a year and monitoring >> around 700 hosts and 1100 services so I copied my old >> /usr/local/nagios/etc directory which also contains all of my *.cfg >> files. The web interface shows all of the hosts 'UP' but all of my >> service check "Status Information"s are showing as (No output!). >> All *.cfg files worked perfectly with Nagios 1.0b6 so I am omitting >> the definitions in this posting because of that. >> >> I can run all the check_ commands via command line with success and >> single line output. The status.log shows only more of the same (No >> output!) and I cannot see any other problems in the logs or >> /var/adm/messages file. I checked the FAQs and mailing lists without >> success. I had a similar problem while setting up nagios, and I resolved the issue by putting the full path to each check command in the checkcommands.cfg file instead of relying on the $USER1$ variable definition, which was not working for some reason. For example, the original check_ping definition looked something like this: # 'check_ping' command definition define command { command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } I modified it to look like this, restarted the nagios service, and the check started working. # 'check_ping' command definition define command { command_name check_ping command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } Hope this helps you out! Clint Sulis ==================== System Administrator PHP/MySQL Programmer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1842 bytes Desc: not available URL: From AHKAPLAN at PARTNERS.ORG Fri Apr 2 20:37:39 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 2 Apr 2004 13:37:39 -0500 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F06559280@phsexch20.mgh.harvard.edu> Hi Jeff -- I have made some progress. The link now appears, but after clicking it, the graphs do not appear on the next page... -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Friday, April 02, 2004 1:22 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in Nag ios Mine looks like this: define serviceextinfo{ host_name serverA service_description Ping icon_image pong.png notes_url /nagios/cgi-bin/apan-sql.cgi?host=$HOSTNAME$&service=Ping } On Fri, 2004-04-02 at 12:16, Kaplan, Andrew H. wrote: > Jeff -- > > I you referring to the servicextinfo-apan or servicextinfo.cfg file? I have the > former, but not the latter. > If I need servicextinfo.cfg, what is the syntax used in it? > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, April 02, 2004 1:13 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: Re: [Nagios-users] Problem Getting the APAN Link to Appear in > Nagios > > > On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. wrote: > > It did go to ready, but the link that was supposed to appear next to the Load > > service did not appear. What else should I do to correct the program > > configuration? Thanks. > > You need serviceextinfo stuff set up (you don't mention it, so I'm > guessing you don't have it). > > The icon that you define will be a link to it. > > Is that what you're looking for? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kevin.Thompson at duluth.k12.mn.us Fri Apr 2 20:44:36 2004 From: Kevin.Thompson at duluth.k12.mn.us (Kevin D. Thompson) Date: Fri, 2 Apr 2004 12:44:36 -0600 Subject: using awk in check commands Message-ID: <01C84749C1300E45ABB4E4D738AB38300151D27F@EXBE1.duluth.k12.mn.us> ? Hi all, I want to make a simple check command that will return the serial number of my Cisco routers. I run this command from the command line /usr/local/bin/snmpget -v 2c -c *snmpremoved central-2621-1 1.3.6.1.4.1.9.3.6.3.0 | awk -F'"' '{print $2}' and I get the appropriate response. So then I added that to my checkcommands.cfg file, as the following entry define command{ command_name get_router_serial_number command_line /usr/local/bin/snmpget -v 2c -c *snmpremoved $HOSTADDRESS$ 1.3.6.1.4.1.9.3.6.3.0 | awk -F'"' '{print $2}' } when I run Nagios, I keep getting errors from awk, awk: cmd. line:2: {print $2}$ awk: cmd. line:2: ^ unexpected newline Any thoughts on why this works from the command line, but not in the check command I made? N?HS^????X???'???u??????S??+??l??.)?????????????y?? ??zThm??????'^???t!????:(??!??h?'?-??????+a?x????wZ???j[-??????vh???kj???m???v?,vw(?????x?F???"w~??? From jeff.vier at tradingtechnologies.com Fri Apr 2 20:45:56 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 12:45:56 -0600 Subject: Problem Getting the APAN Link to Appear in Nag ios In-Reply-To: <5593DA408212D511B0910002A513501F06559280@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559280@phsexch20.mgh.harvard.edu> Message-ID: <1080931556.2096.14.camel@localhost> make sure your apan.defs file is all correct. and in there, there are 4 debug-related lines - DEBUG, DEBUGFILE, CGIDEBUG, and CGIDEBUGFILE. Set DEBUG and CGIDEBUG to 1 (or more, if you need it) then check the two files for info. Can you pull values via rrdtool manually? Obviously change this to your paths: /usr/local/rrdtool/bin/rrdtool fetch /usr/local/nagios/rrd/serverA_Ping.rrd AVERAGE (that should be one line, if it wraps for you) If you see a bunch of "nan"s, you're not collecting your values. On Fri, 2004-04-02 at 12:37, Kaplan, Andrew H. wrote: > Hi Jeff -- > > I have made some progress. The link now appears, but after clicking it, the > graphs do not appear on the next page... > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, April 02, 2004 1:22 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in > Nag ios > > > Mine looks like this: > > define serviceextinfo{ > host_name serverA > service_description Ping > icon_image pong.png > notes_url > /nagios/cgi-bin/apan-sql.cgi?host=$HOSTNAME$&service=Ping > } > > On Fri, 2004-04-02 at 12:16, Kaplan, Andrew H. wrote: > > Jeff -- > > > > I you referring to the servicextinfo-apan or servicextinfo.cfg file? I have > the > > former, but not the latter. > > If I need servicextinfo.cfg, what is the syntax used in it? > > > > -----Original Message----- > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > > Sent: Friday, April 02, 2004 1:13 PM > > To: Kaplan, Andrew H. > > Cc: Nagios-Users (E-mail) > > Subject: Re: [Nagios-users] Problem Getting the APAN Link to Appear in > > Nagios > > > > > > On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. wrote: > > > It did go to ready, but the link that was supposed to appear next to the > Load > > > service did not appear. What else should I do to correct the program > > > configuration? Thanks. > > > > You need serviceextinfo stuff set up (you don't mention it, so I'm > > guessing you don't have it). > > > > The icon that you define will be a link to it. > > > > Is that what you're looking for? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Apr 2 20:53:37 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 12:53:37 -0600 Subject: check_snmp problems In-Reply-To: References: Message-ID: <1080932017.2096.16.camel@localhost> Can you run it from the command line *as the nagios user*? On Fri, 2004-04-02 at 12:16, Clint Sulis wrote: > Okay, so I posted a day or two ago about check_snmp problems. This is > driving me absolutely insane! Please give this email a look and offer > any suggestions you have on what I should investigate. Thank you in > advance! > > I can run snmp_check commands from the command-line but nagios always > gets the result "SNMP problem - No data recieved from host". I can only > think of two possible reasons why I can run check_snmp as root, but not > as the nagios user: > > 1. Permissions on plugins or the snmpget binary. I tested this below, > and indeed if the nagios user cannot execute the snmpget binary, the > result will be shown as "SNMP problem - No data received from host". > > [root nagios]# chmod 755 /usr/local/bin/snmpget > [root nagios]# /usr/local/nagios/libexec/check_snmp -H > 69.20.4.144 -o .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 > SNMP OK - 0.06 > > [root nagios]# chmod 000 /usr/local/bin/snmpget > [root nagios]# /usr/local/nagios/libexec/check_snmp -H > 69.20.4.144 -o .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -m ALL -v 1 -c nagios > www.homewarranty.com:2112 .1.3.6.1.4.1.2021.10.1.3.1 > > 2. Location of the snmpget utility not in /usr/bin. This also can cause > the same bad result, as newer versions of Net-SNMP install the binaries > in /usr/local/bin by default. From the output above, it is clear that > check_snmp requires the snmpget binary be in the /usr/bin directory. > > [root nagios]# su - nagios > [nagios nagios]$ /usr/local/nagios/libexec/check_snmp -H > 69.20.4.144 -o .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 > SNMP OK - 0.06 > > Since I can run the check command as the nagios user at the > command-line, I cannot figure out what the heck is wrong. If anyone can > suggest where I might be able to investigate this problem further, I > will be extremely thankful! > > For reference, my checkcommands.cfg, services.cfg, and hosts.cfg entries > are configured as follows: > > ================= > CHECKCOMMANDS.CFG > ================= > > define command { > command_name check_snmp > command_line /usr/local/nagios/libexec/check_snmp -H > $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ -p $ARG3$ > } > > ============ > SERVICES.CFG > ============ > > define service { > use generic_service > host_name rackspace > service_description LOAD > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admin > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_snmp!.1.3.6.1.4.1.2021.10.1.3.1!nagios!2112 > } > > ========= > HOSTS.CFG > ========= > > define host { > use generic_host > host_name rackspace > alias Rackspace Dedicated Server > address 69.20.4.144 > check_command check_host_alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > =============== > VERSION DETAILS > =============== > > nagios v1.2 > check_snmp (nagios-plugins 1.3.0) 1.24 > > Clint Sulis > ==================== > System Administrator > PHP/MySQL Programmer ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Apr 2 20:58:43 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 2 Apr 2004 13:58:43 -0500 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F06559281@phsexch20.mgh.harvard.edu> Jeff -- I ran the rrdtool fetch command with the appropriate syntax, and I am getting a bunch of "nan"s. It appears, according to what you said, that the values are not being collected. How do I correct this? -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Friday, April 02, 2004 1:46 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in Nag ios make sure your apan.defs file is all correct. and in there, there are 4 debug-related lines - DEBUG, DEBUGFILE, CGIDEBUG, and CGIDEBUGFILE. Set DEBUG and CGIDEBUG to 1 (or more, if you need it) then check the two files for info. Can you pull values via rrdtool manually? Obviously change this to your paths: /usr/local/rrdtool/bin/rrdtool fetch /usr/local/nagios/rrd/serverA_Ping.rrd AVERAGE (that should be one line, if it wraps for you) If you see a bunch of "nan"s, you're not collecting your values. On Fri, 2004-04-02 at 12:37, Kaplan, Andrew H. wrote: > Hi Jeff -- > > I have made some progress. The link now appears, but after clicking it, the > graphs do not appear on the next page... > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, April 02, 2004 1:22 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in > Nag ios > > > Mine looks like this: > > define serviceextinfo{ > host_name serverA > service_description Ping > icon_image pong.png > notes_url > /nagios/cgi-bin/apan-sql.cgi?host=$HOSTNAME$&service=Ping > } > > On Fri, 2004-04-02 at 12:16, Kaplan, Andrew H. wrote: > > Jeff -- > > > > I you referring to the servicextinfo-apan or servicextinfo.cfg file? I have > the > > former, but not the latter. > > If I need servicextinfo.cfg, what is the syntax used in it? > > > > -----Original Message----- > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > > Sent: Friday, April 02, 2004 1:13 PM > > To: Kaplan, Andrew H. > > Cc: Nagios-Users (E-mail) > > Subject: Re: [Nagios-users] Problem Getting the APAN Link to Appear in > > Nagios > > > > > > On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. wrote: > > > It did go to ready, but the link that was supposed to appear next to the > Load > > > service did not appear. What else should I do to correct the program > > > configuration? Thanks. > > > > You need serviceextinfo stuff set up (you don't mention it, so I'm > > guessing you don't have it). > > > > The icon that you define will be a link to it. > > > > Is that what you're looking for? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From clint at misinc.net Fri Apr 2 21:12:20 2004 From: clint at misinc.net (Clint Sulis) Date: Fri, 2 Apr 2004 12:12:20 -0700 Subject: check_snmp problems In-Reply-To: <1080932017.2096.16.camel@localhost> References: <1080932017.2096.16.camel@localhost> Message-ID: On Friday, April 2, 2004, at 11:53 AM, jeff vier wrote: > Can you run it from the command line *as the nagios user*? Yes. Did you even read my post? It clearly states that I ran the cmmand as the nagios user. > On Fri, 2004-04-02 at 12:16, Clint Sulis wrote: >> [root nagios]# su - nagios >> [nagios nagios]$ /usr/local/nagios/libexec/check_snmp -H >> 69.20.4.144 -o .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 >> SNMP OK - 0.06 >> >> Since I can run the check command as the nagios user at the >> command-line, I cannot figure out what the heck is wrong. If anyone >> can >> suggest where I might be able to investigate this problem further, I >> will be extremely thankful! Clint Sulis ==================== System Administrator PHP/MySQL Programmer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 857 bytes Desc: not available URL: From clint at misinc.net Fri Apr 2 21:26:11 2004 From: clint at misinc.net (Clint Sulis) Date: Fri, 2 Apr 2004 12:26:11 -0700 Subject: using awk in check commands In-Reply-To: <01C84749C1300E45ABB4E4D738AB38300151D27F@EXBE1.duluth.k12.mn.us> References: <01C84749C1300E45ABB4E4D738AB38300151D27F@EXBE1.duluth.k12.mn.us> Message-ID: <99BF2878-84DB-11D8-959D-003065E550D2@misinc.net> Try backslashing the dollar sign. Hope that works! On Friday, April 2, 2004, at 11:44 AM, Kevin D. Thompson wrote: > ? > Hi all, > I want to make a simple check command that will return the serial > number of my Cisco routers. > I run this command from the command line > > /usr/local/bin/snmpget -v 2c -c *snmpremoved central-2621-1 > 1.3.6.1.4.1.9.3.6.3.0 | awk -F'"' '{print $2}' > > and I get the appropriate response. So then I added that to my > checkcommands.cfg file, as the following entry > define command{ > command_name get_router_serial_number > command_line /usr/local/bin/snmpget -v 2c -c *snmpremoved > $HOSTADDRESS$ > 1.3.6.1.4.1.9.3.6.3.0 | awk -F'"' '{print $2}' > } > when I run Nagios, I keep getting errors from awk, > awk: cmd. line:2: {print $2}$ > awk: cmd. line:2: ^ unexpected newline > > Any thoughts on why this works from the command line, but not in the > check command I made? > ???????????????????????????????????????????+?^????X???'???u?? >  ?{?N?h?&??Z?x???n???jZkz????[?6???Q??????? > ?"u??jwB?????^r???"z??y??z????b???g????z{Z??h?+- > zf??)?????*'?m???i????g??&????'?????e????????????????????????????????? > ???????????Z?*,?? ????X??X????????????b??????q??????a??l?????l??.? > ???? ?w? > ?X??????b?????"????????????z)???^5?"????????e????????????????? > ?h????????.{??????? ???????i??b??~?"?Z??F??x,z{m??^??? > > Clint Sulis ==================== System Administrator PHP/MySQL Programmer -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1563 bytes Desc: not available URL: From jeff.vier at tradingtechnologies.com Fri Apr 2 21:38:41 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 13:38:41 -0600 Subject: Problem Getting the APAN Link to Appear in Nag ios In-Reply-To: <5593DA408212D511B0910002A513501F06559281@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559281@phsexch20.mgh.harvard.edu> Message-ID: <1080934721.2096.29.camel@localhost> On Fri, 2004-04-02 at 12:58, Kaplan, Andrew H. wrote: > I ran the rrdtool fetch command with the appropriate syntax, and I am > getting a bunch of "nan"s. It > appears, according to what you said, that the values are not being > collected. How do I correct this? Notably, you will get *some*, but they shouldn't be *all* "nan" First thing, what are the permissions on your rrd directory? mine is 770 and owned by nagios:nagios the rrds themselves are 660 with the same ownership. Second, can you log into your MySQL db using the command in sql.conf? The last var in that file (SQLCOMM=...") is the command. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blakes_email at yahoo.com Fri Apr 2 22:04:27 2004 From: blakes_email at yahoo.com (Blake) Date: Fri, 2 Apr 2004 12:04:27 -0800 (PST) Subject: Problem Getting the APAN Link to Appear in Nag ios In-Reply-To: <1080930126.2096.6.camel@localhost> References: <1080930126.2096.6.camel@localhost> Message-ID: <20040402200427.21692.qmail@web10505.mail.yahoo.com> why wouldnt you use apanconf-sql? --- jeff vier wrote: > Mine looks like this: > > define serviceextinfo{ > host_name serverA > service_description Ping > icon_image pong.png > notes_url > /nagios/cgi-bin/apan-sql.cgi?host=$HOSTNAME$&service=Ping > } > > On Fri, 2004-04-02 at 12:16, Kaplan, Andrew H. > wrote: > > Jeff -- > > > > I you referring to the servicextinfo-apan or > servicextinfo.cfg file? I have the > > former, but not the latter. > > If I need servicextinfo.cfg, what is the syntax > used in it? > > > > -----Original Message----- > > From: jeff vier > [mailto:jeff.vier at tradingtechnologies.com] > > Sent: Friday, April 02, 2004 1:13 PM > > To: Kaplan, Andrew H. > > Cc: Nagios-Users (E-mail) > > Subject: Re: [Nagios-users] Problem Getting the > APAN Link to Appear in > > Nagios > > > > > > On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. > wrote: > > > It did go to ready, but the link that was > supposed to appear next to the Load > > > service did not appear. What else should I do to > correct the program > > > configuration? Thanks. > > > > You need serviceextinfo stuff set up (you don't > mention it, so I'm > > guessing you don't have it). > > > > The icon that you define will be a link to it. > > > > Is that what you're looking for? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Apr 2 22:14:49 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 14:14:49 -0600 Subject: Problem Getting the APAN Link to Appear in Nag ios In-Reply-To: <20040402200427.21692.qmail@web10505.mail.yahoo.com> References: <20040402200427.21692.qmail@web10505.mail.yahoo.com> Message-ID: <1080936889.2096.40.camel@localhost> On Fri, 2004-04-02 at 14:04, Blake wrote: > why wouldnt you use apanconf-sql? for me, it only "kind of" worked. Instead of messing with it, I just whipped up my own scripts which work perfectly. Plus, at this point, I'm using the 2.0 cvs tree, and I am doing things a little different than the Old Way, so I doubt it would even work for me anymore. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From warlock at eskimo.com Fri Apr 2 22:18:49 2004 From: warlock at eskimo.com (Jim Richardson) Date: Fri, 2 Apr 2004 12:18:49 -0800 Subject: check_ping strangeness Message-ID: <20040402201849.GF14805@grendel.myth> I have a new nagios setup (and I am a relative newbie) with one oddity. No matter what user I run it as, check_ping fails thusly check_ping -H www.foobar.com -w1000,10% -c2000,50% You've got a big problem buddy! You need more args!!! Cannot open pipe: jim at east: This is on a Debian stable system, with Nagios compiled from tarball, most everything else seems to work, but this is horking up and I would like to fix it. The usual google searches did not suggest that this is a problem others have experienced. So I post the question here. -- Jim Richardson http://www.eskimo.com/~warlock My theory is that the great success of Windoze is based entirely on providing someone to blame.... Jon Tillman in ASP ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Apr 2 22:23:13 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 14:23:13 -0600 Subject: check_snmp problems In-Reply-To: References: Message-ID: <1080937392.2096.55.camel@localhost> On Fri, 2004-04-02 at 13:12, Clint Sulis wrote: > > Can you run it from the command line *as the nagios user*? > Yes. Did you even read my post? It clearly states that I ran the > cmmand as the nagios user. My apologies - my brain skipped that part (I read the top part [running as root] and the bottom part [the configs]). I would look at your PATH variable, specifically what it is on interactive vs. non-interactive logins. You may not have /usr/local/bin appended for non-interactive sessions. You might also look at the latest version of the plugins which may be different (since you mentioned you're running a more recent Net-SNMP), but I can't say that's the case for sure. In that regard - if you compiled your plugins to know where the Net-SNMP stuff was, and now it's changed, I imagine that could be a problem (though I'd expect it to manifest on the command line, too...hmm) ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Fri Apr 2 22:28:42 2004 From: happy at usg.edu (Mark Plaksin) Date: Fri, 02 Apr 2004 15:28:42 -0500 Subject: Something like query-source? Message-ID: On a multi-homed machine, is there a way to make all of the Nagios server's network activity originate from a specific IP address? Something like bind's query-source option. We'd like to assign service IPs to our Nagios machines. We use TCP Wrappers to restrict access to NRPE. If we have to move the Nagios servers to new machines, we'd rather not have to update the host.allow files on all of our client machines. If Nagios can't do it is there a general way to do this for any process? Our Nagios servers are running Linux. Thanks! ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HargisM at si.edu Fri Apr 2 22:37:30 2004 From: HargisM at si.edu (Mandy Hargis) Date: Fri, 02 Apr 2004 15:37:30 -0500 Subject: Status Information (No output)! on all servicechecks Message-ID: Thanks! That pointed me to exactly what I needed...my $USER1$ variable wasn't working and I realized I needed to set that in my resource.cfg. Everything is working. Extremely appreciated for your taking the time to write, Mandy Hargis >>> Clint Sulis 04/02/04 01:21PM >>> On Friday, April 2, 2004, at 09:35 AM, Mandy Hargis wrote: >> I recently installed Nagios 1.2 with Nagios plugins 1.3.1 on Solaris >> 9. I have been running Nagios 1.0b6 for over a year and monitoring >> around 700 hosts and 1100 services so I copied my old >> /usr/local/nagios/etc directory which also contains all of my *.cfg >> files. The web interface shows all of the hosts 'UP' but all of my >> service check "Status Information"s are showing as (No output!). >> All *.cfg files worked perfectly with Nagios 1.0b6 so I am omitting >> the definitions in this posting because of that. >> >> I can run all the check_ commands via command line with success and >> single line output. The status.log shows only more of the same (No >> output!) and I cannot see any other problems in the logs or >> /var/adm/messages file. I checked the FAQs and mailing lists without >> success. I had a similar problem while setting up nagios, and I resolved the issue by putting the full path to each check command in the checkcommands.cfg file instead of relying on the $USER1$ variable definition, which was not working for some reason. For example, the original check_ping definition looked something like this: # 'check_ping' command definition define command { command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } I modified it to look like this, restarted the nagios service, and the check started working. # 'check_ping' command definition define command { command_name check_ping command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } Hope this helps you out! Clint Sulis ==================== System Administrator PHP/MySQL Programmer ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Apr 2 22:59:22 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 2 Apr 2004 15:59:22 -0500 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F06559282@phsexch20.mgh.harvard.edu> Jeff -- I modified the ownership and permissions on the rrd directory to reflect yours. I restarted Nagios and the problem did not go away. When I ran the command you mentioned: /usr/bin/mysql -u nagios -p apa123 -D nagios, I first got an 1049 error that stated the apa123 database was unknown. When I ran the same command minus the -p option, I got the 1045 error saying access was denied. Finally I ran the commmand with only the -D option and I got the 1045 error again. I did a check through Webmin on the nagios sql user and I confirmed the user has access from the localhost and has all permissions. I chose localhost when I set the permissions up initially due to the fact that was the only way I could get the apanconf-sql utility to be able to write to the database. What next? -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Friday, April 02, 2004 2:39 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in Nag ios On Fri, 2004-04-02 at 12:58, Kaplan, Andrew H. wrote: > I ran the rrdtool fetch command with the appropriate syntax, and I am > getting a bunch of "nan"s. It > appears, according to what you said, that the values are not being > collected. How do I correct this? Notably, you will get *some*, but they shouldn't be *all* "nan" First thing, what are the permissions on your rrd directory? mine is 770 and owned by nagios:nagios the rrds themselves are 660 with the same ownership. Second, can you log into your MySQL db using the command in sql.conf? The last var in that file (SQLCOMM=...") is the command. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Apr 2 23:20:42 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 15:20:42 -0600 Subject: Problem Getting the APAN Link to Appear in Nag ios In-Reply-To: <5593DA408212D511B0910002A513501F06559282@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559282@phsexch20.mgh.harvard.edu> Message-ID: <1080940842.2096.74.camel@localhost> On Fri, 2004-04-02 at 14:59, Kaplan, Andrew H. wrote: > When I ran the command you mentioned: /usr/bin/mysql -u nagios -p apa123 -D (you probably shouldn't email hundreds of people your db password :)) > nagios, I first got an 1049 error > that stated the apa123 database was unknown. Well, THAT is weird. the -p is the password. > When I ran the same command minus > the -p option, I got the 1045 > error saying access was denied. Finally I ran the command with only the -D > option and I got the 1045 error again. well, you have to have the -p, most likely (if not, that's bad in itself!) Is your MySQL database running on that same server, then? If not, add a '-h '. I know it doesn't make a difference, but what the heck - try running it without spaces after the option flags. So, '/usr/bin/mysql -unagios -papa123 -Dnagios' > I did a check through Webmin on the nagios sql user and I confirmed the user has > access from the localhost and has > all permissions. I chose localhost when I set the permissions up initially due > to the fact that was the only way I > could get the apanconf-sql utility to be able to write to the database. What > next? Well, this is apparently either an sql.conf issue, or an issue with your MySQL db itself. other things to try: open up permissions for the nagios user in MySQL (let the user connect from all hosts). Maybe somehow it's being seen from its primary interface instead of "localhost" (if that's even possible). Also - you wouldn't happen to be running MySQL on a non-standard port, would you? > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, April 02, 2004 2:39 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in > Nag ios > > > On Fri, 2004-04-02 at 12:58, Kaplan, Andrew H. wrote: > > I ran the rrdtool fetch command with the appropriate syntax, and I am > > getting a bunch of "nan"s. It > > appears, according to what you said, that the values are not being > > collected. How do I correct this? > > Notably, you will get *some*, but they shouldn't be *all* "nan" > > First thing, what are the permissions on your rrd directory? > mine is 770 and owned by nagios:nagios > the rrds themselves are 660 with the same ownership. > > Second, can you log into your MySQL db using the command in sql.conf? > The last var in that file (SQLCOMM=...") is the command. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Apr 2 23:25:13 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 2 Apr 2004 16:25:13 -0500 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F06559284@phsexch20.mgh.harvard.edu> Jeff -- I tried the new syntax, and that did work. BTW -- The password I specified was the default password that came with apan, I've long since changed it ;-). Now that we know the nagios user can connect to the database, where do I go from here? -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Friday, April 02, 2004 4:21 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in Nag ios On Fri, 2004-04-02 at 14:59, Kaplan, Andrew H. wrote: > When I ran the command you mentioned: /usr/bin/mysql -u nagios -p apa123 -D (you probably shouldn't email hundreds of people your db password :)) > nagios, I first got an 1049 error > that stated the apa123 database was unknown. Well, THAT is weird. the -p is the password. > When I ran the same command minus > the -p option, I got the 1045 > error saying access was denied. Finally I ran the command with only the -D > option and I got the 1045 error again. well, you have to have the -p, most likely (if not, that's bad in itself!) Is your MySQL database running on that same server, then? If not, add a '-h '. I know it doesn't make a difference, but what the heck - try running it without spaces after the option flags. So, '/usr/bin/mysql -unagios -papa123 -Dnagios' > I did a check through Webmin on the nagios sql user and I confirmed the user has > access from the localhost and has > all permissions. I chose localhost when I set the permissions up initially due > to the fact that was the only way I > could get the apanconf-sql utility to be able to write to the database. What > next? Well, this is apparently either an sql.conf issue, or an issue with your MySQL db itself. other things to try: open up permissions for the nagios user in MySQL (let the user connect from all hosts). Maybe somehow it's being seen from its primary interface instead of "localhost" (if that's even possible). Also - you wouldn't happen to be running MySQL on a non-standard port, would you? > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, April 02, 2004 2:39 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in > Nag ios > > > On Fri, 2004-04-02 at 12:58, Kaplan, Andrew H. wrote: > > I ran the rrdtool fetch command with the appropriate syntax, and I am > > getting a bunch of "nan"s. It > > appears, according to what you said, that the values are not being > > collected. How do I correct this? > > Notably, you will get *some*, but they shouldn't be *all* "nan" > > First thing, what are the permissions on your rrd directory? > mine is 770 and owned by nagios:nagios > the rrds themselves are 660 with the same ownership. > > Second, can you log into your MySQL db using the command in sql.conf? > The last var in that file (SQLCOMM=...") is the command. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Fri Apr 2 23:36:59 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 15:36:59 -0600 Subject: Problem Getting the APAN Link to Appear in Nag ios In-Reply-To: <5593DA408212D511B0910002A513501F06559284@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559284@phsexch20.mgh.harvard.edu> Message-ID: <1080941819.2096.92.camel@localhost> On Fri, 2004-04-02 at 15:25, Kaplan, Andrew H. wrote: > I tried the new syntax, and that did work. well, THAT is way weird. I put spaces in my commands normally when I go in from the command line. Although, I don't use -p, I use --password= I bet there's a bug with a space after -p that I forgot about at some point and hence ignore that way of doing it :) > BTW -- The password I specified was the default password > that came with apan, I've long since changed it ;-). oh, good :) > Now that we know the nagios user can connect to the database, where do I go from here? Let's see. Are your rrd files getting updated at all? (either data-wise or time-stamp-wise) Have you looked at your apan debug files? What does your apan checkcommand look like? mine is: command_line /usr/local/nagios/apan-sql/apan-sql.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ and is called in services.cfg like: check_command apan!load!3!5 How did you make your rrd files? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From warlock at eskimo.com Fri Apr 2 23:51:07 2004 From: warlock at eskimo.com (Jim Richardson) Date: Fri, 2 Apr 2004 13:51:07 -0800 Subject: check_ping strangeness In-Reply-To: <20040402201849.GF14805@grendel.myth> References: <20040402201849.GF14805@grendel.myth> Message-ID: <20040402215107.GJ17414@grendel.myth> On Fri, Apr 02, 2004 at 12:18:49PM -0800, Jim Richardson wrote: > >I have a new nagios setup (and I am a relative newbie) with one oddity. > >No matter what user I run it as, check_ping fails thusly > >check_ping -H www.foobar.com -w1000,10% -c2000,50% > >You've got a big problem buddy! You need more args!!! >Cannot open pipe: jim at east: > >This is on a Debian stable system, with Nagios compiled from tarball, >most everything else seems to work, but this is horking up and I would >like to fix it. The usual google searches did not suggest that this is a >problem others have experienced. So I post the question here. > OK, figured something out. For some reason, the check_ping compiled on that host, doesn't work, but if I compile it elsewhere, and move the check_ping there, it works. Dunno why yet. -- Jim Richardson http://www.eskimo.com/~warlock Madness takes its toll. Please have exact change ready. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Fri Apr 2 23:47:10 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 2 Apr 2004 16:47:10 -0500 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F06559285@phsexch20.mgh.harvard.edu> Jeff -- The rrd file, only one service is being checked at this point, is being updated. The last time stamp for the file was today at 16:10 EST. The apan debug files have not had any updates since yesterday afternoon. I don't think there is much to look at in them for the present situation. I checked the checkcommand syntax, and I modified mine where $SERVICEDESC$ was changed to "$SERVICEDESC$". Also, the check_command syntax in the services.cfg file for me is apan-sql as opposed to apan. I made the rrd files via the apanconf-sql utility. When I ran the utility I ran it as the nagios user. -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Friday, April 02, 2004 4:37 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in Nag ios On Fri, 2004-04-02 at 15:25, Kaplan, Andrew H. wrote: > I tried the new syntax, and that did work. well, THAT is way weird. I put spaces in my commands normally when I go in from the command line. Although, I don't use -p, I use --password= I bet there's a bug with a space after -p that I forgot about at some point and hence ignore that way of doing it :) > BTW -- The password I specified was the default password > that came with apan, I've long since changed it ;-). oh, good :) > Now that we know the nagios user can connect to the database, where do I go from here? Let's see. Are your rrd files getting updated at all? (either data-wise or time-stamp-wise) Have you looked at your apan debug files? What does your apan checkcommand look like? mine is: command_line /usr/local/nagios/apan-sql/apan-sql.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ and is called in services.cfg like: check_command apan!load!3!5 How did you make your rrd files? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Sat Apr 3 00:23:05 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 2 Apr 2004 17:23:05 -0500 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F06559286@phsexch20.mgh.harvard.edu> Jeff -- I'm heading out the door for weekend. Would it be alright if we pick this up on Monday? Thanks in advance. -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Friday, April 02, 2004 5:20 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Problem Getting the APAN Link to Appear in Nag ios On Fri, 2004-04-02 at 15:47, Kaplan, Andrew H. wrote: > The rrd file, only one service is being checked at this point, is being updated. > The last time stamp for the file was today at 16:10 EST. Hm. and the rrdtool fetch shows nothing? that's unusual. What if you pipe that fetch command to 'grep -v nan' and see what else it shows (if anything) > The apan debug files have not had any updates since yesterday afternoon. I don't > think there is much to look at in them for the present > situation. well, it SHOULD update them every time it runs, and it should be running often (like at lease once per 5 minutes), or rrdtool thinks it's junk information. > I checked the checkcommand syntax, and I modified mine where $SERVICEDESC$ was > changed to "$SERVICEDESC$". Also, the check_command syntax yeah, if there are spaces, that'll really mess it up. > in the services.cfg file for me is apan-sql as opposed to apan. I don't think that matters :) > I made the rrd files via the apanconf-sql utility. When I ran the utility I ran > it as the nagios user. Okay - as I said before in another email, I 'roll my own', so I can only assume that it did it correctly. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allan at webshots.com Sat Apr 3 00:59:02 2004 From: allan at webshots.com (Allan Bailey) Date: Fri, 02 Apr 2004 14:59:02 -0800 Subject: Problem Getting the APAN Link to Appear in Nagios In-Reply-To: Your message of "Fri, 02 Apr 2004 16:47:10 EST." <5593DA408212D511B0910002A513501F06559285@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559285@phsexch20.mgh.harvard.edu> Message-ID: <20040402225902.185521EE1E9@thoth.webshotsinc.com> I'm having the same or similar problem. Right now I'm reading up on rrdtool to try to understand why the valuse I gave 'apanconf-sql' don't work. The documentation that I have on the values to give to 'apanconf-sql' is rather vague. Looking at the debugging output I find the the apan-sql command/script is issuing this: Fri Apr 2 14:46:02 PST 2004 /usr/bin/rrdtool update /var/nagios/rrd/thoth-ping.rrd -t rtt 1080945957:0.07 Fri Apr 2 14:46:02 PST 2004 Inserting 'rtt' , '1080945957:0.07' into /var/nagios/rrd/thoth-ping.rrd Fri Apr 2 14:46:02 PST 2004 Returning ' PING OK - Packet loss = 0%, RTA = 0.07 ms' , 0 However, 'rrdtool info thoth-ping.rrd' shows the following: filename = "thoth-ping.rrd" rrd_version = "0001" step = 60 last_update = 1080946017 ds[rtt].type = "GAUGE" ds[rtt].minimal_heartbeat = 60 ds[rtt].min = 0.0000000000e+00 ds[rtt].max = NaN ds[rtt].last_ds = "UNKN" ds[rtt].value = 3.9900000000e+00 ds[rtt].unknown_sec = 0 rra[0].cf = "AVERAGE" rra[0].rows = 50400 rra[0].pdp_per_row = 1 rra[0].xff = 5.0000000000e-01 rra[0].cdp_prep[0].value = NaN rra[0].cdp_prep[0].unknown_datapoints = 0 rra[1].cf = "AVERAGE" rra[1].rows = 43800 rra[1].pdp_per_row = 60 rra[1].xff = 5.0000000000e-01 rra[1].cdp_prep[0].value = 7.9000000000e-01 rra[1].cdp_prep[0].unknown_datapoints = 35 According to that, it seems to not accept the value. When I added the service via 'apanconf-sql' I used this: ================ ------------------ Add a service ------------------- Hostname (thoth): Service (ping): Comment (ping): RRD-file (/var/nagios/rrd/thoth-ping.rrd): Graph-label (ping rtt): Graph-unit (ms): Step (60): Extra rrdtool args : Adding service 'ping' on host 'thoth' (ping) to the database... Argument #1 (Blank when you are ready): rtt DS-name : rtt DS-type, 1=GAUGE, 2=COUNTER : 1 heartbeat (900): 60 Min (0): Max (U): Drawing type (LINE2): Adding arguments to the database... ================ If anyone can point me to better documentation on these, please do. thanks, Allan "Kaplan, Andrew H." wrote: >Jeff -- > >The rrd file, only one service is being checked at this point, is being updated. >The last time stamp for the file was today at 16:10 EST. > >The apan debug files have not had any updates since yesterday afternoon. I don't >think there is much to look at in them for the present >situation. > >I checked the checkcommand syntax, and I modified mine where $SERVICEDESC$ was >changed to "$SERVICEDESC$". Also, the check_command syntax >in the services.cfg file for me is apan-sql as opposed to apan. > >I made the rrd files via the apanconf-sql utility. When I ran the utility I ran >it as the nagios user. > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allan at webshotsinc.com Sat Apr 3 01:11:22 2004 From: allan at webshotsinc.com (Allan Bailey) Date: Fri, 02 Apr 2004 15:11:22 -0800 Subject: Problem Getting the APAN Link to Appear in Nagios In-Reply-To: Your message of "Fri, 02 Apr 2004 16:47:10 EST." <5593DA408212D511B0910002A513501F06559285@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559285@phsexch20.mgh.harvard.edu> Message-ID: <20040402231122.7A7141EE1E9@thoth.webshotsinc.com> I'm having the same or similar problem. Right now I'm reading up on rrdtool to try to understand why the valuse I gave 'apanconf-sql' don't work. The documentation that I have on the values to give to 'apanconf-sql' is rather vague. Looking at the debugging output I find the the apan-sql command/script is issuing this: Fri Apr 2 14:46:02 PST 2004 /usr/bin/rrdtool update /var/nagios/rrd/thoth-ping.rrd -t rtt 1080945957:0.07 Fri Apr 2 14:46:02 PST 2004 Inserting 'rtt' , '1080945957:0.07' into /var/nagios/rrd/thoth-ping.rrd Fri Apr 2 14:46:02 PST 2004 Returning ' PING OK - Packet loss = 0%, RTA = 0.07 ms' , 0 However, 'rrdtool info thoth-ping.rrd' shows the following: filename = "thoth-ping.rrd" rrd_version = "0001" step = 60 last_update = 1080946017 ds[rtt].type = "GAUGE" ds[rtt].minimal_heartbeat = 60 ds[rtt].min = 0.0000000000e+00 ds[rtt].max = NaN ds[rtt].last_ds = "UNKN" ds[rtt].value = 3.9900000000e+00 ds[rtt].unknown_sec = 0 rra[0].cf = "AVERAGE" rra[0].rows = 50400 rra[0].pdp_per_row = 1 rra[0].xff = 5.0000000000e-01 rra[0].cdp_prep[0].value = NaN rra[0].cdp_prep[0].unknown_datapoints = 0 rra[1].cf = "AVERAGE" rra[1].rows = 43800 rra[1].pdp_per_row = 60 rra[1].xff = 5.0000000000e-01 rra[1].cdp_prep[0].value = 7.9000000000e-01 rra[1].cdp_prep[0].unknown_datapoints = 35 According to that, it seems to not accept the value. When I added the service via 'apanconf-sql' I used this: ================ ------------------ Add a service ------------------- Hostname (thoth): Service (ping): Comment (ping): RRD-file (/var/nagios/rrd/thoth-ping.rrd): Graph-label (ping rtt): Graph-unit (ms): Step (60): Extra rrdtool args : Adding service 'ping' on host 'thoth' (ping) to the database... Argument #1 (Blank when you are ready): rtt DS-name : rtt DS-type, 1=GAUGE, 2=COUNTER : 1 heartbeat (900): 60 Min (0): Max (U): Drawing type (LINE2): Adding arguments to the database... ================ If anyone can point me to better documentation on these, please do. thanks, Allan "Kaplan, Andrew H." wrote: >Jeff -- > >The rrd file, only one service is being checked at this point, is being updated. >The last time stamp for the file was today at 16:10 EST. > >The apan debug files have not had any updates since yesterday afternoon. I don't >think there is much to look at in them for the present >situation. > >I checked the checkcommand syntax, and I modified mine where $SERVICEDESC$ was >changed to "$SERVICEDESC$". Also, the check_command syntax >in the services.cfg file for me is apan-sql as opposed to apan. > >I made the rrd files via the apanconf-sql utility. When I ran the utility I ran >it as the nagios user. > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allan at webshotsinc.com Sat Apr 3 01:25:11 2004 From: allan at webshotsinc.com (allan) Date: Fri, 02 Apr 2004 15:25:11 -0800 Subject: Problem Getting the APAN Link to Appear in Nagios In-Reply-To: Message from Allan Bailey of "Fri, 02 Apr 2004 15:11:22 PST." <20040402231122.7A7141EE1E9@thoth.webshotsinc.com> References: Message-ID: <20040402232511.B1C3A1EE1E9@thoth.webshotsinc.com> [[ Apologies for the double post. We changed domain names and i forgot to change my subscription.]] Now my graphs are working and showing data. I'm guessing I wasn't patient enough. Allan Bailey wrote: > >I'm having the same or similar problem. Right now I'm reading up on rrdtool to try to >understand why the valuse I gave 'apanconf-sql' don't work. The documentation that >I have on the values to give to 'apanconf-sql' is rather vague. > >Looking at the debugging output I find the the apan-sql command/script is issuing this: > >Fri Apr 2 14:46:02 PST 2004 /usr/bin/rrdtool update /var/nagios/rrd/thoth-ping.rrd -t rtt 1080945957:0.07 >Fri Apr 2 14:46:02 PST 2004 Inserting 'rtt' , '1080945957:0.07' into /var/nagios/rrd/thoth-ping.rrd >Fri Apr 2 14:46:02 PST 2004 Returning ' PING OK - Packet loss = 0%, RTA = 0.07 ms' , 0 > > >However, 'rrdtool info thoth-ping.rrd' shows the following: > >filename = "thoth-ping.rrd" >rrd_version = "0001" >step = 60 >last_update = 1080946017 >ds[rtt].type = "GAUGE" >ds[rtt].minimal_heartbeat = 60 >ds[rtt].min = 0.0000000000e+00 >ds[rtt].max = NaN >ds[rtt].last_ds = "UNKN" >ds[rtt].value = 3.9900000000e+00 >ds[rtt].unknown_sec = 0 >rra[0].cf = "AVERAGE" >rra[0].rows = 50400 >rra[0].pdp_per_row = 1 >rra[0].xff = 5.0000000000e-01 >rra[0].cdp_prep[0].value = NaN >rra[0].cdp_prep[0].unknown_datapoints = 0 >rra[1].cf = "AVERAGE" >rra[1].rows = 43800 >rra[1].pdp_per_row = 60 >rra[1].xff = 5.0000000000e-01 >rra[1].cdp_prep[0].value = 7.9000000000e-01 >rra[1].cdp_prep[0].unknown_datapoints = 35 > > > >According to that, it seems to not accept the value. > > >When I added the service via 'apanconf-sql' I used this: > >================ > ------------------ Add a service ------------------- > Hostname (thoth): > Service (ping): > Comment (ping): >RRD-file (/var/nagios/rrd/thoth-ping.rrd): >Graph-label (ping rtt): > Graph-unit (ms): > Step (60): > Extra rrdtool args : >Adding service 'ping' on host 'thoth' (ping) to the database... >Argument #1 (Blank when you are ready): rtt > DS-name : rtt >DS-type, 1=GAUGE, 2=COUNTER : 1 > heartbeat (900): 60 > Min (0): > Max (U): >Drawing type (LINE2): >Adding arguments to the database... >================ > > >If anyone can point me to better documentation on these, please do. > >thanks, >Allan > > >"Kaplan, Andrew H." wrote: >>Jeff -- >> >>The rrd file, only one service is being checked at this point, is being updated. >>The last time stamp for the file was today at 16:10 EST. >> >>The apan debug files have not had any updates since yesterday afternoon. I don't >>think there is much to look at in them for the present >>situation. >> >>I checked the checkcommand syntax, and I modified mine where $SERVICEDESC$ was >>changed to "$SERVICEDESC$". Also, the check_command syntax >>in the services.cfg file for me is apan-sql as opposed to apan. >> >>I made the rrd files via the apanconf-sql utility. When I ran the utility I ran >>it as the nagios user. >> > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > -- .allan. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Sat Apr 3 01:50:36 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Apr 2004 17:50:36 -0600 Subject: Problem Getting the APAN Link to Appear in Nagios In-Reply-To: <20040402225902.185521EE1E9@thoth.webshotsinc.com> References: <20040402225902.185521EE1E9@thoth.webshotsinc.com> Message-ID: <1080949836.27180.25.camel@localhost> I can tell you that I create mine with this command: rrdtool create servername_Ping.rrd -s 300 DS:rtt:GAUGE:900:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 on one line, of course. The -s is optional at 300 as it's the default, but I like to see it :) Looking at your info outputs... I think you have an awfully low heartbeat setting. If you don't get multiple returns in one minute, it's discarded. The default (900) is a *bit* high, but it's much more sensible to err on the side of too high and get the data than have tons of drops. Are you perhaps confusing heartbeats with steps? On Fri, 2004-04-02 at 16:59, Allan Bailey wrote: > I'm having the same or similar problem. Right now I'm reading up on rrdtool to try to > understand why the valuse I gave 'apanconf-sql' don't work. The documentation that > I have on the values to give to 'apanconf-sql' is rather vague. > > Looking at the debugging output I find the the apan-sql command/script is issuing this: > > Fri Apr 2 14:46:02 PST 2004 /usr/bin/rrdtool update /var/nagios/rrd/thoth-ping.rrd -t rtt 1080945957:0.07 > Fri Apr 2 14:46:02 PST 2004 Inserting 'rtt' , '1080945957:0.07' into /var/nagios/rrd/thoth-ping.rrd > Fri Apr 2 14:46:02 PST 2004 Returning ' PING OK - Packet loss = 0%, RTA = 0.07 ms' , 0 > > > However, 'rrdtool info thoth-ping.rrd' shows the following: > > filename = "thoth-ping.rrd" > rrd_version = "0001" > step = 60 > last_update = 1080946017 > ds[rtt].type = "GAUGE" > ds[rtt].minimal_heartbeat = 60 > ds[rtt].min = 0.0000000000e+00 > ds[rtt].max = NaN > ds[rtt].last_ds = "UNKN" > ds[rtt].value = 3.9900000000e+00 > ds[rtt].unknown_sec = 0 > rra[0].cf = "AVERAGE" > rra[0].rows = 50400 > rra[0].pdp_per_row = 1 > rra[0].xff = 5.0000000000e-01 > rra[0].cdp_prep[0].value = NaN > rra[0].cdp_prep[0].unknown_datapoints = 0 > rra[1].cf = "AVERAGE" > rra[1].rows = 43800 > rra[1].pdp_per_row = 60 > rra[1].xff = 5.0000000000e-01 > rra[1].cdp_prep[0].value = 7.9000000000e-01 > rra[1].cdp_prep[0].unknown_datapoints = 35 > > > > According to that, it seems to not accept the value. > > > When I added the service via 'apanconf-sql' I used this: > > ================ > ------------------ Add a service ------------------- > Hostname (thoth): > Service (ping): > Comment (ping): > RRD-file (/var/nagios/rrd/thoth-ping.rrd): > Graph-label (ping rtt): > Graph-unit (ms): > Step (60): > Extra rrdtool args : > Adding service 'ping' on host 'thoth' (ping) to the database... > Argument #1 (Blank when you are ready): rtt > DS-name : rtt > DS-type, 1=GAUGE, 2=COUNTER : 1 > heartbeat (900): 60 > Min (0): > Max (U): > Drawing type (LINE2): > Adding arguments to the database... > ================ > > > If anyone can point me to better documentation on these, please do. > > thanks, > Allan > > > "Kaplan, Andrew H." wrote: > >Jeff -- > > > >The rrd file, only one service is being checked at this point, is being updated. > >The last time stamp for the file was today at 16:10 EST. > > > >The apan debug files have not had any updates since yesterday afternoon. I don't > >think there is much to look at in them for the present > >situation. > > > >I checked the checkcommand syntax, and I modified mine where $SERVICEDESC$ was > >changed to "$SERVICEDESC$". Also, the check_command syntax > >in the services.cfg file for me is apan-sql as opposed to apan. > > > >I made the rrd files via the apanconf-sql utility. When I ran the utility I ran > >it as the nagios user. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From emmanuel.ricros at philips.com Sat Apr 3 06:28:07 2004 From: emmanuel.ricros at philips.com (emmanuel.ricros at philips.com) Date: Sat, 3 Apr 2004 06:28:07 +0200 Subject: Emmanuel Ricros is out of the office Message-ID: I will be out of the office starting 02/04/2004 and will not return until 19/04/2004. If you need help with ClearCase / ClearCM / 'mk', please send email to Support.ClearCase.CIS at philips.com. For any other urgent issue, please contact Dominique Dubois - Application Manager (dominique.dubois at philips.com). Regards, Emmanuel Ricros - Software Configuration Team Leader Campus Information Systems - Philips France ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wgking at shaw.ca Sat Apr 3 08:34:21 2004 From: wgking at shaw.ca (Greg King) Date: Fri, 02 Apr 2004 23:34:21 -0700 Subject: re Nagios as a replacement for HP OpenView Message-ID: <212766721280c3.21280c32127667@shaw.ca> > Nagios' server > checks are more basic than HPOVs but basic process > and log file scrubbing plugins are available. Can you be a little more specific? What's is missing? ##The hpov agent is a complete subsystem with a messaging system, correlation engine, snmp trap handler, software and data xfer mechanisms, and template interpreter. It includes precompiled programs and scripts to perform support actions and commands. Compared to this, Nagios provides an good set of utilities (plugins) kind of like the commands part of hpov, but it is your responsibility to get the commands to the target system, setup the communication via NRPE and/or NSCA, and trigger the checks from the central console or setup the passive monitoring. > action parts. If you need the deep application > monitoring of an OVO SPI, Nagios is not there yet. Well, as long as I can start anything based on an event, then I say we are good to go. One "issue" is the annotation in the messages. When certain events occur we run auto actions that add output as an annotation. Is there any way that we can do that? Is there any way of passing "fairly" large chunks of data to the server (e.g. > 2K)? ##I have not seen anything like that in Nagios, but I'm still learning. What about remote action not related to events? For example, we have dozens of applications that start processes on the remote machines. Is there anything built in? ## I have not seen anything like a time template for remote actions, or any actions in general. Nagios' focus is on monitoring or "check_*" services. each performance > metric must be setup manually in Nagios/apan, and > the Unix support doesn't seem to be as flexible as > the Windows support with apan. What do you mean by "manually"? I imagine that you have do define them individually in the config files. Is that correct? ##Yes. In Nagios, there is no common set of performance metrics that are logged for all managed hosts, and can be tested for threshold violations or logged for historical analysis. If you want to monitor and/or log CPU, or network traffic, you must setup the config files to do so for each metric and possibly differently for each server depending on what is available (snmp, win perfmon #, Unix stats, etc.). Which brings up another point: templates. Other than ftp, scp, etc is there anything built in to nagios for the distribution of "templates"? ##No. In fact you probably will have to compile the plugins, NCSA, and NRPE on the target system, so you will need a C compiler there and maybe a few other development type things. I'm still working through all that. With Nagios there is no remote "agent" in the HPOV sense. The NRPE NCSA deamons enable communication between the target and the Nagios server, but Nagios triggers the checks or you set them up passively in cron on the target. Regards, Greg ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Sat Apr 3 09:37:40 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Sat, 03 Apr 2004 19:37:40 +1200 Subject: RTG + Nagios? In-Reply-To: <1080917960.13704.9.camel@localhost> References: <1080917960.13704.9.camel@localhost> Message-ID: <1080977860.955.35.camel@munter> Hi, Properly Implementing RTG is on my todo list. I've tested it out. I like it. Faasst - which means sub-minute display of traffic - which is cool - this means Nagios will know about traffic/processor weirdness before the usual five minute poll rate of alternative systems. We like this. Throwing data into a lossless db is good. I like to be able to go back to last month and compare with this month. (..what is this disk space shortage you speak of?) On the downside, the front end is nowhere near the likes of cacti or cricket - it's pretty basic. Also the poller is pretty much SNMP only, so it's hard to do hacks and get things like dns response times, or preprocess snmp responses (e.g. windows disk utilisation) etc or [add your obscure measurement requirement here]. And a postgres variant would be absolutely iceblock. That was the long answer. The short answer is I haven't tried to integrate nagios and rtg yet. But I intend to. peace. jamie On Sat, 2004-04-03 at 02:59, Justin Ellison wrote: > And no, it's not a typo. http://rtg.sf.net > > Anybody using this? I currently have some custom perl plugins that are > ran by nagios that also log performance data to an RRD file, and I show > the pretty graphs using Cacti. Looks like RTG is a much better SNMP > poller, and it would be fairly easy to design a perl plugin that queried > the MySQL db for Nagios related info. > > Anybody tried? -------------- 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 cliff at proteris.com Sat Apr 3 18:57:11 2004 From: cliff at proteris.com (Cliff Riggs) Date: Sat, 3 Apr 2004 11:57:11 -0500 Subject: check_snmp problems In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Clint, I had problems like yours - No data received from host in my experience means that the community string is wrong. I found that if I used "--community=string" instead of -C in my command line checks, my checks worked fine. Might be worth a shot if you are still frustrated. Cliff - -- - -------------------------------------------- Clifford Riggs CCIE #9314, CISSP - -------------------------------------------- Proteris Group LLC Information Security Consultants Trust. Expertise. Results. - -------------------------------------------- www.proteris.com - -------------------------------------------- On Apr 2, 2004, at 2:27 PM, nagios-users-request at lists.sourceforge.net wrote: [root nagios]# /usr/local/nagios/libexec/check_snmp -H 69.20.4.144 -o .1.3.6.1.4.1.2021.10.1.3.1 -C nagios -p 2112 SNMP problem - No data recieved from host -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQFAbuznJ3mHWY7troQRAlNMAKCkfjaoZAdcY+BmM3i+NRHkKv2TlgCgqeH7 ZrT16ZXpRLRAo6gjluND5gU= =YCH8 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Sat Apr 3 20:36:46 2004 From: jhein at netways.de (Julian Hein) Date: Sat, 3 Apr 2004 20:36:46 +0200 Subject: nsca not writing data to file Message-ID: <2F6750F2110CAD41BE0BC33BB428B568010DDE@net-sql2.int.netways.de> Hi everyone, I have a problem with the NSCA. Communication between both hosts seem to be OK, but NSCA is not writing to any file on the central Nagios Server. I really tried a lot in testing and debuging. This is my configuration: Distributed Server: ------------------- 1.) in /etc/nagios/send_nsca.cfg: password=nagios encryption_method=0 2.) For testing I used the following shell script: /bin/echo -e "testhost\tPING\t0\t(No Output)\n" | \ /usr/sbin/send_nsca ip.of.server -c /etc/nagios/send_nsca.cfg when executing this script I get the following message: 1 data packet(s) sent to host successfully. So everything looks promising :-) Central Server: --------------- 1.) in /etc/nagios/nsca.cfg: server_port=5667 #server_address=192.168.1.1 allowed_hosts=all IP Adresses the client has nsca_user=nagios nsca_group=nagios debug=1 # for testing: command_file=/var/log/nagios/rw/nagios.test alternate_dump_file=/var/log/nagios/rw/nagios.dump aggregate_writes=0 append_to_file=0 max_packet_age=300 password=nagios decryption_method=0 2.) for testing I set the command file like this (777): -rwxrwxrwx 1 nagios nagios 0 nagios.test 3.) /etc/inetd.conf: nsca stream tcp nowait nagios /usr/sbin/nsca -c \ /etc/nagios/nsca.cfg --inetd 4.) in /etc/services nsca 5667/tcp # NSCA (Nagios) My Problem is, that send_nsca says, that it successfully submitted the data to the other server, but nothing gets written to the command file "nagios.test". I tried the following things in tracking down the problem: 1.) tcpdump I veryfied with tcpdump and tethereal "tcpdump dst port 5667 ", that tcp communication is OK. And there seems to be no problem. Because I am using no encryption, I can even see the Nagios Infos in the packets, if using "tethereal -x dst port 5667" 2.) telnet When telneting from the distributed to the central servers nsca port I get the following result: # telnet ip.of.central.server 5667 Trying 111.222.333.444... Connected to central.server. Escape character is '^]'. Incorrect command line arguments supplied NSCA - Nagios Service Check Acceptor Copyright (c) 2000-2003 Ethan Galstad (nagios at nagios.org) Version: 2.4 Last Modified: 07-23-2003 License: GPL Encryption Routines: AVAILABLE Usage: -c -c [mode] (..) So the nsca Daemon is running and listening, but this result looks a little bit strange to me, but I don't know if this is standard. 3.) Debug Log Well, I tried everything to get the debug logging working, but I had no success, too. I even modified /etc/syslog.conf to log _everything_ (*.*) into a test logfile and activated debugging in nsca.cfg, but it is not logging a single line. :-( Ok, if somebody has an idea, I would be very happy. Thanks, Julian ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjapko at xeloq.com Sat Apr 3 23:04:47 2004 From: tjapko at xeloq.com (XeloQ Communications) Date: 03 Apr 2004 17:04:47 -0400 Subject: check_nt Message-ID: <1081026287.4310.12.camel@dc85430e7.dslam-03-16-4-02-01-01.urb.dsl.cantv.net> Hello list, I do have check_nt running fine with the next exception. When I specify the -v parameter with SERVICESTATE and the -l parameter with a servicename that is 1 whole word all is fine. When the service name consist out of 2 or more words it seems to pick only the first word. check_nt -H 200.100.100.100 -v SERVICESTATE -l MONITOR TOOL does not return the expected values. When I put "MONITOR TOOL" like this the same result. When I recompile my source and make 1 word all is fine. Is it possible to query a service that has more than 1 word in its name? All the other -v parameters are running excellent by the way. Thanks, Tjapko. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gemeosdf at yahoo.com.br Sat Apr 3 23:37:46 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Sat, 3 Apr 2004 18:37:46 -0300 (ART) Subject: nagios access mysql database Message-ID: <20040403213746.536.qmail@web12907.mail.yahoo.com> Hi, I'm using RedHat 9, Nagios 1.2, mysql 4.0.18 and I'm trying to configure Nagios access the Mysql database. When I'm going to execute ./configure --cache-file=confx.cache --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata --with-mysql-lib=/usr/local/mysql/lib/mysql/ --with-mysql-inc=/usr/local/mysql/include/mysql/ I receive an error message like that *** MySQL library could not be located... ************************** You chose to compile Nagios with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib and --with-mysql-inc arguments to specify the locations of the MySQL library and include files. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** Then, I looked to the file /etc/ld.so.conf /usr/local/mysql/lib/mysql /usr/local/mysql/include/mysql /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib After that, I looked to the directory which there are the library and the includes files root at localhost mysql]# ls /usr/local/mysql/lib/mysql libdbug.a libmyisammrg.a libmysqlclient.so.12 libnisam.a libheap.a libmysqlclient.a libmysqlclient.so.12.0.0 libvio.a libmerge.a libmysqlclient.la libmystrings.a libmyisam.a libmysqlclient.so libmysys.a [root at localhost mysql]# ls /usr/local/mysql/include/mysql chardefs.h my_alloc.h my_list.h mysqld_error.h readline.h errmsg.h my_config.h my_net.h mysql_embed.h sslopt-case.h history.h my_dbug.h my_no_pthread.h mysql.h sslopt-longopts.h keymaps.h my_dir.h my_pthread.h mysql_version.h sslopt-vars.h m_ctype.h my_getopt.h my_semaphore.h my_sys.h tilde.h m_string.h my_global.h mysql_com.h raid.h So, I don't know why nagios can not find the Mysql libary? Can anybody help me? Do I miss any parameter in the ./configure command? Thanks, Marcelo ______________________________________________________________________ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j at firebright.com Sun Apr 4 00:05:35 2004 From: j at firebright.com (Jonathan) Date: Sat, 3 Apr 2004 14:05:35 -0800 Subject: First post: looking to find out whether nagios can be adapted to work on a large scale Message-ID: Howdy! I'm a new list member, as we're just getting started with Nagios. It's a pleasure to make everyone's aquantance. We're currently setting up Nagios to do distributed monitoring on our server farm. However, we recently were handed some requirements to build a distributed monitoring solution for end-users. I've been pounding the pixel pavement looking for some kind of monitoring package that's robust enough to provide end user access to tens-of-thousands of end user customers, and I'm wondering if Nagios is flexible enough that it can be adapted. We have a basic website (php auth, design, xhtml is done) framework, and are looking to put together a core offering. It's free to end-users, and what it does is simple website monitoring. We'd like to be able to write a php or perl class to call something in Nagios to handle We're looking to set up a *free* version of something like this: http://www.watchmouse.com/en/index.php http://www.nmsalert.com/ http://netwhistle.com/overview/default.aspx Picture of our project's homepage (draft): http://www.firebright.com/projects/freeuptime1.jpg A rough idea of what we want to do is: -- build the framework for an enterprise class monitoring system. We already have distributed DNS servers throughout the United States and Canada, so the network to run this stuff is already there. Obviously, this would require a database backed (mysql or postgres, either is fine with us) website with multi-level authentication capabilities. We'd need to be able to define account levels and capabilities based on those account levels, specifically the number and type of monitoring services that can be invoked. We figure something keyed off a (example here in mysql format) database like this: username VARCHAR(100) NOT NULL, password VARCHAR(100) NOT NULL, auth_level INT(11) NOT NULL, That auth level then has another table or tables which defines service parameter(s) -- simple. Then we need a monitoring engine to be written. Obviously, if we wanted to hack this system together in a day, we could use a simple monitoring script and adapt it to our use (something like psi would be easy to use). This is maybe where Nagios could come in, but we're not sure. Is this something that can be worked together? The engine should be able to set up monitors for: connect http httpd pop3 smtp ftp imap telnet dnsa dnsns match ping I mean, eventually we'd like to be able to offer something like: http://www.watchmouse.com/en/checkit.php And you should be able to set the monitoring period to as low as 70080 checks/month (5 minutes) with a default for accounts of 1 hour. Anyways, I hope that's enough detail for everyone. That's what we're trying to put together. Yes, I know it's shameless self-promotion, but we figure it's better that than 10,000 banner ads all over the internet -- at least we can give something back. I'd love some tips on whether this is something I should consider hacking with Nagios, or whether we're going to have the build the functionality from scratch. Thanks a lot. I sincerely appreciate it! Best, Jonathan ---- Email: j at FireBright.com For Support: http://helpdesk.FireBright.com/ Toll Free: (866) FIREBRIGHT x901 Fax: (916) 359 0151 FireBright, Inc. 4660 Natomas Blvd Suite 120-112 Sacramento, CA 95835 Please visit our site: http://www.FireBright.com/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgarcia at suse.com.ve Sun Apr 4 03:42:56 2004 From: jgarcia at suse.com.ve (Javier Garcia) Date: Sat, 3 Apr 2004 21:42:56 -0400 (VET) Subject: nagios access mysql database In-Reply-To: <20040403213746.536.qmail@web12907.mail.yahoo.com> References: <20040403213746.536.qmail@web12907.mail.yahoo.com> Message-ID: Hi Marcelo, I see what is your problem. The parameters in the ./configure script are OK. The problem is that you really don't have the library. Nagios look for a file named mysql.h. This file must be in the include folder. You need to install mysql-devel-** in your system. Search the appropiate rpm package for your RedHat system. After, run again the scrip. This must work. Regards, j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 On Sat, 3 Apr 2004, [iso-8859-1] Marcos & Marcelo wrote: > Hi, > > I'm using RedHat 9, Nagios 1.2, mysql 4.0.18 and > I'm trying to configure Nagios > access the Mysql database. When I'm going to > execute > ./configure --cache-file=confx.cache > --prefix=/usr/local/nagios > --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios > --with-nagios-user=nagios > --with-nagios-grp=nagios --with-mysql-xdata > --with-mysql-lib=/usr/local/mysql/lib/mysql/ > --with-mysql-inc=/usr/local/mysql/include/mysql/ > I receive an error message like that > > *** MySQL library could not be located... > ************************** > You chose to compile Nagios with MySQL support, but I > was unable to > locate the MySQL library on your system. If the > library is > installed, use the --with-mysql-lib and > --with-mysql-inc arguments > to specify the locations of the MySQL library and > include files. > > NOTE: After you install the necessary libraries on > your system: > 1. Make sure /etc/ld.so.conf has an entry for > the directory in > which the MySQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker > options. > 3. Run 'make clean' in the Nagios distribution > to clean out > any old references to your previous compile. > 4. Rerun the configure script. > > ******************************************************************** > Then, I looked to the file /etc/ld.so.conf > /usr/local/mysql/lib/mysql > /usr/local/mysql/include/mysql > /usr/kerberos/lib > /usr/X11R6/lib > /usr/lib/sane > /usr/lib/qt-3.1/lib > After that, I looked to the directory which there > are the library and the includes files > root at localhost mysql]# ls > /usr/local/mysql/lib/mysql > libdbug.a libmyisammrg.a libmysqlclient.so.12 > libnisam.a > libheap.a libmysqlclient.a > libmysqlclient.so.12.0.0 libvio.a > libmerge.a libmysqlclient.la libmystrings.a > libmyisam.a libmysqlclient.so libmysys.a > > [root at localhost mysql]# ls > /usr/local/mysql/include/mysql > chardefs.h my_alloc.h my_list.h > mysqld_error.h readline.h > errmsg.h my_config.h my_net.h > mysql_embed.h sslopt-case.h > history.h my_dbug.h my_no_pthread.h mysql.h > sslopt-longopts.h > keymaps.h my_dir.h my_pthread.h > mysql_version.h sslopt-vars.h > m_ctype.h my_getopt.h my_semaphore.h my_sys.h > tilde.h > m_string.h my_global.h mysql_com.h raid.h > > So, I don't know why nagios can not find the > Mysql libary? Can anybody help me? Do I miss any > parameter in the ./configure command? > > Thanks, > Marcelo > > > ______________________________________________________________________ > > Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: > http://br.yahoo.com/info/mail.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at ivanfetch.com Sun Apr 4 18:21:35 2004 From: lists at ivanfetch.com (Ivan Fetch) Date: Sun, 4 Apr 2004 10:21:35 -0600 (MDT) Subject: clarification on parents and dependencies Message-ID: <20040404102004.O60859@ncbyyb.srgpuarg.arg> IT looks like this never ended up getting to the mailing list so I'm resending... Date: Fri, 2 Apr 2004 12:42:58 -0700 (MST) Subject: clarification on parents and dependencies Hello, Now that our switches have finally all been upgraded to Cisco and there's better documentation of switch interconnectivity, I'm adding the switch info to Nagios. I'm hoping to get a reality check from folks on-list about the following: 1. In order for the Nagios box to ping a particular Sun workstation, it has to go through two switches. I can specify one switch using the parent directive in the host definition for the Sun workstation, but where should I specify the relationship of the switch which the Nagios box is plugged into? This seems a bit clugy, but I could specify the switch which the Nagios box is directly connected to, as a parent to the switch which the Sun workstation is connected to (even though it is not truly a parent). Is this kind of situation better handled by defining host dependencies of some kind? 2. Our switches are in a different sub net (apparently in order to be trunked), so if something is going wrong with our router, we can not ping the switches. Would folks out there recommend specifying the router as a parent to each switch's host definition? I see a kind of loop potential in that technically one has to go through a switch in order to ping a router, but pinging a switch requires going through the router (otherwise I"d be able to define a more typical host -> switch1 -> primary switch -> router kind of relationship). Of course what I'm going for here is a downed or overloaded switch should result in unreachable messages, but not host down messages. Thanks in advance for your input, Ivan. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.pounsett at cira.ca Sun Apr 4 19:11:53 2004 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Sun, 4 Apr 2004 13:11:53 -0400 (EDT) Subject: clarification on parents and dependencies In-Reply-To: <20040404102004.O60859@ncbyyb.srgpuarg.arg> References: <20040404102004.O60859@ncbyyb.srgpuarg.arg> Message-ID: On Sun, 4 Apr 2004, Ivan Fetch wrote: > 1. In order for the Nagios box to ping a particular Sun workstation, it > has to go through two switches. I can specify one switch using the > parent directive in the host definition for the Sun workstation, but where > should I specify the relationship of the switch which the Nagios box is > plugged into? This seems a bit clugy, but I could specify the switch Seems like this one is fairly straightforward, if I'm understanding you correctly. By "has to go through two switches" do you mean something like this? Nagios -> Switch A -> Switch B -> Sun Workstation Or this? Switch A / \ Nagios Sun Workstation \ / Switch B If it's the first one, then Switch B is the parent of the Workstation, and Switch A is the parent of Switch B. If it's the second one, then Switches A and B are parents of the Sun Workstation. > 2. Our switches are in a different sub net (apparently in order to be > trunked), so if something is going wrong with our router, we can not ping > the switches. Would folks out there recommend specifying the router as a > parent to > each switch's host definition? I see a kind of loop potential in that This one is more compex.. it sounds like you've got some VLANs on the switch, and the packets pass through the switch a couple of times on their way to their destination, right? it's easier if you think of the parent/child relationship in Nagios as a dependancy tree, rather than a network map.. 'cause it really is just the former. In those less-clear situations, I find it helps if I consider how a failure is going to affect other servers, and eventually it becomes clear which device should be closer ot the top in the tree. Consider this: Packets enter a rack via an uplink cable and enter Switch A (the only switch) on VLAN1. A cable leaves VLAN1 for the firewall, which splits the network into three zones. Cables connect the three back-end ports on the firewall to VLAN2, 3 and 4 on the switch, and all the servers are connected to some port in one of those VLANs. We've got a loop here, if you consider the logical network diagram. Packets pass through the switch twice on their way to any given host. However, from a dependancy point of view, you need to work out which potential failure will take out the most devices. If we start working down the network from Nagios' point of view, the first device it hits is the switch, then the firewall (so the switch is the firewall's parent), and then the switch again. We can't list the switch twice in the tree, so we skip it and go directly to the hosts, which means that the firewall is the parent of all the hosts, the switch the parent of the firewall, and whatever's upstream of our example rack becomes the parent of the switch. HTH > technically one has to go through a switch in order to ping a router, but > pinging a switch requires going through the router (otherwise I"d be able > to define a more typical host -> switch1 -> primary switch -> router kind > of relationship). > > > Of course what I'm going for here is a downed or overloaded switch > should result in unreachable messages, but not host down messages. > > Thanks in advance for your input, > Ivan. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- 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: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gemeosdf at yahoo.com.br Mon Apr 5 01:35:03 2004 From: gemeosdf at yahoo.com.br (=?iso-8859-1?q?Marcos=20&=20Marcelo?=) Date: Sun, 4 Apr 2004 20:35:03 -0300 (ART) Subject: help me - nagios access mysql Message-ID: <20040404233503.95577.qmail@web12908.mail.yahoo.com> Hi Folks, I finally installed Nagios with Mysql support. I execute the file create_mysql, which create all tables in mysql database. However, after configuring the cgi.cfg, I look at the nagios.log and I receive an error message like that. Does anybody know how to solve it? Is cgi.cfg the only file that need to be configured in order to make nagios connect to mysql database, or there are others? nagios.log [1077349565] Nagios 1.2 starting... (PID=7621) [1077349565] Finished daemonizing... (New PID=7622) [1077349566] Error: Could not read program retention data from table programretention [1077349566] Error: Could not read host retention data from table hostretention [1077349566] Error: Could not read service retention data from table serviceretention [1077349566] Error: Could not lock status data tables in database '' [1077349580] Error: Could not lock status data tables in database '' [1077349595] Error: Could not lock status data tables in database '' [1077349595] SERVICE ALERT: c3po;FTP;CRITICAL;SOFT;1;Connection refused by host [1077349610] Error: Could not lock status data tables in database '' [1077349625] Error: Could not lock status data tables in database '' [1077349629] HOST ALERT: mmendonc-lap;DOWN;SOFT;1;/bin/ping -n -U -c 1 192.168.1.5 [1077349632] HOST ALERT: mmendonc-lap;DOWN;SOFT;2;/bin/ping -n -U -c 1 192.168.1.5 [1077349635] HOST ALERT: mmendonc-lap;DOWN;SOFT;3;/bin/ping -n -U -c 1 192.168.1.5 [1077349638] HOST ALERT: mmendonc-lap;DOWN;SOFT;4;/bin/ping -n -U -c 1 192.168.1.5 [1077349641] HOST ALERT: mmendonc-lap;DOWN;SOFT;5;/bin/ping -n -U -c 1 192.168.1.5 [1077349644] HOST ALERT: mmendonc-lap;DOWN;SOFT;6;/bin/ping -n -U -c 1 192.168.1.5 [1077349647] HOST ALERT: mmendonc-lap;DOWN;SOFT;7;/bin/ping -n -U -c 1 192.168.1.5 [1077349650] HOST ALERT: mmendonc-lap;DOWN;SOFT;8;/bin/ping -n -U -c 1 192.168.1.5 [1077349653] HOST ALERT: mmendonc-lap;DOWN;SOFT;9;/bin/ping -n -U -c 1 192.168.1.5 [1077349656] HOST ALERT: mmendonc-lap;DOWN;HARD;10;/bin/ping -n -U -c 1 192.168.1.5 cgi.cfg # DG EXTENDED DATA xeddb_host=c3po.starwars xeddb_port=3306 xeddb_database=db xeddb_username=root xeddb_password=root DB STATUS DATA (Read-Only For CGIs) xsddb_host=c3po.starwars xsddb_port=3306 xsddb_database=db xsddb_username=root xsddb_password=root # DB COMMENT DATA (Read-Only For CGIs) xcddb_host=c3po.starwars xcddb_port=3306 xcddb_database=db xcddb_username=root xcddb_password=root # DB DOWNTIME DATA (Read-Only For CGIs) xdddb_host=c3po.starwars xdddb_port=3306 xdddb_database=db xdddb_username=root xdddb_password=root Thanks, Marcelo ______________________________________________________________________ Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: http://br.yahoo.com/info/mail.html ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at netspace.net.au Mon Apr 5 03:28:25 2004 From: scott at netspace.net.au (Scott) Date: Mon, 5 Apr 2004 11:28:25 +1000 Subject: Nagios 1.2 Escalation Issues Message-ID: <88BBE054-86A0-11D8-A670-000A9582EEFA@netspace.net.au> Hi guys, I have done a search and nothing seems to be showing up. I have recently installed a new, fresh, clean copy of Nagios on a FreeBSD installation (mmmm, BSD :)). Anyway I moved from a Cobalt RAQ4 unit (Redhat). I have configured all the plugins to match the new os and have adjusted all cfg files.. I have not however changed any of the host/service configuration files. My problem lies in the fact that now, escalations are being eratic. I'll try to explain. I have every host and service set up as follows define host{ host_name smog.office alias smog.office address xxx.xxx.xxx.xxx check_command check-host-alive max_check_attempts 10 notification_interval 40 notification_period 24x7 notification_options d,r parents switch1-b1-cr.melbourne } define service{ use generic-service host_name smog.office service_description DISK_ROOT is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 3 retry_check_interval 3 contact_groups office-admins notification_interval 60 notification_period 24x7 notification_options c,r check_command check_nrpe!check_root } define serviceescalation{ host_name * service_description * first_notification 2 last_notification 3 notification_interval 0 contact_groups system-admins } As from the way it is set up, this is the path that should be taken (exluding any other config options external to these files) Every 3 minutes this host is checked, on a state change, it checks again every three minutes until a total state change count has reached 5. At this point, the office-admins are notified (this part works). The notification_interval is set to 60 so in 60 minutes it is escalated as stated by the escalation.cfg file. This works, all the system-admins are notified and all is well.. The problem is that EVERY service is set up this way and was always working on the Redhat machine but now I find that the first_notification, last_notification is not working correctly and I sometimes get 3 pages (which is 1 too many) or I get a page every 60 minutes forever. I used to get 1 page for the office-admins and then the escalation 60 minutes later for the system-admins (I am in both groups) then it would stop. Wondering if anybody else has experienced anything like this with 1.2 or its a config issue I am not seeing here. PS I was running 1.06b on the Redhat machine. I hope this makes sense to somebody other than myself. --- Scott Horsley ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgarcia at suse.com.ve Mon Apr 5 06:13:33 2004 From: jgarcia at suse.com.ve (Javier Garcia) Date: Mon, 5 Apr 2004 00:13:33 -0400 (VET) Subject: help me - nagios access mysql In-Reply-To: <20040404233503.95577.qmail@web12908.mail.yahoo.com> References: <20040404233503.95577.qmail@web12908.mail.yahoo.com> Message-ID: Hi Marcelo, You must to check this: 1) The mysql user is the correct (and the password). Can be obviously, but is necesary. You can connetc with the data base using mysql -u youruser -p youpassword yourdatabase after, chech your tables writing: show all tables Of course, check the name of your database. I read in your copy/paste "db". Some people say that is much better put "x***_host=localhost" if your MySQL server is in the same machine that Nagios. 2) You have to change to permisions to the cgi.cgf file. Write: chown nagios cgi.cfg chmod 600 cgi.cfg Only the nagios user can be the propietary of the cgi file. In my case, the user is "nagios". In other case, can be "daemon". Check who run the nagios process in your system. PD: You can use a good tool for create the tables and administrate nagios. Search the Nagmin pachage, it is a module of Webmin. Nagmin have a script for create all the necesary tables. Regards, j. ---- Javier Garcia SuSE Linux C.A. jgarcia at suse.com.ve 0416-8678334 On Sun, 4 Apr 2004, [iso-8859-1] Marcos & Marcelo wrote: > Hi Folks, > > I finally installed Nagios with Mysql support. I > execute the file create_mysql, which create all tables > in mysql database. However, after configuring the > cgi.cfg, I look at the nagios.log and I receive an > error message like that. > > Does anybody know how to solve it? > Is cgi.cfg the only file that need to be configured in > order to make nagios connect to mysql database, or > there are others? > nagios.log > [1077349565] Nagios 1.2 starting... (PID=7621) > [1077349565] Finished daemonizing... (New PID=7622) > [1077349566] Error: Could not read program retention > data from table programretention > [1077349566] Error: Could not read host retention data > from table hostretention > [1077349566] Error: Could not read service retention > data from table serviceretention > [1077349566] Error: Could not lock status data tables > in database '' > [1077349580] Error: Could not lock status data tables > in database '' > [1077349595] Error: Could not lock status data tables > in database '' > [1077349595] SERVICE ALERT: > c3po;FTP;CRITICAL;SOFT;1;Connection refused by host > [1077349610] Error: Could not lock status data tables > in database '' > [1077349625] Error: Could not lock status data tables > in database '' > [1077349629] HOST ALERT: > mmendonc-lap;DOWN;SOFT;1;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349632] HOST ALERT: > mmendonc-lap;DOWN;SOFT;2;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349635] HOST ALERT: > mmendonc-lap;DOWN;SOFT;3;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349638] HOST ALERT: > mmendonc-lap;DOWN;SOFT;4;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349641] HOST ALERT: > mmendonc-lap;DOWN;SOFT;5;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349644] HOST ALERT: > mmendonc-lap;DOWN;SOFT;6;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349647] HOST ALERT: > mmendonc-lap;DOWN;SOFT;7;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349650] HOST ALERT: > mmendonc-lap;DOWN;SOFT;8;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349653] HOST ALERT: > mmendonc-lap;DOWN;SOFT;9;/bin/ping -n -U -c 1 > 192.168.1.5 > [1077349656] HOST ALERT: > mmendonc-lap;DOWN;HARD;10;/bin/ping -n -U -c 1 > 192.168.1.5 > > cgi.cfg > > # DG EXTENDED DATA > xeddb_host=c3po.starwars > xeddb_port=3306 > xeddb_database=db > xeddb_username=root > xeddb_password=root > > DB STATUS DATA (Read-Only For CGIs) > xsddb_host=c3po.starwars > xsddb_port=3306 > xsddb_database=db > xsddb_username=root > xsddb_password=root > > # DB COMMENT DATA (Read-Only For CGIs) > xcddb_host=c3po.starwars > xcddb_port=3306 > xcddb_database=db > xcddb_username=root > xcddb_password=root > > # DB DOWNTIME DATA (Read-Only For CGIs) > xdddb_host=c3po.starwars > xdddb_port=3306 > xdddb_database=db > xdddb_username=root > xdddb_password=root > > Thanks, > Marcelo > > > > > ______________________________________________________________________ > > Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora: > http://br.yahoo.com/info/mail.html > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Mon Apr 5 10:34:04 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Mon, 05 Apr 2004 09:34:04 +0100 Subject: Apache on Red Hat Enterprise In-Reply-To: References: Message-ID: <407119FC.3090404@exponential-e.com> Harris, Sam wrote: > The problem has been that the I get a 404 "access denied" usually I would know how to solve this issue, I tried the following: > > 1. made sure the options under in the httpd.conf are set correctly > 2. changed the permissions for the Directory to accommodate the susexec requirements. > 3. on one of the attempts disabled susexec and gave the user apache read.write.exec > 4. tested the access to the directories using regular user, in which case I was able to. > > still I get the same error from the browser. And what error do you see in Apache's error log? Jim Mozley ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Apr 5 11:02:17 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 5 Apr 2004 19:02:17 +1000 Subject: re Nagios as a replacement for HP OpenView In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sat, Apr 03, 2004 at 08:03:13PM -0800 References: Message-ID: <20040405190215.B237@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Sat, Apr 03, 2004 at 08:03:13PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 2 > Date: Fri, 02 Apr 2004 23:34:21 -0700 > From: Greg King > To: Nagios-users at lists.sourceforge.net > Reply-to: wgking at cips.ca > Subject: [Nagios-users] re Nagios as a replacement for HP OpenView > .. snip .. > Which brings up another point: templates. Other than ftp, scp, etc is > there anything built in to nagios for the distribution of "templates"? > This question has already been answered by the last reply to this matter but to add 0.02 more. No. There is no equiv of the Tivoli framework to distribute 'agent code'. All said and done, Nagios does not compare to the commercial products in scalability. To do so however would not in principal be too hard if you really want distributed monitoring (ie agents on boxes); many people with large installations (ie 1k <= large <= 10k) seem to get buy with passive service checks ('logfile adapters') and one powerful Nagios poller. If however, you wanted to put nsclient and or friends everywhere you would need . prebuilt binaries for your managed hosts on your code distribution host . a logical hash of managed node by binary name to send the binaries to the correct locations. . means to push the code out (scp, vpn tunnel or whatever). 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: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Mon Apr 5 11:03:48 2004 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 05 Apr 2004 11:03:48 +0200 Subject: Problem Getting the APAN Link to Appear in Nag ios In-Reply-To: <5593DA408212D511B0910002A513501F0655927E@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F0655927E@phsexch20.mgh.harvard.edu> Message-ID: <407120F4.9020905@datavis.se> apanconf-sql generates servicextinfo-apan. You have to point to int in cgi.cfg; xedtemplate_config_file=/usr/local/nagios/etc/servicextinfo-apan /FredrikW Kaplan, Andrew H. wrote: > Jeff -- > > I you referring to the servicextinfo-apan or servicextinfo.cfg file? I have the > former, but not the latter. > If I need servicextinfo.cfg, what is the syntax used in it? > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, April 02, 2004 1:13 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: Re: [Nagios-users] Problem Getting the APAN Link to Appear in > Nagios > > > On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. wrote: > >>It did go to ready, but the link that was supposed to appear next to the Load >>service did not appear. What else should I do to correct the program >>configuration? Thanks. > > > You need serviceextinfo stuff set up (you don't mention it, so I'm > guessing you don't have it). > > The icon that you define will be a link to it. > > Is that what you're looking for? > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.hopkins at uk.easynet.net Mon Apr 5 13:11:12 2004 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Mon, 5 Apr 2004 12:11:12 +0100 Subject: help me - nagios access mysql Message-ID: <251F83C07099B54EB727A3B9D784451A07674CEC@vulcan.shepton.office.easynet.net> > -----Original Message----- > From: Marcos & Marcelo [mailto:gemeosdf at yahoo.com.br] > Sent: 05 April 2004 00:35 > To: nagios_list > Subject: [Nagios-users] help me - nagios access mysql > [1077349566] Error: Could not read program retention > data from table programretention > [1077349566] Error: Could not read host retention data > from table hostretention > [1077349566] Error: Could not read service retention > data from table serviceretention > [1077349566] Error: Could not lock status data tables > in database '' > [1077349580] Error: Could not lock status data tables > in database '' > [1077349595] Error: Could not lock status data tables > in database '' > cgi.cfg > > # DG EXTENDED DATA > xeddb_host=c3po.starwars > xeddb_port=3306 > xeddb_database=db > xeddb_username=root > xeddb_password=root > > DB STATUS DATA (Read-Only For CGIs) > xsddb_host=c3po.starwars > xsddb_port=3306 > xsddb_database=db > xsddb_username=root > xsddb_password=root > > # DB COMMENT DATA (Read-Only For CGIs) > xcddb_host=c3po.starwars > xcddb_port=3306 > xcddb_database=db > xcddb_username=root > xcddb_password=root > > # DB DOWNTIME DATA (Read-Only For CGIs) > xdddb_host=c3po.starwars > xdddb_port=3306 > xdddb_database=db > xdddb_username=root > xdddb_password=root Make sure your resource.cfg DB entries match the cgi.cgi entries (cgi.cfg for CGI's, resource.cfg for the Nagios daemon) -- Dan Hopkins Systems Developer, easynet Ltd. e: dan.hopkins at uk.easynet.net t: +44(0) 1749 333305 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunilshriram.borkhedkar at wipro.com Mon Apr 5 13:58:25 2004 From: sunilshriram.borkhedkar at wipro.com (sunilshriram.borkhedkar at wipro.com) Date: Mon, 5 Apr 2004 17:28:25 +0530 Subject: nagios display Message-ID: Hello everybody, I m newbie to Nagios.I configured & running the nagios for the last 10 days. Now i m facing problem that,when I monitor NT machine ,service checks like FTP,HTTP From AHKAPLAN at PARTNERS.ORG Mon Apr 5 14:24:46 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 5 Apr 2004 08:24:46 -0400 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F06559287@phsexch20.mgh.harvard.edu> Hi Frederik, I have the link working fine, and the rrd file that was created does get updated. However, after I click on the link, the charts do not appear on the next page. I have made sure the rrd directory is owned by the nagios user, and that the nagios user has full access capabilities to the database that was created in the setup. I was able to manually access the database as the nagios user. I am not sure why the charts would not appear at this time. Any ideas? -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Monday, April 05, 2004 5:04 AM To: Kaplan, Andrew H. Cc: 'jeff vier'; Nagios-Users (E-mail) Subject: Re: [Nagios-users] Problem Getting the APAN Link to Appear in Nag ios apanconf-sql generates servicextinfo-apan. You have to point to int in cgi.cfg; xedtemplate_config_file=/usr/local/nagios/etc/servicextinfo-apan /FredrikW Kaplan, Andrew H. wrote: > Jeff -- > > I you referring to the servicextinfo-apan or servicextinfo.cfg file? I have the > former, but not the latter. > If I need servicextinfo.cfg, what is the syntax used in it? > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Friday, April 02, 2004 1:13 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: Re: [Nagios-users] Problem Getting the APAN Link to Appear in > Nagios > > > On Fri, 2004-04-02 at 10:57, Kaplan, Andrew H. wrote: > >>It did go to ready, but the link that was supposed to appear next to the Load >>service did not appear. What else should I do to correct the program >>configuration? Thanks. > > > You need serviceextinfo stuff set up (you don't mention it, so I'm > guessing you don't have it). > > The icon that you define will be a link to it. > > Is that what you're looking for? > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 5 15:17:15 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 5 Apr 2004 09:17:15 -0400 Subject: check_nt Message-ID: Weird... I had one with three words and putting it in double-quotes worked for me... check_command check_nt_service!"Client for NFS" ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: XeloQ Communications [mailto:tjapko at xeloq.com] Sent: Saturday, April 03, 2004 4:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nt Hello list, I do have check_nt running fine with the next exception. When I specify the -v parameter with SERVICESTATE and the -l parameter with a servicename that is 1 whole word all is fine. When the service name consist out of 2 or more words it seems to pick only the first word. check_nt -H 200.100.100.100 -v SERVICESTATE -l MONITOR TOOL does not return the expected values. When I put "MONITOR TOOL" like this the same result. When I recompile my source and make 1 word all is fine. Is it possible to query a service that has more than 1 word in its name? All the other -v parameters are running excellent by the way. Thanks, Tjapko. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Mon Apr 5 15:22:31 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Mon, 05 Apr 2004 15:22:31 +0200 Subject: nagios display In-Reply-To: References: Message-ID: <40715D97.4010104@dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false sunilshriram.borkhedkar at wipro.com wrote: > Hello everybody, > I m newbie to Nagios.I configured & running the nagios for the last 10 > days. > Now i m facing problem that,when I monitor NT machine ,service checks > like FTP,HTTP for DISK & CPULOAD vanishes after refresh & then reappears . > > Pls help me out. > > sunil B > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thepcguy at veryspeedy.net Mon Apr 5 16:24:54 2004 From: thepcguy at veryspeedy.net (Pat) Date: Mon, 05 Apr 2004 10:24:54 -0400 Subject: problem with NSCA (resend) Message-ID: <1081175093.15578.10.camel@localhost.localdomain> I can't get send_nsca on the client to connect with the NSCA on the server. I have it sunning in single mode on the server. The IP is permitted but whenever I start send_nsca it times out after 30 seconds (or whatever I choose to put in the cfg file) Both systems are Fedora and RedHat. the passwords a set right. If I change the permitted IP list and remove the client I get a different error message (immediate disconnect) so I know that's done properly. I just don't understand. Am I missing a step here? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Newcombe at mordor.clayton.edu Mon Apr 5 17:33:53 2004 From: Newcombe at mordor.clayton.edu (Dan Newcombe) Date: Mon, 5 Apr 2004 11:33:53 -0400 (EDT) Subject: Service checks disabled at restart Message-ID: I have a problem I don't know where to begin with! I'm running v1.2 and just recently whenever Nagios gets restarted (machine reboot, /etc/init.d/nagios stop,start or reload) all of the notifcations and checks are disabled. I can go back and manually reenable them (is there a way to do this for all services at once?) but the next time I restart nagios, they are all disabled again. Any ideas where to start looking? The logs don't show anything out of the ordinary. Where are these states stored? Wanna check to make sure it's not some odd permission issue. Thanks! -Dan ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Apr 5 17:52:49 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 5 Apr 2004 11:52:49 -0400 Subject: Problem Getting the APAN Link to Appear in Nag ios Message-ID: <5593DA408212D511B0910002A513501F06559288@phsexch20.mgh.harvard.edu> Fredrik, I am running Nagios 1.2 on a Red Hat 8.0 system. Is there a compatibility issue between apan-sql and either of the two? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rafael.urrutia at smhi.se Mon Apr 5 18:32:30 2004 From: rafael.urrutia at smhi.se (Urrutia Rafael) Date: Mon, 5 Apr 2004 18:32:30 +0200 Subject: Ldap check over ldaps? Message-ID: Dear Folks, I need to check my AD server using ldaps. Checking by "check_ldap" is fine but I also need to check if 'bind' over ldaps is working. Anyone out there who as implemented checking ldap bind over ldaps? Saludos Rafael ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DavidB at etobin.com Mon Apr 5 19:09:53 2004 From: DavidB at etobin.com (David Barnett) Date: Mon, 5 Apr 2004 12:09:53 -0500 Subject: Same state notifications Message-ID: Hi, I have a service that always is critical, but may report back different status information. I have set the notification interval to 0 so I don't get sent notifications that the service is critical, which I know it is. I'm wondering if there is a way to have Nagios send notifications if the service is in the same state, but has different status information. So for example if the service is critical and the status information is 'Error', then the next time it checks and the service is critical and the status information is 'Error1', it will send out a notification. But I don't want to constantly be sent notifications, only when the status information changes. Thanks for any help. David -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwhuff at charter.net Mon Apr 5 20:12:58 2004 From: rwhuff at charter.net (Ron Huff) Date: Mon, 05 Apr 2004 11:12:58 -0700 Subject: larg(ish) number of devices Message-ID: <4071A1AA.9000107@charter.net> I need some help tuning my configuration (my assumption). I'm using nagios 1.1 and plugins 1.3.1 I've been testing with ~ 130 devices (routers/switches) I recently configured the whole network (~1500 routers/switches) All I have configured is the 'normal' hostup-ping in the host file and a cpu check on all machines. When I start nagios, I end up with some large-varying number of nagios processes running all the time... my service checks are run every 5 minutes... After the system settles down...most everything is checking all right, I still have roughly 20-50 nagios processes running all the time... and My nagios server (a large Dell blade w/2 2.xMhz processors and tons of memory)...shows 4 (virtual) CPU's running at 70-95 % all the time (top). Top also shows me several snmpget's running (varying of course) along with check_cpu ...but the number of processes showing in top is expected and not excessive at all...the nagios process doesn't show up as a cpu hog at all... NOTE: I set up the services file with entries by host_name instead of host_group, simply because this is much easier to generate programmatically ...is this a potential problem for some reason??!? I would appreciate some help here...pointer to some docs that deal with my likely config problem...?!? Thanks, Ron Huff ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjapko at xeloq.com Mon Apr 5 20:55:39 2004 From: tjapko at xeloq.com (XeloQ Comms) Date: Mon, 5 Apr 2004 14:55:39 -0400 Subject: check_nt In-Reply-To: References: Message-ID: Thanks, It is getting wierder though. Some services always return a not running status when parameter SERVICESTATE is used although they are running. Executing the same command on the same service but with PROCSTATE variable gives me a better result. So merely fixed this issue and the double quotes are indeed a solution to define more words in a service name. Tjapko. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack Doyle Sent: Lunes, 05 de Abril de 2004 09:17 a.m. To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_nt Weird... I had one with three words and putting it in double-quotes worked for me... check_command check_nt_service!"Client for NFS" ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: XeloQ Communications [mailto:tjapko at xeloq.com] Sent: Saturday, April 03, 2004 4:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nt Hello list, I do have check_nt running fine with the next exception. When I specify the -v parameter with SERVICESTATE and the -l parameter with a servicename that is 1 whole word all is fine. When the service name consist out of 2 or more words it seems to pick only the first word. check_nt -H 200.100.100.100 -v SERVICESTATE -l MONITOR TOOL does not return the expected values. When I put "MONITOR TOOL" like this the same result. When I recompile my source and make 1 word all is fine. Is it possible to query a service that has more than 1 word in its name? All the other -v parameters are running excellent by the way. Thanks, Tjapko. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&opLk _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.650 / Virus Database: 416 - Release Date: 04/04/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.650 / Virus Database: 416 - Release Date: 04/04/2004 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Apr 5 21:35:27 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 5 Apr 2004 15:35:27 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F06559289@phsexch20.mgh.harvard.edu> Hi there, This e-mail is actually a continuation of a previous string. The situation is as follows: I have installed Nagios 1.2 with the 1.3.1 plug-in's on a Red Hat 8.0 machine. I am now trying to configure Apan-sql 3.0 to work on the system. To that end I have installed bc 1.06 and MySQL 4.0.18-standard and then installed the Apan program. I have configured the program according to the instructions and also set up a service to check the load on a Windows 2000 machine. The appropriate files have been modified and I used the apanconf-sql utility to set up the service and everything appeared to go smoothly. The problem that I am facing is when I click on the link to show the graphs, they do not appear. I checked /tmp/apancgi.debug and apan.debug logs and there was nothing in either that would indicate a problem. The next step was to verify that the rrd directory was owned by the nagios user and group. I then made sure I could log into the nagios database successfully, which I was. The rrd file that was created in the /usr/local/nagios/rrd directory was getting updated on a regular basis. At this point I am at a loss as to why the graphs are not appearing, and could really use some help in correcting this. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at rune-z.dk Mon Apr 5 21:51:51 2004 From: mail at rune-z.dk (Rune Zimmermann) Date: Mon, 05 Apr 2004 21:51:51 +0200 Subject: Apan, Bps bps. Message-ID: <4071B8D7.8020300@rune-z.dk> Hi Users. This may not be the right forum, but I have noticed a lot of trafic here regarding Apan. I am running Nagios v. 1.2 compiled from source and Apan-0.3.0-sql on a Debian server. Among other things I have set Apan up making stats on some network-interfaces, but unfortunately for me it makes the RRD-grafs in Bps (bytes per sec.) and not in bps which I would have preferred. How do I change that? I have looked in the apanconf.defs but found nothing. Is it defined in the CGI? how do I change them? Regards, and thanks for a great list! Rune Zimmermann DK ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From granny at rakis.net Mon Apr 5 22:07:06 2004 From: granny at rakis.net (granny at rakis.net) Date: Mon, 5 Apr 2004 15:07:06 -0500 Subject: Ping Service Not Working on Nagios 1.2 / FreeBSD 5.2.1-RELEASE Message-ID: <20040405200706.GB11386@ham> Hello, I've checked the archives and I haven't been able to find anything about this problem. I'm trying to run Nagios 1.2 on a FreeBSD 5.2.1-RELEASE box. The main problem is that Nagios says that it's not able to ping anything, especially the box that is running Nagios itself. :) I tried to see if check_ping wasn't working, but it seems to be OK: bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,100% PING OK - Packet loss = 0%, RTA = 0.08 ms bash-2.05b$ bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60% PING OK - Packet loss = 0%, RTA = 0.09 ms bash-2.05b$ I can even show you a sample of the config I have: >From hosts.cfg define host{ use generic-host host_name nt1 alias Rachels Laptop address 172.18.3.138 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } >From services.cfg: define service{ use generic-service ; Name of service template to use host_name nt1 service_description PING 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 c,r check_command check_ping!100.0,20%!500.0,60% } Does anyone else run Nagios on FreeBSD 5.2.1-RELEASE and has had this problem? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Apr 5 22:10:44 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 05 Apr 2004 15:10:44 -0500 Subject: Problem with Apan Graphs In-Reply-To: <5593DA408212D511B0910002A513501F06559289@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559289@phsexch20.mgh.harvard.edu> Message-ID: <1081195844.27180.127.camel@localhost> On Mon, 2004-04-05 at 14:35, Kaplan, Andrew H. wrote: > The problem that I am facing is when I click on the link to show the graphs, > they do not appear. I checked What does appear? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Apr 5 22:23:40 2004 From: marc at ena.com (Marc Powell) Date: Mon, 5 Apr 2004 15:23:40 -0500 Subject: Ping Service Not Working on Nagios 1.2 / FreeBSD 5.2.1-RELEASE Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A3C5@mismail2.ena.com> On Monday, April 05, 2004 3:07 PM, granny at rakis.net shared with us: > Hello, > > I've checked the archives and I haven't been able to find anything > about this problem. > > I'm trying to run Nagios 1.2 on a FreeBSD 5.2.1-RELEASE box. The > main problem is that Nagios says that it's not able to ping anything, > especially the box that is running Nagios itself. :) What does it report? > > I tried to see if check_ping wasn't working, but it seems to be OK: > > bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c > 500,100% PING OK - Packet loss = 0%, RTA = 0.08 ms bash-2.05b$ > > bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60% > PING OK - Packet loss = 0%, RTA = 0.09 ms bash-2.05b$ Were these tests done as root or as the nagios user? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From granny at rakis.net Mon Apr 5 22:30:40 2004 From: granny at rakis.net (granny at rakis.net) Date: Mon, 5 Apr 2004 15:30:40 -0500 Subject: Ping Service Not Working on Nagios 1.2 / FreeBSD 5.2.1-RELEASE In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A3C5@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A3C5@mismail2.ena.com> Message-ID: <20040405203040.GC11386@ham> On Mon, Apr 05, 2004 at 03:23:40PM -0500, Marc Powell wrote: > On Monday, April 05, 2004 3:07 PM, granny at rakis.net shared with us: > > > I'm trying to run Nagios 1.2 on a FreeBSD 5.2.1-RELEASE box. The > > main problem is that Nagios says that it's not able to ping anything, > > especially the box that is running Nagios itself. :) > > What does it report? Host Service Status Last Check Duration Attempt Status Information nt1 PING CRITICAL 04-06-2004 02:19:43 2d 21h 30m 9s 1/3 (Return code of 127 is out of bounds - plugin may be missing) > > I tried to see if check_ping wasn't working, but it seems to be OK: > > > > bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c > > 500,100% PING OK - Packet loss = 0%, RTA = 0.08 ms bash-2.05b$ > > > > bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60% > > PING OK - Packet loss = 0%, RTA = 0.09 ms bash-2.05b$ > > Were these tests done as root or as the nagios user? Don't remember, so here is a test done as root: lab-nagios# ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,100% PING OK - Packet loss = 0%, RTA = 0.08 ms lab-nagios# ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60% PING OK - Packet loss = 0%, RTA = 0.08 ms lab-nagios# Here is the test done as the user nagios: su-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,100% PING OK - Packet loss = 0%, RTA = 0.08 ms su-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60% PING OK - Packet loss = 0%, RTA = 0.08 ms su-2.05b$ Thanks- Rachel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Apr 5 22:29:54 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 5 Apr 2004 16:29:54 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F0655928A@phsexch20.mgh.harvard.edu> Hi Jeff -- Basically small red "x"'s which may indicate a problem with the link. -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Monday, April 05, 2004 4:11 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: Re: [Nagios-users] Problem with Apan Graphs On Mon, 2004-04-05 at 14:35, Kaplan, Andrew H. wrote: > The problem that I am facing is when I click on the link to show the graphs, > they do not appear. I checked What does appear? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Apr 5 22:37:38 2004 From: marc at ena.com (Marc Powell) Date: Mon, 5 Apr 2004 15:37:38 -0500 Subject: Ping Service Not Working on Nagios 1.2 / FreeBSD 5.2.1-RELEASE Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A3C7@mismail2.ena.com> On Monday, April 05, 2004 3:31 PM, granny at rakis.net shared with us: > On Mon, Apr 05, 2004 at 03:23:40PM -0500, Marc Powell wrote: > > On Monday, April 05, 2004 3:07 PM, granny at rakis.net shared with us: > > > > > I'm trying to run Nagios 1.2 on a FreeBSD 5.2.1-RELEASE box. The > > > main problem is that Nagios says that it's not able to ping > > > anything, especially the box that is running Nagios itself. :) > > > > What does it report? > > Host Service Status Last Check Duration Attempt Status > Information > nt1 PING CRITICAL 04-06-2004 02:19:43 2d 21h 30m 9s 1/3 (Return > code of 127 is out > of bounds - > plugin may be > missing) > The path to check_ping is probably not specified correctly in your command definition. If you are using the $USER1$ macro, make sure that it is set right in resource.cfg. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 5 22:42:41 2004 From: jrhett at isite.net (Joe Rhett) Date: Mon, 5 Apr 2004 13:42:41 -0700 Subject: Ping Service Not Working on Nagios 1.2 / FreeBSD 5.2.1-RELEASE In-Reply-To: <20040405203040.GC11386@ham> References: <370ACCFA5BB3B346A31222E5559BF91F03A3C5@mismail2.ena.com> <20040405203040.GC11386@ham> Message-ID: <20040405204241.GA27115@isite.net> > > What does it report? > Return code of 127 is out of bounds - plugin may be missing Means that the nagios user either can't execute ping or can't execute check_ping or something else like that. It's an exec failure. -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Apr 5 22:50:13 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 05 Apr 2004 15:50:13 -0500 Subject: Problem with Apan Graphs In-Reply-To: <5593DA408212D511B0910002A513501F0655928A@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F0655928A@phsexch20.mgh.harvard.edu> Message-ID: <1081198213.27180.140.camel@localhost> On Mon, 2004-04-05 at 15:29, Kaplan, Andrew H. wrote: > Basically small red "x"'s which may indicate a problem with the link. Have you tried upping your debug levels in Apan? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Apr 5 22:55:29 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 5 Apr 2004 16:55:29 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F0655928B@phsexch20.mgh.harvard.edu> Hi Jeff -- The settings for the apan.debug and apancgi.debug files are already set to 1. Is there another integer that would provide more detailed information? -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Monday, April 05, 2004 4:50 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem with Apan Graphs On Mon, 2004-04-05 at 15:29, Kaplan, Andrew H. wrote: > Basically small red "x"'s which may indicate a problem with the link. Have you tried upping your debug levels in Apan? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Mon Apr 5 23:09:55 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 05 Apr 2004 16:09:55 -0500 Subject: Problem with Apan Graphs In-Reply-To: <5593DA408212D511B0910002A513501F0655928B@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F0655928B@phsexch20.mgh.harvard.edu> Message-ID: <1081199395.27180.142.camel@localhost> On Mon, 2004-04-05 at 15:55, Kaplan, Andrew H. wrote: > The settings for the apan.debug and apancgi.debug files are already set to 1. Is > there another integer that > would provide more detailed information? yes. higher number means more info. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Tue Apr 6 08:31:44 2004 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 06 Apr 2004 08:31:44 +0200 Subject: Problem with Apan Graphs In-Reply-To: <5593DA408212D511B0910002A513501F0655928B@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F0655928B@phsexch20.mgh.harvard.edu> Message-ID: <40724ED0.60207@datavis.se> Check in the webservers error-log if rrdtool gives you any messages. Also look in apancgi.log; The whole command that generates the graph should be there. Try to run the comand manually (change the first '-' to a name of a file you want the image written to) and see if you get any errors. /FredrikW Kaplan, Andrew H. wrote: > Hi Jeff -- > > The settings for the apan.debug and apancgi.debug files are already set to 1. Is > there another integer that > would provide more detailed information? > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Monday, April 05, 2004 4:50 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Problem with Apan Graphs > > > On Mon, 2004-04-05 at 15:29, Kaplan, Andrew H. wrote: > >>Basically small red "x"'s which may indicate a problem with the link. > > > Have you tried upping your debug levels in Apan? > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at mobeon.com Tue Apr 6 08:43:43 2004 From: fredrik.wanglund at mobeon.com (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 06 Apr 2004 08:43:43 +0200 Subject: Apan, Bps bps. In-Reply-To: <4071B8D7.8020300@rune-z.dk> References: <4071B8D7.8020300@rune-z.dk> Message-ID: <4072519F.5090906@mobeon.com> This issue has been discussed before. You can always change the plugin to multiply the value with 8. But will this give you the bandwith utlization on the link? Usually you read the OID's IF-MIB::ifOutOctets. and IF-MIB::ifInOctets.. These counters counts all all valid bytes that passes the interface (includning the data and all packet-headers down to the ethernet-header). The counters does not count possible start- stop- or parity-bits (I dont know how these are treated in ethernet) and they may not count badly damaged data. Maybe someone with more ethernet knowledge have some clues? /FredrikW Rune Zimmermann wrote: > Hi Users. > > This may not be the right forum, but I have noticed a lot of trafic here > regarding Apan. > I am running Nagios v. 1.2 compiled from source and Apan-0.3.0-sql on a > Debian server. > Among other things I have set Apan up making stats on some > network-interfaces, but unfortunately for me it makes the RRD-grafs in > Bps (bytes per sec.) and not in bps which I would have preferred. > How do I change that? I have looked in the apanconf.defs but found > nothing. Is it defined in the CGI? how do I change them? > > Regards, and thanks for a great list! > Rune Zimmermann > DK > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at rune-z.dk Tue Apr 6 11:46:08 2004 From: mail at rune-z.dk (Rune Zimmermann) Date: Tue, 6 Apr 2004 11:46:08 +0200 (CEST) Subject: Apan, Bps bps. In-Reply-To: <4072519F.5090906@mobeon.com> References: <4071B8D7.8020300@rune-z.dk> <4072519F.5090906@mobeon.com> Message-ID: <60973.212.88.93.235.1081244768.squirrel@212.88.93.235> Hi Frederik. Thanks for your reply! Fredrik W?nglund said: > This issue has been discussed before. You can always change the plugin > to multiply the value with 8. But will this give you the bandwith > utlization on the link? Natualy it will not be "better" nor will it be more acurate. It wil only make it easier for me to read and compare with other tools. I have looked in the snmp.sh to find a way to manualy multiply the counter with 8, but I must admit, I do not no where and how to put it. Can anyone give me a clue? There is a >RETSTR="${RETSTR}${DSNAME}:${COUNTER}, "< in line 159 and I am guessing it is the counter variable I need to alter, but again... I do not know how :-) > Usually you read the OID's IF-MIB::ifOutOctets. and > IF-MIB::ifInOctets.. These counters counts all all valid bytes that > passes the interface (includning the data and all packet-headers down to > the ethernet-header). > The counters does not count possible start- stop- or parity-bits (I dont > know how these are treated in ethernet) and they may not count badly > damaged data. > Maybe someone with more ethernet knowledge have some clues? Anyone? :-) Thanks. Rune Zimmermann > > Rune Zimmermann wrote: > >> Hi Users. >> >> This may not be the right forum, but I have noticed a lot of trafic here >> regarding Apan. >> I am running Nagios v. 1.2 compiled from source and Apan-0.3.0-sql on a >> Debian server. >> Among other things I have set Apan up making stats on some >> network-interfaces, but unfortunately for me it makes the RRD-grafs in >> Bps (bytes per sec.) and not in bps which I would have preferred. >> How do I change that? I have looked in the apanconf.defs but found >> nothing. Is it defined in the CGI? how do I change them? >> >> Regards, and thanks for a great list! >> Rune Zimmermann >> DK >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 6 11:10:24 2004 From: fredrik.wanglund at mobeon.com (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 06 Apr 2004 11:10:24 +0200 Subject: Apan, Bps bps. In-Reply-To: <60973.212.88.93.235.1081244768.squirrel@212.88.93.235> References: <4071B8D7.8020300@rune-z.dk> <4072519F.5090906@mobeon.com> <60973.212.88.93.235.1081244768.squirrel@212.88.93.235> Message-ID: <40727400.5070005@mobeon.com> Adding a line in the function snmpget, after the line; COUNTER=`echo $VALUE|awk '{print $NF}'` Like this: COUNTER=`echo "$COUNTER*8"|bc` Should do the job. /FredrikW Rune Zimmermann wrote: > Hi Frederik. > > Thanks for your reply! > > Fredrik W?nglund said: > >>This issue has been discussed before. You can always change the plugin >>to multiply the value with 8. But will this give you the bandwith >>utlization on the link? > > > Natualy it will not be "better" nor will it be more acurate. > It wil only make it easier for me to read and compare with other tools. > > I have looked in the snmp.sh to find a way to manualy multiply the counter > with 8, but I must admit, I do not no where and how to put it. > Can anyone give me a clue? > There is a >RETSTR="${RETSTR}${DSNAME}:${COUNTER}, "< in line 159 and I am > guessing it is the counter variable I need to alter, but again... I do not > know how :-) > > >>Usually you read the OID's IF-MIB::ifOutOctets. and >>IF-MIB::ifInOctets.. These counters counts all all valid bytes that >>passes the interface (includning the data and all packet-headers down to >>the ethernet-header). >>The counters does not count possible start- stop- or parity-bits (I dont >>know how these are treated in ethernet) and they may not count badly >>damaged data. >>Maybe someone with more ethernet knowledge have some clues? > > > Anyone? :-) > > Thanks. > Rune Zimmermann > > >>Rune Zimmermann wrote: >> >> >>>Hi Users. >>> >>>This may not be the right forum, but I have noticed a lot of trafic here >>>regarding Apan. >>>I am running Nagios v. 1.2 compiled from source and Apan-0.3.0-sql on a >>>Debian server. >>>Among other things I have set Apan up making stats on some >>>network-interfaces, but unfortunately for me it makes the RRD-grafs in >>>Bps (bytes per sec.) and not in bps which I would have preferred. >>>How do I change that? I have looked in the apanconf.defs but found >>>nothing. Is it defined in the CGI? how do I change them? >>> >>>Regards, and thanks for a great list! >>>Rune Zimmermann >>>DK >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>Free Linux tutorial presented by Daniel Robbins, President and CEO of >>>GenToo technologies. Learn everything from fundamentals to system >>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when >>>reporting any issue. ::: Messages without supporting info will risk >>>being sent to /dev/null >> >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at rune-z.dk Tue Apr 6 12:50:37 2004 From: mail at rune-z.dk (Rune Zimmermann) Date: Tue, 6 Apr 2004 12:50:37 +0200 (CEST) Subject: Apan, Bps bps. In-Reply-To: <40727400.5070005@mobeon.com> References: <4071B8D7.8020300@rune-z.dk> <4072519F.5090906@mobeon.com> <60973.212.88.93.235.1081244768.squirrel@212.88.93.235> <40727400.5070005@mobeon.com> Message-ID: <29302.212.88.93.235.1081248637.squirrel@212.88.93.235> Hi Frederik. It works great!! You are a guru. Regards Rune Zimmermann Fredrik W?nglund said: > Adding a line in the function snmpget, after the line; > COUNTER=`echo $VALUE|awk '{print $NF}'` > Like this: > COUNTER=`echo "$COUNTER*8"|bc` > Should do the job. > > /FredrikW > > > > Rune Zimmermann wrote: > >> Hi Frederik. >> >> Thanks for your reply! >> >> Fredrik W?nglund said: >> >>>This issue has been discussed before. You can always change the plugin >>>to multiply the value with 8. But will this give you the bandwith >>>utlization on the link? >> >> >> Natualy it will not be "better" nor will it be more acurate. >> It wil only make it easier for me to read and compare with other tools. >> >> I have looked in the snmp.sh to find a way to manualy multiply the >> counter >> with 8, but I must admit, I do not no where and how to put it. >> Can anyone give me a clue? >> There is a >RETSTR="${RETSTR}${DSNAME}:${COUNTER}, "< in line 159 and I >> am >> guessing it is the counter variable I need to alter, but again... I do >> not >> know how :-) >> >> >>>Usually you read the OID's IF-MIB::ifOutOctets. and >>>IF-MIB::ifInOctets.. These counters counts all all valid bytes that >>>passes the interface (includning the data and all packet-headers down to >>>the ethernet-header). >>>The counters does not count possible start- stop- or parity-bits (I dont >>>know how these are treated in ethernet) and they may not count badly >>>damaged data. >>>Maybe someone with more ethernet knowledge have some clues? >> >> >> Anyone? :-) >> >> Thanks. >> Rune Zimmermann >> >> >>>Rune Zimmermann wrote: >>> >>> >>>>Hi Users. >>>> >>>>This may not be the right forum, but I have noticed a lot of trafic >>>> here >>>>regarding Apan. >>>>I am running Nagios v. 1.2 compiled from source and Apan-0.3.0-sql on a >>>>Debian server. >>>>Among other things I have set Apan up making stats on some >>>>network-interfaces, but unfortunately for me it makes the RRD-grafs in >>>>Bps (bytes per sec.) and not in bps which I would have preferred. >>>>How do I change that? I have looked in the apanconf.defs but found >>>>nothing. Is it defined in the CGI? how do I change them? >>>> >>>>Regards, and thanks for a great list! >>>>Rune Zimmermann >>>>DK >>>> >>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>>Free Linux tutorial presented by Daniel Robbins, President and CEO of >>>>GenToo technologies. Learn everything from fundamentals to system >>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: Please include Nagios version, plugin version (-v) and OS when >>>>reporting any issue. ::: Messages without supporting info will risk >>>>being sent to /dev/null >>> >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) 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 Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Apr 6 14:21:16 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 6 Apr 2004 08:21:16 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F0655928D@phsexch20.mgh.harvard.edu> Hi Fredrik -- I checked the Apache error_log file, and while there was no reference to rrdtool there was a large amount of ERROR: unknown option '1' messages. I also checked the access.log file and I noticed a decent amount of lines that read - [date:time -0400] "GET /nagios/cgi-bin/generate-sql.cgi?#&# HTTP/1.1 200 5. I did a find as command as root to look for the apancgi.log file, and there was none to be found. The apancgi.debug file did not appear to have any further updates to it, while the rrd file within the /rrd directory did show that it had been modified. I was looking through the apan.defs file and currently the image type that is being created is png. One idea I had was to change the filetype from png to gif or gd. What do you think? -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Tuesday, April 06, 2004 2:32 AM To: Kaplan, Andrew H. Cc: 'jeff vier'; Nagios-Users (E-mail) Subject: Re: [Nagios-users] Problem with Apan Graphs Check in the webservers error-log if rrdtool gives you any messages. Also look in apancgi.log; The whole command that generates the graph should be there. Try to run the comand manually (change the first '-' to a name of a file you want the image written to) and see if you get any errors. /FredrikW Kaplan, Andrew H. wrote: > Hi Jeff -- > > The settings for the apan.debug and apancgi.debug files are already set to 1. Is > there another integer that > would provide more detailed information? > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Monday, April 05, 2004 4:50 PM > To: Kaplan, Andrew H. > Cc: Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Problem with Apan Graphs > > > On Mon, 2004-04-05 at 15:29, Kaplan, Andrew H. wrote: > >>Basically small red "x"'s which may indicate a problem with the link. > > > Have you tried upping your debug levels in Apan? > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Apr 6 14:38:33 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 6 Apr 2004 08:38:33 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F0655928F@phsexch20.mgh.harvard.edu> Hi Peter, I verified the nagios userid is the owner and has rw access to the rrd files. I sent an e-mail to Fredrik Wanglund and asked his opinion about something. I'll include it here for your perusal and thoughts. Thanks in advance. I checked the Apache error_log file, and while there was no reference to rrdtool there was a large amount of ERROR: unknown option '1' messages. I also checked the access.log file and I noticed a decent amount of lines that read - [date:time -0400] "GET /nagios/cgi-bin/generate-sql.cgi?#&# HTTP/1.1 200 5. I did a find as command as root to look for the apancgi.log file, and there was none to be found. The apancgi.debug file did not appear to have any further updates to it, while the rrd file within the /rrd directory did show that it had been modified. I was looking through the apan.defs file and currently the image type that is being created is png. One idea I had was to change the filetype from png to gif or gd. What do you think? -----Original Message----- From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com] Sent: Monday, April 05, 2004 5:23 PM To: jeff vier; Kaplan, Andrew H. Subject: RE: [Nagios-users] Problem with Apan Graphs Make sure the user id that's running Nagios can read the rrd files. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier Sent: Monday, April 05, 2004 3:50 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem with Apan Graphs On Mon, 2004-04-05 at 15:29, Kaplan, Andrew H. wrote: > Basically small red "x"'s which may indicate a problem with the link. Have you tried upping your debug levels in Apan? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tchagas at uolinc.com Tue Apr 6 15:25:50 2004 From: tchagas at uolinc.com (Thales Maia) Date: Tue, 06 Apr 2004 10:25:50 -0300 Subject: Problems with mysql+nagios+solaris 8 Message-ID: <1081257948.10967.16.camel@meriadoc.intranet> Hi all. I'm trying to compile nagios with mysql support on solaris 8 but isn't working. bash-2.05$ make all cd ./base && make make[1]: Entering directory `/home/tchagas/nagios-1.2/base' gcc -g -O2 -I/export/mysql/include -DHAVE_CONFIG_H -DNSCORE -L/export/mysql/lib -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifi cations.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments. c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusda ta.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../x data/xdddb.c -lm -o nagios /var/tmp/ccjtORMg.o: In function `xrddb_initialize': /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:215: undefined reference to `mysq l_init' /var/tmp/ccjtORMg.o: In function `xrddb_connect': /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:252: undefined reference to `mysq l_real_connect' /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:254: undefined reference to `mysq l_close' /var/tmp/ccjtORMg.o: In function `xrddb_disconnect': /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:299: undefined reference to `mysq l_close' /var/tmp/ccjtORMg.o: In function `xrddb_query': /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:329: undefined reference to `mysq l_query' /var/tmp/ccjtORMg.o: In function `xrddb_read_program_information': /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:850: undefined reference to `mysq l_store_result' /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:854: undefined reference to `mysq l_fetch_row' /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:867: undefined reference to `mysq l_free_result' /var/tmp/ccjtORMg.o: In function `xrddb_read_host_information': /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:951: undefined reference to `mysq l_store_result' /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:1001: undefined reference to `mys ql_fetch_row' /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:1004: undefined reference to `mys ql_free_result' /var/tmp/ccjtORMg.o: In function `xrddb_read_service_information': /home/tchagas/nagios-1.2/base/../xdata/xrddb.c:1129: undefined reference to `mys ql_store_result' . . . . . . . /home/tchagas/nagios-1.2/base/../xdata/xdddb.c:1280: undefined reference to `mys ql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/tchagas/nagios-1.2/base' make: *** [all] Error 2 I've done the links: bash-2.05$ ls -l /export/mysql/include/mysql /export/mysql/lib/mysql/ lrwxrwxrwx 1 root other 10 Apr 6 10:02 /export/mysql/include/mysql -> ../include lrwxrwxrwx 1 root other 6 Apr 6 10:01 /export/mysql/lib/mysql/ -> ../lib Sorry by the writting mistakes. I'm not american. -- THALES MAIA CHAGAS Sysadmin - UOL S/A ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Apr 6 15:04:57 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 6 Apr 2004 09:04:57 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F06559290@phsexch20.mgh.harvard.edu> Hi Pete -- Yes they are...Also, I am checking the apan-sql and generate-sql cgi files and I am changing the #!/bin/sh line in both to #!/bin/bash to see if that makes a difference. -----Original Message----- From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com] Sent: Tuesday, April 06, 2004 8:59 AM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Problem with Apan Graphs Here is a crazy question, are the time stamps changing on the rrd files? Pete -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Tuesday, April 06, 2004 7:39 AM To: Arzamendi, Peter Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem with Apan Graphs Hi Peter, I verified the nagios userid is the owner and has rw access to the rrd files. I sent an e-mail to Fredrik Wanglund and asked his opinion about something. I'll include it here for your perusal and thoughts. Thanks in advance. I checked the Apache error_log file, and while there was no reference to rrdtool there was a large amount of ERROR: unknown option '1' messages. I also checked the access.log file and I noticed a decent amount of lines that read - [date:time -0400] "GET /nagios/cgi-bin/generate-sql.cgi?#&# HTTP/1.1 200 5. I did a find as command as root to look for the apancgi.log file, and there was none to be found. The apancgi.debug file did not appear to have any further updates to it, while the rrd file within the /rrd directory did show that it had been modified. I was looking through the apan.defs file and currently the image type that is being created is png. One idea I had was to change the filetype from png to gif or gd. What do you think? -----Original Message----- From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com] Sent: Monday, April 05, 2004 5:23 PM To: jeff vier; Kaplan, Andrew H. Subject: RE: [Nagios-users] Problem with Apan Graphs Make sure the user id that's running Nagios can read the rrd files. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier Sent: Monday, April 05, 2004 3:50 PM To: Kaplan, Andrew H. Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem with Apan Graphs On Mon, 2004-04-05 at 15:29, Kaplan, Andrew H. wrote: > Basically small red "x"'s which may indicate a problem with the link. Have you tried upping your debug levels in Apan? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Apr 6 16:22:41 2004 From: marc at ena.com (Marc Powell) Date: Tue, 6 Apr 2004 09:22:41 -0500 Subject: Problem with Apan Graphs Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A3C9@mismail2.ena.com> I don't use APAN so I may be way off base but can the apache user read the files? That seems to me that it might be just as important as the nagios user being able to read them. -- Marc On Tuesday, April 06, 2004 7:39 AM, Kaplan, Andrew H. shared with us: > Hi Peter, > > I verified the nagios userid is the owner and has rw access to the > rrd files. > > I sent an e-mail to Fredrik Wanglund and asked his opinion about > something. I'll include it here for your perusal and thoughts. Thanks > in advance. > > I checked the Apache error_log file, and while there was no reference > to rrdtool there was a large amount of > ERROR: unknown option '1' messages. I also checked the access.log > file and I noticed a decent amount of lines that read - > [date:time -0400] "GET > /nagios/cgi-bin/generate-sql.cgi?#&# HTTP/1.1 200 5. > > I did a find as command as root to look for the apancgi.log file, and > there was none to be found. The apancgi.debug file did not appear to > have any further updates to it, while the rrd file within the dir>/rrd directory did show that it had been modified. > > I was looking through the apan.defs file and currently the image type > that is being created is png. One idea I had was to change the > filetype from png to gif or gd. What do you think? > > > -----Original Message----- > From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com] > Sent: Monday, April 05, 2004 5:23 PM > To: jeff vier; Kaplan, Andrew H. > Subject: RE: [Nagios-users] Problem with Apan Graphs > > > Make sure the user id that's running Nagios can read the rrd files. > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Gillman at nerc.ac.uk Tue Apr 6 16:21:32 2004 From: R.Gillman at nerc.ac.uk (Richard Gillman) Date: Tue, 06 Apr 2004 15:21:32 +0100 Subject: statusmap logos problem Message-ID: <4072BCEC.7000902@nerc.ac.uk> I have managed to get the logos I want (i.e., not question mark) when I put my mouse over the question mark image in statusmap. But the main statusmap page stays stubbornly question marked. It must be possible, as the square-box.com demo shows different icons. There is no information in apache's log files. My extended host information file is 197 rgi at corrib>cat xed1.cfg define hostextinfo{ host_name shannon notes_url http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 icon_image sun40.png icon_image_alt sun40.png vrml_image sun40.png statusmap_image sun40.gif 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } define hostextinfo{ host_name lea # notes_url http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 icon_image redhat.png icon_image_alt redhat.png vrml_image redhat.png statusmap_image redhat.gif 2d_coords 200,250 3d_coords 100.0,50.0,75.0 } define hostextinfo{ host_name sidhean notes_url http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 icon_image sun40.png icon_image_alt sun40.png vrml_image sun40.png statusmap_image sun40.gif 2d_coords 300,250 3d_coords 100.0,50.0,75.0 } 198 rgi at corrib> Can anyone see what I am doing wrong? thanks in advance for any input... Dick -- Richard Gillman iTSS UNIX Systems Group, Maclean Building, Wallingford OX10 8BB Tel: 01491 - 692 339 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoemake at america.net Tue Apr 6 16:29:25 2004 From: shoemake at america.net (Michael Shoemaker) Date: Tue, 6 Apr 2004 10:29:25 -0400 Subject: User based display of hosts/services Message-ID: <200404061029.25438.shoemake@america.net> Is there any way to setup nagios to display a list of hosts/services on a per user basis? ie: user1 can view hosts 1-10 and its appropriate services, while user2 is only able to view hosts 1-4 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Apr 6 16:13:17 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 6 Apr 2004 10:13:17 -0400 Subject: FW: RE: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F06559292@phsexch20.mgh.harvard.edu> Quick followup: The error message that I encountered when I ran the cgi files manually before and after I made the change was: ERROR 1064 at line 1: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' ' at line 1 The version of MySQL that I am using is Ver 12.22 Distrib 4.0.18 > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Tuesday, April 06, 2004 10:08 AM > To: 'Arzamendi, Peter'; 'Fredrik W?nglund'; 'jeff vier' > Cc: Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Problem with Apan Graphs > > Pete -- > > I changed the first line in the apan-sql and generate-sql cgi files to > #!/bin/bash but the problem still remained. > Any ideas? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Apr 6 16:08:26 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 6 Apr 2004 10:08:26 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F06559291@phsexch20.mgh.harvard.edu> Pete -- I changed the first line in the apan-sql and generate-sql cgi files to #!/bin/bash but the problem still remained. Any ideas? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Apr 6 16:44:51 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Apr 2004 16:44:51 +0200 Subject: statusmap logos problem In-Reply-To: <4072BCEC.7000902@nerc.ac.uk> References: <4072BCEC.7000902@nerc.ac.uk> Message-ID: <4072C263.2010506@op5.se> Richard Gillman wrote: > There is no information in apache's log files. That's not too odd, since the cgi's check to see if the file exist before they link to it. > > My extended host information file is > > 197 rgi at corrib>cat xed1.cfg > define hostextinfo{ > host_name shannon > notes_url > http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 > icon_image sun40.png > icon_image_alt sun40.png > vrml_image sun40.png > statusmap_image sun40.gif sun40.png vs sun40.gif. > Can anyone see what I am doing wrong? > libgif is a separate software package (part of neither gd nor png). You probably haven't installed libgif properly, which is why you don't see the images. Change sun40.gif to sun40.png and all should be well. To automate this, you can run the following two commands; mv hostextinfo.cfg hostextinfo.old sed s/\\.gif/\\.png/g hostextinfo.old > hostextinfo.cfg > thanks in advance for any input... > You're welcome. > Dick > -- Mvh / Best Regards Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Apr 6 16:41:12 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 6 Apr 2004 10:41:12 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F06559293@phsexch20.mgh.harvard.edu> Hi Marc -- I checked the cgi files and although they are owned by the nagios user and group, the permissions on both files are rwxrwxr-x. The same was also done for the /usr/local/nagios/rrd/.rrd file, with the result being the user and group ownership being nagios, and the the permissions being the following: rw-r--r--. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, April 06, 2004 10:23 AM To: Kaplan, Andrew H.; Arzamendi, Peter Cc: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Problem with Apan Graphs I don't use APAN so I may be way off base but can the apache user read the files? That seems to me that it might be just as important as the nagios user being able to read them. -- Marc On Tuesday, April 06, 2004 7:39 AM, Kaplan, Andrew H. shared with us: > Hi Peter, > > I verified the nagios userid is the owner and has rw access to the > rrd files. > > I sent an e-mail to Fredrik Wanglund and asked his opinion about > something. I'll include it here for your perusal and thoughts. Thanks > in advance. > > I checked the Apache error_log file, and while there was no reference > to rrdtool there was a large amount of > ERROR: unknown option '1' messages. I also checked the access.log > file and I noticed a decent amount of lines that read - > [date:time -0400] "GET > /nagios/cgi-bin/generate-sql.cgi?#&# HTTP/1.1 200 5. > > I did a find as command as root to look for the apancgi.log file, and > there was none to be found. The apancgi.debug file did not appear to > have any further updates to it, while the rrd file within the dir>/rrd directory did show that it had been modified. > > I was looking through the apan.defs file and currently the image type > that is being created is png. One idea I had was to change the > filetype from png to gif or gd. What do you think? > > > -----Original Message----- > From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com] > Sent: Monday, April 05, 2004 5:23 PM > To: jeff vier; Kaplan, Andrew H. > Subject: RE: [Nagios-users] Problem with Apan Graphs > > > Make sure the user id that's running Nagios can read the rrd files. > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjapko at xeloq.com Tue Apr 6 17:03:21 2004 From: tjapko at xeloq.com (XeloQ Communications) Date: 06 Apr 2004 11:03:21 -0400 Subject: beginners problem Message-ID: <1081263801.4172.40.camel@dc85430e7.dslam-03-16-4-02-01-01.urb.dsl.cantv.net> Hello list, I recently installed nagios on RH9 and implemented all my checks etc according the manuals and the reame's and the help files. (:-)) Everything is running fine but I have a strange issue that I can't address: Whenever a service is failing because a host is down nagios will take the proper action and inform me about the event. Whenever the host is back on line the service will show up OK (green) but the HOST remains in the DOWN state (red). My questions is WHY the HOST STATE INFORMATION does not change back to GREEN or UP when the host physically has been UP again. If I restart nagios than the HOST state will change again to up. It must be something I overlooked. My host.cfg file looks like this: # 'SoftSwitch01' host definition define host{ use generic-host ; Name of host template to use host_name SoftSwitch01 alias SS address 200.200.200.200 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } My services.cfg looks like this: # Service definition define service{ use generic-service ; Name of service template to use host_name SoftSwitch service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check-host-alive } Rhe check-host command is the one provided with the example. # This command checks to see if a host is "alive" by pinging it # The check must result in a 100% packet loss or 5 second (5000ms) round trip # average time to produce a critical error. # Note: Only one ICMP echo packet is sent (determined by the '-p 1' argument) # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } Tjapko. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Apr 6 17:13:57 2004 From: marc at ena.com (Marc Powell) Date: Tue, 6 Apr 2004 10:13:57 -0500 Subject: User based display of hosts/services Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A3CB@mismail2.ena.com> On Tuesday, April 06, 2004 9:29 AM, Michael Shoemaker shared with us: > Is there any way to setup nagios to display a list of hosts/services > on a per user basis? > > ie: user1 can view hosts 1-10 and its appropriate services, while > user2 is only able to view hosts 1-4 http://nagios.sourceforge.net/docs/1_0/cgiauth.html With authorization configured, a user will only be able to see hosts and services for which they are a listed contact. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Apr 6 17:14:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Apr 2004 17:14:20 +0200 Subject: User based display of hosts/services In-Reply-To: <200404061029.25438.shoemake@america.net> References: <200404061029.25438.shoemake@america.net> Message-ID: <4072C94C.7060607@op5.se> Michael Shoemaker wrote: > Is there any way to setup nagios to display a list of hosts/services on a per > user basis? > By default, only users who receive notifications (are configured as contacts) for a host and its particular services are allowed to see the host, service and status detail. This doesn't work with the showlog-program, and it can also be overridden by two variables in your cgi.cfg (authorized_for_all_hosts and authorized_for_all_services). > ie: user1 can view hosts 1-10 and its appropriate services, while user2 is > only able to view hosts 1-4 > set it up like this; user1 is a member of contactgroup hosts_1_to_10_contacts hosts 1-10 are members of hostgroup hosts_1_to_10 contactgroup hosts_1_to_10_contacts is registered as notification-targets for the hostgroup hosts_1_to_10 user2 is a member of contactgroup hosts_1_to_4_contacts hosts 1-4 are members of hostgroup hosts_1_to_4 (yes, it's ok for them to be in several hostgroups) contactgroup hosts_1_to_4_contacts is registered as notification-targets for the hostgroup hosts_1_to_4 You can pick your own names, if you like. ;-) -- Mvh / Best Regards Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From corsis_tom at yahoo.com Tue Apr 6 18:11:54 2004 From: corsis_tom at yahoo.com (Thomas Quinlan) Date: Tue, 6 Apr 2004 09:11:54 -0700 (PDT) Subject: Status.log file disappears? Message-ID: <20040406161154.23513.qmail@web20721.mail.yahoo.com> All, I'm new to Nagios, and I seem to have been able to get it up and running for the most part (though pings only so far). When I click around on the various pages, I always get messages like "It appears Nagios isn't running, so command/process information isn't available." I don't know what these errors mean, when Nagios is obviously running. Also, for "Process Status Information", I always get a critical error because the log couldn't be opened for reading. Checking my nagios.cfg file, the file should be: /var/nagios/status.log This file doesn't exist. If I stop nagios, then create the file, and then start nagios again, the file disappears (no matter what permissions or ownership I give it). Anyone have any idea why that occurs? Thanks. Tom __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjapko at xeloq.com Tue Apr 6 19:07:27 2004 From: tjapko at xeloq.com (XeloQ Communications) Date: 06 Apr 2004 13:07:27 -0400 Subject: Status.log file disappears? In-Reply-To: <20040406161154.23513.qmail@web20721.mail.yahoo.com> References: <20040406161154.23513.qmail@web20721.mail.yahoo.com> Message-ID: <1081271247.4172.47.camel@dc85430e7.dslam-03-16-4-02-01-01.urb.dsl.cantv.net> Hi, I just implemented nagios and ran into the same issue. I ran nagios as a root user and so the file was created as root. When I changed it to owner nagios and gave it all the rights my problems disappeared. Hope this helps. On Tue, 2004-04-06 at 12:11, Thomas Quinlan wrote: > All, > > I'm new to Nagios, and I seem to have been able to get > it up and running for the most part (though pings only > so far). When I click around on the various pages, I > always get messages like "It appears Nagios isn't > running, so command/process information isn't > available." I don't know what these errors mean, when > Nagios is obviously running. > > Also, for "Process Status Information", I always get a > critical error because the log couldn't be opened for > reading. Checking my nagios.cfg file, the file should > be: > /var/nagios/status.log > > This file doesn't exist. > > If I stop nagios, then create the file, and then start > nagios again, the file disappears (no matter what > permissions or ownership I give it). > > Anyone have any idea why that occurs? > > Thanks. > > Tom > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Tue Apr 6 19:32:11 2004 From: shorn at lssi.net (Spencer L Horn) Date: Tue, 06 Apr 2004 13:32:11 -0400 Subject: Powerware UPS Message-ID: <1081272731.5072.492.camel@spencer.lssi.net> Does anyone know off the top of there head of a decent plugin to monitor Powerware ups's? Thanks, Spencer ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From corsis_tom at yahoo.com Tue Apr 6 19:44:01 2004 From: corsis_tom at yahoo.com (Thomas Quinlan) Date: Tue, 6 Apr 2004 10:44:01 -0700 (PDT) Subject: Status.log file disappears? In-Reply-To: <1081271247.4172.47.camel@dc85430e7.dslam-03-16-4-02-01-01.urb.dsl.cantv.net> References: <1081271247.4172.47.camel@dc85430e7.dslam-03-16-4-02-01-01.urb.dsl.cantv.net> Message-ID: <20040406174401.71803.qmail@web20722.mail.yahoo.com> Hi, Your information got me thinking... I didn't know exactly when the file was being "erased". It turns out that it goes away when Nagios is *stopped*. If I stop Nagios, create the file, and then start Nagios, the file is there. (It never goes above 0 bytes though.) If I stop Nagios, the file disappears. Here is how I create file: cd /var/nagios touch status.log chown nagios.nagios status.log chmod 0777 status.log ls -al shows: drwxrwxr-x 4 nagios nagios 248 Apr 6 13:29 . drwxr-xr-x 15 root root 384 Mar 17 02:29 .. -rw-r--r-- 1 nagios nagios 0 Dec 3 23:41 .keep drwxrwxr-x 2 nagios nagios 392 Apr 6 00:00 archives -rw-r--r-- 1 root root 6 Apr 6 13:27 nagios.lock -rw-r--r-- 1 nagios nagios 3779904 Apr 6 13:29 nagios.log drwxrwsr-x 2 nagios apache 72 Dec 3 23:41 rw -rwxrwxrwx 1 nagios nagios 0 Apr 6 13:29 status.log -rw-r--r-- 1 nagios nagios 0 Apr 6 13:27 status.sav So I can see the file is there, and that the permission s I gave it are correct... and I can start Nagios and it will stay there. Then I do /etc/init.d/nagios stop, and ls -al shows: drwxrwxr-x 4 nagios nagios 248 Apr 6 13:29 . drwxr-xr-x 15 root root 384 Mar 17 02:29 .. -rw-r--r-- 1 nagios nagios 0 Dec 3 23:41 .keep drwxrwxr-x 2 nagios nagios 392 Apr 6 00:00 archives -rw-r--r-- 1 root root 6 Apr 6 13:27 nagios.lock -rw-r--r-- 1 nagios nagios 3779904 Apr 6 13:29 nagios.log drwxrwsr-x 2 nagios apache 72 Dec 3 23:41 rw -rw-r--r-- 1 nagios nagios 0 Apr 6 13:27 status.sav And the file is gone. If I leave the ownership as root.root, the file still disappears. If I change the permissions to anything else, as either owner, the file disappears when Nagios is stopped. I tried entering some text into the file, thinking that Nagios might not like a 0 byte file, but that didn't make a difference either. Tom --- XeloQ Communications wrote: > Hi, I just implemented nagios and ran into the same > issue. I ran nagios > as a root user and so the file was created as root. > When I changed it to owner nagios and gave it all > the rights my problems > disappeared. Hope this helps. > > > On Tue, 2004-04-06 at 12:11, Thomas Quinlan wrote: > > All, > > > > I'm new to Nagios, and I seem to have been able to > get > > it up and running for the most part (though pings > only > > so far). When I click around on the various > pages, I > > always get messages like "It appears Nagios isn't > > running, so command/process information isn't > > available." I don't know what these errors mean, > when > > Nagios is obviously running. > > > > Also, for "Process Status Information", I always > get a > > critical error because the log couldn't be opened > for > > reading. Checking my nagios.cfg file, the file > should > > be: > > /var/nagios/status.log > > > > This file doesn't exist. > > > > If I stop nagios, then create the file, and then > start > > nagios again, the file disappears (no matter what > > permissions or ownership I give it). > > > > Anyone have any idea why that occurs? > > > > Thanks. > > > > Tom > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Small Business $15K Web Design Giveaway > > http://promotions.yahoo.com/design_giveaway/ > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux > Tutorials > > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > > GenToo technologies. Learn everything from > fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Tue Apr 6 19:44:43 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Tue, 6 Apr 2004 13:44:43 -0400 Subject: Host and service flap detection threshold value recommendation Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F06AF2C8A@stoexchange.state.fl.us> Hello: Lately we been getting pages for small timeouts that have caused notifications to be sent out. I decided to enable flap detection. After reading the documentation, I understood the strategy, but did not have any clue where to start the values at for low and high flap thresholds. I decided to use the values that were in the documentation, but does anyone have any recommendations based on experience of what values I should use. Currently, I have every host and service set to: define service{ use generic-service host_name SUNBOX service_description Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 low_flap_threshold 25 high_flap_threshold 50 flap_detection_enabled 1 contact_groups HelpDesk,sun-admins notification_interval 60 notification_period 24x7 notification_options c,u,r check_command check_nrpe!check_load } -------------- next part -------------- An HTML attachment was scrubbed... URL: From rscibetti at opensight.net Tue Apr 6 19:53:35 2004 From: rscibetti at opensight.net (Russell Scibetti) Date: Tue, 6 Apr 2004 13:53:35 -0400 Subject: Status.log file disappears? References: <20040406161154.23513.qmail@web20721.mail.yahoo.com> Message-ID: <01d701c41c00$1571be10$0929250a@oit.state.nj.us> Quick thing to check - do you have enough diskspace to write the status.log? I had the problem once when my disk partition was at 100%. Russell ----- Original Message ----- From: "Thomas Quinlan" To: Sent: Tuesday, April 06, 2004 12:11 PM Subject: [Nagios-users] Status.log file disappears? > All, > > I'm new to Nagios, and I seem to have been able to get > it up and running for the most part (though pings only > so far). When I click around on the various pages, I > always get messages like "It appears Nagios isn't > running, so command/process information isn't > available." I don't know what these errors mean, when > Nagios is obviously running. > > Also, for "Process Status Information", I always get a > critical error because the log couldn't be opened for > reading. Checking my nagios.cfg file, the file should > be: > /var/nagios/status.log > > This file doesn't exist. > > If I stop nagios, then create the file, and then start > nagios again, the file disappears (no matter what > permissions or ownership I give it). > > Anyone have any idea why that occurs? > > Thanks. > > Tom > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From corsis_tom at yahoo.com Tue Apr 6 20:06:13 2004 From: corsis_tom at yahoo.com (Thomas Quinlan) Date: Tue, 6 Apr 2004 11:06:13 -0700 (PDT) Subject: Status.log file disappears? In-Reply-To: <01d701c41c00$1571be10$0929250a@oit.state.nj.us> References: <01d701c41c00$1571be10$0929250a@oit.state.nj.us> Message-ID: <20040406180613.64795.qmail@web20729.mail.yahoo.com> Russell, Yes, I have 3.3GB space left on the /var/ partition: # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda2 244M 51M 194M 21% / /dev/hda5 3.4G 1.4G 2.0G 41% /usr /dev/hda6 3.4G 107M 3.3G 4% /var /dev/hda7 3.4G 110M 3.3G 4% /opt /dev/hda8 717M 33M 684M 5% /tmp /dev/hda9 702M 33M 670M 5% /home none 124M 0 124M 0% /dev/shm Tom --- Russell Scibetti wrote: > Quick thing to check - do you have enough diskspace > to write the status.log? > I had the problem once when my disk partition was at > 100%. > > Russell > > ----- Original Message ----- > From: "Thomas Quinlan" > To: > Sent: Tuesday, April 06, 2004 12:11 PM > Subject: [Nagios-users] Status.log file disappears? > > > > All, > > > > I'm new to Nagios, and I seem to have been able to > get > > it up and running for the most part (though pings > only > > so far). When I click around on the various > pages, I > > always get messages like "It appears Nagios isn't > > running, so command/process information isn't > > available." I don't know what these errors mean, > when > > Nagios is obviously running. > > > > Also, for "Process Status Information", I always > get a > > critical error because the log couldn't be opened > for > > reading. Checking my nagios.cfg file, the file > should > > be: > > /var/nagios/status.log > > > > This file doesn't exist. > > > > If I stop nagios, then create the file, and then > start > > nagios again, the file disappears (no matter what > > permissions or ownership I give it). > > > > Anyone have any idea why that occurs? > > > > Thanks. > > > > Tom > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Small Business $15K Web Design Giveaway > > http://promotions.yahoo.com/design_giveaway/ > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux > Tutorials > > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > > GenToo technologies. Learn everything from > fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lionel.ostric at arm.com Tue Apr 6 20:10:03 2004 From: lionel.ostric at arm.com (Lionel) Date: Tue, 6 Apr 2004 18:10:03 +0000 (UTC) Subject: Problem with state retention Message-ID: Hello, I have a problem with nagios 1.2 on a debian machine. in my /etc/nagios/nagios.cfg, I have (among others) the following lines : state_retention_file=/var/log/nagios/status.sav retain_state_information=1 retention_update_interval=5 but nagios never write to /var/log/nagios/status.sav even if I touch it and change the owner to nagios and chmod 777 it. in the eventlog of nagios, every five minutes I have a line saying auto-save of data retention completed succesfully but the file is desesperately empty. The same configuration works perfectly on a nagios 1.1 installation on redhat 8. I tried changing the location of the file but no luck. I'm sure it is reading the right nagios.cfg because if I intentionally insert a syntax error, nagios is complaining. Any idea ? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From corsis_tom at yahoo.com Tue Apr 6 20:27:01 2004 From: corsis_tom at yahoo.com (Thomas Quinlan) Date: Tue, 6 Apr 2004 11:27:01 -0700 (PDT) Subject: Status.log file disappears? I RTMF'ed. ;) In-Reply-To: <20040406180613.64795.qmail@web20729.mail.yahoo.com> References: <20040406180613.64795.qmail@web20729.mail.yahoo.com> Message-ID: <20040406182701.12742.qmail@web20723.mail.yahoo.com> All, Decided to go back and RTFM again, and it turns out you can ignore me, this is by design. From the Manual: "This is the file that Nagios uses to store the current status of all monitored services. The status of all hosts associated with the service you monitor are also recorded here. This file is used by the CGIs so that current monitoring status can be reported via a web interface. The CGIs must have read access to this file in order to function properly. This file is deleted every time Nagios stops and recreated when it starts." Tom --- Thomas Quinlan wrote: > Russell, > > Yes, I have 3.3GB space left on the /var/ partition: > > # df -h > Filesystem Size Used Avail Use% Mounted > on > /dev/hda2 244M 51M 194M 21% / > /dev/hda5 3.4G 1.4G 2.0G 41% /usr > /dev/hda6 3.4G 107M 3.3G 4% /var > /dev/hda7 3.4G 110M 3.3G 4% /opt > /dev/hda8 717M 33M 684M 5% /tmp > /dev/hda9 702M 33M 670M 5% /home > none 124M 0 124M 0% /dev/shm > > Tom > > --- Russell Scibetti > wrote: > > Quick thing to check - do you have enough > diskspace > > to write the status.log? > > I had the problem once when my disk partition was > at > > 100%. > > > > Russell > > > > ----- Original Message ----- > > From: "Thomas Quinlan" > > To: > > Sent: Tuesday, April 06, 2004 12:11 PM > > Subject: [Nagios-users] Status.log file > disappears? > > > > > > > All, > > > > > > I'm new to Nagios, and I seem to have been able > to > > get > > > it up and running for the most part (though > pings > > only > > > so far). When I click around on the various > > pages, I > > > always get messages like "It appears Nagios > isn't > > > running, so command/process information isn't > > > available." I don't know what these errors > mean, > > when > > > Nagios is obviously running. > > > > > > Also, for "Process Status Information", I always > > get a > > > critical error because the log couldn't be > opened > > for > > > reading. Checking my nagios.cfg file, the file > > should > > > be: > > > /var/nagios/status.log > > > > > > This file doesn't exist. > > > > > > If I stop nagios, then create the file, and then > > start > > > nagios again, the file disappears (no matter > what > > > permissions or ownership I give it). > > > > > > Anyone have any idea why that occurs? > > > > > > Thanks. > > > > > > Tom > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Small Business $15K Web Design Giveaway > > > http://promotions.yahoo.com/design_giveaway/ > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: IBM Linux > > Tutorials > > > Free Linux tutorial presented by Daniel Robbins, > > President and CEO of > > > GenToo technologies. Learn everything from > > fundamentals to system > > > > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin > version > > (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux > > Tutorials > > Free Linux tutorial presented by Daniel Robbins, > > President and CEO of > > GenToo technologies. Learn everything from > > fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being > > sent to /dev/null > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rscibetti at opensight.net Tue Apr 6 20:35:43 2004 From: rscibetti at opensight.net (Russell Scibetti) Date: Tue, 6 Apr 2004 14:35:43 -0400 Subject: Status.log file disappears? References: <20040406174401.71803.qmail@web20722.mail.yahoo.com> Message-ID: <021401c41c05$f852d9d0$0929250a@oit.state.nj.us> Oh - I misunderstood the email. status.log does get removed when nagios stops and gets recreated when nagios starts up again. It only exists while Nagios is running. The status files that don't get removed are status.sav (for state retention) and nagios.log. Russell ----- Original Message ----- From: "Thomas Quinlan" To: Cc: Sent: Tuesday, April 06, 2004 1:44 PM Subject: Re: [Nagios-users] Status.log file disappears? > Hi, > > Your information got me thinking... I didn't know > exactly when the file was being "erased". It turns > out that it goes away when Nagios is *stopped*. If I > stop Nagios, create the file, and then start Nagios, > the file is there. (It never goes above 0 bytes > though.) If I stop Nagios, the file disappears. > > Here is how I create file: > > cd /var/nagios > touch status.log > chown nagios.nagios status.log > chmod 0777 status.log > > ls -al shows: > > drwxrwxr-x 4 nagios nagios 248 Apr 6 > 13:29 . > drwxr-xr-x 15 root root 384 Mar 17 > 02:29 .. > -rw-r--r-- 1 nagios nagios 0 Dec 3 > 23:41 .keep > drwxrwxr-x 2 nagios nagios 392 Apr 6 > 00:00 archives > -rw-r--r-- 1 root root 6 Apr 6 > 13:27 nagios.lock > -rw-r--r-- 1 nagios nagios 3779904 Apr 6 > 13:29 nagios.log > drwxrwsr-x 2 nagios apache 72 Dec 3 > 23:41 rw > -rwxrwxrwx 1 nagios nagios 0 Apr 6 > 13:29 status.log > -rw-r--r-- 1 nagios nagios 0 Apr 6 > 13:27 status.sav > > So I can see the file is there, and that the > permission s I gave it are correct... and I can start > Nagios and it will stay there. > > Then I do /etc/init.d/nagios stop, and ls -al shows: > > drwxrwxr-x 4 nagios nagios 248 Apr 6 > 13:29 . > drwxr-xr-x 15 root root 384 Mar 17 > 02:29 .. > -rw-r--r-- 1 nagios nagios 0 Dec 3 > 23:41 .keep > drwxrwxr-x 2 nagios nagios 392 Apr 6 > 00:00 archives > -rw-r--r-- 1 root root 6 Apr 6 > 13:27 nagios.lock > -rw-r--r-- 1 nagios nagios 3779904 Apr 6 > 13:29 nagios.log > drwxrwsr-x 2 nagios apache 72 Dec 3 > 23:41 rw > -rw-r--r-- 1 nagios nagios 0 Apr 6 > 13:27 status.sav > > And the file is gone. > > If I leave the ownership as root.root, the file still > disappears. If I change the permissions to anything > else, as either owner, the file disappears when Nagios > is stopped. > > I tried entering some text into the file, thinking > that Nagios might not like a 0 byte file, but that > didn't make a difference either. > > Tom > > --- XeloQ Communications wrote: > > Hi, I just implemented nagios and ran into the same > > issue. I ran nagios > > as a root user and so the file was created as root. > > When I changed it to owner nagios and gave it all > > the rights my problems > > disappeared. Hope this helps. > > > > > > On Tue, 2004-04-06 at 12:11, Thomas Quinlan wrote: > > > All, > > > > > > I'm new to Nagios, and I seem to have been able to > > get > > > it up and running for the most part (though pings > > only > > > so far). When I click around on the various > > pages, I > > > always get messages like "It appears Nagios isn't > > > running, so command/process information isn't > > > available." I don't know what these errors mean, > > when > > > Nagios is obviously running. > > > > > > Also, for "Process Status Information", I always > > get a > > > critical error because the log couldn't be opened > > for > > > reading. Checking my nagios.cfg file, the file > > should > > > be: > > > /var/nagios/status.log > > > > > > This file doesn't exist. > > > > > > If I stop nagios, then create the file, and then > > start > > > nagios again, the file disappears (no matter what > > > permissions or ownership I give it). > > > > > > Anyone have any idea why that occurs? > > > > > > Thanks. > > > > > > Tom > > > > > > __________________________________ > > > Do you Yahoo!? > > > Yahoo! Small Business $15K Web Design Giveaway > > > http://promotions.yahoo.com/design_giveaway/ > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: IBM Linux > > Tutorials > > > Free Linux tutorial presented by Daniel Robbins, > > President and CEO of > > > GenToo technologies. Learn everything from > > fundamentals to system > > > > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux > > Tutorials > > Free Linux tutorial presented by Daniel Robbins, > > President and CEO of > > GenToo technologies. Learn everything from > > fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being > > sent to /dev/null > > > __________________________________ > Do you Yahoo!? > Yahoo! Small Business $15K Web Design Giveaway > http://promotions.yahoo.com/design_giveaway/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikko.kaipila at nic.fi Tue Apr 6 20:38:44 2004 From: mikko.kaipila at nic.fi (Mikko Kaipila) Date: 06 Apr 2004 21:38:44 +0300 Subject: nagios statusmap images problem In-Reply-To: <40727636.1020207@nerc.ac.uk> References: <40727636.1020207@nerc.ac.uk> Message-ID: <1081276723.18592.8.camel@rento.seclan.com> I still wondering that no one (guru) cannot be solved this bug, which concern nagios 1.2. At least debian package nagios-text 1.2 has that problem described below. On Tue, 2004-04-06 at 12:19, Richard Gillman wrote: > I noticed your email to the nagios list 2 weeks ago. Did you manage to > solve it? I've got a similar problem. > > I have managed to get the images I want (i.e., not question mark) when I > put my mouse over the question mark image in statusmap. But the main > statusmap page stays stubbornly question marked. > > It must be possible, as the square-box.com demo shows different icons. > There is no information in apache's log files. > > My extended host information file is > > 197 rgi at corrib>cat xed1.cfg > define hostextinfo{ > host_name shannon > notes_url > http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 > icon_image sun40.png > icon_image_alt sun40.png > vrml_image sun40.png > statusmap_image sun40.gif > 2d_coords 100,250 > 3d_coords 100.0,50.0,75.0 > } > define hostextinfo{ > host_name lea > # notes_url > http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 > icon_image redhat.png > icon_image_alt redhat.png > vrml_image redhat.png > statusmap_image redhat.gif > 2d_coords 200,250 > 3d_coords 100.0,50.0,75.0 > } > define hostextinfo{ > host_name sidhean > notes_url > http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 > icon_image sun40.png > icon_image_alt sun40.png > vrml_image sun40.png > statusmap_image sun40.gif > 2d_coords 300,250 > 3d_coords 100.0,50.0,75.0 > } > 198 rgi at corrib> > > > thanks in advance for any input... > > Dick ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlabonte at nrcan.gc.ca Tue Apr 6 21:06:39 2004 From: dlabonte at nrcan.gc.ca (=?iso-8859-1?Q?=22Labont=E9=2C_Diane=22?=) Date: Tue, 6 Apr 2004 15:06:39 -0400 Subject: Status.log file disappears? Message-ID: Hello, about the problem: "When I click around on the various > pages, I > > always get messages like "It appears Nagios isn't > > running, so command/process information isn't > > available." I don't know what these errors mean, > when > > Nagios is obviously running." I also had this problem until I followed the instructions in the cgi.cfg file. I have copied this section below for your convenience along with the line that uncommented so that Nagios no lnoger gives this message. It is important however to check and see exactly what cammand you type in to start Nagios service. In my case I had to remove the '/opt/nagios/bin/'otherwise I still got the error message. # NAGIOS PROCESS CHECK COMMAND # This is the full path and filename of the program used to check # the status of the Nagios process. It is used only by the CGIs # and is completely optional. However, if you don't use it, you'll # see warning messages in the CGIs about the Nagios process # not running and you won't be able to execute any commands from # the web interface. The program should follow the same rules # as plugins; the return codes are the same as for the plugins, # it should have timeout protection, it should output something # to STDIO, etc. # # Note: If you are using the check_nagios plugin here, the first # argument should be the physical path to the status log, the # second argument is the number of minutes that the status log # contents should be "fresher" than, and the third argument is the # string that should be matched from the output of the 'ps' # command in order to locate the running Nagios process. That # process string is going to vary depending on how you start # Nagios. Run the 'ps' command manually to see what the command # line entry for the Nagios process looks like. nagios_check_command=/opt/nagios/libexec/check_nagios /opt/nagios/var/status.log 5 'nagios' Diane > ----- Original Message ----- > From: "Thomas Quinlan" > To: > Sent: Tuesday, April 06, 2004 12:11 PM > Subject: [Nagios-users] Status.log file disappears? > > > > All, > > > > I'm new to Nagios, and I seem to have been able to > get > > it up and running for the most part (though pings > only > > so far). When I click around on the various > pages, I > > always get messages like "It appears Nagios isn't > > running, so command/process information isn't > > available." I don't know what these errors mean, > when > > Nagios is obviously running. > > > > Also, for "Process Status Information", I always > get a > > critical error because the log couldn't be opened > for > > reading. Checking my nagios.cfg file, the file > should > > be: > > /var/nagios/status.log > > > > This file doesn't exist. > > > > If I stop nagios, then create the file, and then > start > > nagios again, the file disappears (no matter what > > permissions or ownership I give it). > > > > Anyone have any idea why that occurs? > > > > Thanks. > > > > Tom > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Small Business $15K Web Design Giveaway > > http://promotions.yahoo.com/design_giveaway/ > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux > Tutorials > > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > > GenToo technologies. Learn everything from > fundamentals to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux > Tutorials > Free Linux tutorial presented by Daniel Robbins, > President and CEO of > GenToo technologies. Learn everything from > fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abradford at dwtunnel.com Tue Apr 6 21:17:17 2004 From: abradford at dwtunnel.com (Andrew Bradford) Date: Tue, 6 Apr 2004 15:17:17 -0400 Subject: nagios statusmap images problem In-Reply-To: <1081276723.18592.8.camel@rento.seclan.com> References: <1081276723.18592.8.camel@rento.seclan.com> Message-ID: <000301c41c0b$c70b21b0$cd01a8c0@dctctoll.com> Mikko Kaipila wrote: > I still wondering that no one (guru) cannot be solved this bug, which > concern nagios 1.2. At least debian package nagios-text 1.2 has that > problem described below. The image in the pop-up is a direct link to the image so anything your browser supports will work. I believe the main statusmap images are generated by gd so the image format needs to be supported. Under Debian, if you can get jpg's, png's, and gd2's to work but not gif's then I would assume that your Nagios installation was built against libgd instead of libgd-gif. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwhittington at excelorant.com Tue Apr 6 22:24:10 2004 From: jwhittington at excelorant.com (James) Date: Tue, 06 Apr 2004 16:24:10 -0400 Subject: Get getcgivars(): Unsupported Content-Type error through nagmin. Message-ID: <1081283050.28522.7.camel@localhost.localdomain> I've been testing out nagios as a replacement for Big Brother, I've setup up Nagmin as the configuration front end for Nagios. When I go to check or apply a configuration I get an error like the one below. Interesting enough Nagmin is able to apply the configuration and restart Nagios, I just can't see the output of the through Nagmin. Has anyone seen this getcgivars error before. Restart Nagios (10.1.0.124) Executing /etc/init.d/nagios restart Running configuration check...done Stopping network monitor: nagios Starting network monitor: nagios getcgivars(): Unsupported Content-Type. -- _______________________________________________ James Whittington Systems Administrator Excelorant, LLC A TM Floyd Affiliate Company 1800 St. Julian Place P.O. Box 8263 Columbia, SC 29202 803.765.1310 | Phone 800.780.1170 | Toll Free 803.765.1431 | Fax jwhittington at excelorant.com _______________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zhoue at algonquincollege.com Tue Apr 6 23:20:28 2004 From: zhoue at algonquincollege.com (emily zhou) Date: Tue, 06 Apr 2004 17:20:28 -0400 Subject: Could you help me with Monitoring Disk, CPU, Mem etc References: <1EC52693A9D13A4DA6585F98CC24D656030B5BED@nilemail1.bluenile.com> Message-ID: <40731F1C.3060908@algonquincollege.com> Hi Robert, I'm looking for the solution for monitoring remote UNIX disk and CPU etc. for a long time, I used NSclient to monitor NT fine, and NRPE to monitor unix but only good for DISK. I think you gave me a good answer. After I tried hard, still little bit confused, hope you can clarify for me. 1. I installed nagios server on a Solaris box, also installed ucd-snmp, snmpwalk working fine. I'd like to monitor another Sun box, do I need install ucd-snmp on that box? Solaris has a default SNMP agent running like this: root 342 1 0 Mar 26 ? 0:52 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf Do I need to stop that snmp process? 2. I think the problem is related to /usr/local/share/snmp/snmpconf/snmpd.conf, snmp.conf etc. How do I edit those config files? only edit them on Nagios server, or has to do both sides Server and remote client? 3. The ucd-snmp docs talk about snmpd daemon, I couldn't find it under /usr/local/share/snmp anywhere, but I found it in source under agent/snmpd. Should I copy some files under agent/ to somewhere? During the make/make install, sounds didn't copy any files under AGENT to system directory. Could you please write some procedures how you got it working on your system (configurations)? I desperately wanted to make it working on my system. Thanks a lot, Emily Robert Suh wrote: >Nicholas, for Unix like OSes (Linux), take a look at ucd-snmp (UCDavis) >or net-snmp (what ucd-snmp has morphed >into) depening on your OS version. Most distributions come with them, >but they may not be installed by default. > >Win2k and 2k3 ship with a basic SNMP service, which you have to enable >(or 'Add' via the Control Panel.) > >The basic check_snmp command needs the Hostaddress (-H), OID to monitor >(-o) and the SNMP community >string (-C, typically 'public'). > >So for example, we have the basic ucd-snmp package installed on a Linux >box. To monitor the load average, >the OID is ".1.3.6.1.4.1.2021.10.1.3.1" > >You can test if you setup has worked by running >/usr/local/nagios/libexec/check_snmp -H TARGET -o >.1.3.6.1.4.1.2021.10.1.3.1 -C public > >Basically, the problem you run into is to map what you want with the OID >number. To somewhat >get around this, if you have the standard MIBS. You can run 'snmpwalk', >which comes with ucd-snmp and >net-snmp. With net-snmp's snmpwalk, you can run "snmpwalk -v 1 -c >public HOSTNAME .iso" to >see all the information your device is exporting via SNMP. > >To get you started, some common OIDs: > ># Load averages. >OID ucd_load1min 1.3.6.1.4.1.2021.10.1.3.1 >OID ucd_load5min 1.3.6.1.4.1.2021.10.1.3.2 >OID ucd_load15min 1.3.6.1.4.1.2021.10.1.3.3 > > ># Memory stats >OID ucd_memswapAvail 1.3.6.1.4.1.2021.4.4.0 >OID ucd_memrealAvail 1.3.6.1.4.1.2021.4.6.0 >OID ucd_memtotalAvail 1.3.6.1.4.1.2021.4.11.0 > > ># Disk stats (Don't forget the instance number...) >OID ucd_diskfree 1.3.6.1.4.1.2021.9.1.7 >OID ucd_diskused 1.3.6.1.4.1.2021.9.1.8 >OID ucd_diskpused 1.3.6.1.4.1.2021.9.1.9 > > ># CPU Stats >OID ucd_cpuUser 1.3.6.1.4.1.2021.11.9.0 >OID ucd_cpuSystem 1.3.6.1.4.1.2021.11.10.0 >OID ucd_cpuIdle 1.3.6.1.4.1.2021.11.11.0 >OID ucd_rawCpuUser 1.3.6.1.4.1.2021.11.50.0 >OID ucd_rawCpuNice 1.3.6.1.4.1.2021.11.51.0 >OID ucd_rawCpuSystem 1.3.6.1.4.1.2021.11.52.0 >OID ucd_rawCpuIdle 1.3.6.1.4.1.2021.11.53.0 > >These should be fairly common and static. > >Keep in mind, that with the NAG, you will probably have to create your >own snmp checkcommand >using check_snmp and set the -w and -c stuff yourself. > >Later on, you can get more advance and have the SNMP daemon run scripts >and return the data via >an OID. > >Rob > > > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Subhendu >Ghosh >Sent: Friday, February 13, 2004 1:35 PM >To: Platt, Nicholas >Cc: 'nagios-users at lists.sourceforge.net' >Subject: Re: [Nagios-users] Monitoring Disk and CPU Utilization > > >On Fri, 13 Feb 2004, Platt, Nicholas wrote: > > > >>Hello, >> >>I've just installed Nagios and I am very please with the product. I'm >> >> > > > >>not a Linux guy, but the instructions have been so good that it has >>been an easy experience. Good work! I've been able to populate the >> >> >NMS with 500+ host > > >>and monitor over 1000+ services. I plan to grow it. I've been >> >> >asked to > > >>monitor host CPU and host disk usage. I've read that there is two >> >> >ways > > >>monitor this function. One is installing a client on each server and >> >> >the > > >>other is SNMP. Since our shop has several types of boxes and OS, for >> >> >us it > > >>is better to poll the box via SNMP. I've not been able to find >>detailed documentation on how to have Nagios poll via SNMP for disk >>usage. Now, when I say documentation, I have found a check_snmp >> >> >plug-in, but did not have > > >>enough documentation for a beginner to be able to utilize it. Can >> >> >you > > >>point me to any check_snmp documentation that will clearly describe >> >> >how I > > >>can poll servers via SNMP? If believe the client version is better, >> >> >will > > >>it support Unix, Linux, Novell, and NT? You guys have always been >>very supportive. Thank you. >> >> > > >Unix agent: >NRPE + any plugin >ssh + any plugin > >Windows agents: >NSclient - fixed set of probes >NREP_NT + external plugins > >Novell: >MRTGEXT.NLM - fixed set of probes > > > > BEGIN-CANIT-VOTING-LINKS ------------------------------------------------------ Teach CanIt if this mail (ID 2913586) is spam: Spam: http://mailgate1.algonquincollege.com/canit/b.php?c=s&i=2913586&m=11d01fa04711 Not spam: http://mailgate1.algonquincollege.com/canit/b.php?c=n&i=2913586&m=11d01fa04711 Forget vote: http://mailgate1.algonquincollege.com/canit/b.php?c=f&i=2913586&m=11d01fa04711 ------------------------------------------------------ END-CANIT-VOTING-LINKS -------------- next part -------------- An HTML attachment was scrubbed... URL: From tdyboc at insight.rr.com Tue Apr 6 23:29:15 2004 From: tdyboc at insight.rr.com (Mulder) Date: Tue, 06 Apr 2004 17:29:15 -0400 Subject: Newbie Question - Icons etc. Message-ID: I have just installed and configured Nagios v1.2 on AIX 4.3.3 and I have a question regarding images/icons/backgrounds. Whether this matters or not I'm using Netscape v7.1 on Windows 2000 to browse the web-gui. Reviewing the DEMO available from http://nagios.square-box.com I am curious as to how the "Tactical Overview" uses the black background and associated graphics? On my AIX system Nagios "Tactical Overview" doesn't look anything like the DEMO. Can I get this background and graphics to be displayed on AIX? I have gotten a base set of icons to function so I'm not sure if I may have missed downloading something or compiled incorrectly and I cannot find anything specifically related to this in the FAQ or around the web. Any information appreciated. Thanks ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Apr 7 00:28:00 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Apr 2004 00:28:00 +0200 Subject: nagios statusmap images problem In-Reply-To: <1081276723.18592.8.camel@rento.seclan.com> References: <40727636.1020207@nerc.ac.uk> <1081276723.18592.8.camel@rento.seclan.com> Message-ID: <40732EF0.1040908@op5.se> Mikko Kaipila wrote: > I still wondering that no one (guru) cannot be solved this bug, which > concern nagios 1.2. At least debian package nagios-text 1.2 has that > problem described below. > Because it is not a bug, but a well and properly documented behaviour of libgd. Read the manual, and stay alert to error messages that any possible ./configure-script might give you, and you should be off ok. Bugs are being fixed. Documented behaviour isn't being changed, but if you like, you can modify libgd, libpng and libjpeg so that it can be bundled with Nagios. I'm sure everybody would appreciate that very much. And incidentally, this very problem was solved earlier (configuration typo), and the person making the original post wrote back to say thanks as well. If you pay more attention it will be easier to help you. > On Tue, 2004-04-06 at 12:19, Richard Gillman wrote: > >>I noticed your email to the nagios list 2 weeks ago. Did you manage to >>solve it? I've got a similar problem. >> >>I have managed to get the images I want (i.e., not question mark) when I >>put my mouse over the question mark image in statusmap. But the main >>statusmap page stays stubbornly question marked. >> >>It must be possible, as the square-box.com demo shows different icons. >>There is no information in apache's log files. >> >>My extended host information file is >> >>197 rgi at corrib>cat xed1.cfg >>define hostextinfo{ >> host_name shannon >> notes_url >>http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 >> icon_image sun40.png >> icon_image_alt sun40.png >> vrml_image sun40.png >> statusmap_image sun40.gif >> 2d_coords 100,250 >> 3d_coords 100.0,50.0,75.0 >> } >>define hostextinfo{ >> host_name lea >># notes_url >>http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 >> icon_image redhat.png >> icon_image_alt redhat.png >> vrml_image redhat.png >> statusmap_image redhat.gif >> 2d_coords 200,250 >> 3d_coords 100.0,50.0,75.0 >> } >>define hostextinfo{ >> host_name sidhean >> notes_url >>http://webserver.localhost.localdomain/hostinfo.pl?host=netware1 >> icon_image sun40.png >> icon_image_alt sun40.png >> vrml_image sun40.png >> statusmap_image sun40.gif >> 2d_coords 300,250 >> 3d_coords 100.0,50.0,75.0 >> } >>198 rgi at corrib> >> >> >>thanks in advance for any input... >> >>Dick > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Wed Apr 7 00:39:48 2004 From: CWaters at jeld-wen.com (Chris Waters) Date: Tue, 6 Apr 2004 15:39:48 -0700 Subject: Nagmin, Nagios 1.2, Host Detail Message-ID: I want to include info from the Host Detail table of my config on the email alerts. How do yo pull fields from the differnent tables in as variables? It does not seem obvious. Here is an existing host-notify-by-email: /usr/bin/printf %b "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ Sorry if this is vague but I don't now where to start really Thanks. Chris Waters -------------- next part -------------- An HTML attachment was scrubbed... URL: From naman.latif at inamed.com Wed Apr 7 01:40:18 2004 From: naman.latif at inamed.com (Naman Latif) Date: Tue, 6 Apr 2004 16:40:18 -0700 Subject: Nagios Install without gd Message-ID: <83B3FCAD284096489C9967C54B33B6B3049B2A0D@sigma.inamed.com> Hi, I am installing Nagios on a distributed server. Is it possible to install it without using the gd-Libs ? Its giving an error during "make all" and since it is a distributed server, so I won't be needing gd functionality. I tried --without-gd, --without-gd-lib in the ./configure script, but it still tries to use gd. \\ Naman ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ZalafR at Leadingedgegroup.com.au Wed Apr 7 02:36:48 2004 From: ZalafR at Leadingedgegroup.com.au (Rabbie Zalaf) Date: Wed, 7 Apr 2004 10:36:48 +1000 Subject: trends.cgi not installed. Message-ID: <5237E8DD31703E4B8F18DE416229C8C0C28300@legsydms01.leadingedgegroup.com.au> hi guy's, I Just installed nagios on another box and then installed nagios plugins: nagios-1.2 nagios-plugins-1.3.1 And when i look in /usr/local/nagios/sbin/ there is no trends.cgi The only files i have there are: avail.cgi config.cgi history.cgi outages.cgi status.cgi statuswrl.cgi tac.cgi cmd.cgi extinfo.cgi notifications.cgi showlog.cgi statuswml.cgi summary.cgi Does anyone know why this would happen or how i can get the remaining cgi files? Thanks. Regards, Rabbie Zalaf Network Consultant Leading Edge Internet 02 9497 4024 http://www.leadingedgeinternet.net.au -----BEGIN GEEK CODE BLOCK----- VERSION: 3.1 GIT d++ s:>s-:- a22 C++++ L U+++ P+ L+++>$L+++++ E--- W+++ w-- M-- t+++ G++ -----END GEEK CODE BLOCK----- This document together with any attachments is confidential and is intended for the named recipient only. It can not be copied, disclosed, passed on or duplicated in any way shape or form, without the prior permission of the author. If you are not the intended recipient please contact the author immediately and destroy the message. All parties acknowledge that any breach of confidence or disclosures made by any party, (including their employees, agents and contracted service providers such as solicitors, accountants, auditors and others), which may result in a commercial loss to Leading Edge Group, may result in Leading Edge Group exercising such rights as are available to them in connection with that loss. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrhett at isite.net Wed Apr 7 04:18:48 2004 From: jrhett at isite.net (Joe Rhett) Date: Tue, 6 Apr 2004 19:18:48 -0700 Subject: Nagmin, Nagios 1.2, Host Detail In-Reply-To: References: Message-ID: <20040407021848.GC3578@isite.net> The documentation: http://nagios.sourceforge.net/docs/1_0/macros.html This is a list of what you have available for each type of command. On Tue, Apr 06, 2004 at 03:39:48PM -0700, Chris Waters wrote: > I want to include info from the Host Detail table of my config on the email > alerts. How do yo pull fields from the differnent tables in as variables? > It does not seem obvious. > > Here is an existing host-notify-by-email: > > /usr/bin/printf %b "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s > "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > Sorry if this is vague but I don't now where to start really > > Thanks. > Chris Waters > -- Joe Rhett Chief Geek JRhett at Isite.Net Isite Services, Inc. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xavier at rootshell.be Wed Apr 7 10:24:25 2004 From: xavier at rootshell.be (Xavier) Date: Wed, 7 Apr 2004 10:24:25 +0200 (CEST) Subject: New feature or how to do this? Message-ID: Hi, I would like to implement the following feature on a Nagios platform: There existx a 'scheduled outage' feature for services and/or hosts. We can give a specific comment such "kernel upgrade", "new cabling", ... But, I would like to use a feature to acknowledge or comment all unscheduled outages. (for later statistics and/or reporting) Ex: host 'xxx' down: Comment: "kernel panic, upgraded to 2.4.xx" Any suggestion? Xavier -- ESC:wq ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.mozley at exponential-e.com Wed Apr 7 11:43:24 2004 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 07 Apr 2004 10:43:24 +0100 Subject: Powerware UPS In-Reply-To: <1081272731.5072.492.camel@spencer.lssi.net> References: <1081272731.5072.492.camel@spencer.lssi.net> Message-ID: <4073CD3C.4070207@exponential-e.com> Spencer L Horn wrote: > Does anyone know off the top of there head of a decent plugin to monitor > Powerware ups's? Did you check the archives? Did you check the contrib plugins? There is one there for apc ups that could possibly be modified. Did you consider snmp; either traps or polling? Jim Mozley ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Apr 7 14:00:29 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 7 Apr 2004 08:00:29 -0400 Subject: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F06559295@phsexch20.mgh.harvard.edu> Hi William -- I tried Konqueror, Firefox, Mozilla, and Internet Explorer. They all show the same problem. -----Original Message----- From: WDougallJR at nwdtc.com [mailto:WDougallJR at nwdtc.com] Sent: Tuesday, April 06, 2004 6:18 PM To: Kaplan, Andrew H. Subject: RE: [Nagios-users] Problem with Apan Graphs Have you tried a different browser? -William -----Original Message----- From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] Sent: Monday, April 05, 2004 12:35 PM To: Nagios-Users (E-mail) Subject: [Nagios-users] Problem with Apan Graphs Hi there, This e-mail is actually a continuation of a previous string. The situation is as follows: I have installed Nagios 1.2 with the 1.3.1 plug-in's on a Red Hat 8.0 machine. I am now trying to configure Apan-sql 3.0 to work on the system. To that end I have installed bc 1.06 and MySQL 4.0.18-standard and then installed the Apan program. I have configured the program according to the instructions and also set up a service to check the load on a Windows 2000 machine. The appropriate files have been modified and I used the apanconf-sql utility to set up the service and everything appeared to go smoothly. The problem that I am facing is when I click on the link to show the graphs, they do not appear. I checked /tmp/apancgi.debug and apan.debug logs and there was nothing in either that would indicate a problem. The next step was to verify that the rrd directory was owned by the nagios user and group. I then made sure I could log into the nagios database successfully, which I was. The rrd file that was created in the /usr/local/nagios/rrd directory was getting updated on a regular basis. At this point I am at a loss as to why the graphs are not appearing, and could really use some help in correcting this. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peiffer at umn.edu Wed Apr 7 14:01:42 2004 From: peiffer at umn.edu (Tim Peiffer) Date: Wed, 07 Apr 2004 07:01:42 -0500 Subject: Mulitple status map views? Message-ID: <4073EDA6.8030002@umn.edu> I would like to create status maps based upon region of infrastructure. I would like to not see any greyed out parts of the infrastructure as displaying those parts takes up a large chunk of the resulting image. In my mind, I need to have multiple copies of nagios, with a different config for each region. Can I do this without causing a doubling up on polling? Can this be done by setting up only passive monitoring (read/write of the DB) and no freshness checks? Does anyone have an example where they have already done this? Tim Peiffer University of Minnesota ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peiffer at umn.edu Wed Apr 7 13:59:44 2004 From: peiffer at umn.edu (Tim Peiffer) Date: Wed, 07 Apr 2004 06:59:44 -0500 Subject: Mulitple status map views? Message-ID: <4073ED30.7070707@umn.edu> I would like to create status maps based upon region of infrastructure. I would like to not see any greyed out parts of the infrastructure as displaying those parts takes up a large chunk of the resulting image. In my mind, I need to have multiple copies of nagios, with a different config for each region. Can I do this without causing a doubling up on polling? Can this be done by setting up only passive monitoring (read/write of the DB) and no freshness checks? Does anyone have an example where they have already done this? Tim Peiffer University of Minnesota ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Apr 7 14:15:13 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 7 Apr 2004 08:15:13 -0400 Subject: REPOST: Problem with Apan Graphs Message-ID: <5593DA408212D511B0910002A513501F06559296@phsexch20.mgh.harvard.edu> This is a repost of a problem that has been going on for several days. I have installed Nagios 1.2 with the 1.3.1 plug-in's on a Red Hat 8.0 machine. I am now trying to configure Apan-sql 3.0 to work on the system. To that end I have installed bc 1.06 and MySQL 4.0.18-standard and then installed the Apan program. I have configured the program according to the instructions and also set up a service to check the load on a Windows 2000 machine. The appropriate files have been modified and I used the apanconf-sql utility to set up the service and everything appeared to go smoothly. The problem that I am facing is when I click on the link to show the graphs, they do not appear. Basically small red "x"'s appear where the graphs should be which may indicate a problem with the link. I checked /tmp/apancgi.debug and apan.debug logs and there was nothing in either that would indicate a problem. I then changed the debug level to five and did an "immediate check" of the services on the host. There were no additional entries in either of the apan log files. The next step was to verify that the rrd directory was owned by the nagios user and group. I then made sure I could log into the nagios database successfully, which I was. The rrd file that was created in the /usr/local/nagios/rrd directory was getting updated on a regular basis. I ran the apan-sql and genereate-sql cgi files manually as the root and nagios user. Both accounts generated the following error message: ERROR 1064 at line 1: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' ' at line 1 The version of MySQL that I am using is Ver 12.22 Distrib 4.0.18. This is the rpm version downloaded from the web. I checked the ownership and permissions of the cgi files and they are owned by the nagios user and group, with the permissions on both files are rwxrwxr-x. The same was also done for the /usr/local/nagios/rrd/.rrd file, with the result being the user and group ownership being nagios, and the the permissions being the following: rw-r--r--. I tried the Konqueror, Firefox, Mozilla, and Internet Explorer web browsers to see if that made a difference. It did not, they all show the same problem. At this point I am at a loss as to why the graphs are not appearing, and could really use some help in correcting this. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Apr 7 14:54:36 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Apr 2004 07:54:36 -0500 Subject: trends.cgi not installed. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B614A@mismail2.ena.com> You need to install or point nagios to the location of the gd libraries. Once you've done that you will need to reconfigure and recompile. The details are documented in the FAQ. -- Marc ________________________________ From: Rabbie Zalaf [mailto:ZalafR at Leadingedgegroup.com.au] Sent: Tuesday, April 06, 2004 7:37 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] trends.cgi not installed. hi guy's, I Just installed nagios on another box and then installed nagios plugins: nagios-1.2 nagios-plugins-1.3.1 And when i look in /usr/local/nagios/sbin/ there is no trends.cgi The only files i have there are: avail.cgi config.cgi history.cgi outages.cgi status.cgi statuswrl.cgi tac.cgi cmd.cgi extinfo.cgi notifications.cgi showlog.cgi statuswml.cgi summary.cgi Does anyone know why this would happen or how i can get the remaining cgi files? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 15:02:15 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Apr 2004 08:02:15 -0500 Subject: Nagios Install without gd Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B614B@mismail2.ena.com> Naman Latif wrote: > Hi, > I am installing Nagios on a distributed server. Is it possible to > install it without using the gd-Libs ? > Its giving an error during "make all" and since it is a distributed > server, so I won't be needing gd functionality. > > I tried --without-gd, --without-gd-lib in the ./configure script, > but it still tries to use gd. Yes, it's possible and easy. There's actually nothing special that you need to do at all. If nagios does not find the GD libraries during configure it simply doesn't compile the trends, statusmap and histogram cgi's that depend on it. Everything else will compile and install just fine. What is the error that you are seeing? Maybe passing the '--disable-statusmap' directive to configure might help. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peiffer at umn.edu Wed Apr 7 15:04:44 2004 From: peiffer at umn.edu (Tim Peiffer) Date: Wed, 07 Apr 2004 08:04:44 -0500 Subject: Mulitple status map views? Message-ID: <4073FC6C.4070606@umn.edu> I would like to create status maps based upon region of infrastructure. I would like to not see any greyed out parts of the infrastructure as displaying those parts takes up a large chunk of the resulting image. In my mind, I need to have multiple copies of nagios, with a different config for each region. Can I do this without causing a doubling up on polling? Can this be done by setting up only passive monitoring (read/write of the DB) and no freshness checks? Does anyone have an example where they have already done this? Tim Peiffer University of Minnesota ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 7 15:05:01 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 7 Apr 2004 09:05:01 -0400 (EDT) Subject: Powerware UPS In-Reply-To: <4073CD3C.4070207@exponential-e.com> References: <4073CD3C.4070207@exponential-e.com> Message-ID: No such plugin exists. Powerware uses a proprietary serial protocol that the folks at Network UPS Tools have not been able to integrate. However, Powerware's LanSafe Monitoring application does provide a SNMP sub-agent on Windows that can supports the standard UPS-MIB. (automatically installed if you already have SNMP running) This assumes you are running the windows box as the LanSafe Controller. Only one UPS per windows snmp agent. Alternately - if you have the Web/SNMP card - that supports the standard UPS-MIB as well. -sg On Wed, 7 Apr 2004, Jim Mozley wrote: > Spencer L Horn wrote: > > > Does anyone know off the top of there head of a decent plugin to monitor > > Powerware ups's? > > Did you check the archives? > Did you check the contrib plugins? There is one there for apc ups that > could possibly be modified. > Did you consider snmp; either traps or polling? > > Jim Mozley > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Wed Apr 7 15:33:43 2004 From: ric at nkn.net (Ric Moseley) Date: Wed, 7 Apr 2004 08:33:43 -0500 Subject: database support? In-Reply-To: <4073EDA6.8030002@umn.edu> References: <4073EDA6.8030002@umn.edu> Message-ID: Is anyone using database support out there? I am contemplating running a centralized database and have all of my servers report to it (15 servers) and I was wondering if there are any drawbacks to it. I have 15 servers with about 750 hosts on each and I want to make it easier to display web status. Right now we are just using flat files and parsing them to display the status of host/services. Or does anyone have any other grand ideas? Thanks. Ric. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Apr 7 15:32:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Apr 2004 15:32:55 +0200 Subject: REPOST: Problem with Apan Graphs In-Reply-To: <5593DA408212D511B0910002A513501F06559296@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559296@phsexch20.mgh.harvard.edu> Message-ID: <40740307.50504@op5.se> I don't know the exact answer, but I can make some educated guesses. See below. Kaplan, Andrew H. wrote: > The problem that I am facing is when I click on the link to show the graphs, > they do not appear. Basically small red "x"'s appear where the graphs should be > which > may indicate a problem with the link. If you're using IE it means the image pointed to doesn't exist. Any other browser would show the 'broken-image' icon. If other browsers also display the red 'x', apan links to a default image if the 'real' one can't be found, or if it can't generate the image properly. > I ran the > apan-sql and genereate-sql cgi files manually as the root and nagios user. Both > accounts > generated the following error message: > > ERROR 1064 at line 1: You have an error in your SQL syntax. Check the manual > that corresponds to your MySQL server version > for the right syntax to use near ' ' at line 1 > Which means apan apparently contains an SQL error, or that it requires something that your version of MySQL has been configured to not include. > The version of MySQL that I am using is Ver 12.22 Distrib 4.0.18. I assume you mean ver 4.0.18 and Distrib 12.22. > > At this point I am at a loss as to why the graphs are not appearing, and could > really > use some help in correcting this. > Check the SQL syntax in the apan source and try to run what it runs manually. It's also quite possible that something in the output is disrupting the sql syntax, so that it needs to be escaped before the db engine can handle it properly. That often leads to problems like this. On a sidenote; Posting the question over and over isn't going to get you anywhere. If anybody can and want to answer it, they will most likely do so the first time. If they don't (either), then tough luck. -- Mvh / Best Regards Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdoyle at lewisgaleclinic.com Wed Apr 7 15:56:20 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 7 Apr 2004 09:56:20 -0400 Subject: New feature or how to do this? Message-ID: You can put comments on hosts/services any time you want. You could refer to the outage in the comment. What I wanted was the ability to make comments that don't pertain to a specific host/service. ----- John N. Doyle, Network+ Certified Professional Systems Operations Specialist Lewis-Gale Clinic Information Systems 540.772.3669 >PGP Key Available: http://68.106.83.67:8082/pgp.txt -----Original Message----- From: Xavier [mailto:xavier at rootshell.be] Sent: Wednesday, April 07, 2004 4:24 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] New feature or how to do this? Hi, I would like to implement the following feature on a Nagios platform: There existx a 'scheduled outage' feature for services and/or hosts. We can give a specific comment such "kernel upgrade", "new cabling", ... But, I would like to use a feature to acknowledge or comment all unscheduled outages. (for later statistics and/or reporting) Ex: host 'xxx' down: Comment: "kernel panic, upgraded to 2.4.xx" Any suggestion? Xavier -- ESC:wq ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From novickj at toysrus.com Wed Apr 7 14:28:31 2004 From: novickj at toysrus.com (Novick, Jeff) Date: Wed, 7 Apr 2004 08:28:31 -0400 Subject: check_swap reports negative numbers with 2.6 kernel, ok with 2.4 Message-ID: <7CB57EABD6C23342AA8282DA820698990A8FD456@msg01psp.tru.com> Hi, With the 2.6.5 kernel, check_swap reports: entweb:/usr/local/nagios/libexec# ./check_swap -w 15% -c 30% CRITICAL - Swap used: -2147483648% (0 out of 0) If I reboot the server with 2.4.25, it reports: entweb:/usr/local/nagios/libexec# ./check_swap -w 15% -c 30% Swap ok - Swap used: 0% (0 out of 1011699712) entweb:/usr/local/nagios/libexec# ./check_swap -V check_swap (nagios-plugins 1.3.1) 1.9 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. Running nagios-plugins-1.3.1 on Slackware 9.1 with all updates. Any ideas? Thank you, Jeff ======================================================================== This email message is for the sole use of the intended recipient (s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To reply to our email administrator directly, send an email to EmailAdmin at toysrus.com. Toys "R" Us, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Apr 7 16:17:08 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 7 Apr 2004 10:17:08 -0400 (EDT) Subject: RFC L2 (switch) topology. Mainly off-topic. In-Reply-To: <20040305171709.B63776@IPAustralia.Gov.AU> References: <20040305171709.B63776@IPAustralia.Gov.AU> Message-ID: Hi Stanley I'm interested... -sg On Fri, 5 Mar 2004, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > > > I am writing to ask if there is any interest in using layer two > topological information with Nagios. > > Potential uses include (that I will not probably not contribute to) > > . custom status maps that show the bridge/switch layout with respect to > the spanning tree, which in many cases is the inter switch path viewed > from the point of the root bridge. > > This is perhaps less useful than it may seem because the status map > would ideally show the relationship of the hosts to the switches and > while this is doable, it is slow with more than a small number of > switches (say less than 10). > > . custom checks that analyse the spanning tree (and whine if the > favourite/most powerful/least powerful/XP in bridge mode/some stray > wireless node bridge is not or is the root bridge. > > What you would get ? > > 1 Net::SNMP (an absolute joy of a Perl module) pollers that ascertain > > - bridge MAC addresses (for relating to name and or IP) > - descendant bridges > - the switch 'designated bridge' > - nodes in a netblock that are switches (ie respond to the > dot1dBaseType with a value of 'transparent') > > 2 A Perl CGI that displays them (primitively) in a tree form with the > root at the top > > This is the only application I have at the moment, although in > principle, generating a dot map and having graphviz generate a .png for > a better looking web display 'shouldn't be too hard' (TM). > > Switch topology. > > SCBR21-C5K-2 > DBR21-C5K-1 > DNGR21-C29-10 > DNGR22-C28-11 > DN1R21-C29-20 > DN1R22-C28-21 > DN1R23-C28-22 > DN1R24-C28-23 > DNR21-C29-30 > DN2R23-C28-32 > DN2R24-C28-33 > DN2R22-C28-31 > DN3R21-C29-40 > DN3R22-C28-41 > DN3R23-C28-42 > DN3R24-C29-43 > DN4R21-C29-50 > DN4R22-C28-51 > DN4R23-C28-52 > .. snip .. > > SC1R41-C29-65 > SC1R42-C28-66 > SC1R43-C28-67 > SC1R44-C28-68 > SC1R45-C28-69 > SC1R46-C29-162 > > What about the bad bits ? > > 1 The pollers don't reliably discover switches since > > 1.1 agents don't respond if they have better things to do > > 1.2 the switch discovery wants to be fast; I haven't bothered to retry > the requests; maybe I should. > > 2 The code is not suitable for publication ie supportable or without > known showstoppers (how can you have showstoppers in 300 lines of Perl ? > well, I can). > > In fact, there may even be conceptual flaws also. > > 3 It almost certainly doesn't scale. > > At the moment the switch discovery and polling of ~ 80 switches in a /24 > takes less than 5 seconds - without connectivy or utilisation problems. > > wins> /home/anwsmh/perl5/dotime 5 ./update_switch_topology > Running ./update_switch_topology 5 times > 1 2 3 4 5 done > Avg 1 2 3 4 5 > ------ ------ ------ ------ ------ ------ > real 3.730 3.52 4.17 3.69 3.51 3.76 > user 1.120 1.19 1.18 1.08 1.08 1.07 > sys 0.062 0.07 0.07 0.07 0.04 0.06 > wins> > > > Please would you let me know if there is any interest or that > > - this is stupid; L2 sucks (sure does) > > - we already use big name product foo to do this and foo is great > > - why would you want to do this > > - we need it done for big_number k switches across n netblocks > > - does it work for Cisco rapid spanning tree (probably not). > > > > > Yours sincerely. > > -- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 7 16:24:46 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 7 Apr 2004 10:24:46 -0400 (EDT) Subject: SNMP on AIX 4.x In-Reply-To: References: Message-ID: On Thu, 1 Apr 2004, Martinez Gonzalez, Francisco wrote: > > Hello all, > > I want to check the state of memory, cpu, filesystems and network via SNMP > of an AIX 4.x, but the MIB only contains the OID's for the network > (according to have I seen). Anybody knows how I can check three others > parameters? > Have you tried running the net-snmp.sourceforge.net snmp agent instead of the AIX shipped agent? -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 7 16:26:32 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 7 Apr 2004 10:26:32 -0400 (EDT) Subject: New feature or how to do this? In-Reply-To: References: Message-ID: On Wed, 7 Apr 2004, Jack Doyle wrote: > You can put comments on hosts/services any time you want. You could > refer to the outage in the comment. > > What I wanted was the ability to make comments that don't pertain to a > specific host/service. wouldn't that be more of trouble ticket system domain than a monitoring app. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardo.moura at telway.com.br Wed Apr 7 16:24:10 2004 From: eduardo.moura at telway.com.br (Eduardo Moura) Date: Wed, 7 Apr 2004 11:24:10 -0300 Subject: The check traffic plugin seem no execute Message-ID: <4F1A91B978EE87478F2447A768883685F4AE@cbemi-web.cbemi> Hi, I am having a weird behavior using check_traffic plugin in nagios. If the plugin run from command line, it returns information correctly, howewer when nagios execute him the return is (no output!). I really need a help in this stuff. Best Regards Eduardo From jhmartin at toger.us Wed Apr 7 17:02:44 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 7 Apr 2004 08:02:44 -0700 (PDT) Subject: database support? In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I believe Nagios doesn't support pointing multiple instances to the same database, they will wipe out each other's data. However you could have them all point to the same database _server_ ( different schemas) and write a script based on that. - -Jason Martin On Wed, 7 Apr 2004, Ric Moseley wrote: > Is anyone using database support out there? I am contemplating running a > centralized database and have all of my servers report to it (15 servers) > and I was wondering if there are any drawbacks to it. I have 15 servers with > about 750 hosts on each and I want to make it easier to display web status. > Right now we are just using flat files and parsing them to display the > status of host/services. > > Or does anyone have any other grand ideas? > > Thanks. > > Ric. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.5 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAdBgYl2ODWuqVSBMRAl5XAJ96JXbsJw9qr786T8d23K5E0oJpRwCffFuQ w5mNbIoPshvW6WbyZUNtY4Q= =89kA -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kollasch.drew at bvrmc.org Wed Apr 7 17:17:23 2004 From: kollasch.drew at bvrmc.org (kollasch.drew at bvrmc.org) Date: Wed, 7 Apr 2004 10:17:23 -0500 Subject: RFC L2 (switch) topology. Mainly off-topic. Message-ID: <449BF12D5B5ED711A13500B0D0F9CFEB78DFB2@NTEXCH01> I would be incredibly interested as well. ------------------------------------------------------- Drew Kollasch Network/Desktop Technician Buena Vista Regional Medical Center kollasch.drew at bvrmc.org 712-732-4455x2153 -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, April 07, 2004 9:17 AM To: Stanley Hopcroft Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RFC L2 (switch) topology. Mainly off-topic. Hi Stanley I'm interested... -sg On Fri, 5 Mar 2004, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > > > I am writing to ask if there is any interest in using layer two > topological information with Nagios. > > Potential uses include (that I will not probably not contribute to) > > . custom status maps that show the bridge/switch layout with respect > to > the spanning tree, which in many cases is the inter switch path viewed > from the point of the root bridge. > > This is perhaps less useful than it may seem because the status map > would ideally show the relationship of the hosts to the switches and > while this is doable, it is slow with more than a small number of > switches (say less than 10). > > . custom checks that analyse the spanning tree (and whine if the > favourite/most powerful/least powerful/XP in bridge mode/some stray > wireless node bridge is not or is the root bridge. > > What you would get ? > > 1 Net::SNMP (an absolute joy of a Perl module) pollers that ascertain > > - bridge MAC addresses (for relating to name and or IP) > - descendant bridges > - the switch 'designated bridge' > - nodes in a netblock that are switches (ie respond to the > dot1dBaseType with a value of 'transparent') > > 2 A Perl CGI that displays them (primitively) in a tree form with the > root at the top > > This is the only application I have at the moment, although in > principle, generating a dot map and having graphviz generate a .png for > a better looking web display 'shouldn't be too hard' (TM). > > Switch topology. > > SCBR21-C5K-2 > DBR21-C5K-1 > DNGR21-C29-10 > DNGR22-C28-11 > DN1R21-C29-20 > DN1R22-C28-21 > DN1R23-C28-22 > DN1R24-C28-23 > DNR21-C29-30 > DN2R23-C28-32 > DN2R24-C28-33 > DN2R22-C28-31 > DN3R21-C29-40 > DN3R22-C28-41 > DN3R23-C28-42 > DN3R24-C29-43 > DN4R21-C29-50 > DN4R22-C28-51 > DN4R23-C28-52 > .. snip .. > > SC1R41-C29-65 > SC1R42-C28-66 > SC1R43-C28-67 > SC1R44-C28-68 > SC1R45-C28-69 > SC1R46-C29-162 > > What about the bad bits ? > > 1 The pollers don't reliably discover switches since > > 1.1 agents don't respond if they have better things to do > > 1.2 the switch discovery wants to be fast; I haven't bothered to retry > the requests; maybe I should. > > 2 The code is not suitable for publication ie supportable or without > known showstoppers (how can you have showstoppers in 300 lines of Perl ? > well, I can). > > In fact, there may even be conceptual flaws also. > > 3 It almost certainly doesn't scale. > > At the moment the switch discovery and polling of ~ 80 switches in a > /24 > takes less than 5 seconds - without connectivy or utilisation problems. > > wins> /home/anwsmh/perl5/dotime 5 ./update_switch_topology > Running ./update_switch_topology 5 times > 1 2 3 4 5 done > Avg 1 2 3 4 5 > ------ ------ ------ ------ ------ ------ > real 3.730 3.52 4.17 3.69 3.51 3.76 > user 1.120 1.19 1.18 1.08 1.08 1.07 > sys 0.062 0.07 0.07 0.07 0.04 0.06 > wins> > > > Please would you let me know if there is any interest or that > > - this is stupid; L2 sucks (sure does) > > - we already use big name product foo to do this and foo is great > > - why would you want to do this > > - we need it done for big_number k switches across n netblocks > > - does it work for Cisco rapid spanning tree (probably not). > > > > > Yours sincerely. > > -- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************************************** This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain 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 the document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message. ********************************************* ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kollasch.drew at bvrmc.org Wed Apr 7 17:24:55 2004 From: kollasch.drew at bvrmc.org (kollasch.drew at bvrmc.org) Date: Wed, 7 Apr 2004 10:24:55 -0500 Subject: Mysql report problems Message-ID: <449BF12D5B5ED711A13500B0D0F9CFEB78DFB3@NTEXCH01> I have had nagios up and running for a few days without any major issues. (that I haven't been able to fix myself) Reports have been working, until today I went to run a availability report for a host, and it said that it was 100%. Granted I would love to believe that it was 100%, BUT I know for a fact that it is not. I ran some other availability and trend reports, and they basically have no data in them. I was wondering if anyone has some checks or something that I could do. I consulted the docs, but I didn't find anything in there that would help out. Anyone that can give me any pointers would be greatly appreciated. ------------------------------------------------------- Drew Kollasch Network/Desktop Technician Buena Vista Regional Medical Center kollasch.drew at bvrmc.org 712-732-4455x2153 ******************************************** This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain 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 the document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message. ********************************************* ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pagerc at ufl.edu Wed Apr 7 18:07:03 2004 From: pagerc at ufl.edu (Raymond Page) Date: Wed, 7 Apr 2004 12:07:03 -0400 (EDT) Subject: SNMP on AIX 4.x Message-ID: <1746548153.1081354023336.JavaMail.osg@spnode15> Hey everyone, I've been trying to get net-snmp to run on AIX 4.3 and have had a hell of a time with it. With some ucdavis mib addons included in the latest version of net-snmp, it should allow for memory, cpu, fs, and network checks via snmp. There's several dependency problems however with installing net-snmp on AIX 4.3 and my coworker and I have yet to work out all of the dependency issues, so be forewarned in regards to installing net-snmp on AIX 4.X. Quick note in regards to fs checks. I'm not sure if the nagios check provides a way to check a table, but it is easiest to accurately monitor filesystems in error in the tree by walking the error string table, and if there's a string in any slot of the table, grab that, and any others, and return those as filesystems in error. On Wed Apr 07 10:24:46 EDT 2004, Subhendu Ghosh wrote: > On Thu, 1 Apr 2004, Martinez Gonzalez, Francisco wrote: > >> >> Hello all, >> >> I want to check the state of memory, cpu, filesystems and >> network via SNMP >> of an AIX 4.x, but the MIB only contains the OID's for the >> network >> (according to have I seen). Anybody knows how I can check three >> others >> parameters? >> > > Have you tried running the net-snmp.sourceforge.net snmp agent > instead of the AIX shipped agent? > > -- -sg > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and > CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. ::: Messages without supporting info > will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julie.catellier at vanderbilt.edu Wed Apr 7 18:12:14 2004 From: julie.catellier at vanderbilt.edu (Julie Catellier) Date: Wed, 07 Apr 2004 11:12:14 -0500 Subject: hosts.cfg and ping question Message-ID: <515591843.1081336334@A194064.N1.Vanderbilt.Edu> When I first set up Nagios, I was able to set the check_command to check-host-alive and everything worked well. Now, the initial hosts that I set up in hosts.cfg automatically ping for the host without any entry in the 'check-command' and I am not able to check-host-alive in any new host entries. Is there any entry that overrides the hosts.cfg configuration? Below is an example. The imap1 entry does not check-host-alive. The smtp3 entry automatically pings the host. I also double checked that check-host-alive does work for these hosts from the command line. Any Ideas? # 'smtp3' host definition define host{ use its-host ; Name of host template to use host_name smtp3.x.x.x alias VUmail: Mail Transport server address xx.xx.xx.xx } # 'imap1' host definition define host{ use its-host ; Name of host template to use host_name imap1.x.x.x alias VUmail: Personal mailbox server address xx.xx.xx.xx check_command check-host-alive notification_interval 120 notification_period 24x7 max_check_attempts 10 } --------------------------------------- Julie Catellier Vanderbilt University Information Technology Services Email: julie.catellier at Vanderbilt.Edu ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kollasch.drew at bvrmc.org Wed Apr 7 18:27:01 2004 From: kollasch.drew at bvrmc.org (kollasch.drew at bvrmc.org) Date: Wed, 7 Apr 2004 11:27:01 -0500 Subject: Mysql report problems Message-ID: <449BF12D5B5ED711A13500B0D0F9CFEB78DFBA@NTEXCH01> I would have to say no. There was downtime and such for this host that I am looking for. Now it is simply not there. I know that it had up and down time before, but I do not know what happened to make it stop working correctly. ------------------------------------------------------- Drew Kollasch Network/Desktop Technician Buena Vista Regional Medical Center kollasch.drew at bvrmc.org 712-732-4455x2153 -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Wednesday, April 07, 2004 11:26 AM To: Drew Kollasch Cc: nagios-users Subject: Re: [Nagios-users] Mysql report problems If I'm not mistake, Soft State problems don't count. So if you're fast with your downtime, you won't see anything. Might that be the issue? On Wed, 2004-04-07 at 10:24, kollasch.drew at bvrmc.org wrote: > I have had nagios up and running for a few days without any major > issues. (that I haven't been able to fix myself) Reports have been > working, until today I went to run a availability report for a host, > and it said that it was 100%. Granted I would love to believe that it > was 100%, BUT I know for a fact that it is not. I ran some other > availability and trend reports, and they basically have no data in > them. I was wondering if anyone has some checks or something that I > could do. I consulted the docs, but I didn't find anything in there > that would help out. Anyone that can give me any pointers would be > greatly appreciated. > > ------------------------------------------------------- > Drew Kollasch > Network/Desktop Technician > Buena Vista Regional Medical Center > kollasch.drew at bvrmc.org > 712-732-4455x2153 > > > ******************************************** > This message and accompanying documents are covered by the Electronic > Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain > 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 the document in error and > that any review, dissemination, copying, or the taking of any action > based on the contents of this is strictly prohibited. If you have > received this communication in error, please notify us immediately by email, and delete the original message. > ********************************************* > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ******************************************** This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain 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 the document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message. ********************************************* ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Wed Apr 7 18:26:00 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 07 Apr 2004 11:26:00 -0500 Subject: Mysql report problems In-Reply-To: <449BF12D5B5ED711A13500B0D0F9CFEB78DFB3@NTEXCH01> References: <449BF12D5B5ED711A13500B0D0F9CFEB78DFB3@NTEXCH01> Message-ID: <1081355160.27180.428.camel@localhost> If I'm not mistake, Soft State problems don't count. So if you're fast with your downtime, you won't see anything. Might that be the issue? On Wed, 2004-04-07 at 10:24, kollasch.drew at bvrmc.org wrote: > I have had nagios up and running for a few days without any major issues. > (that I haven't been able to fix myself) > Reports have been working, until today I went to run a availability report > for a host, and it said that it was 100%. > Granted I would love to believe that it was 100%, BUT I know for a fact that > it is not. I ran some other availability and trend reports, and they > basically have no data in them. I was wondering if anyone has some checks or > something that I could do. I consulted the docs, but I didn't find anything > in there that would help out. > Anyone that can give me any pointers would be greatly appreciated. > > ------------------------------------------------------- > Drew Kollasch > Network/Desktop Technician > Buena Vista Regional Medical Center > kollasch.drew at bvrmc.org > 712-732-4455x2153 > > > ******************************************** > This message and accompanying documents are covered by the Electronic > Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain 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 the document in error and that any review, dissemination, > copying, or the taking of any action based on the contents of this is > strictly prohibited. If you have received this communication in error, > please notify us immediately by email, and delete the original message. > ********************************************* > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From naman.latif at inamed.com Wed Apr 7 18:34:52 2004 From: naman.latif at inamed.com (Naman Latif) Date: Wed, 7 Apr 2004 09:34:52 -0700 Subject: Nagios Install without gd Message-ID: <83B3FCAD284096489C9967C54B33B6B302AD5170@sigma.inamed.com> It finds the gd lib during ./configure as ++++++++++++++++++++++++ checking for gdImagePng in -lgd (order 1)... yes GD library was found! ++++++++++++++++++++++++ And comes up with error during "make all" as ++++++++++++++++++ In file included from trends.c:37: /usr/local/include/gd.h:21:19: gd_io.h: No such file or directory In file included from trends.c:37: /usr/local/include/gd.h:93: parse error before "in" /usr/local/include/gd.h:108: parse error before "in" /usr/local/include/gd.h:111: parse error before "in" /usr/local/include/gd.h:114: parse error before "in" /usr/local/include/gd.h:158: parse error before "gdIOCtx" /usr/local/include/gd.h:161: parse error before "gdIOCtx" /usr/local/include/gd.h:164: parse error before '*' token /usr/local/include/gd.h:168: parse error before "gdIOCtx" /usr/local/include/gd.h:171: parse error before '*' token /usr/local/include/gd.h:220: parse error before '*' token /usr/local/include/gd.h:221: parse error before '*' token /usr/local/include/gd.h:222: parse error before '*' token trends.c:38:71: gdfonts.h: No such file or directory trends.c: In function `main': trends.c:686: `gdFontSmall' undeclared (first use in this function) trends.c:686: (Each undeclared identifier is reported only once trends.c:686: for each function it appears in.) trends.c: In function `draw_timestamp': trends.c:2589: `gdFontSmall' undeclared (first use in this function) trends.c: In function `draw_time_breakdowns': trends.c:2630: `gdFontSmall' undeclared (first use in this function) make[1]: *** [trends.cgi] Error 1 make[1]: Leaving directory `/export/spare/un-install-sw/nagios-1.2/cgi' make: *** [all] Error 2 ++++++++++++++++++ Since I won't be using this anyways, so didn't want to spend any time on trouble-shooting this and was wondering, if I can just disable it. "--disable-statusmap" still produces the same result. Regards \\ Naman -----Original Message----- From: Marc Powell [mailto:marc at ena.com] > I tried --without-gd, --without-gd-lib in the ./configure script, > but it still tries to use gd. Yes, it's possible and easy. There's actually nothing special that you need to do at all. If nagios does not find the GD libraries during configure it simply doesn't compile the trends, statusmap and histogram cgi's that depend on it. Everything else will compile and install just fine. What is the error that you are seeing? Maybe passing the '--disable-statusmap' directive to configure might help. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kollasch.drew at bvrmc.org Wed Apr 7 18:41:29 2004 From: kollasch.drew at bvrmc.org (kollasch.drew at bvrmc.org) Date: Wed, 7 Apr 2004 11:41:29 -0500 Subject: hosts.cfg and ping question Message-ID: <449BF12D5B5ED711A13500B0D0F9CFEB78DFBC@NTEXCH01> Sorry, but that is way off base. Basically how I figured out the reports weren't right, is that we have a server that reboot at 2AM everyday and takes approx 45 minutes to come back up. Rather than have to come in and watch it, I was using the report to see how long it was actually down for. This was all fine and dandy for a cpl days. After I had gotten some other things to work (nagios process monitoring, authentication, and added lots of additional hosts, services etc) the reporting no longer works. I will post this back to the list as well, so that I don't have to repeat myself. As far as downtime goes, by scheduling it, I am still not sure if that counts on the reports as downtime, but that is not an issue in the least right now. ------------------------------------------------------- Drew Kollasch Network/Desktop Technician Buena Vista Regional Medical Center kollasch.drew at bvrmc.org 712-732-4455x2153 -----Original Message----- From: Julie Catellier [mailto:julie.catellier at vanderbilt.edu] Sent: Wednesday, April 07, 2004 11:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hosts.cfg and ping question When I first set up Nagios, I was able to set the check_command to check-host-alive and everything worked well. Now, the initial hosts that I set up in hosts.cfg automatically ping for the host without any entry in the 'check-command' and I am not able to check-host-alive in any new host entries. Is there any entry that overrides the hosts.cfg configuration? Below is an example. The imap1 entry does not check-host-alive. The smtp3 entry automatically pings the host. I also double checked that check-host-alive does work for these hosts from the command line. Any Ideas? # 'smtp3' host definition define host{ use its-host ; Name of host template to use host_name smtp3.x.x.x alias VUmail: Mail Transport server address xx.xx.xx.xx } # 'imap1' host definition define host{ use its-host ; Name of host template to use host_name imap1.x.x.x alias VUmail: Personal mailbox server address xx.xx.xx.xx check_command check-host-alive notification_interval 120 notification_period 24x7 max_check_attempts 10 } --------------------------------------- Julie Catellier Vanderbilt University Information Technology Services Email: julie.catellier at Vanderbilt.Edu ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************************************** This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain 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 the document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message. ********************************************* ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kollasch.drew at bvrmc.org Wed Apr 7 19:05:58 2004 From: kollasch.drew at bvrmc.org (kollasch.drew at bvrmc.org) Date: Wed, 7 Apr 2004 12:05:58 -0500 Subject: Mysql report problems Message-ID: <449BF12D5B5ED711A13500B0D0F9CFEB78DFBE@NTEXCH01> Very sorry all....I accidentally replied to the wrong subject before. I have corrected it. ------------------------------------------------------- Drew Kollasch Network/Desktop Technician Buena Vista Regional Medical Center kollasch.drew at bvrmc.org 712-732-4455x2153 -----Original Message----- From: Drew Kollasch Sent: Wednesday, April 07, 2004 11:41 AM To: julie.catellier at vanderbilt.edu; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hosts.cfg and ping question Sorry, but that is way off base. Basically how I figured out the reports weren't right, is that we have a server that reboot at 2AM everyday and takes approx 45 minutes to come back up. Rather than have to come in and watch it, I was using the report to see how long it was actually down for. This was all fine and dandy for a cpl days. After I had gotten some other things to work (nagios process monitoring, authentication, and added lots of additional hosts, services etc) the reporting no longer works. I will post this back to the list as well, so that I don't have to repeat myself. As far as downtime goes, by scheduling it, I am still not sure if that counts on the reports as downtime, but that is not an issue in the least right now. ------------------------------------------------------- Drew Kollasch Network/Desktop Technician Buena Vista Regional Medical Center kollasch.drew at bvrmc.org 712-732-4455x2153 -----Original Message----- From: Julie Catellier [mailto:julie.catellier at vanderbilt.edu] Sent: Wednesday, April 07, 2004 11:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hosts.cfg and ping question When I first set up Nagios, I was able to set the check_command to check-host-alive and everything worked well. Now, the initial hosts that I set up in hosts.cfg automatically ping for the host without any entry in the 'check-command' and I am not able to check-host-alive in any new host entries. Is there any entry that overrides the hosts.cfg configuration? Below is an example. The imap1 entry does not check-host-alive. The smtp3 entry automatically pings the host. I also double checked that check-host-alive does work for these hosts from the command line. Any Ideas? # 'smtp3' host definition define host{ use its-host ; Name of host template to use host_name smtp3.x.x.x alias VUmail: Mail Transport server address xx.xx.xx.xx } # 'imap1' host definition define host{ use its-host ; Name of host template to use host_name imap1.x.x.x alias VUmail: Personal mailbox server address xx.xx.xx.xx check_command check-host-alive notification_interval 120 notification_period 24x7 max_check_attempts 10 } --------------------------------------- Julie Catellier Vanderbilt University Information Technology Services Email: julie.catellier at Vanderbilt.Edu ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************************************** This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain 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 the document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message. ********************************************* ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************************************** This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain 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 the document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message. ********************************************* ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel at unity.ncsu.edu Wed Apr 7 19:18:12 2004 From: daniel at unity.ncsu.edu (Daniel Henninger) Date: Wed, 7 Apr 2004 13:18:12 -0400 (EDT) Subject: Empty status.sav? Message-ID: Hi folk, I've been trying everything I can to figure out what is going on with my Nagios servers. They are running under Redhat 9 and are running 1.2. They are set up to be redundant via linux heartbeat, so if one goes down, the other takes over and starts up checks. The "inactive" nagios server receives updates via nsca.. basically it's set up similar to the way the Nagios docs suggest. Anyway, periodically, the master Nagios server will go "nuts". It will stop keeping up with service check results. I can watch the processes successfully running and completing, but the data never seems to get stored anywhere. Likewise, I just noticed that status.sav is empty. Just about everything Nagios uses, data-wise, is inside MySQL, local to the machine, and running MySQL 4.0.17 at present. Stopping and starting Nagios fixes the problem temporarily, until it creeps up again later. I posted a little about this in the past but didn't get anywhere with it as it also periodically (and temporarily) repairs itself. I've had multiple people look at it, looked at it quite a bit myself, and have gotten absolutely nowhere. Part of my question here is, is status.sav supposed to be empty? Honestly, I'm not convinced that there's not something wrong with MySQL. As far as I can tell, Nagios is trucking along happily, it's even logging all of it's results to nagios.log, it's just not getting "in" to MySQL. Any ideas? Daniel -- /\\\----------------------------------------------------------------------///\ \ \\\ Daniel Henninger http://www.vorpalcloud.org/ /// / \_\\\ North Carolina State University - Systems Programmer ///_/ \\\ Information Technology /// """--------------------------------------------------------------""" ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglisten at alexander-bruns.de Wed Apr 7 20:09:55 2004 From: mailinglisten at alexander-bruns.de (Alexander Bruns) Date: Wed, 07 Apr 2004 20:09:55 +0200 Subject: Sheduling downtime not allowed Message-ID: <14060000.1081361395@[192.168.11.86]> Hi, I want to shedule the downtime within the browser mozilla on the nagioshomepage of our nagios-box When I fill out the form and click on submit I get the following error-message: 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 I think I folowed the documentetion on these pages but it does not work: - http://nagios.sourceforge.net/docs/1_0/commandfile.html - http://nagios.sourceforge.net/docs/1_0/configcgi.html - http://nagios.sourceforge.net/docs/1_0/cgiauth.html I did the following: nagios runs as user "nagios" and group "nagios" webserver apache runs at user "nobody" and group "wwwadmin" rhe nagios user is member of the group wwwadmin and nagios the nobody user is member of the group wwwadmin and nagios nagios is installed at /usr/local/nagios the directory /usr/local/nagios/var/rw contains the file nagios.cmd and has the following owners: testrechner3 rw # ls -al insgesamt 8 drwxrwsr-x 2 nagios wwwadmin 4096 7. Apr 19:46 . drwxrwxr-x 4 nagios nagios 4096 7. Apr 19:53 .. prw-rw---- 1 nagios wwwadmin 0 7. Apr 19:46 nagios.cmd Authorisazion is turned on and I run the webserver with ssl to access the nagios-webtree. Is there anybody who got this work? Some addittion: my httpd.conf: ########## 8< Schnipp 8< ########## ServerAdmin admin at ourdomain ServerName nagios.ourdomain DocumentRoot /home/httpd/htdocs/nagios.ourdomain 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 FollowSymLinks Indexes AllowOverride AuthConfig Order allow,deny Allow from all ErrorLog /var/log/apache/nagios.ourdomain_ssl_error_log TransferLog /var/log/apache/nagios.ourdomain_ssl_access_log SSLEngine on SSLCertificateFile /usr/local/apache/certs/nagios/nagios.crt SSLCertificateKeyFile /usr/local/apache/certs/nagios/nagios.key ########## 8< Schnapp 8< ########## /usr/local/nagios/etc/nagios.cfg ########## 8< Schnipp 8< ########## 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=-1 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=w log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 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=0 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 state_retention_file=/usr/local/nagios/var/status.sav 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=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata 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=euro illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios ########## 8< Schnapp 8< ########## /usr/local/nagios/etc/cgi.cfg ########## 8< Schnipp 8< ########## main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path= show_context_help=1 nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' use_authentication=1 default_user_name=nagios authorized_for_system_information=nagios authorized_for_configuration_information=nagios authorized_for_system_commands=nagios authorized_for_all_services=nagios authorized_for_all_hosts=nagios authorized_for_all_service_commands=nagios authorized_for_all_host_commands=nagios default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 host_unreachable_sound=hostdown.wav host_down_sound=hostdown.wav service_critical_sound=critical.wav service_warning_sound=warning.wav service_unknown_sound=warning.wav normal_sound=noproblem.wav ########## 8< Schnapp 8< ########## ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kollasch.drew at bvrmc.org Wed Apr 7 20:50:14 2004 From: kollasch.drew at bvrmc.org (kollasch.drew at bvrmc.org) Date: Wed, 7 Apr 2004 13:50:14 -0500 Subject: Sheduling downtime not allowed Message-ID: <449BF12D5B5ED711A13500B0D0F9CFEB78DFC3@NTEXCH01> I am able to use firefox, mozilla, and IE with no issues what so ever to schedule downtime, comments etc. The biggest hurdle is/was getting authentication, external commands, process monitoring and the command file to work correctly. ------------------------------------------------------- Drew Kollasch Network/Desktop Technician Buena Vista Regional Medical Center kollasch.drew at bvrmc.org 712-732-4455x2153 -----Original Message----- From: Alexander Bruns [mailto:mailinglisten at alexander-bruns.de] Sent: Wednesday, April 07, 2004 1:10 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Sheduling downtime not allowed Hi, I want to shedule the downtime within the browser mozilla on the nagioshomepage of our nagios-box When I fill out the form and click on submit I get the following error-message: 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 I think I folowed the documentetion on these pages but it does not work: - http://nagios.sourceforge.net/docs/1_0/commandfile.html - http://nagios.sourceforge.net/docs/1_0/configcgi.html - http://nagios.sourceforge.net/docs/1_0/cgiauth.html I did the following: nagios runs as user "nagios" and group "nagios" webserver apache runs at user "nobody" and group "wwwadmin" rhe nagios user is member of the group wwwadmin and nagios the nobody user is member of the group wwwadmin and nagios nagios is installed at /usr/local/nagios the directory /usr/local/nagios/var/rw contains the file nagios.cmd and has the following owners: testrechner3 rw # ls -al insgesamt 8 drwxrwsr-x 2 nagios wwwadmin 4096 7. Apr 19:46 . drwxrwxr-x 4 nagios nagios 4096 7. Apr 19:53 .. prw-rw---- 1 nagios wwwadmin 0 7. Apr 19:46 nagios.cmd Authorisazion is turned on and I run the webserver with ssl to access the nagios-webtree. Is there anybody who got this work? Some addittion: my httpd.conf: ########## 8< Schnipp 8< ########## ServerAdmin admin at ourdomain ServerName nagios.ourdomain DocumentRoot /home/httpd/htdocs/nagios.ourdomain 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 FollowSymLinks Indexes AllowOverride AuthConfig Order allow,deny Allow from all ErrorLog /var/log/apache/nagios.ourdomain_ssl_error_log TransferLog /var/log/apache/nagios.ourdomain_ssl_access_log SSLEngine on SSLCertificateFile /usr/local/apache/certs/nagios/nagios.crt SSLCertificateKeyFile /usr/local/apache/certs/nagios/nagios.key ########## 8< Schnapp 8< ########## /usr/local/nagios/etc/nagios.cfg ########## 8< Schnipp 8< ########## 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=-1 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=w log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 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=0 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 state_retention_file=/usr/local/nagios/var/status.sav 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=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata 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=euro illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios ########## 8< Schnapp 8< ########## /usr/local/nagios/etc/cgi.cfg ########## 8< Schnipp 8< ########## main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path= show_context_help=1 nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' use_authentication=1 default_user_name=nagios authorized_for_system_information=nagios authorized_for_configuration_information=nagios authorized_for_system_commands=nagios authorized_for_all_services=nagios authorized_for_all_hosts=nagios authorized_for_all_service_commands=nagios authorized_for_all_host_commands=nagios default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=90 host_unreachable_sound=hostdown.wav host_down_sound=hostdown.wav service_critical_sound=critical.wav service_warning_sound=warning.wav service_unknown_sound=warning.wav normal_sound=noproblem.wav ########## 8< Schnapp 8< ########## ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ******************************************** This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contain 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 the document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this is strictly prohibited. If you have received this communication in error, please notify us immediately by email, and delete the original message. ********************************************* ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mls at freemail.gr Wed Apr 7 21:58:56 2004 From: mls at freemail.gr (Anastasios Zafeiropoulos) Date: Wed, 7 Apr 2004 21:58:56 +0200 Subject: Dependency problem Message-ID: <000801c41cda$c37bdf60$0245a8c0@laptop> Hello world, I'm having trouble with a Host dependency misconfiguration or why not, with a bug in Nagios' Dependency logic process and notification. I am using version nagios-1.2-0.rhfc1.dag which was a prebuilt package from Dag Apt repository site. =================================================== My Topology: =================================================== Nagios machine --- RT1 -- RT2 -- RT3 ==================================================== The problem ==================================================== When RT1 goes down, or the RT1-RT2 Link goes down, Nagios will notice that at random, while he is checkong a service or HOST_ALIVE function to any part of the network that is down. Let's assume that the first Host that Nagios found dead was RT3. Nagios didn't get any reply from RT3, so RT3 will be kept in SOFT down state. Next the RETRY proccess will take place. The max_check_attempts are 30 for each host. That's because the links are not reliable at all so we want to be a little elastic with the Notifications. At the time that we reach the Retry #30, Nagios assumes that RT3 IS DOWN, puts it in HARD DOWN state and looks to find any dependencies associated with the RT3. If you look below, RT3 is dependent upon RT2. So it will continue with try pinging RT2. While Nagios is trying to determine whether the RT2 is alive or not, suddendly, the RT1-RT2 link comes up and all the network is now reachable by Nagios. I notice here that the max_checks_attempts havent timed out. So Nagios will take a response from RT2 and it will put it in A HARD OK State. The result will be NOT to check RT3 again to see if he is up as RT2. So, a notification will be sent reporting that RT3 is down. This is FAKE. The whole network was down! Below I provide you my configuration. Maybe sth goes wrong with my conf files. Thanks in advance guys ==================================================== My dependecies.cfg file ==================================================== define hostdependency{ host_name RT2 dependent_host_name RT3 notification_failure_criteria d,u } define hostdependency{ host_name RT1 dependent_host_name RT2 notification_failure_criteria d,u } =================================================== My hosts.cfg =================================================== define host{ use generic-host host_name RT1 alias Wireless 1 address 213.5.0.34 check_command check-host-alive max_check_attempts 30 notification_interval 0 notification_period 24x7 notification_options d,u } define host{ use generic-host host_name RT2 alias tsapi.twmn address 10.107.13.1 parents RT1 check_command check-host-alive max_check_attempts 30 notification_interval 0 notification_period 24x7 notification_options d,u } define host{ use generic-host host_name RT3 alias Wireless Internet address 212.34.23.4 parents RT2 check_command check-host-alive max_check_attempts 30 notification_interval 0 notification_period 24x7 notification_options d,u } ____________________________________________________________________ http://www.freemail.gr - ?????? ???????? ???????????? ????????????. http://www.freemail.gr - free email service for the Greek-speaking. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gpoiret at altern.org Wed Apr 7 20:40:50 2004 From: gpoiret at altern.org (gpoiret at altern.org) Date: Wed, 7 Apr 2004 20:40:50 +0200 (CEST) Subject: report & avaibility Message-ID: Hi, I'm using Nagios since more than one year, it works perfectly, but now i'm in trouble. I'm trying to do the following : check during H24, but report informations only on a (more) short period. The only way to achieve this goal is I guess the using of downtime scheduled. I tested during a few time, a new service, and resultats that I obtain with avaibility report looks me so strange : objective: *********** be able to read/compute OK, WARNING, CRITICAL, UNKNOWN duration out of downtime period; Nagios downtime is only a tool to achieve my goal... context : ********* one-day test. downtime schedule : from 17:00 to 17:20 service "downed" manually : from 16:43 to 16:46 (so, out of scheduled downtime) from 17:08 to 17:24 (ie, 11'29" in the downtime periode, and 4 min out of it) result : ******** the total of "critical time" is OK ( 29' 9") nothing on "schedule critical" line... the total of "ok time" is OK ( 1h 47' 47") but the split between schedule and unschedule is a big mistery for me (unscheduled : 1h36'17 ; schedule : 11'29) the total of "critical time" during the downtime (11'29" ) is not indicate in "schedule critical", but in "schedule OK" . strange, no ? and It's not possible to compute that duration (11'29) with other element... !! my questions **************** why the "schedule critical" line is empty ? How the unscheduled/scheduled OK lines are filled ? supplemental **************** Nagios 1.1 (no change for avail.cgi is reported in the Nagios 1.2 changelog) If you need more informations, i'll be very pleased to send them to you. Regards, -- Gilles POIRET ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Apr 7 21:21:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Apr 2004 21:21:40 +0200 Subject: Sheduling downtime not allowed In-Reply-To: <449BF12D5B5ED711A13500B0D0F9CFEB78DFC3@NTEXCH01> References: <449BF12D5B5ED711A13500B0D0F9CFEB78DFC3@NTEXCH01> Message-ID: <407454C4.5070202@op5.se> > When I fill out the form and click on submit I get the following > error-message: > > 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 > This is what you get when the user you're logged in as (with apache authentication) isn't mentioned in the authorized_for_system_commands. > use_authentication=1 default_user_name=nagios These should be on separate lines for this to work, and 'nagios' shouldn't have ALL permissions, since that equals NO authentication. > authorized_for_system_information=nagios > authorized_for_configuration_information=nagios > authorized_for_system_commands=nagios > authorized_for_all_services=nagios > authorized_for_all_hosts=nagios authorized_for_all_service_commands=nagios These must also be on separate lines. > authorized_for_all_host_commands=nagios I strongly suggest you add another user and DON'T give 'default_user_name' permissions to do everything. It's a sure way to get annoyed by people doing the wrong thing. -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DavidB at etobin.com Wed Apr 7 21:29:14 2004 From: DavidB at etobin.com (David Barnett) Date: Wed, 7 Apr 2004 14:29:14 -0500 Subject: Log to Database Event Handler Message-ID: Can someone please post a command that will be an event handler that logs the date, time, host, service, state, and output to a mysql database? I have tried: /usr/bin/mysql -D --execute 'INSERT into (date,time,host,service,state,output) VALUES($DATE$,$TIME$,$HOSTNAME$, $SERVICEDESC$,$SERVICESTATE$,$OUTPUT$)' but that doesn't work and I can't find any error log. The Nagios event log says the event handler happened, but nothing gets put into the table. Thanks for any help David -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Apr 7 22:17:50 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Apr 2004 15:17:50 -0500 Subject: Log to Database Event Handler Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B614E@mismail2.ena.com> ________________________________ From: David Barnett [mailto:DavidB at etobin.com] Sent: Wednesday, April 07, 2004 2:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Log to Database Event Handler Can someone please post a command that will be an event handler that logs the date, time, host, service, state, and output to a mysql database? I have tried: /usr/bin/mysql -D --execute 'INSERT into (date,time,host,service,state,output) VALUES($DATE$,$TIME$,$HOSTNAME$, $SERVICEDESC$,$SERVICESTATE$,$OUTPUT$)' but that doesn't work and I can't find any error log. The Nagios event log says the event handler happened, but nothing gets put into the table. Thanks for any help -------------------------- How is your event handler defined exactly? Is the command command_line the above command or are you following the documentation and creating an event handler script that contains the command above? Does the nagios user have the permissions to connect to the database without a password to insert the data? Have you tried echoing the command to a text file instead of trying to insert into the DB to make sure that the information being passed is correct and in the format you're expecting? I suspect that at the very least you're going to need to "" the $OUTPUT$ because of spaces and such and is probably the main issue. The example event handler at http://nagios.sourceforge.net/docs/1_0/eventhandlers.html is very straightforward and a good starting point for your script. It would look something like so -- define command{ command_name mysql-insert command_line /usr/local/nagios/libexec/eventhandlers/mysql-insert $DATE$ $TIME$ $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } /usr/local/nagios/libexec/eventhandlers/mysql-insert: #!/bin/sh /usr/bin/mysql -D --execute 'INSERT into (date,time,host,service,state,output) VALUES($DATE$,$TIME$,$HOSTNAME$,"$SERVICEDESC$",$SERVICESTATE$,"$OUTPUT$ ")' exit 0 ------ You _might_ be able to get away with making the mysql line from mysql-insert the command_line for the event handler command definition but I'm not sure. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 22:20:08 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Apr 2004 15:20:08 -0500 Subject: hosts.cfg and ping question Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B614F@mismail2.ena.com> Julie Catellier wrote: > When I first set up Nagios, I was able to set the check_command to > check-host-alive and everything worked well. Now, the initial hosts > that I set up in hosts.cfg automatically ping for the host without > any entry in the 'check-command' and I am not able to > check-host-alive in any new host entries. Is there any entry that > overrides the hosts.cfg configuration? Below is an example. The Possibly state retention but I don't believe that the check_command is ignored with state retention enabled. I know I've seen specific documentation that tells exactly what is important wrt retention but I haven't been able to locate it on short notice. > imap1 entry does not check-host-alive. The smtp3 entry automatically > pings the host. I also double checked that check-host-alive does > work for these hosts from the command line. > Any Ideas? > > # 'smtp3' host definition > define host{ > use its-host ; Name of > host template to use > host_name smtp3.x.x.x > alias VUmail: Mail Transport server > address xx.xx.xx.xx > } > # 'imap1' host definition > define host{ > use its-host ; Name of > host template to use > host_name imap1.x.x.x > alias VUmail: Personal mailbox server > address xx.xx.xx.xx > check_command check-host-alive > notification_interval 120 > notification_period 24x7 > max_check_attempts 10 > } I'm going to bet that your its-host template contains the check_command of check-host-alive and that's why smtp3 works (it's inherited). For imap1, since you are using the same template it should also inherit the check_command defined in its-host, _however_ the fact that you've defined a check_command within the host definition itself overrides any previously inherited definitions. What is the exact error that you're seeing for this host that makes you think it's not working? -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Apr 7 22:28:34 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 7 Apr 2004 16:28:34 -0400 Subject: Apan Unix Disk Check Message-ID: <5593DA408212D511B0910002A513501F06559298@phsexch20.mgh.harvard.edu> I am planning on monitoring our UNIX systems for disk usage. To that end I wanted to use the apanconf-sql utility to create an rrd file. I added a service to the services.cfg file called Disk-usage /www, and made sure the check_command line read: apan_sql!disk!80!90 I then went to the apanconf-sql utility and entered the following information: hostname: server1 Service Disk-usage /www RRD-file /usr/local/nagios/rrd/server1-Disk-usage_/www.rrd Graph-label Disk-usage /www Graph-unit Percent Step: 60 Extra rrdtool args: Argument#1: /www DS-name: /www DS-type : 1 (Gauge) heartbeat: 900 Min: 0 Max: U Drawing Type: I then hit enter for the second argument and I got the following error message: Error while creating RRD-file: ERROR: can't parse argument 'DS:/www:GAUGE:900:U' Delete service and try to add it again What did I do wrong, and how do I correct it? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Apr 7 22:49:37 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Apr 2004 15:49:37 -0500 Subject: Log to Database Event Handler Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6150@mismail2.ena.com> David Barnett wrote: > Thanks for the help. I had the line I posted as the actual command > line, so no script got called. When I put in (1,2,3,4,5,6) as the > values for the fields, it inserts the numbers into the table. But > when I try putting in a string or one of the macros (with or without > single quotes around it), it won't insert the data. Any idea why? > Thanks for responding before. Well sure. You won't be able to use single quotes because you are wrapping your entire INSERT statement in them. You'll need to use double quotes or swap the two -- Your original /usr/bin/mysql -D --execute 'INSERT into (date,time,host,service,state,output) VALUES($DATE$,$TIME$,$HOSTNAME$, $SERVICEDESC$,$SERVICESTATE$,$OUTPUT$)' Becomes /usr/bin/mysql -D --execute 'INSERT into (date,time,host,service,state,output) VALUES("$DATE$","$TIME$","$HOSTNAME$","$SERVICEDESC$","$SERVICESTATE$"," $OUTPUT$")' Or /usr/bin/mysql -D --execute "INSERT into (date,time,host,service,state,output) VALUES('$DATE$','$TIME$','$HOSTNAME$','$SERVICEDESC$','$SERVICESTATE$',' $OUTPUT$')" SQL syntax may require you to use the latter, I'm not sure. In my previous email I was conservative in my use of quoting (only for $SERVICEDESC$ and $OUTPUT$). I'm more aggressive in these examples to be safe. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Apr 7 22:55:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Apr 2004 22:55:32 +0200 Subject: Dependency problem In-Reply-To: <000801c41cda$c37bdf60$0245a8c0@laptop> References: <000801c41cda$c37bdf60$0245a8c0@laptop> Message-ID: <40746AC4.7060505@op5.se> > =================================================== > My Topology: > =================================================== > > Nagios machine --- RT1 -- RT2 -- RT3 > > > ==================================================== > The problem > ==================================================== > > When RT1 goes down, or the RT1-RT2 Link goes down, Nagios will notice > that at random, while he is checkong a service or > > HOST_ALIVE function to any part of the network that is down. Let's > assume that the first Host that Nagios found dead was RT3. > > Nagios didn't get any reply from RT3, so RT3 will be kept in SOFT down > state. > > Next the RETRY proccess will take place. The max_check_attempts are 30 > for each host. That's because the links are not > reliable at all so we want to be a little elastic with the Notifications. > This is where your problem is. max_check_attempts of 30 is more than just a little elastic. Set it to 10 or something instead, and things might run a bit smoother. Also, if the network really is in such a crappy state, you might want to just stop monitoring it, since it's obviously not mission-critical for you. > At the time that we reach the Retry #30, Nagios assumes that RT3 IS > DOWN, puts it in HARD DOWN state and looks to find any > dependencies associated with the RT3. If you look below, RT3 is > dependent upon RT2. So it will continue with try pinging RT2. > > While Nagios is trying to determine whether the RT2 is alive or not, > suddendly, the RT1-RT2 link comes up and all the network > > is now reachable by Nagios. I notice here that the max_checks_attempts > havent timed out. So Nagios will take a response from > > RT2 and it will put it in A HARD OK State. > > The result will be NOT to check RT3 again to see if he is up as RT2. So, > a notification will be sent reporting that RT3 is > > down. This is FAKE. The whole network was down! > > Below I provide you my configuration. Maybe sth goes wrong with my conf > files. > > Thanks in advance guys > > ==================================================== > My dependecies.cfg file > ==================================================== > > define hostdependency{ > host_name RT2 > dependent_host_name RT3 > notification_failure_criteria d,u > } > > define hostdependency{ > host_name RT1 > dependent_host_name RT2 > notification_failure_criteria d,u > } > > > =================================================== > My hosts.cfg > =================================================== > > define host{ > use generic-host > host_name RT1 > alias Wireless 1 > address 213.5.0.34 > check_command check-host-alive > max_check_attempts 30 > notification_interval 0 > notification_period 24x7 > notification_options d,u > } > > > define host{ > use generic-host > host_name RT2 > alias tsapi.twmn > address 10.107.13.1 > parents RT1 > check_command check-host-alive > max_check_attempts 30 > notification_interval 0 > notification_period 24x7 > notification_options d,u > } > > > define host{ > use generic-host > host_name RT3 > alias Wireless Internet > address 212.34.23.4 > parents RT2 > check_command check-host-alive > max_check_attempts 30 > notification_interval 0 > notification_period 24x7 > notification_options d,u > } > > > > ____________________________________________________________________ > http://www.freemail.gr - ?????? ???????? ???????????? ????????????. > http://www.freemail.gr - free email service for the Greek-speaking. -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew_Hoying at blm.gov Wed Apr 7 23:05:21 2004 From: Andrew_Hoying at blm.gov (Andrew_Hoying at blm.gov) Date: Wed, 7 Apr 2004 15:05:21 -0600 Subject: Apan Unix Disk Check In-Reply-To: <5593DA408212D511B0910002A513501F06559298@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06559298@phsexch20.mgh.harvard.edu> Message-ID: rrdtool does not allow special characters in the dsname, remove the / before the www and you should be fine. Andrew "Kaplan, Andrew H." "Nagios-Users (E-mail)" Sent by: n at lists.sourcefor cc ge.net Subject [Nagios-users] Apan Unix Disk Check 04/07/2004 02:28 PM I am planning on monitoring our UNIX systems for disk usage. To that end I wanted to use the apanconf-sql utility to create an rrd file. I added a service to the services.cfg file called Disk-usage /www, and made sure the check_command line read: apan_sql!disk!80!90 I then went to the apanconf-sql utility and entered the following information: hostname: server1 Service Disk-usage /www RRD-file /usr/local/nagios/rrd/server1-Disk-usage_/www.rrd Graph-label Disk-usage /www Graph-unit Percent Step: 60 Extra rrdtool args: Argument#1: /www DS-name: /www DS-type : 1 (Gauge) heartbeat: 900 Min: 0 Max: U Drawing Type: I then hit enter for the second argument and I got the following error message: Error while creating RRD-file: ERROR: can't parse argument 'DS:/www:GAUGE:900:U' Delete service and try to add it again What did I do wrong, and how do I correct it? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Apr 7 23:13:20 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Apr 2004 16:13:20 -0500 Subject: Apan Unix Disk Check Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6151@mismail2.ena.com> Kaplan, Andrew H. wrote: > I am planning on monitoring our UNIX systems for disk usage. To that > end I wanted to use the apanconf-sql utility to create an rrd file. > I added a service to the services.cfg file called Disk-usage /www, > and made sure the check_command line read: apan_sql!disk!80!90 > > I then went to the apanconf-sql utility and entered the following > information: > > hostname: server1 > Service Disk-usage /www > RRD-file > /usr/local/nagios/rrd/server1-Disk-usage_/www.rrd > Graph-label Disk-usage /www > Graph-unit Percent > Step: 60 > Extra rrdtool args: > Argument#1: /www > DS-name: /www > DS-type : 1 (Gauge) > heartbeat: 900 > Min: 0 > Max: U > Drawing Type: > > I then hit enter for the second argument and I got the following error > message: > > Error while creating RRD-file: ERROR: can't parse argument > 'DS:/www:GAUGE:900:U' > Delete service and try to add it again > > What did I do wrong, and how do I correct it? Rrdtool does not allow the use of '/' in a ds name, from the rrdtool man page at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdcreate.html "ds-name is the name you will use to reference this particular data source from an RRD. A ds-name must be 1 to 19 characters long in the characters [a-zA-Z0-9_]." -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 7 23:54:30 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 07 Apr 2004 22:54:30 +0100 Subject: Dependency problem In-Reply-To: <40746AC4.7060505@op5.se> References: <000801c41cda$c37bdf60$0245a8c0@laptop> <40746AC4.7060505@op5.se> Message-ID: <20040407215431.16457.qmail@minnow.softflare.net> Andreas Ericsson writes: > Also, if the network really is in such a crappy state, you might want to > just stop monitoring it, since it's obviously not mission-critical for > you. Meanwhile, over in the real world... Some of us monitor clients who have connections which are always, or are intermittently, unreliable. ADSL in the UK is a steaming pile of manure, with frequent prolonged outages. Some of us monitor people on the other end of unreliable links because they wish to provide proof to the companies providing those links that the service is crappy. A crappy network CAN be mission critical to those on the wrong end of it, and monitoring that network can be the only way of getting compensation for outages and getting things fixed. Some of us DO need to do the things that you so readily dismiss. Perhaps one day you will visit our planet and learn how things are here instead of assuming that the conditions on your planet apply everywhere in the universe. Eppur si muove. Somebody was burned alive at the stake for saying that; I'll only get flamed for saying it. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Apr 8 03:40:59 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 8 Apr 2004 11:40:59 +1000 Subject: RFC L2 (switch) topology. Mainly off-topic. In-Reply-To: ; from sghosh@sghosh.org on Wed, Apr 07, 2004 at 10:17:08AM -0400 References: <20040305171709.B63776@IPAustralia.Gov.AU> Message-ID: <20040408114058.A222@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your interest and say that since . I lack a web server . this is alpha stuff (although it works ok for me) . it is too tiny and silly for SourceForge I will mail individuals tar balls and deal with questions/bugs privately. The likely inventory is . find_switches . find_switches_variant . produce_bridge_addresses . produce_desig_bridges_and_descendants . harness for above . CGI to display topology as sideways tree The produce programs have POD; no other docco. ### WARNING requires customisation/stuffing around with. This is not a plug it in and watch the lights application ### Almost every aspect of this work could be done better or conceived better so feedback is welcome. Thank you. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 8 04:28:21 2004 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 7 Apr 2004 22:28:21 -0400 (EDT) Subject: SNMP on AIX 4.x In-Reply-To: <1746548153.1081354023336.JavaMail.osg@spnode15> References: <1746548153.1081354023336.JavaMail.osg@spnode15> Message-ID: On Wed, 7 Apr 2004, Raymond Page wrote: > Hey everyone, > > I've been trying to get net-snmp to run on AIX 4.3 and have had a > hell of a time with it. With some ucdavis mib addons included in > the latest version of net-snmp, it should allow for memory, cpu, > fs, and network checks via snmp. There's several dependency > problems however with installing net-snmp on AIX 4.3 and my > coworker and I have yet to work out all of the dependency issues, > so be forewarned in regards to installing net-snmp on AIX 4.X. > > Quick note in regards to fs checks. I'm not sure if the nagios > check provides a way to check a table, but it is easiest to > accurately monitor filesystems in error in the tree by walking the > error string table, and if there's a string in any slot of the > table, grab that, and any others, and return those as filesystems > in error. No generic plugins with snmpwalk support at the moment. check_ifstatus and kin retrieve tables... > > On Wed Apr 07 10:24:46 EDT 2004, Subhendu Ghosh > wrote: > > > On Thu, 1 Apr 2004, Martinez Gonzalez, Francisco wrote: > > > >> > >> Hello all, > >> > >> I want to check the state of memory, cpu, filesystems and > >> network via SNMP > >> of an AIX 4.x, but the MIB only contains the OID's for the > >> network > >> (according to have I seen). Anybody knows how I can check three > >> others > >> parameters? > >> > > > > Have you tried running the net-snmp.sourceforge.net snmp agent > > instead of the AIX shipped agent? -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Thu Apr 8 04:41:25 2004 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Wed, 7 Apr 2004 21:41:25 -0500 Subject: SNMP on AIX 4.x In-Reply-To: References: <1746548153.1081354023336.JavaMail.osg@spnode15> Message-ID: <14509.8181012601$1081392736@news.gmane.org> I've had limited success getting Hostmib and SNMP off of AIX 5.2. However, its fallen short of what I've hoped for. I want to get complete Hostmib data (processes and disk, etc) and its only providing a subset. Here's samples from my /etc/snmpd.conf: logging file=/usr/tmp/snmpd.log enabled logging size=0 level=0 community public #community private 127.0.0.1 255.255.255.255 readWrite #community system 127.0.0.1 255.255.255.255 readWrite 1.17.2 view 1.17.2 system enterprises view view 1.17.3 host view trap public 127.0.0.1 1.2.3 fe # loopback #snmpd maxpacket=1024 querytimeout=120 smuxtimeout=60 smux 1.3.6.1.4.1.2.3.1.2.1.2 gated_password # gated smux 1.3.6.1.4.1.2.3.1.2.2.1.1.2 dpid_password #dpid snmpd smuxtimeout=200 #muxatmd smux 1.3.6.1.4.1.2.3.1.2.3.1.1 password #muxatmd smux 1.3.6.1.4.1.2.3.1.2.1.3 password # xmservd smux 1.3.6.1.4.1.2.3.1.2.1.5 password # HACMP/ES for AIX clsmuxpd The relevant portion that enabled Hostmib was the "host view" statement. I hope this might help, and perhaps someone knows more about enabling Hostmib on AIX 5.2. Russell On Wed, Apr 07, 2004 at 10:28:21PM -0400, Subhendu Ghosh wrote: > On Wed, 7 Apr 2004, Raymond Page wrote: > > > Hey everyone, > > > > I've been trying to get net-snmp to run on AIX 4.3 and have had a > > hell of a time with it. With some ucdavis mib addons included in > > the latest version of net-snmp, it should allow for memory, cpu, > > fs, and network checks via snmp. There's several dependency > > problems however with installing net-snmp on AIX 4.3 and my > > coworker and I have yet to work out all of the dependency issues, > > so be forewarned in regards to installing net-snmp on AIX 4.X. > > > > Quick note in regards to fs checks. I'm not sure if the nagios > > check provides a way to check a table, but it is easiest to > > accurately monitor filesystems in error in the tree by walking the > > error string table, and if there's a string in any slot of the > > table, grab that, and any others, and return those as filesystems > > in error. > > No generic plugins with snmpwalk support at the moment. > check_ifstatus and kin retrieve tables... > > > > > > On Wed Apr 07 10:24:46 EDT 2004, Subhendu Ghosh > > wrote: > > > > > On Thu, 1 Apr 2004, Martinez Gonzalez, Francisco wrote: > > > > > >> > > >> Hello all, > > >> > > >> I want to check the state of memory, cpu, filesystems and > > >> network via SNMP > > >> of an AIX 4.x, but the MIB only contains the OID's for the > > >> network > > >> (according to have I seen). Anybody knows how I can check three > > >> others > > >> parameters? > > >> > > > > > > Have you tried running the net-snmp.sourceforge.net snmp agent > > > instead of the AIX shipped agent? > > -- > > -sg > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 8 09:48:33 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Apr 2004 09:48:33 +0200 Subject: Dependency problem In-Reply-To: <20040407215431.16457.qmail@minnow.softflare.net> References: <000801c41cda$c37bdf60$0245a8c0@laptop> <40746AC4.7060505@op5.se> <20040407215431.16457.qmail@minnow.softflare.net> Message-ID: <407503D1.90801@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >> Also, if the network really is in such a crappy state, you might want >> to just stop monitoring it, since it's obviously not mission-critical >> for you. > > > Meanwhile, over in the real world... > Some of us monitor clients who have connections which are always, or > are intermittently, unreliable. ADSL in the UK is a steaming pile of > manure, with frequent prolonged outages. Some of us monitor people > on the other end of unreliable links because they wish to provide proof > to the companies providing those links that the service is crappy. > A crappy network CAN be mission critical to those on the wrong end of > it, and monitoring that network can be the only way of getting compensation > for outages and getting things fixed. Some of us DO need to do the things > that you so readily dismiss. > Perhaps one day you will visit our planet and learn how things are here > instead of assuming that the conditions on your planet apply everywhere > in the universe. Eppur si muove. Somebody was burned alive at the stake > for saying that; I'll only get flamed for saying it. If compensation is the issue notifications should be turned off and nagios used as a report tool. Setting the variables that control nagios's logic to a value that is clearly creating problems isn't the right way to suppress notifications. If you want me to not filter your posts in the future, I suggest you start acting like an adult and stop going for my throat every time we disagree on something. It is actually possible to argue over something without claiming the other party to be an idiot. -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Apr 8 11:15:57 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 8 Apr 2004 02:15:57 -0700 Subject: Dependency problem Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC71DC@dw-mail.dataway.com> Try lowering the host max_check_attempts. When nagios detects a service is bad, it'll hostcheck each parent up the tree and will not do ANYTHING for the 30 check attempts you've set while it tries to determine whether RT1, RT2, and/or RT3 is down. This can adversely affect your other monitored devices if those links are always flapping. It's better to monitor faster and make notifications slower than to slow down the entire monitoring. The host will show up in the console as up/down/flapping a lot, which is its true state. You can artificially slow down notifications by using escalations. For example: set notification interval to 5 set no contact for the normal notification (use the escalation instead) set the escalation to notify starting at alert #2 This would in effect make it so the device would have to be down for a full 5 minutes before you get notified. -----Original Message----- From: Anastasios Zafeiropoulos [mailto:mls at freemail.gr] Sent: Wednesday, April 07, 2004 12:59 PM To: nagios-users Subject: [Nagios-users] Dependency problem Hello world, I'm having trouble with a Host dependency misconfiguration or why not, with a bug in Nagios' Dependency logic process and notification. I am using version nagios-1.2-0.rhfc1.dag which was a prebuilt package from Dag Apt repository site. =================================================== My Topology: =================================================== Nagios machine --- RT1 -- RT2 -- RT3 ==================================================== The problem ==================================================== When RT1 goes down, or the RT1-RT2 Link goes down, Nagios will notice that at random, while he is checkong a service or HOST_ALIVE function to any part of the network that is down. Let's assume that the first Host that Nagios found dead was RT3. Nagios didn't get any reply from RT3, so RT3 will be kept in SOFT down state. Next the RETRY proccess will take place. The max_check_attempts are 30 for each host. That's because the links are not reliable at all so we want to be a little elastic with the Notifications. At the time that we reach the Retry #30, Nagios assumes that RT3 IS DOWN, puts it in HARD DOWN state and looks to find any dependencies associated with the RT3. If you look below, RT3 is dependent upon RT2. So it will continue with try pinging RT2. While Nagios is trying to determine whether the RT2 is alive or not, suddendly, the RT1-RT2 link comes up and all the network is now reachable by Nagios. I notice here that the max_checks_attempts havent timed out. So Nagios will take a response from RT2 and it will put it in A HARD OK State. The result will be NOT to check RT3 again to see if he is up as RT2. So, a notification will be sent reporting that RT3 is down. This is FAKE. The whole network was down! Below I provide you my configuration. Maybe sth goes wrong with my conf files. Thanks in advance guys ==================================================== My dependecies.cfg file ==================================================== define hostdependency{ host_name RT2 dependent_host_name RT3 notification_failure_criteria d,u } define hostdependency{ host_name RT1 dependent_host_name RT2 notification_failure_criteria d,u } =================================================== My hosts.cfg =================================================== define host{ use generic-host host_name RT1 alias Wireless 1 address 213.5.0.34 check_command check-host-alive max_check_attempts 30 notification_interval 0 notification_period 24x7 notification_options d,u } define host{ use generic-host host_name RT2 alias tsapi.twmn address 10.107.13.1 parents RT1 check_command check-host-alive max_check_attempts 30 notification_interval 0 notification_period 24x7 notification_options d,u } define host{ use generic-host host_name RT3 alias Wireless Internet address 212.34.23.4 parents RT2 check_command check-host-alive max_check_attempts 30 notification_interval 0 notification_period 24x7 notification_options d,u } ____________________________________________________________________ http://www.freemail.gr - ?????? ???????? ???????????? ????????????. http://www.freemail.gr - free email service for the Greek-speaking. -------------- next part -------------- An HTML attachment was scrubbed... URL: From scarab at transwitch.co.za Thu Apr 8 11:33:46 2004 From: scarab at transwitch.co.za (jacques van der merwe) Date: Thu, 08 Apr 2004 11:33:46 +0200 Subject: statusmap.cgi Message-ID: <1081416825.3738.555.camel@scarab> greetngs all, has anyone sucessfully messed around with the statusmap code with auto generating the 2d network map? it looks pretty decent in circular (marked up) mode with my 150 odd hosts, but the non-parents are to bunched up together. is there a way to alter the spaces between the hosts? i tried fiddling with Nagiosmap, but it looks like to much effort with that amount of hosts... i can only imagine what it must be like with the amount of hosts that some of you guys talk about! -- --= Jacques van der Merwe =-- --= Linux Sys Admin / Network Engineer / Security Engineer =-- --= Prism TranSwitch Services =-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Thu Apr 8 11:58:21 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 08 Apr 2004 10:58:21 +0100 Subject: Dependency problem In-Reply-To: <407503D1.90801@op5.se> References: <000801c41cda$c37bdf60$0245a8c0@laptop> <40746AC4.7060505@op5.se> <20040407215431.16457.qmail@minnow.softflare.net> <407503D1.90801@op5.se> Message-ID: <20040408095821.12979.qmail@minnow.softflare.net> Andreas Ericsson writes: > If compensation is the issue notifications should be turned off and nagios > used as a report tool. Setting the variables that control nagios's logic > to a value that is clearly creating problems isn't the right way to > suppress notifications. So if Nagios keeps showing that you have network problems the fix is to alter the configuration so that Nagios no longer reports them rather than trying to find out why you have network problems and deal with them. That is the logic you applied when you said that he had a "crappy network" and therefore it can't be "mission critical" for him. > If you want me to not filter your posts in the future, Nah, I'm more than happy for you to plonk me. Or to say you have. > It is actually possible to argue over something without > claiming the other party to be an idiot. Yes, it is. But in your first response to me here, you called me an idiot. Pot, etc. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Apr 8 12:35:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Apr 2004 12:35:15 +0200 Subject: Dependency problem In-Reply-To: <20040408095821.12979.qmail@minnow.softflare.net> References: <000801c41cda$c37bdf60$0245a8c0@laptop> <40746AC4.7060505@op5.se> <20040407215431.16457.qmail@minnow.softflare.net> <407503D1.90801@op5.se> <20040408095821.12979.qmail@minnow.softflare.net> Message-ID: <40752AE3.7040002@op5.se> Paul L. Allen wrote: > Andreas Ericsson writes: > >> If compensation is the issue notifications should be turned off and >> nagios used as a report tool. Setting the variables that control >> nagios's logic to a value that is clearly creating problems isn't the >> right way to suppress notifications. > > So if Nagios keeps showing that you have network problems the fix is to > alter the configuration so that Nagios no longer reports them rather than > trying to find out why you have network problems and deal with them. If the issues are long since known and the kind of notification suppressions implemented prevents nagios from functioning properly, then yes. > That > is the logic you applied when you said that he had a "crappy network" and > therefore it can't be "mission critical" for him. > >> If you want me to not filter your posts in the future, > > Nah, I'm more than happy for you to plonk me. Or to say you have. > Done. >> It is actually possible to argue over something without claiming the >> other party to be an idiot. > > > But in your first response to me here, you called me an > idiot. Pot, etc. A baldfaced lie. I said you didn't seem to be too comfortable around C code. I also appologized a couple of mailings later if it offended you (which it shouldn't have. Many people don't know a thing about C code and get by just fine). -- Mvh Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarab at transwitch.co.za Thu Apr 8 12:46:20 2004 From: scarab at transwitch.co.za (jacques van der merwe) Date: Thu, 08 Apr 2004 12:46:20 +0200 Subject: Dependency problem In-Reply-To: <40752AE3.7040002@op5.se> References: <000801c41cda$c37bdf60$0245a8c0@laptop> <40746AC4.7060505@op5.se> <20040407215431.16457.qmail@minnow.softflare.net> <407503D1.90801@op5.se> <20040408095821.12979.qmail@minnow.softflare.net> <40752AE3.7040002@op5.se> Message-ID: <1081421179.3738.582.camel@scarab> can this thread please be taken offline. i for one don't appreciate this flaming on the nagios users list. i'm sure noone else does. On Thu, 2004-04-08 at 12:35, Andreas Ericsson wrote: > Paul L. Allen wrote: > > Andreas Ericsson writes: > > > >> If compensation is the issue notifications should be turned off and > >> nagios used as a report tool. Setting the variables that control > >> nagios's logic to a value that is clearly creating problems isn't the > >> right way to suppress notifications. > > > > So if Nagios keeps showing that you have network problems the fix is to > > alter the configuration so that Nagios no longer reports them rather than > > trying to find out why you have network problems and deal with them. > > If the issues are long since known and the kind of notification > suppressions implemented prevents nagios from functioning properly, then > yes. > > > That > > is the logic you applied when you said that he had a "crappy network" and > > therefore it can't be "mission critical" for him. > > > >> If you want me to not filter your posts in the future, > > > > Nah, I'm more than happy for you to plonk me. Or to say you have. > > > Done. > > >> It is actually possible to argue over something without claiming the > >> other party to be an idiot. > > > > > > But in your first response to me here, you called me an > > idiot. Pot, etc. > > A baldfaced lie. I said you didn't seem to be too comfortable around C > code. I also appologized a couple of mailings later if it offended you > (which it shouldn't have. Many people don't know a thing about C code > and get by just fine). -- --= Jacques van der Merwe =-- --= Linux Sys Admin / Network Engineer / Security Engineer =-- --= Prism TranSwitch Services =-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nick.Platt at myflorida.com Thu Apr 8 14:13:14 2004 From: Nick.Platt at myflorida.com (Platt, Nicholas) Date: Thu, 8 Apr 2004 08:13:14 -0400 Subject: Host and service flap detection threshold valu e recommendation Message-ID: <2FDA6C38B2BFD4119D2400D0B784BE6F06AF2DEF@stoexchange.state.fl.us> Hello, I did not get any response to this message and I was hoping to receive feedback. Thank you. Your help is greatly appreciated. -----Original Message----- From: Platt, Nicholas [mailto:Nick.Platt at myflorida.com] Sent: Tuesday, April 06, 2004 1:45 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Host and service flap detection threshold value recommendation Hello: Lately we been getting pages for small timeouts that have caused notifications to be sent out. I decided to enable flap detection. After reading the documentation, I understood the strategy, but did not have any clue where to start the values at for low and high flap thresholds. I decided to use the values that were in the documentation, but does anyone have any recommendations based on experience of what values I should use. Currently, I have every host and service set to: define service{ use generic-service host_name SUNBOX service_description Load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 low_flap_threshold 25 high_flap_threshold 50 flap_detection_enabled 1 contact_groups HelpDesk,sun-admins notification_interval 60 notification_period 24x7 notification_options c,u,r check_command check_nrpe!check_load } -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Thu Apr 8 14:40:07 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 08 Apr 2004 13:40:07 +0100 Subject: Dependency problem In-Reply-To: <40752AE3.7040002@op5.se> References: <000801c41cda$c37bdf60$0245a8c0@laptop> <40746AC4.7060505@op5.se> <20040407215431.16457.qmail@minnow.softflare.net> <407503D1.90801@op5.se> <20040408095821.12979.qmail@minnow.softflare.net> <40752AE3.7040002@op5.se> Message-ID: <20040408124007.781.qmail@minnow.softflare.net> Andreas Ericsson writes: > Done. We shall see... >> But in your first response to me here, you called me an >> idiot. Pot, etc. > > A baldfaced lie. So I only imagined that you called me an idiot for not closing off a minor security hole which, if anyone could exploit it, already meant they had a better exploit they could use. Yeah, I must have imagined that long thread where it slowly dawned upon you that out here in the real world monitored servers run all the services that the monitoring server does and more, and that if somebody can exploit the monitoring server they can also exploit the monitoring servers without needing to go through the replace-the-public-key rigmarole that you thought was so important. Either you have a very bad memory or the liar is you, not me. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Apr 8 14:44:06 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 8 Apr 2004 08:44:06 -0400 Subject: Apan Unix Disk Check Error Message Message-ID: <5593DA408212D511B0910002A513501F06559299@phsexch20.mgh.harvard.edu> Hi there -- I recreated the rrd file without the / symbol and the error that I had encountered did disappear. The problem is I am now confronted with a different problem. The web browser page has the following error: Socket error: Connection refused When I checked the apan.debug file here is the message that I came across: