From gwichman at zantaz.com Sat Mar 1 00:55:46 2003 From: gwichman at zantaz.com (Gerald Wichmann) Date: Fri, 28 Feb 2003 15:55:46 -0800 Subject: NRPE and Solaris Problem Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB02CB4282@zanexch.zantaz.com> When I run the NRPE daemon on solaris, it works fine when running in stand alone mode. However if I try to run it using inetd, I just get [root at PS-NAT libexec]# ./check_nrpe 10.1.82.52 -c check_smtp CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? Tcpwrapper isn't installed on this server, so I would say yes it should be allowed to connect. A netstat -a | grep nrpe shows the box *is* listening for nrpe.. The nrpe.cfg file is set for port 5666 as is the entry in /etc/services Nothing gets logged in syslog or messages.. root at PS-DB-E250-01:/usr/sbin:!$ netstat -a | grep nrpe *.nrpe *.* 0 0 24576 0 LISTEN PS-DB-E250-01.nrpe 10.1.82.21.52311 7299 0 24616 0 TIME_WAIT root at PS-DB-E250-01:/usr/sbin:!$ As you can see above, when I do a check there is a connection that opens and says "TIME_WAIT".. Question is why isn't NRPE servicing that connection? Gerald Wichmann Senior Systems Development Engineer Zantaz, Inc. 925.598.3099 (w) This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gwichman at zantaz.com Sat Mar 1 01:05:40 2003 From: gwichman at zantaz.com (Gerald Wichmann) Date: Fri, 28 Feb 2003 16:05:40 -0800 Subject: NRPE on Solaris Info #2 Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB02CB4284@zanexch.zantaz.com> Some additional cut/paste's of various config files.. Far as I can tell this is all correct.. so why doesn't it work with inetd and only works with -daemon (stand alone)? /etc/service entry: nrpe 5666/tcp # Nagios NRPE daemon /etc/inetd.conf entry: # # Nagios NRPE Daemon # nrpe stream tcp nowait nagios /usr/sbin/nrpe -c /usr/local/nagios/nrpe.cfg --inetd NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 1.8 Last Modified: 01-16-2003 License: GPL Usage: ./nrpe -c [mode] Options: = Name of config file to use [mode] = Determines how NRPE should run. Valid modes: --inetd = Run as a service under inetd or xinetd --daemon = Run as a standalone daemon Notes: This program is designed to process requests from the check_nrpe plugin on the host(s) running Nagios. It can run as a service under inetd or xinetd (read the docs for info on this), or as a standalone daemon. Once a request is received from an authorized host, NRPE will execute the command/plugin (as defined in the config file) and return the plugin output and return code to the check_nrpe plugin. root at PS-DB-E250-01:/usr/sbin:!$ cat /usr/local/nagios/nrpe.cfg ############################################################################ # # Sample NRPE Config File # Written by: Ethan Galstad (nagios at nagios.org) # # Last Modified: 06-03-2002 # # NOTES: # This is a sample configuration file for the NRPE daemon. It needs to be # located on the remote host that is running the NRPE daemon, not the host # from which the check_nrpe client is being executed. ############################################################################ # # PORT NUMBER # Port number we should wait for connections on. # NOTE: This must be a non-priviledged port (i.e. > 1024). # NOTE: This option is ignored if NRPE is running under either inetd or xinetd server_port=5666 # SERVER ADDRESS # Address that nrpe should bind to in case there are more than one interface # and you do not want nrpe to bind on all interfaces. # NOTE: This option is ignored if NRPE is running under either inetd or xinetd #server_address=10.1.82.21 # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. # # NOTE: The daemon only does rudimentary checking of the client's IP # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to connect # to the port you are running this daemon on. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd allowed_hosts=10.1.82.21 # NRPE USER # This determines the effective user that the NRPE daemon should run as. # You can either supply a username or a UID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_user=nagios # NRPE GROUP # This determines the effective group that the NRPE daemon should run as. # You can either supply a group name or a GID. # # NOTE: This option is ignored if NRPE is running under either inetd or xinetd nrpe_group=nagios # DEBUGGING OPTION # This option determines whether or not debugging messages are logged to the # syslog facility. # Values: 0=debugging off, 1=debugging on debug=1 # COMMAND DEFINITIONS # Command definitions that this daemon will run. Definitions # are in the following format: # # command[]= # # When the daemon receives a request to return the results of # it will execute the command specified by the argument. # # Unlike Nagios, the command line cannot contain macros - it must be # typed exactly as it should be executed. # # Note: Any plugins that are used in the command lines must reside # on the machine that this daemon is running on! The examples below # assume that you have plugins installed in a /usr/local/nagios/libexec # directory. command[check_users]=/usr/local/nagios/libexec/check_users 5 10 command[check_load]=/usr/local/nagios/libexec/check_load 5 10 15 20 25 30 command[check_disk_hda5]=/usr/local/nagios/libexec/check_disk 80 95 /dev/hda5 command[check_disk_hda6]=/usr/local/nagios/libexec/check_disk 80 95 /dev/hda6 command[check_disk_hda10]=/usr/local/nagios/libexec/check_disk 80 95 /dev/hda10 command[check_disk_sda1]=/usr/local/nagios/libexec/check_disk 50 95 /dev/sda1 command[check_disk_md0]=/usr/local/nagios/libexec/check_disk 50 95 /dev/md0 command[check_disk_d30]=/usr/local/nagios/libexec/check_disk 50 90 /dev/md/dsk/d30 command[check_disk_d32]=/usr/local/nagios/libexec/check_disk 50 90 /dev/md/dsk/d32 command[check_disk_d35]=/usr/local/nagios/libexec/check_disk 50 90 /dev/md/dsk/d35 command[check_disk_d36]=/usr/local/nagios/libexec/check_disk 50 90 /dev/md/dsk/d36 command[check_disk_d37]=/usr/local/nagios/libexec/check_disk 50 90 /dev/md/dsk/d37 command[check_disk_d38]=/usr/local/nagios/libexec/check_disk 50 90 /dev/md/dsk/d38 command[check_disk_d39]=/usr/local/nagios/libexec/check_disk 50 90 /dev/md/dsk/d39 command[check_disk_d40]=/usr/local/nagios/libexec/check_disk 50 90 /dev/md/dsk/d40 command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs 5 10 Z command[check_total_procs]=/usr/local/nagios/libexec/check_procs 150 200 command[check_smtp]=/usr/local/nagios/libexec/check_smtp -w 1 -c 5 command[check_mailsend]=/usr/local/nagios/libexec/calc_speed command[check_mailsendeta]=/usr/local/nagios/libexec/check_eta Gerald Wichmann Senior Systems Development Engineer Zantaz, Inc. 925.598.3099 (w) This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwarner57 at hotmail.com Sat Mar 1 02:19:42 2003 From: mwarner57 at hotmail.com (Michael Warner) Date: Fri, 28 Feb 2003 17:19:42 -0800 Subject: Checking remote disk space with check_disk. Message-ID: I am setting up Nagios for the first time, and am having some problems getting disk usage stats from a remote hosts (capra). I am getting disk stats on Nagios, but they appear to be coming from the machine Nagios is running on (marlin). Is there anything special I need to to to get the command to execute remotely? My .cfg syntax is as follows: services.cfg: # Service definition for Linux local disk free space /dev/hda3 define service{ use generic-service ; Name of service template to use host_name capra service_description /dev/hda3 Disk Space is_volatile 0 check_period 24x7 contact_groups sys notification_options w,u,c,r check_command check_local_disk!"/dev/hda3" } checkcommands.cfg # 'check_local_disk' command definition define command{ command_name check_local_disk command_line /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p $ARG1$ -v } Thanks! Mike Warner _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdunlap_z at yahoo.com Sat Mar 1 03:16:07 2003 From: tdunlap_z at yahoo.com (Tom Dunlap) Date: Fri, 28 Feb 2003 18:16:07 -0800 (PST) Subject: Nagios plugins and Windows2000 hosts Message-ID: <20030301021607.33362.qmail@web14108.mail.yahoo.com> Are there any plugins for doing service checks on Win2k hosts? I used check_disk but the values are incorrect. Thanks Tom Dunlap [newbie] __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at xecu.net Sat Mar 1 04:59:08 2003 From: chris at xecu.net (Chris McGee) Date: Fri, 28 Feb 2003 22:59:08 -0500 (EST) Subject: FreeBSD & Nagios with statusmap.cgi | How?? In-Reply-To: References: Message-ID: All of the logging options are in the nagios.cfg file. I have no problems with the logs. I have all the host and service issues logged and they are all being logged. You should definitely read the documentation on the various log options for the main configuration file. I hate to give you this read the manual answer but I think everything you need is in there. If all config options are set properly and it still doesn't work, please give us some details of your logging configuration. Chris On Fri, 28 Feb 2003, Otmar Conradus wrote: > Hi All, > > I am another FreeBSD nagios user. > Unfortunately I still have problems with the host logging which I posted > a week ago. > Are you guys experiencing the same problem? > - I did set the log rotation for daily and it's not rotating. > - The nagios.log only has startup times of the nagios process and all > host warnings etc are not logged. > > Otmar Conradus > Curacao, Netherlands Antilles > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Bas van > der Veen > Sent: Thursday, February 27, 2003 5:39 PM > To: Chris McGee > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] FreeBSD & Nagios with statusmap.cgi | How?? > > > Thanks, Chris. > Just got it working the same way you solved it :) > > Telling Nagios where the gd files are indeed did the trick. > > -----Original Message----- > From: Chris McGee [mailto:chris at xecu.net] > Sent: donderdag 27 februari 2003 22:23 > To: Bas van der Veen > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] FreeBSD & Nagios with statusmap.cgi | How?? > > > > Alright, got this problem solved. Anyone having problems with the > statusmap.cgi on FreeBSD, here is the solution. In short, this > particular cgi relies on gd and the configure script can't find it if > you've installed the port. It must be gd 1.6.3 or higher. Check > pkg_info and see if you have gd installed. If not, it should be in > /usr/ports/graphics/gd. Run your configure script with > --with-gd-lib=/usr/local/lib/ --with-gd-inc=/usr/local/include/gd/ > as options and it should detect the port version of gd. Continue with > installation as normal and it should install the statusmap.cgi. This > worked for me. If you have any trouble, feel free to contact me. > > On Thu, 27 Feb 2003, Bas van der Veen wrote: > > > Chris, > > > > Thanks. > > I too noticed the prefix change. > > > > I'll compile it again from source then. > > I'd really appreciate the info on the statusmap. :) > > > > Bas > > > > -----Original Message----- > > From: Chris McGee [mailto:chris at xecu.net] > > Sent: donderdag 27 februari 2003 21:24 > > To: Bas van der Veen > > Subject: RE: [Nagios-users] FreeBSD & Nagios with statusmap.cgi | > > How?? > > > > > > On Thu, 27 Feb 2003, Bas van der Veen wrote: > > > > > Hi Chris, > > > > > > Could you please tell me how you installed Nagios on your FreeBSD > > > machine? I got it working without statusmap.cgi by compiling. I > > > somehow got it all working running the ported version. Which one > > > would you recommend? > > > > > > Bas > > > > Actually, it's funny you ask about this because since I've upgraded to > > > the non-beta version, the statusmap stopped working. I've built mine > > from source and as soon as I figure out why it doesn't install, I'll > > gladly tell you. I just recently upgraded so I'm still sorting out a > > few upgrade bugs. I did have it running from teh port on one machine > > but you'll notice everything goes to strange places. It uses > > /usr/local as the prefix instead of /usr/local/nagios. I prefer the > > source. I'll fill you in when I solve the mysterious statusmap > > problem. > > > > Chris > > > > > -----Original Message----- > > > From: Chris McGee [mailto:chris at xecu.net] > > > Sent: donderdag 27 februari 2003 16:27 > > > To: Bas van der Veen > > > Cc: Karl DeBisschop; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] FreeBSD & Nagios with statusmap.cgi | > > > How?? > > > > > > > > > > > > I'm one "Nagios on FreeBSD" user. I agree that it is very hard for > > > the Nagios development team to keep track of all the ports for > > > various OS's. The nice thing is that the OS developers/port > > > developers do it for us. If you're using freebsd and looking for a > > > port/package for it, the freebsd team has been nice enough to > > > provide us with a page to search through the ported applications > > > > > > http://www.freebsd.org/ports/index.html > > > > > > Chris > > > > > > On Thu, 27 Feb 2003, Bas van der Veen wrote: > > > > > > > You're right. > > > > > > > > I suppose there are too much *NIX and *BSD types around, and the > > > > last thing I expect is the Nagios developers being too busy > > > > keeping track of all used OSes instead of improving Nagios. > > > > > > > > Let's just say I was surprised I couldn't find (almost) anything > > > > about Nagios on FreeBSD. I thought FreeBSD was a commonly used OS, > > > > > to my surprise there aren't much Nagios fans using it. > > > > > > > > If you'd like me to provide you with some info about the FreeBSD > > > > port, let me know... I'll see what I can do (please keep in mind > > > > that I have nothing to do with the ported install and that I > > > > mostly use RedHat Linux (up till now). > > > > > > > > Regards, > > > > > > > > Bas > > > > > > > > -----Original Message----- > > > > From: Karl DeBisschop [mailto:karl at debisschop.net] > > > > Sent: donderdag 27 februari 2003 13:29 > > > > To: Bas van der Veen > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] FreeBSD & Nagios with statusmap.cgi | > > > > How?? > > > > > > > > > > > > On Thu, 2003-02-27 at 07:12, Bas van der Veen wrote: > > > > > Karl, > > > > > > > > > > I didn't mean to imply that the developers of Nagios should make > > > > > > the *total* faq for running Nagios on FreeBSD. > > > > > > > > > > > > > Just a little note stating that FreeBSD users can use the ported > > > > > > version (without any warranty about it functioning or not) would > > > > > > have been nice. I had Nagios up and running in 3 hours on a > > > > > linux box (fully working that is). FreeBSD takes 2 days now and > > > > > it ain't finished yet :-( (FreeBSD = company policy). > > > > > > > > My point is that I don't know except through you that nagios is in > > > > > ports (though apparently some on the list do). I still don't know > > > > if the plugins are in ports. And I don't really know how to find > > > > out. > > > > > > > > Then there the other BSD's, sunfreeware, debian, mandrake, gentoo, > > > > > caldra, and a variety of other porting/packaging facilites. Would > > > > you have us track all those too? > > > > > > > > IMHO, the maintainers should feel free to come forward and ask for > > > > > posting, and try to help keep those FAQ items up to date. As a > > > > general proposition, it is not in our scope, unless we add > > > > advocacy to our scope. > > > > > > > > Do you see my point? Maybe I'm being thick, but I think it's a > > > > point worth at least considering. > > > > > > > > -- > > > > Karl > > > > > > > > > -----Original Message----- > > > > > From: Karl DeBisschop [mailto:karl at debisschop.net] > > > > > > > > > On Thu, 2003-02-27 at 05:52, Bas van der Veen wrote: > > > > > > Ok, looks like nagios is a ported application for FreeBSD. > > > > > > > > > > > > I am now checking whether this install works :-) > > > > > > > > > > > > Would have been nice if I could have found this in the FAQ's > > > > > > or the FM though... > > > > > > > > > > I'm not sure I agree. We have nothing to do with the port. It > > > > > can come or go, the version in ports can change, the maintainer > > > > > could forsake the material world and run off the a convent at > > > > > the north pole and we'd know nothing about it. So why shoould we > > > > > > be responsible for making that FAQ. Shouldn't the ports > > > > > maintainer make that information readily available, rather than > > > > > us? > > > > > > > > > > (Not trying to be sarcastic -- nor do I rule the idea out. But > > > > > it does seem like our standing in FreeBSD ports is simply not > > > > > best placed in our FAQ, or if there is a placement, it should be > > > > > > quite general.) > > > > > > > > > > Or the port maintainer should be more communicative about it to > > > > > us so we can know the above things. (Maybe s/he has been and > > > > > I've missed it, bu > > > > > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > > Chris McGee 301-682-9972 > > > Xecunet, LLC www.xecu.net > > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > > Dialup * Webhosting * E-Commerce * High-Speed Access > > > > > > > > > > > > > > > > > > > > > > > > ****************************************************************** > > > This footnote also confirms that this email message has been swept > > > by MIMEsweeper for the presence of computer viruses. > > > ****************************************************************** > > > http://www.kahuna.nl > > > > > > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > Chris McGee 301-682-9972 > > Xecunet, LLC www.xecu.net > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > > Dialup * Webhosting * E-Commerce * High-Speed Access > > > > > > > > > > > > > > > > ****************************************************************** > > This footnote also confirms that this email message has > > been swept by MIMEsweeper for the presence of > > computer viruses. > > ****************************************************************** > > http://www.kahuna.nl > > > > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Chris McGee 301-682-9972 > Xecunet, LLC www.xecu.net > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx > Dialup * Webhosting * E-Commerce * High-Speed Access > > > > > > > > > ****************************************************************** > This footnote also confirms that this email message has > been swept by MIMEsweeper for the presence of > computer viruses. > ****************************************************************** > http://www.kahuna.nl > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Chris McGee 301-682-9972 Xecunet, LLC www.xecu.net xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Dialup * Webhosting * E-Commerce * High-Speed Access ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdunlap_z at yahoo.com Sat Mar 1 05:33:22 2003 From: tdunlap_z at yahoo.com (Tom Dunlap) Date: Fri, 28 Feb 2003 20:33:22 -0800 (PST) Subject: RedHat 8.0, latest Nagios install and GD Libs not found Message-ID: <20030301043323.50171.qmail@web14106.mail.yahoo.com> I installed Nagios on a RH8.0 server. I installed all the appropriate graphics libraries according to Boutwell's web site (ljpeg, ljpeg-devel,...) but the Nagios configure still tells me that the gd libs are not found. I located them manually, checked that they were installed and their LIB and INC locations. I ran Nagios configure with the --with-gd-lib and --with-gd-inc settings - still no luck. All the graphics packages were installed with RPM except for the GD libs - could not find an RPM for this so I had to compile them manually. Any ideas? Thank you Tom Dunlap __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmhowell at jmhowell.com Sat Mar 1 07:28:23 2003 From: jmhowell at jmhowell.com (jmhowell at jmhowell.com) Date: Fri, 28 Feb 2003 23:28:23 -0700 (MST) Subject: RedHat 8.0, latest Nagios install and GD Libs not found In-Reply-To: <20030301043323.50171.qmail@web14106.mail.yahoo.com> References: <20030301043323.50171.qmail@web14106.mail.yahoo.com> Message-ID: <2327.12.219.122.2.1046500103.squirrel@private.vosn.net> > I installed Nagios on a RH8.0 server. > I installed all the appropriate graphics libraries > according to Boutwell's web site (ljpeg, ljpeg-devel,...) > but the Nagios configure still tells me that the gd libs > are not found. I located them manually, checked that > they were installed and their LIB and INC locations. I > ran Nagios configure with the --with-gd-lib and > --with-gd-inc settings - still no luck. > > All the graphics packages were installed with RPM except > for the GD libs - could not find an RPM for this so I had > to compile them manually. > Did you install the RPM's Or the source? I know from experience installing RPM's will stick some of the files in peculiar places and the source wont locate them. Also I think your /etc/ld.conf file lists all your lib paths, give that a try. Jerry M. Howell II ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hobbs at mongeese.co.uk Sat Mar 1 11:21:22 2003 From: hobbs at mongeese.co.uk (Hobbs, Richard) Date: Sat, 1 Mar 2003 10:21:22 -0000 Subject: Help! Can't compile... In-Reply-To: <1046468548.30195.0.camel@allah> References: <1046468548.30195.0.camel@allah> Message-ID: <004001c2dfdc$4e8a4980$66fea8c0@mongoose> Hello, Yes, there is a libgd in '/usr/local/lib', and the ./configure program found it... but... I compiled GD without JPEG support. This is obviuosly why it's failing ...but I thought we didn't need JPEG support for Nagios to work. It has PNG support and zlib support, so I thought that was enough to be able to make the graphics. turnip:/usr/local/lib# ls -l total 1848 drwxr-sr-x 3 root staff 4096 Jan 28 01:02 hugs98 -rw-r--r-- 1 root staff 720632 Feb 28 19:53 libgd.a -rwxr-xr-x 1 root staff 747 Feb 28 19:53 libgd.la lrwxrwxrwx 1 root staff 14 Feb 28 19:53 libgd.so -> libgd.so.2.0.0 lrwxrwxrwx 1 root staff 14 Feb 28 19:53 libgd.so.2 -> libgd.so.2.0.0 -rwxr-xr-x 1 root staff 432079 Feb 28 19:53 libgd.so.2.0.0 lrwxrwxrwx 1 root staff 10 Feb 28 17:39 libpng.a -> libpng12.a lrwxrwxrwx 1 root staff 11 Feb 28 17:39 libpng.so -> libpng.so.3 lrwxrwxrwx 1 root staff 17 Feb 28 17:39 libpng.so.3 -> libpng.so.3.1.2.5 -rwxr-xr-x 1 root staff 200076 Feb 28 17:39 libpng.so.3.1.2.5 -rw-r--r-- 1 root staff 224406 Feb 28 17:39 libpng12.a lrwxrwxrwx 1 root staff 13 Feb 28 17:39 libpng12.so -> libpng12.so.0 lrwxrwxrwx 1 root staff 19 Feb 28 17:39 libpng12.so.0 -> libpng12.so.0.1.2.5 -rwxr-xr-x 1 root staff 200076 Feb 28 17:39 libpng12.so.0.1.2.5 -rwxr-xr-x 1 root staff 65526 Feb 28 16:28 libz.a drwxrwsr-x 4 root staff 4096 Jan 26 02:23 mon drwxr-sr-x 2 root staff 4096 Feb 28 17:39 pkgconfig drwxrwsr-x 3 root staff 4096 Jan 26 02:16 python2.1 turnip:/usr/local/lib# I've been trying some other things this morning, but nothing has worked... I hope someone can help! Thanks, Richard. > Is there a libgd in /usr/local/lib? Or did you install it > somewhere else? > > Just curious what OS are you using? > > On Fri, 2003-02-28 at 15:13, Hobbs, Richard wrote: > > Hello, > > > > I'm trying to compile, but I'm receiving this error: > > > > > ====================================================================== > > turnip:~/installs/nagios/nagios-1.0# make all > > cd ./base && make > > make[1]: Entering directory `/root/installs/nagios/nagios-1.0/base' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -L/usr/local/lib nagios.c > > checks.o config.o commands.o flapping.o logging.o notifications.o > > sehandlers.o utils.o sretention.o ../xdata/xrddefault.c > > ../common/comments.c ../xdata/xcddefault.c ../common/objects.c > > ../xdata/xodtemplate.c ../common/statusdata.c > ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c > ../common/downtime.c > > ../xdata/xdddefault.c -lm -o nagios > > make[1]: Leaving directory `/root/installs/nagios/nagios-1.0/base' > > cd ./cgi && make > > make[1]: Entering directory `/root/installs/nagios/nagios-1.0/cgi' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib statusmap.c > > getcgi.o cgiutils.o auth.o popen.o ../common/objects.c > > ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c > > -lgd -lz -lm -lpng edata.o ../xdata/xedtemplate.c -o statusmap.cgi > > /tmp/ccyjmRWt.o: In function `load_image_from_file': > > /root/installs/nagios/nagios-1.0/cgi/statusmap.c:2222: undefined > > reference to `gdImageCreateFromJpeg' > > collect2: ld returned 1 exit status > > make[1]: *** [statusmap.cgi] Error 1 > > make[1]: Leaving directory `/root/installs/nagios/nagios-1.0/cgi' > > make: *** [all] Error 2 > > turnip:~/installs/nagios/nagios-1.0# > > > ====================================================================== > > > > Why is this happening? I've installed the GD libraries, the PNG > > libraries, the JPEG libraries, and the ZLIB libraries... But I'm > > stuck! > > > > I've tried everything.... Someone please help! lol > > > > Thanks, > > Richard. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Hobbs hobbs at mongeese.co.uk http://mongeese.co.uk | http://unixforum.co.uk "There's only one way of life, and that's your own" - The Levellers _____________________________________________________ Send all your jokes to: jokes at fishsponge.co.uk !! To subscribe, email: jokes-subscribe at fishsponge.co.uk -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3226 bytes Desc: not available URL: From mailinglist at ichilton.co.uk Sat Mar 1 10:53:00 2003 From: mailinglist at ichilton.co.uk (Ian Chilton) Date: Sat, 1 Mar 2003 09:53:00 +0000 Subject: WML interface & Nokia 7650 In-Reply-To: <20030227140025.GA1378@roadrunner.ichilton.net> References: <20030227140025.GA1378@roadrunner.ichilton.net> Message-ID: <20030301095300.GB11254@roadrunner.ichilton.net> Hello, I have worked it out - it looks like the Nokia 7650 doesn't like the forms and post for some reason. I have changed some of the links in the source code to the format href='%s?param=value?parm2=value2' and this seems to fix it in some places but not work in other places :-( Anyone else have any ideas? Does the Nagios author ever reply to e-mails? - it would be nice to hear his take on this problem. Thanks --ian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at pointpub.net Sat Mar 1 15:42:30 2003 From: nagios at pointpub.net (Sebastien Roy) Date: Sat, 1 Mar 2003 09:42:30 -0500 Subject: check_nt under AIX Message-ID: <003b01c2e000$c9aff910$fa7b12d8@SEBASTIEN> Hi folks, Someone can send me a compiled version of check_nt for AIX 4.3.3 ? Thanks in advance! SR -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.johannson at web.de Sat Mar 1 16:36:00 2003 From: d.johannson at web.de (Dirk Johannson) Date: Sat, 01 Mar 2003 16:36:00 +0100 Subject: Notification In-Reply-To: References: Message-ID: <3E60D360.8020409@web.de> You must NOT put a sendmail-command into the misccommands.cfg, mail -s should do as it is. Sendmail is not intended as a user-interface, but as a MTA. Simply speaking, sendmail acts as the real mailserver, whereas "mail -s ..." in the misccommands.cfg acts as the mailclient, but both on the physically same machine. With a out-of the-box-installation of sendmail you should at least be able to receive mail locally on your nagios-box. If that part works, you can go on by configuring sendmail to forward mail to your "main" mailserver to receive notifications in the mailclient on your windows-, linux- or whatever-workstation. But I think, we drift away from the topic of this list a little bit. "man sendmail" could help you to get ahead. Sorry for my bad english... dj Hugo Rebello schrieb: > Could you tell me which sintaxe of sendmail that I put in misccommands.cfg > Nagios file ? Because in this file is "mail -s" sintaxe. > > Thank you > Hugo > > -----Original Message----- > From: Dirk Johannson [mailto:d.johannson at web.de] > Sent: quinta-feira, 27 de fevereiro de 2003 18:07 > To: Hugo Rebello > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification > > > Nagios itself has no SMTP Server configuration. You'll have to install > sendmail (or postfix or whatever you like) on your nagios box. Then you > can configure sendmail for sending all mails via your "normal" > mailserver (smarthost). You could also set up a pop3/imap server and get > mails direct from your nagios box. > > dj > > Hugo Rebello schrieb: > >>Where is the SMTP SERVER configuration in Nagios ? >>Because I don't receive the notifications by e-mail. >> >>Thank you. >>Hugo >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.johannson at web.de Sat Mar 1 20:25:26 2003 From: d.johannson at web.de (Dirk Johannson) Date: Sat, 01 Mar 2003 20:25:26 +0100 Subject: define variables for notification Message-ID: <3E610926.20501@web.de> Hi, as far as I can see there are two hardcoded variables for notifications: mail ($CONTACTEMAIL$) and pager ($CONTACTPAGER$). Is it possible to define more variables, e.g. $CONTACTMACHINE$ for notifications via winpopup like "smbclient -M $CONTACTMACHINE$ "$NOTIFICATIONTYPE$ alert.........", or $CONTACTFAX$ for notifications via hylafax or something like that? [ ] I'm completely stupid and should read the docs ten times more ... [ ] I put this on the wish list for Nagios 2.0 ... [ ] ... Sorry for my bad english... dj ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdunlap_z at yahoo.com Sat Mar 1 22:48:01 2003 From: tdunlap_z at yahoo.com (Tom Dunlap) Date: Sat, 1 Mar 2003 13:48:01 -0800 (PST) Subject: RedHat 8.0, latest Nagios install and GD Libs not found In-Reply-To: <2327.12.219.122.2.1046500103.squirrel@private.vosn.net> References: <2327.12.219.122.2.1046500103.squirrel@private.vosn.net> Message-ID: <20030301214801.52279.qmail@web14103.mail.yahoo.com> I installed all libs except gd from RPMs, not source. I was manually able to locate all libs. --- jmhowell at jmhowell.com wrote: > > I installed Nagios on a RH8.0 server. > > I installed all the appropriate graphics libraries > > according to Boutwell's web site (ljpeg, > ljpeg-devel,...) > > but the Nagios configure still tells me that the gd > libs > > are not found. I located them manually, checked that > > they were installed and their LIB and INC locations. > I > > ran Nagios configure with the --with-gd-lib and > > --with-gd-inc settings - still no luck. > > > > All the graphics packages were installed with RPM > except > > for the GD libs - could not find an RPM for this so I > had > > to compile them manually. > > > > Did you install the RPM's Or the source? I know from > experience > installing RPM's will stick some of the files in > peculiar places > and the source wont locate them. Also I think your > /etc/ld.conf > file lists all your lib paths, give that a try. > > Jerry M. Howell II > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark_leddy at hotmail.com Sun Mar 2 03:58:56 2003 From: mark_leddy at hotmail.com (Mark Leddy) Date: Sun, 02 Mar 2003 02:58:56 +0000 Subject: cygwin and Nagios Message-ID: I have had Nagios running on a Redhat 7.3, I recently started playing with cygwin and found I was able to get check_nt compiled on a machine running Windows 2000 and cygwin, check_http also worked. I was real happy when all I needed to run these on another machine was to copy the check_nt.exe and cygwin1.dll. However - I had gotten on error trying to make all for the plugins gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib -g -O2 -c check_procs.c check_procs.c: In function `main': check_procs.c:106: `PS_COMMAND' undeclared (first use in this function) check_procs.c:106: (Each undeclared identifier is reported only once check_procs.c:106: for each function it appears in.) check_procs.c:123: `PS_FORMAT' undeclared (first use in this function) make[1]: *** [check_procs.o] Error 1 make[1]: Leaving directory `/cygdrive/c/temp/nagios/nagios-plugins-1.3.0-beta3/p lugins' make: *** [all-recursive] Error 1 Two questions: 1. How do I get around the error above? 2. Anyone ever tired to compile the full Nagios package using cygwin? I know that may sound foolish...but I gotta ask. Thanks, Mark (If anyone would be interested in the compiled check_nt.exe and check_http.exe let me know.) _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Sun Mar 2 03:58:56 2003 From: nagios at nagios.org (Ethan Galstad) Date: Sat, 01 Mar 2003 20:58:56 -0600 Subject: define variables for notification In-Reply-To: <3E610926.20501@web.de> References: <3E610926.20501@web.de> Message-ID: <3E611F10.12498.1603A9@localhost> I'll be adding 8 (or so) generic address macros for contacts in 2.0 ($CONTACTADDRESS1$ through $CONTACTADDRESS8$). Since there are a zillion different types of addresses, it makes more sense to name them in a generic fashion. On 1 Mar 2003 at 20:25, Dirk Johannson wrote: > Hi, > > as far as I can see there are two hardcoded variables for notifications: > mail ($CONTACTEMAIL$) and pager ($CONTACTPAGER$). > > Is it possible to define more variables, e.g. $CONTACTMACHINE$ for > notifications via winpopup like "smbclient -M $CONTACTMACHINE$ > "$NOTIFICATIONTYPE$ alert.........", or $CONTACTFAX$ for notifications > via hylafax or something like that? > > [ ] I'm completely stupid and should read the docs ten times more ... > [ ] I put this on the wish list for Nagios 2.0 ... > [ ] ... > > > Sorry for my bad english... > > dj Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From manfred.steinbacher at scheucher.at Sun Mar 2 08:25:39 2003 From: manfred.steinbacher at scheucher.at (Steinbacher Manfred) Date: Sun, 2 Mar 2003 08:25:39 +0100 Subject: Network documentation Message-ID: Hello Is it possibly to make a physical documentation about a network (hub, switch, router ,outlet) with nagios. thanks manfred ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From showkilr at showkilr.com Sun Mar 2 13:16:13 2003 From: showkilr at showkilr.com (James Peterson) Date: Sun, 2 Mar 2003 06:16:13 -0600 Subject: RedHat 8.0, latest Nagios install and GD Libs not found References: <20030301214801.52279.qmail@web14103.mail.yahoo.com> Message-ID: <000701c2e0b5$855ecc40$d500a8c0@playnet.com> you need to have gd-devel-1.8.4-9 installed this is a rpm on the RedHat install cdrom.. James "Showkilr" Peterson Playnet Systems Administration www.playnet.com Anything Else is Just A Game! ----- Original Message ----- From: "Tom Dunlap" To: ; Sent: Saturday, March 01, 2003 3:48 PM Subject: Re: [Nagios-users] RedHat 8.0, latest Nagios install and GD Libs not found I installed all libs except gd from RPMs, not source. I was manually able to locate all libs. --- jmhowell at jmhowell.com wrote: > > I installed Nagios on a RH8.0 server. > > I installed all the appropriate graphics libraries > > according to Boutwell's web site (ljpeg, > ljpeg-devel,...) > > but the Nagios configure still tells me that the gd > libs > > are not found. I located them manually, checked that > > they were installed and their LIB and INC locations. > I > > ran Nagios configure with the --with-gd-lib and > > --with-gd-inc settings - still no luck. > > > > All the graphics packages were installed with RPM > except > > for the GD libs - could not find an RPM for this so I > had > > to compile them manually. > > > > Did you install the RPM's Or the source? I know from > experience > installing RPM's will stick some of the files in > peculiar places > and the source wont locate them. Also I think your > /etc/ld.conf > file lists all your lib paths, give that a try. > > Jerry M. Howell II > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fes at users.sourceforge.net Sun Mar 2 16:14:45 2003 From: fes at users.sourceforge.net (Frank Sweetser) Date: Sun, 2 Mar 2003 10:14:45 -0500 Subject: Network documentation In-Reply-To: References: Message-ID: <20030302151445.GA32474@erwin.wpi.edu> On Sun, Mar 02, 2003 at 08:25:39AM +0100, Steinbacher Manfred wrote: > Hello > > Is it possibly to make a physical documentation about a network (hub, > switch, router ,outlet) with nagios. You could probably do some of it with extended info, but you might be better off using LANdb. http://sf.net/projects/landb/ -- Frank Sweetser fs at wpi.edu WPI Network Engineer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hardy.Boehm at internetinfocenter.net Sun Mar 2 16:21:37 2003 From: Hardy.Boehm at internetinfocenter.net (Hardy Boehm) Date: Sun, 2 Mar 2003 16:21:37 +0100 Subject: Too many notifications Message-ID: <155102933453.20030302162137@internetinfocenter.net> Hello Folks, I installed nagios and so far everything works quite fine. I have one Problem though: I am monitoring a set of hosts, which are connected to my network via a slow connection. These hosts have the anoying habit of sometimes timing out on the first try. This always produces an eMail. How can I set up nagio, so that notifications are ONLY sent out after a certain number of tests? -- bye...hardy mailto:Hardy.Boehm at internetinfocenter.net http://www.hardy-boehm.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Sun Mar 2 17:06:12 2003 From: russell at quadrix.com (Russell Scibetti) Date: Sun, 02 Mar 2003 11:06:12 -0500 Subject: "Host assumed to be up" References: <75634F04BFCFD511BF69009027DC86495C5F9F@mailman.thenap.com> Message-ID: <3E622BF4.8070000@quadrix.com> Check the FAQ or look through the list archives. Hosts are only checked if a service check fails. Otherwise, if all services for that host are OK, the host is assumed to be up. Russell Drew Weaver wrote: >What does that mean? I have about 30 devices im monitoring with Nagios 1.0, >and 27 of them say "Host assumed to be up" and 3 of them say variants of : >PING OK - Packet loss = 0%, RTA = 1.10 ms, now. They all have 'check_ping' >as one of their services, but only 3 of them appear to be working correctly. > >Thanks, >-Drew > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Sun Mar 2 17:07:46 2003 From: russell at quadrix.com (Russell Scibetti) Date: Sun, 02 Mar 2003 11:07:46 -0500 Subject: Checking remote disk space with check_disk. References: Message-ID: <3E622C52.6070701@quadrix.com> check_disk only checks the local machine it is run on. You need to use either check_by_ssh or nrpe if you want to use check_disk to check remote machines. You could also get disk data via check_snmp if you have ucd-snmp running. Russell Michael Warner wrote: > I am setting up Nagios for the first time, and am having some problems > getting disk usage stats from a remote hosts (capra). I am getting > disk stats on Nagios, but they appear to be coming from the machine > Nagios is running on (marlin). Is there anything special I need to to > to get the command to execute remotely? My .cfg syntax is as follows: > > services.cfg: > > # Service definition for Linux local disk free space /dev/hda3 > define service{ > use generic-service ; Name of service template to use > host_name capra > service_description /dev/hda3 Disk Space > is_volatile 0 > check_period 24x7 > contact_groups sys > notification_options w,u,c,r > check_command check_local_disk!"/dev/hda3" > } > > checkcommands.cfg > # 'check_local_disk' command definition > define command{ > command_name check_local_disk > command_line /usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p $ARG1$ -v > } > > Thanks! > > Mike Warner > > > > > > > > _________________________________________________________________ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Mar 2 18:09:43 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 02 Mar 2003 12:09:43 -0500 (EST) Subject: Help! Can't compile... In-Reply-To: <000001c2df65$e17509f0$66fea8c0@mongoose> References: <000001c2df65$e17509f0$66fea8c0@mongoose> Message-ID: On Fri, 28 Feb 2003, Hobbs, Richard wrote: > Hello, > > I'm trying to compile, but I'm receiving this error: > > ====================================================================== > turnip:~/installs/nagios/nagios-1.0# make all > cd ./base && make > make[1]: Entering directory `/root/installs/nagios/nagios-1.0/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -L/usr/local/lib nagios.c checks.o config.o > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o > sretention.o ../xdata/xrddefault.c ../common/comments.c ../xdata/xcddefault.c > ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c > ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c > ../xdata/xdddefault.c -lm -o nagios > make[1]: Leaving directory `/root/installs/nagios/nagios-1.0/base' > cd ./cgi && make > make[1]: Entering directory `/root/installs/nagios/nagios-1.0/cgi' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib statusmap.c getcgi.o > cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o > ../xdata/xedtemplate.c -o statusmap.cgi > /tmp/ccyjmRWt.o: In function `load_image_from_file': > /root/installs/nagios/nagios-1.0/cgi/statusmap.c:2222: undefined reference to > `gdImageCreateFromJpeg' > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/root/installs/nagios/nagios-1.0/cgi' > make: *** [all] Error 2 > turnip:~/installs/nagios/nagios-1.0# > ====================================================================== > > Why is this happening? I've installed the GD libraries, the PNG libraries, the > JPEG libraries, and the ZLIB libraries... But I'm stuck! > > I've tried everything.... Someone please help! lol > > Thanks, > Richard. > > what did configure say about having found the GD libraries? -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at ichilton.co.uk Sun Mar 2 18:37:19 2003 From: mailinglist at ichilton.co.uk (Ian Chilton) Date: Sun, 2 Mar 2003 17:37:19 +0000 Subject: Too many notifications In-Reply-To: <155102933453.20030302162137@internetinfocenter.net> References: <155102933453.20030302162137@internetinfocenter.net> Message-ID: <20030302173719.GC11254@roadrunner.ichilton.net> Hello, > How can I set up nagio, so that notifications are ONLY sent out after > a certain number of tests? In hosts.cfg, when you setup the host, use something like this: max_check_attempts 5 This means, when the host is found down, it is only marked as "soft down" - it needs to fail 5 checks to be marked as "hard down" and a notification to be sent. Or, as the docs describe it: max_check_attempts: This directive is used to define the number of times that Nagios will retry the host check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the host check again. Note: If you do not want to check the status of the host, you must still set this to a minimum value of 1. To bypass the host check, just leave the check_command option blank. Hope this helps --ian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Mar 2 18:32:29 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 02 Mar 2003 12:32:29 -0500 (EST) Subject: OT: mailing list administrivia re: Sender Verification Request In-Reply-To: References: Message-ID: Brian Watters (brwatters at revol.com) has been unsubscribed. Anybody who posted to the list recently received the messages. As a reminder to all Nagios users, if somebody you don't know, wants you to authenticate yourself - please don't. -sg On Fri, 28 Feb 2003, Carroll, Jim P [Contractor] wrote: > Is anyone else getting this sort of cruft from this guy? > > Could the moderator of the list please take appropriate action? I've > received 8 such msgs from this guy today. All at once, no less. > > I would consider simply replying to this as requested, except for an > unfortunate story which has strongly similar overtones: > > http://static.samspade.org/spamarrest.html > > jc > > > -----Original Message----- > From: brwatters at revol.com [mailto:brwatters at revol.com] > Sent: Friday, February 28, 2003 3:35 PM > To: Carroll, Jim P [Contractor] > Subject: Sender Verification Request > > > Hello, > > I have an anti-spam service named SpamWall screening my e-mail. You are > not currently on my "authorized sender" list and I need you to follow the > directions below to authenticate yourself. This is a quick, one-time > process, > so you'll never receive another verfication request from me again. > > Please reply to this message and copy and paste the following authorization > code into the "Subject:" line of the reply message: > > bbcbfc7ae303020542a46b87bec064c1 > > Thank you for helping the fight against spam. I look forward to reading > your e-mail, once you've been authenticated. > > Sincerely, > > > Brian Watters > > ----------------------------------------------------------------------- > Powered by SpamWall Services LLC http://www.SpamWall.net > Leading the Anti-Spam Revolution > > > From jcarro10 at sprintspectrum.com Fri Feb 28 15:35:09 2003 > > Received: from sc8-sf-list2.sourceforge.net [66.35.250.206] by revol.com > with ESMTP > > (SMTPD32-7.14) id A5C115A0236; Fri, 28 Feb 2003 13:33:53 -0800 > > Received: from sc8-sf-list1-b.sourceforge.net ([10.3.1.13] > helo=sc8-sf-list1.sourceforge.net) > > by sc8-sf-list2.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 > (Debian)) > > id 18orj7-000836-00; Fri, 28 Feb 2003 13:07:29 -0800 > > Received: from smtpgw5.sprintspectrum.com ([207.40.188.13]) > > by sc8-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 > (Debian)) > > id 18orhX-0005cX-00 > > for ; Fri, 28 Feb 2003 13:05:51 > -0800 > > Received: from pkcex003.sprintspectrum.com (pkcex003.sprintspectrum.com > [208.10.75.138]) > > by smtpgw5.sprintspectrum.com (8.11.2/8.11.3) with ESMTP id > h1SL5JE18782; > > Fri, 28 Feb 2003 15:05:34 -0600 (CST) > > Received: by pkcex003.sprintspectrum.com with Internet Mail Service > (5.5.2654.89) > > id <1PXH9GCG>; Fri, 28 Feb 2003 14:38:19 -0600 > > Message-ID: > > > From: "Carroll, Jim P [Contractor]" > > To: "'Hugo Rebello'" , > > nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Notification by e-mail > > MIME-Version: 1.0 > > X-Mailer: Internet Mail Service (5.5.2654.89) > > Content-Type: text/plain; > > charset="iso-8859-1" > > Sender: nagios-users-admin at lists.sourceforge.net > > Errors-To: nagios-users-admin at lists.sourceforge.net > > X-BeenThere: nagios-users at lists.sourceforge.net > > X-Mailman-Version: 2.0.9-sf.net > > Precedence: bulk > > List-Help: > > > List-Post: > > List-Subscribe: > , > > > > > List-Id: Nagios Users List > > List-Unsubscribe: > , > > > > > List-Archive: > > > X-Original-Date: Fri, 28 Feb 2003 14:38:11 -0600 > > Date: Fri, 28 Feb 2003 14:38:11 -0600 > > X-Note: This e-mail scanned for JunkMail with safE-Mail by American > Broadband Services - info at abs-internet.com > > X-Note: This E-mail was sent from 206.250.35.66.in-addr.arpa > ([66.35.250.206]). > > X-RCPT-TO: > > Status: U > > X-UIDL: 345702422 > > > > Does mail delivery from your Nagios host work at all? > > > > What happens when you try this command on the Nagios host: > > > > echo "hello" | mail hugo.rebello at br.danzas.com > > > > Do you get an e-mail in your inbox from the Nagios host? If not, your > > sendmail.cf could be misconfigured. If this is the case, you might want > to > > check the FAQ on www.nagios.org. > > > > jc > > > > > > > -----Original Message----- > > > From: Hugo Rebello [mailto:hugo.rebello at br.danzas.com] > > -- original message truncated for brevity > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albler-b at chello.at Sun Mar 2 18:33:32 2003 From: albler-b at chello.at (Bernhard Albler) Date: Sun, 02 Mar 2003 18:33:32 +0100 Subject: Too many notifications In-Reply-To: <155102933453.20030302162137@internetinfocenter.net> References: <155102933453.20030302162137@internetinfocenter.net> Message-ID: <3E62406C.3030707@chello.at> Hardy Boehm wrote: >Hello Folks, > > I installed nagios and so far everything works quite fine. > I have one Problem though: > I am monitoring a set of hosts, which are connected to my network via > a slow connection. These hosts have the anoying habit of sometimes > timing out on the first try. This always produces an eMail. > > How can I set up nagio, so that notifications are ONLY sent out after > a certain number of tests? > > > > hi, this is pretty much standard functionality of nagios and is well described in in the docs: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html a little cut and paste: *max_check_attempts*: This directive is used to define the number of times that Nagios will retry the host check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the host check again. Note: If you do not want to check the status of the host, you must still set this to a minimum value of 1. To bypass the host check, just leave the /check_command/ option blank. btw: it looks like the nagios list archives at sf aren't working. -- Bernhard ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albler-b at chello.at Sun Mar 2 18:32:15 2003 From: albler-b at chello.at (Bernhard Albler) Date: Sun, 02 Mar 2003 18:32:15 +0100 Subject: Too many notifications In-Reply-To: <155102933453.20030302162137@internetinfocenter.net> References: <155102933453.20030302162137@internetinfocenter.net> Message-ID: <3E62401F.1050507@chello.at> Hardy Boehm wrote: >Hello Folks, > > I installed nagios and so far everything works quite fine. > I have one Problem though: > I am monitoring a set of hosts, which are connected to my network via > a slow connection. These hosts have the anoying habit of sometimes > timing out on the first try. This always produces an eMail. > > How can I set up nagio, so that notifications are ONLY sent out after > a certain number of tests? > > > > hi, this is pretty much standard functionality of nagios and is well described in in the docs: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html a little cut and paste: *max_check_attempts*: This directive is used to define the number of times that Nagios will retry the host check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the host check again. Note: If you do not want to check the status of the host, you must still set this to a minimum value of 1. To bypass the host check, just leave the /check_command/ option blank. -- Bernhard ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Mar 2 18:00:34 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 02 Mar 2003 12:00:34 -0500 (EST) Subject: Too many notifications In-Reply-To: <155102933453.20030302162137@internetinfocenter.net> References: <155102933453.20030302162137@internetinfocenter.net> Message-ID: On Sun, 2 Mar 2003, Hardy Boehm wrote: > Hello Folks, > > I installed nagios and so far everything works quite fine. > I have one Problem though: > I am monitoring a set of hosts, which are connected to my network via > a slow connection. These hosts have the anoying habit of sometimes > timing out on the first try. This always produces an eMail. > > How can I set up nagio, so that notifications are ONLY sent out after > a certain number of tests? > > > increase the number of retries and/or the retry interval -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 3 00:15:54 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 3 Mar 2003 10:15:54 +1100 Subject: FreeBSD & Nagios with statusmap.cgi | How?? In-Reply-To: ; from otmar@e-commercepark.com on Fri, Feb 28, 2003 at 06:01:05PM -0400 References: Message-ID: <20030303101552.B87482@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Feb 28, 2003 at 06:01:05PM -0400, Otmar Conradus wrote: > Hi All, > > I am another FreeBSD nagios user. > Unfortunately I still have problems with the host logging which I posted > a week ago. > Are you guys experiencing the same problem? > - I did set the log rotation for daily and it's not rotating. > - The nagios.log only has startup times of the nagios process and all > host warnings etc are not logged. > > Otmar Conradus > Curacao, Netherlands Antilles > that there at least two FreeBSD users using Nagios built from source without any problems (in logging or anywhere else). If you are using the FreeBSD Nagios port then I suggest you 1 make sure that Nagios is configured to log as you expect (I think I use most of the deafult values to see retries being logged and so on) Perhaps you have got a default FreeBSD port Nag config and it is sending the logged messages to Syslog (is there a /var/log/nagios.log ?). 2 If the Nag config looks Ok, then write to the FreeBSD port maintainer. HTH, 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 3 00:24:36 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 3 Mar 2003 10:24:36 +1100 Subject: WML interface & Nokia 7650 In-Reply-To: <20030301095300.GB11254@roadrunner.ichilton.net>; from mailinglist@ichilton.co.uk on Sat, Mar 01, 2003 at 09:53:00AM +0000 References: <20030227140025.GA1378@roadrunner.ichilton.net> <20030301095300.GB11254@roadrunner.ichilton.net> Message-ID: <20030303102434.C87482@IPAustralia.Gov.AU> On Sat, Mar 01, 2003 at 09:53:00AM +0000, Ian Chilton wrote: .. snip ... > > Does the Nagios author ever reply to e-mails? - it would be nice to hear > his take on this problem. > Yes, by developing Nagios. Perhaps you need to hire a Nokia WAP consultant. -- ------------------------------------------------------------------------ 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Mon Mar 3 09:51:59 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Mon, 3 Mar 2003 09:51:59 +0100 Subject: Nagios Notification problem Message-ID: <200303030951.59498.Michael.Huettig@Medien-Systempartner.de> Hi anyone, i have problem with outgoing-notifcations, on a host i've changed the notification-group, the config-cgi shows me the new group but notifications go out to the formerly configured group. Also stopped the complete nagios-process but it's working wrong, i'm using nagios 1.0b6. Has anyone seen the same problem or has a hint for me? -- Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 3 10:39:43 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 3 Mar 2003 20:39:43 +1100 Subject: Nagios Notification problem In-Reply-To: <200303030951.59498.Michael.Huettig@Medien-Systempartner.de>; from Michael.Huettig@Medien-Systempartner.de on Mon, Mar 03, 2003 at 09:51:59AM +0100 References: <200303030951.59498.Michael.Huettig@Medien-Systempartner.de> Message-ID: <20030303203941.B238@IPAustralia.Gov.AU> Dear Sir, Please try the production release of Nagios 1.0 instead of a beta. if the problem persists with nagios-1.0, you may have found a bug. Your previous config should work unchanged with the new version. 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ThomasScholten at schmuecker.de Mon Mar 3 11:16:18 2003 From: ThomasScholten at schmuecker.de (Scholten, Thomas) Date: Mon, 3 Mar 2003 11:16:18 +0100 Subject: ns_client + Win 2k = Division by Zero Message-ID: Hello All, i'm experiencing problem using the ns client in conjunction with nagios. Except one Win 2k Server all are doing fine, but the exception is the one posting "division by zero" in his event log and nagios saying strange things about CPU-Load in the statusscreen (NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10). Is there any hint or mehthod to get more debugging info to track down the problem ? thanks Thomas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at ichilton.co.uk Mon Mar 3 11:21:28 2003 From: mailinglist at ichilton.co.uk (Ian Chilton) Date: Mon, 3 Mar 2003 10:21:28 +0000 Subject: WML interface & Nokia 7650 In-Reply-To: <20030303102434.C87482@IPAustralia.Gov.AU> References: <20030227140025.GA1378@roadrunner.ichilton.net> <20030301095300.GB11254@roadrunner.ichilton.net> <20030303102434.C87482@IPAustralia.Gov.AU> Message-ID: <20030303102128.GB18880@roadrunner.ichilton.net> Hello, > Perhaps you need to hire a Nokia WAP consultant. haha I've fixed the problem but it required changing every href (~45 of them) so I need to do more testing, then i'll post the patch to the devel list. --ian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hardy.Boehm at internetinfocenter.net Mon Mar 3 12:18:28 2003 From: Hardy.Boehm at internetinfocenter.net (Hardy Boehm) Date: Mon, 3 Mar 2003 12:18:28 +0100 Subject: Notifications sent allthough disabled Message-ID: <30174788546.20030303121828@internetinfocenter.net> Hi Folks! I am receiving notifications, allthough they are turned off for this specific service. What am i Missing here??? --------8><-------------------8><-------------------8><----------- define service { host_name max service_description Check Website apache.schaf.de check_command check-website!apache.schaf.de use tpl_website } define service { service_description Check Website check_command check-website max_check_attempts 5 normal_check_interval 20 retry_check_interval 2 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r contact_groups ADMINS name tpl_website notifications_enabled 0 register 0 } -- bye...hardy mailto:Hardy.Boehm at internetinfocenter.net http://www.hardy-boehm.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francesco.albrizio at init.it Mon Mar 3 13:14:02 2003 From: francesco.albrizio at init.it (Francesco Albrizio) Date: Mon, 3 Mar 2003 13:14:02 +0100 Subject: plugins on nokia ipso Message-ID: <00b701c2e17e$60998d40$3302a8c0@init.it> Hi all, does anyone knows a way to compile and make run nagios plugins (and nrpe) on nokia ipso? Thanks, Francesco Albrizio E-mail: francesco.albrizio at init.it Network & Security Manager UNITEAM INIT InterNetworking & Information Technology via Imperia, 2 20142 MILANO Tel. 02-89546000 Fax. 02-8467832 -------------- next part -------------- An HTML attachment was scrubbed... URL: From hobbs at mongeese.co.uk Mon Mar 3 13:41:20 2003 From: hobbs at mongeese.co.uk (Hobbs, Richard) Date: Mon, 3 Mar 2003 12:41:20 +0000 Subject: Help! Can't compile... In-Reply-To: References: Message-ID: <1046695280.3e634d701fbe0@webmail.mongeese.co.uk> Hello, > what did configure say about having found the GD libraries? I have discarded the output now, but i remember distinctly looking for this, and it said (while compiling Nagios) that the GD libraries *were* found. However, i compiled the GD libraries without JPEG support. i only have PNG and ZLIB support in GD, cos i couldn't get it to recognise JPEG. I understand that Nagios doesn't need JPEG support though, so i don't know why this is failing. Thanks, Richard. Quoting Subhendu Ghosh : > On Fri, 28 Feb 2003, Hobbs, Richard wrote: > > > Hello, > > > > I'm trying to compile, but I'm receiving this error: > > > > ====================================================================== > > turnip:~/installs/nagios/nagios-1.0# make all > > cd ./base && make > > make[1]: Entering directory `/root/installs/nagios/nagios-1.0/base' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -L/usr/local/lib nagios.c checks.o > config.o > > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o > > sretention.o ../xdata/xrddefault.c ../common/comments.c > ../xdata/xcddefault.c > > ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c > > ../xdata/xsddefault.c perfdata.o ../xdata/xpddefault.c > ../common/downtime.c > > ../xdata/xdddefault.c -lm -o nagios > > make[1]: Leaving directory `/root/installs/nagios/nagios-1.0/base' > > cd ./cgi && make > > make[1]: Entering directory `/root/installs/nagios/nagios-1.0/cgi' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -L/usr/local/lib statusmap.c getcgi.o > > cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c > > ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o > > ../xdata/xedtemplate.c -o statusmap.cgi > > /tmp/ccyjmRWt.o: In function `load_image_from_file': > > /root/installs/nagios/nagios-1.0/cgi/statusmap.c:2222: undefined reference > to > > `gdImageCreateFromJpeg' > > collect2: ld returned 1 exit status > > make[1]: *** [statusmap.cgi] Error 1 > > make[1]: Leaving directory `/root/installs/nagios/nagios-1.0/cgi' > > make: *** [all] Error 2 > > turnip:~/installs/nagios/nagios-1.0# > > ====================================================================== > > > > Why is this happening? I've installed the GD libraries, the PNG libraries, > the > > JPEG libraries, and the ZLIB libraries... But I'm stuck! > > > > I've tried everything.... Someone please help! lol > > > > Thanks, > > Richard. > > > > > > > what did configure say about having found the GD libraries? > > -- > > -sg > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Richard Hobbs hobbs at mongeese.co.uk http://mongeese.co.uk | http://fishsponge.co.uk "There's only one way of life, and that's your own" - The Levellers _____________________________________________________ Send all your jokes to jokes at fishsponge.co.uk !! To subscribe, email: jokes-subscribe at fishsponge.co.uk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From francesco.albrizio at init.it Mon Mar 3 14:11:48 2003 From: francesco.albrizio at init.it (Francesco Albrizio) Date: Mon, 3 Mar 2003 14:11:48 +0100 Subject: plugins on nokia ipso References: <7E47A0E20913514C8F4CD1BC241A37030A4500@serv-075.icon-germany.local> Message-ID: <00e801c2e186$72cd0020$3302a8c0@init.it> I will try, thanks for the hint. Regards, Francesco Albrizio E-mail: francesco.albrizio at init.it Network & Security Manager UNITEAM INIT InterNetworking & Information Technology via Imperia, 2 20142 MILANO Tel. 02-89546000 Fax. 02-8467832 ----- Original Message ----- From: "Hagen Deike" To: Cc: "'Francesco Albrizio'" Sent: Monday, March 03, 2003 2:10 PM Subject: RE: [Nagios-users] plugins on nokia ipso > > > Hi all, does anyone knows a way to compile and make run nagios plugins > (and nrpe) > > on nokia ipso? > > Hi, > > Nope. But IPSO is build on FreeBSD as far as I know. Maybe you can compile > it on BSD and then run it under IPSO. > > Regards, > Hagen Deike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Mon Mar 3 14:10:30 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Mon, 3 Mar 2003 14:10:30 +0100 Subject: plugins on nokia ipso Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4500@serv-075.icon-germany.local> > Hi all, does anyone knows a way to compile and make run nagios plugins (and nrpe) > on nokia ipso? Hi, Nope. But IPSO is build on FreeBSD as far as I know. Maybe you can compile it on BSD and then run it under IPSO. Regards, Hagen Deike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ThomasScholten at schmuecker.de Mon Mar 3 14:37:20 2003 From: ThomasScholten at schmuecker.de (Scholten, Thomas) Date: Mon, 3 Mar 2003 14:37:20 +0100 Subject: hostextinfo + hostgroup_name Message-ID: Hello List, i'm currently playing around with the hostextinfo and wondering if its possible to set the icon onformation on a hostgroup and not on a single host to keep the typing stress low. Is there any valid keyword for hostgroups that does the job ? define hostextinfo{ host_name nt-ffm-001 <--- works # hostgroup_name nt-servers <--- doesn't work :( icon_image win40.png statusmap_image win40.gd2 } cheers Thomas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxxik at mail.ru Mon Mar 3 15:54:29 2003 From: maxxik at mail.ru (maxxik) Date: Mon, 3 Mar 2003 16:54:29 +0200 Subject: cutted diagram in Status map Message-ID: <194834827488.20030303165429@mail.ru> ho ppl ! i have a question : why i have cutted diagram in Status map menu ? (drawn by statusmap.cgi) ? i use default_statusmap_layout=5 in cgi.cfg and when i try to see Status map - i see the cutted pic from the bottom and right side ... when i open my browser in fullscreen mode - i see it again ... why it appear and how i can see non-cutted diagram ? wbr,maxx ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From otmar at e-commercepark.com Mon Mar 3 16:06:17 2003 From: otmar at e-commercepark.com (Otmar Conradus) Date: Mon, 3 Mar 2003 11:06:17 -0400 Subject: FreeBSD & Nagios with statusmap.cgi | How?? In-Reply-To: <20030303101552.B87482@IPAustralia.Gov.AU> References: <20030303101552.B87482@IPAustralia.Gov.AU> Message-ID: Hi all, Thank you all for the replies. My problems has been fixed. I changed the log file location to /var/log/nagios.log but the file didn't have the right permissions on it. Please add me to the list of happy freebsd users of nagios! :-) Otmar Conradus Curacao, Netherlands Antilles -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stanley Hopcroft Sent: Sunday, March 02, 2003 7:16 PM To: Otmar Conradus Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FreeBSD & Nagios with statusmap.cgi | How?? Dear Sir, I am writing to thank you for your letter and say, On Fri, Feb 28, 2003 at 06:01:05PM -0400, Otmar Conradus wrote: > Hi All, > > I am another FreeBSD nagios user. > Unfortunately I still have problems with the host logging which I > posted a week ago. Are you guys experiencing the same problem? > - I did set the log rotation for daily and it's not rotating. > - The nagios.log only has startup times of the nagios process and all > host warnings etc are not logged. > > Otmar Conradus > Curacao, Netherlands Antilles > that there at least two FreeBSD users using Nagios built from source without any problems (in logging or anywhere else). If you are using the FreeBSD Nagios port then I suggest you 1 make sure that Nagios is configured to log as you expect (I think I use most of the deafult values to see retries being logged and so on) Perhaps you have got a default FreeBSD port Nag config and it is sending the logged messages to Syslog (is there a /var/log/nagios.log ?). 2 If the Nag config looks Ok, then write to the FreeBSD port maintainer. HTH, 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Mar 3 16:42:18 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 3 Mar 2003 09:42:18 -0600 Subject: Viewing rights Message-ID: I think I already did, so here it is again: $ cd /usr/local/nagios/etc $ grep ^authorized_for_ cgi.cfg authorized_for_system_information=* authorized_for_configuration_information=* authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin,guest authorized_for_all_hosts=nagiosadmin,guest authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin And here are some helpful links: http://nagios.sourceforge.net/docs/1_0/configcgi.html#use_authentication http://nagios.sourceforge.net/docs/1_0/configcgi.html HTH. jc > -----Original Message----- > From: Philip Brown [mailto:phil at bolthole.com] > Sent: Friday, February 28, 2003 7:02 PM > To: Carroll, Jim P [Contractor] > Subject: Re: [Nagios-users] Viewing rights > > > On Thu, Feb 27, 2003 at 03:05:57PM -0600, Carroll, Jim P > [Contractor] wrote: > > Instead, it would be preferable if the DBAs could see > host-related info > > (like a guest would), but have no power to do anything > about the hosts (like > > a guest would). This ability can be kludged today by > editing the cgi.cfg > > file and adding the individual contacts. Doable, yes. > Preferable, not > > really. It's a significant deviation from using contact groups. > > could you give details on how to do that, please? > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv at ypsilon.net Mon Mar 3 17:09:46 2003 From: gv at ypsilon.net (Geert Vanderkelen) Date: 03 Mar 2003 17:09:46 +0100 Subject: check_mrttraf -f argument probs Message-ID: <1046707786.7005.88.camel@phobos> Hi, check_mrtgtraf gives me headaches. I'm using the one of the netsaint-plugin package. Nagios plugin there doesn't really go.. # check_mrtgtraf -f /path/to/mrtg/file/192.168.1.3_1.log -e 30 -A AVG \ -w 307200,51200 -c 409600,614400 Works great on command line. Running this same with parameters I get always 'Unable to open MRTG log file'. I've changed to the code and outputting the file when it says this message.. Permissions are ok since the webuser can even open this file. Putting this file into temp.. like /tmp/dlink.log gives me a '(No Output)' Information but status OK. Totally lost here.. :( thanks, Geert -- Geert Vanderkelen Ypsilon.Net AG http://www.ypsilon.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Mon Mar 3 17:54:58 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Mon, 3 Mar 2003 10:54:58 -0600 Subject: Nagios plugins and Windows2000 hosts Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B471B@gsmail.govst.edu> Check the Nagios faq! Also see http://nsclient.ready2run.nl Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Tom Dunlap [mailto:tdunlap_z at yahoo.com] Sent: Friday, February 28, 2003 8:16 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios plugins and Windows2000 hosts Are there any plugins for doing service checks on Win2k hosts? I used check_disk but the values are incorrect. Thanks Tom Dunlap [newbie] __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Mon Mar 3 17:57:20 2003 From: drich at employees.org (Dan Rich) Date: Mon, 3 Mar 2003 08:57:20 -0800 (PST) Subject: Dependencies Message-ID: <50011.63.237.201.12.1046710640.squirrel@www.lapseofthought.com> Has anyone done any work at building a tool to auto-generate the dependencies config? I'm thinking of writing some code to read parent information from the host config and build dependencies from it (with a hook for allowing additional dependencies to be added). I tried searching the sourceforge mailing list archives, but it looks like it is timing out trying to search the list. Anyone want to save me some work? :) -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryano at ch-gifts.com Mon Mar 3 18:10:41 2003 From: ryano at ch-gifts.com (Ryan O'Rourke) Date: 03 Mar 2003 11:10:41 -0600 Subject: multiple host and service alerts Message-ID: <1046711441.1209.17.camel@ryano> Hello, I keep getting multiple alerts (usually two or three) within minutes of each other each time a host or service goes down or recovers. I only want one notice each time a host or service goes down and one when it recovers. Also, Nagios is only monitoring one service on each of these hosts so I don't understand why I would be getting multiple alerts at all. If someone could point me in the right direction I would appreciate it. There are examples of service.cfg and contacts.cfg. ********************************************************************** ## services.cfg ## # 'ping ROUTER' service definition define service{ use generic-service host_name r2030 service_description PING router contact_groups router-admin check_command check_ping!100.0,20%!500.0,60% } ## contacts.cfg ## # 'ryano' contact definition define contact{ contact_name ryano alias Ryan O service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email email at mydomain.com } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at bolthole.com Mon Mar 3 19:41:03 2003 From: nagios at bolthole.com (Philip Brown) Date: Mon, 3 Mar 2003 10:41:03 -0800 Subject: Viewing rights In-Reply-To: ; from jcarro10@sprintspectrum.com on Mon, Mar 03, 2003 at 09:42:18AM -0600 References: Message-ID: <20030303104103.B24220@bolthole.com> On Mon, Mar 03, 2003 at 09:42:18AM -0600, Carroll, Jim P [Contractor] wrote: > > could you give details on how to [give dbas readonly view on hosts] > >, please? > > > I think I already did, so here it is again: > > $ cd /usr/local/nagios/etc > $ grep ^authorized_for_ cgi.cfg >.... > authorized_for_all_hosts=nagiosadmin,guest > authorized_for_all_service_commands=nagiosadmin I thought you meant you knew a hacky way to allow dbas to get readonly views on SPECIFIC hosts or hostgroups. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From otmar at e-commercepark.com Mon Mar 3 22:01:56 2003 From: otmar at e-commercepark.com (Otmar Conradus) Date: Mon, 3 Mar 2003 17:01:56 -0400 Subject: multiple host and service alerts In-Reply-To: <1046711441.1209.17.camel@ryano> References: <1046711441.1209.17.camel@ryano> Message-ID: Hi Ryan, Please include your contact-groups.cfg also Otmar Conradus Curacao, Netherlands Antilles -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ryan O'Rourke Sent: Monday, March 03, 2003 1:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] multiple host and service alerts Hello, I keep getting multiple alerts (usually two or three) within minutes of each other each time a host or service goes down or recovers. I only want one notice each time a host or service goes down and one when it recovers. Also, Nagios is only monitoring one service on each of these hosts so I don't understand why I would be getting multiple alerts at all. If someone could point me in the right direction I would appreciate it. There are examples of service.cfg and contacts.cfg. ********************************************************************** ## services.cfg ## # 'ping ROUTER' service definition define service{ use generic-service host_name r2030 service_description PING router contact_groups router-admin check_command check_ping!100.0,20%!500.0,60% } ## contacts.cfg ## # 'ryano' contact definition define contact{ contact_name ryano alias Ryan O service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email email at mydomain.com } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryano at ch-gifts.com Mon Mar 3 22:14:07 2003 From: ryano at ch-gifts.com (Ryan O'Rourke) Date: 03 Mar 2003 15:14:07 -0600 Subject: multiple host and service alerts In-Reply-To: References: Message-ID: <1046726048.1524.51.camel@ryano> Thank you for your response. Here is an excerpt from hostgroups.cfg. ********************************************************************** ## hostgroups.cfg ## # 'router-admins' contact group definition define contactgroup{ contactgroup_name router-admin alias Router Admin members ryano } ********************************************************************** On Mon, 2003-03-03 at 15:01, Otmar Conradus wrote: > Hi Ryan, > > Please include your contact-groups.cfg also > > Otmar Conradus > Curacao, Netherlands Antilles > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ryan > O'Rourke > Sent: Monday, March 03, 2003 1:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] multiple host and service alerts > > > Hello, > > I keep getting multiple alerts (usually two or three) within minutes of > each other each time a host or service goes down or recovers. I only > want one notice each time a host or service goes down and one when it > recovers. Also, Nagios is only monitoring one service on each of these > hosts so I don't understand why I would be getting multiple alerts at > all. > > If someone could point me in the right direction I would appreciate it. > > There are examples of service.cfg and contacts.cfg. > > ********************************************************************** > ## services.cfg ## > # 'ping ROUTER' service definition > define service{ > use generic-service > host_name r2030 > service_description PING router > contact_groups router-admin > check_command check_ping!100.0,20%!500.0,60% > } > > ## contacts.cfg ## > # 'ryano' contact definition > define contact{ > contact_name ryano > alias Ryan O > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email email at mydomain.com > } > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Mar 3 23:41:11 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 3 Mar 2003 16:41:11 -0600 Subject: Viewing rights Message-ID: Nope. You can give them read-only access to all hosts, just like you would give 'guest' read-only access to all hosts. Failing that, you can give them zero host-level access and stick to their services. It really does make some of the views inhospitable, but.... jc > -----Original Message----- > From: Philip Brown [mailto:nagios at bolthole.com] > Sent: Monday, March 03, 2003 12:41 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Viewing rights > > > On Mon, Mar 03, 2003 at 09:42:18AM -0600, Carroll, Jim P > [Contractor] wrote: > > > could you give details on how to [give dbas readonly view > on hosts] > > >, please? > > > > > > I think I already did, so here it is again: > > > > $ cd /usr/local/nagios/etc > > $ grep ^authorized_for_ cgi.cfg > >.... > > authorized_for_all_hosts=nagiosadmin,guest > > authorized_for_all_service_commands=nagiosadmin > > > I thought you meant you knew a hacky way to allow dbas to get readonly > views on SPECIFIC hosts or hostgroups. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcoleman at lrn.com Tue Mar 4 01:05:03 2003 From: jcoleman at lrn.com (Jason Coleman) Date: Mon, 3 Mar 2003 16:05:03 -0800 Subject: Walking a Site Message-ID: <8A4F07369400D511B1890060CF204C2A05190308@lrnex01.corp.lrn.com> Does anyone know if there is a way to have Nagios walk a web site? We were able to configure it to check page content, but it would be beneficial if Nagios were able to walk a site to test content so that we can avoid a possible gateway error from the client side. Any feedback would be beneficial. Jason Coleman Systems Engineer LRN - The Legal Knowledge Company Inter Office: 5381 jcoleman at lrn.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdunlap_z at yahoo.com Tue Mar 4 01:08:53 2003 From: tdunlap_z at yahoo.com (Tom Dunlap) Date: Mon, 3 Mar 2003 16:08:53 -0800 (PST) Subject: Nagios plugins and Windows2000 hosts In-Reply-To: <7F76AA41FC7DD5119B1E00508BAF0444030B471B@gsmail.govst.edu> References: <7F76AA41FC7DD5119B1E00508BAF0444030B471B@gsmail.govst.edu> Message-ID: <20030304000853.1208.qmail@web14107.mail.yahoo.com> I was really looking for a plugin that would retrieve the values from SNMP correctly rather than use an NSC Client. TomD --- "VanZee, Timothy" wrote: > Check the Nagios faq! Also see > http://nsclient.ready2run.nl > > > Tim Van Zee > ITS Network Specialist > Governors State University > > > -----Original Message----- > From: Tom Dunlap [mailto:tdunlap_z at yahoo.com] > Sent: Friday, February 28, 2003 8:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios plugins and Windows2000 > hosts > > > Are there any plugins for doing service checks on Win2k > hosts? I used check_disk but the values are incorrect. > > Thanks > Tom Dunlap [newbie] > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) > and OS when > reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wangee at linuxbe.org Mon Mar 3 23:08:11 2003 From: wangee at linuxbe.org (Christian Vanguers) Date: 03 Mar 2003 23:08:11 +0100 Subject: SANS Alert - Critical Vulnerability in Sendmail and a Snort Vulnerability In-Reply-To: <2003030323172.QEZ35603@server2.SANS.ORG> References: <2003030323172.QEZ35603@server2.SANS.ORG> Message-ID: <1046729291.16919.5.camel@winnie> It's a little bit off-topic, but i'm sure some of you are running Sendmail and/or Snort... This post is just FYI Chris Le lun 03/03/2003 ? 22:25, The SANS Institute a ?crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > SANS Alert 2003-03-03 > Critical vulnerability in all versions of SENDMAIL > Plus a Snort Vulnerability > > And an invitation to a web broadcast on the vulnerabilities > > The Sendmail Vulnerability > What systems are affected? UNIX and Linux Systems running sendmail - > probably even those that are not mail servers. > Level: CRITICAL - affords root or superuser access when sendmail is > running with those privileges. > > A new critical vulnerability has been discovered in Sendmail. The UNIX > and Linux vendors have been working feverishly to get a patch ready and > most are available now. Sendmail is too big a target for attackers to > ignore, so it makes sense to act immediately to protect your systems. > > In this note you will find: > (1) The invitation to the webcast covering both vulnerabilities > (2) DHS/NIPC Advisory 03-004 Remote Sendmail Header Processing > Vulnerability > (3) A description of what government and industry did to try to > mitigate damage from this newly discovered vulnerability. > (4) The Department of Homeland Security Alert on the Snort > Vulnerability > > ******************************************************** > SANS Web Broadcast (free) on the Sendmail Vulnerability and the > Snort Vulnerability > > Date: March 3, 2003 (today) > Time: 7 PM EST (0000 UTC) > Register at: http://www.sans.org/webcasts/030303.php > There is an absolute limit of 2,000 people on the live program to > ensure quality audio, but the archive will be available about 5 hours > later for anyone who does not get a reservation. > > Featuring the ISS X-Force folks (ISS discovered the vulnerability), > Hal Pomeranz (sendmail expert) and Marty Roesch, author of Snort, > will brief you on the Snort vulnerability. > > Below you'll find the Department of Homeland Security advisory followed > by a brief description of what happened behind the scenes inside the > government followed by the DHS Snort vulnerability alert. > > *********************************************************************** > Here's the DHS/NIPC Advisory > > Remote Sendmail Header Processing Vulnerability > > SUMMARY: > > The Department of Homeland Security (DHS), National Infrastructure > Protection Center (NIPC) is issuing this advisory to heighten > awareness of the recently discovered Remote Sendmail Header Processing > Vulnerability (CAN-2002-1337). NIPC has been working closely with > the industry on vulnerability awareness and information dissemination. > > The Remote Sendmail Header Processing Vulnerability allows local and > remote users to gain almost complete control of a vulnerable Sendmail > server. Attackers gain the ability to execute privileged commands using > super-user (root) access/control. This vulnerability can be exploited > through a simple e-mail message containing malicious code. Sendmail is > the most commonly used Mail Transfer Agent and processes an estimated > 50 to 75 percent of all Internet e-mail traffic. System administrators > should be aware that many Sendmail servers are not typically shielded > by perimeter defense applications. A successful attacker could install > malicious code, run destructive programs and modify or delete files. > > Additionally, attackers may gain access to other systems > thru a compromised Sendmail server, depending on local > configurations. Sendmail versions 5.2 up to 8.12.8 are known to be > vulnerable at this time. > > DESCRIPTION: > > The Remote Sendmail Header Processing Vulnerability is exploited > during the processing and evaluation of e-mail header fields collected > during an SMTP transaction. Examples of these header fields are the > "To", "From" and "CC" lines. The crackaddr() function in the Sendmail > headers.c file allows Sendmail to evaluate whether a supplied address > or list of addresses contained in the header fields is valid. Sendmail > uses a static buffer to store processed data. It detects when the > static buffer becomes full and stops adding characters. However, > Sendmail continues processing data and several security checks are > used to ensure that characters are parsed correctly. The vulnerability > allows a remote attacker to gain access to the Sendmail server by > sending an e-mail containing a specially crafted address field which > triggers a buffer overflow. > > RECOMMENDATION: > Due to the seriousness of this vulnerability, the NIPC is strongly > recommending that system administrators who employ Sendmail take this > opportunity to review the security of their Sendmail software and to > either upgrade to Sendmail 8.12.8 or apply the appropriate patch for > older versions as soon as possible. > Patches for the vulnerability are available from Sendmail, from ISS who > discovered the vulnerability and from vendors whose applications > incorporate Sendmail code, including IBM, HP, SUN, Apple and SGI. Other > vendors will release patches in the near future. > The primary distribution site for Sendmail is: http://www.sendmail.org > Patches and information are also available from the following sites: > The ISS Download center http://www.iss.net/download > IBM Corporation http://www.ibm.com/support/us/ > Hewlett-Packard , Co. http://www.hp.com > Silicon Graphics Inc. http://www.sgigate.sgi.com > Apple Computer, Inc. http://www.apple.com/ > Sun Microsystems, Inc. http://www.sun.com/service/support/ > Common Vulnerabilities and Exposure (CVE) Project http://CVE.mitre.org > > As always, computer users are advised to keep their anti-virus and > systems software current by checking their vendor's web sites frequently > for new updates and to check for alerts put out by the DHS/NIPC, > CERT/CC, ISS and other cognizant organizations. The DHS/NIPC encourages > recipients of this advisory to report computer intrusions to their local > FBI office (http://www.fbi.gov/contact/fo/fo.htm) and other appropriate > authorities. Recipients may report incidents online to > http://www.nipc.gov/incident/cirr.htm. The DHS/NIPC Watch and Warning > Unit can be reached at (202) 323-3204/3205/3206 or nipc.watch at fbi.gov. > > > ==== > > Background on government/industry cooperation to mitigate damage > > The Sendmail Vulnerability Announced Today, March 3, 2003 > How Well Did The Cyber Defense Community Do? > > Today, hundreds of thousands of people learned of a vulnerability in > the sendmail program which is widely used for Internet mail handling. > A vulnerability in such a widely used open source software program > presents difficult challenges for the cyber defense community - > including the need to get more than twenty different software > organizations to act quickly and silently to develop patches. > > Three primary actions are required to respond effectively to such > a vulnerability: > > 1. Verify that the vulnerability exists and is important. > 2. Contact the key technical personnel at each of the software > companies and other groups that distribute sendmail (either alone or > with other software) and ensure that they develop and test patches > and make them ready for widespread distribution. > 3. Plan and execute an early warning and distribution strategy > that enables critical infrastructure organizations in the US and in > partner countries to be prepared for rapid deployment of the patches > once they are ready. This must be accomplished without leaking data > about the vulnerability to the black hat community that exploits such > vulnerabilities by creating worms like Code Red, Slapper, and Slammer. > > When possible, several other actions may be appropriate: > > 4. Provide military and other very sensitive organizations with early > access to the patches so their systems can be protected even before > public disclosure of the vulnerability. > 5. Use sensor networks with smart filters to test for exploitation. > 6. Develop and distribute filters that can block the offending packets > to protect systems that cannot or will not install patches immediately. > > On Saturday, March 1, 2003, the US Department of Homeland Security > became fully operational, although the elements of the new department > had been working together for several weeks. In cybersecurity, the new > Department brings together four highly visible cybersecurity agencies: > (1) The National Infrastructure Protection Center from the FBI, (2) > FedCIRC from the General Services Administration, (3) the National > Communications System program from the US Department of Defense, and > (4) the Critical Infrastructure Assurance Office from the Department > of Commerce. > > Today's disclosure of a vulnerability in sendmail offers the > opportunity to see how quickly and effectively the cyber defense > community, led by this new Department, can respond to important > threats. > > Sendmail's vulnerability offers a legitimate test because sendmail > handles a large amount of Internet mail traffic and is installed on > at least 1.5 million Internet-connected systems. More than half of > the large ISPs and Fortune 500 companies use sendmail, as do tens of > thousands of other organizations. A security hole in sendmail affects > a lot of people and demands their immediate attention. > > You can draw your own conclusion on how well the problem is being > handled. Here are the facts: > > 1. On Friday, February 14, telephone calls to the Department of > Homeland Security (DHS) and the White House Office of Cyberspace > Security alerted the US government to a suspected sendmail > vulnerability. The source of the data was Internet Security > Systems (ISS), a well-respected security firm with solid security > research credentials, giving the data an initial base level of > credibility. However, to be more certain, DHS technical experts > reviewed the details of the vulnerability and especially the > tests that ISS had run to prove the existence and severity of the > vulnerability. They were convinced. > > 2. Almost immediately the DHS/White House team, working with ISS, > contacted vendors that distribute sendmail, including Sun, IBM, > HP, and SGI, as well as the Sendmail Consortium, the organization > that develops the open source version of sendmail that is the core > of sendmail distributed with both free and commercial operating > systems. Partially because of government involvement, but primarily > because the vulnerability involved the widely used sendmail package, > the vendors immediately started working together on patches. > > 3. The DHS/White House staff contacted and shared what they knew with > the US Department of Defense and the Federal CIO Council. Through the > Federal CIO Council, the US FedCIRC and US Office of Management and > Budget were added to the coordinating team. Together the government > planners, ISS, and the vendors developing patches worked out a plan > for public dissemination of the vulnerability information and patch > distribution. > > 4. To help ensure that the open source LINUX and BSD distributions > (Red Hat, SUSE, OpenBSD, etc.) developed patches, the Computer > Emergency Response Team at Carnegie Mellon University (CERT/CC) was > brought into the project. CERT/CC deployed its formalized process to > inform the LINUX and BSD distribution developers and to assist them > in getting the corrected source code and any additional knowledge > needed to create the patch. CERT/CC (which is funded, in part, by two > organizations being merged into DHS and by the DoD) also created an > advisory to educate system administrators and the security community > in general on the vulnerability, on which systems are affected, > and on where to get the patches for each affected system. > > 5. Some of the large commercial vendors developed the patches very > quickly, but the delayed notice to smaller sources of sendmail > distributions and limited resources at those organizations meant > that not all the patches would be ready by early in the week of > February 23. The coordinating group faced a decision of whether to > release data about the exploit before most patches were ready or to > wait. The answer depended on whether they had reason to believe an > exploit was already being used by attackers. They had two sources > of information that led them to conclude waiting an extra week was > acceptable. First, people who monitored the hacker discussion groups > reported that this vulnerability did not seem to be one that was being > discussed. Second, the organization that discovered the vulnerability, > ISS, had deployed sensors for the exploit in a number of places > around the world. Those sensors were showing no exploits. Based on > both sets of data, the coordination group decided to schedule the > announcement for Monday, March 3. A second-order reason to schedule > a Monday announcement was that some members of the team believed > that Monday-Tuesday announcements generate more rapid and complete > patching than announcements made late in the week. > > 6. Since some of the patches were ready, the coordination group > decided to provide what was available to the US DoD so that military > sites could have the protection as early as possible. The military > distributions took place on or around February 25 and 26. > > 7. On February 27 and 28, government groups in the US and in several > other countries were given early warnings, without details about how > the vulnerability could be exploited, to help them plan for rapid > deployment of the patches when they were released on March 3. In > addition to the Chief Information Officers of US Cabinet level > departments, and the directors or deputy directors of national > cyber security offices in several other countries, the officers of > the critical infrastructure Information Sharing And Analysis Centers > (ISACs) were also briefed so they could be ready for rapid information > distribution to commercial organizations such as banks and utilities, > that comprise the critical infrastructure. > > 8. On March 3, beginning about 10 am EST, alerts began flowing to > federal agencies from FedCIRC and to the critical infrastructure > companies from the ISACs. At noon, ISS released their advisory, > followed by CERT/CC's general release. Once the data was public, > the SANS Institute also issued a release and scheduled free web-based > education programs. > > ==== > > DHS/NIPC Advisory 03-003 Snort Buffer Overflow Vulnerability > > The Department of Homeland Security (DHS), National Infrastructure > Protection Center (NIPC) has been informed of a recently discovered > serious vulnerability in Snort, a widely used Intrusion Detection > System, IDS. DHS/NIPC has been working closely with the Internet > security industry on vulnerability awareness and is issuing this > advisory in conjunction with public announcements. > > Snort is available in open source and commercial versions form > Sourcefire, a privately held company headquartered in Columbia, MD. > Details are available from Sourcefire. See Snort Vulnerability > Advisory [SNORT-2003-001]. The affected Snort versions include all > version of Snort from version 1.8 through current. Snort 1.9.1 has > been released to resolve this issue. > > The vulnerability was discovered by Internet Security Systems (ISS), > and is a buffer overflow in the Snort Remote Procedure Call, RPC, > normalization routines. This buffer overflow can cause snort to > execute arbitrary code embedded within sniffed network packets. > Depending upon the particular implementation of Snort this may give > local and remote users almost complete control of a vulnerable machine. > The vulnerability is enabled by default. Mitigation instructions > for immediate protections prior to installing patches or upgrading > are described in the Snort Vulnerability Advisory. > > Due to the seriousness of this vulnerability, the DHS/NIPC strongly > recommends that system administrators or security managers who employ > Snort take this opportunity to review their security procedures and > patch or upgrade software with known vulnerabilities. > > Sourcefire has acquired additional bandwidth and hosting to aid users > wishing to upgrade their Snort implementation. Future information > can be found at: > http://www.sourcefire.com/ > > As always, computer users are advised to keep their anti-virus > and systems software current by checking their vendor's web sites > frequently for new updates and to check for alerts put out by the > DHS/NIPC, CERT/CC, ISS and other cognizant organizations. The DHS/NIPC > encourages recipients of this advisory to report computer intrusions to > their local FBI office (http://www.fbi.gov/contact/fo/fo.htm) and other > appropriate authorities. Recipients may report incidents online to > http://www.nipc.gov/incident/cirr.htm. The DHS/NIPC Watch and Warning > Unit can be reached at (202) 323-3204/3205/3206 or nipc.watch at fbi.gov. > > > == end == > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE+Y7oL+LUG5KFpTkYRAh6ZAJ9oWXqnCwZyP4Wxla1HUbMOcjdlSwCfboS8 > wnLCqqyaA0+Dpcn9gUI7yxo= > =cIQn > -----END PGP SIGNATURE----- > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at bolthole.com Tue Mar 4 01:46:20 2003 From: nagios at bolthole.com (Philip Brown) Date: Mon, 3 Mar 2003 16:46:20 -0800 Subject: Viewing rights In-Reply-To: ; from jcarro10@sprintspectrum.com on Mon, Mar 03, 2003 at 04:41:11PM -0600 References: Message-ID: <20030303164620.A30656@bolthole.com> On Mon, Mar 03, 2003 at 04:41:11PM -0600, Carroll, Jim P [Contractor] wrote: > Nope. > > You can give them read-only access to all hosts, just like you would give > 'guest' read-only access to all hosts. > > Failing that, you can give them zero host-level access and stick to their > services. It really does make some of the views inhospitable, but.... Erm.. speaking of that last bit... I just created a user that is only in a contact group that is notified about services... and I see NOTHING in any of the menus. I was planning to make a stripped down version of the nagios main menu that only has service views. But there doesnt seem to BE any service-only views from the main menu. I thought there was a way to at least give application developers a list of services-only. (limited to the services they are authorized for) But I dont even see that happening. Is this possible, and if so, what ight I be missing? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skaten at o1.com Tue Mar 4 02:35:24 2003 From: skaten at o1.com (Stephen Katen) Date: Mon, 3 Mar 2003 17:35:24 -0800 Subject: User-supplied coordinates? Message-ID: I was wondering if anyone had a map of California or any of the other stats that works well with the user-suppliedcoordinates option. Ultimately, I would like to break down our network by coordinates throughout each individual state. I appreciate your help. katen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at innercite.com Tue Mar 4 05:22:00 2003 From: mike at innercite.com (Mike Machado) Date: 03 Mar 2003 20:22:00 -0800 Subject: User-supplied coordinates? In-Reply-To: References: Message-ID: <1046751719.1028.3.camel@woodstock.innercite.com> Try the census website, such as tiger.census.gov . :) On Mon, 2003-03-03 at 17:35, Stephen Katen wrote: > I was wondering if anyone had a map of California or any of the other > stats that works well with the user-suppliedcoordinates option. > Ultimately, I would like to break down our network by coordinates > throughout each individual state. > > I appreciate your help. > > katen > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Mike Machado mike at innercite.com InnerCite Inc. Engineering Director / CTO ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Mar 4 10:29:37 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 4 Mar 2003 09:29:37 -0000 Subject: Dependencies Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909E7BB@netfinity-1.foundation-it.local> > From: Dan Rich [mailto:drich at employees.org] > > I tried searching the sourceforge > mailing list archives, but it looks like it is timing out > trying to search the list. http://news.gmane.org/thread.php?group=gmane.network.nagios.user is a more reliable archive. Phil ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Tue Mar 4 11:11:26 2003 From: lejert at hotmail.com (le jert) Date: Tue, 04 Mar 2003 11:11:26 +0100 Subject: check_nt_disk dont work Message-ID: Hi ! I'm trying to check disk space and cpu load from my machine (nagios) to NT 4 servers via check_nt_disk , but it don t seems to work (I get error: Return code of 127 is out of bounds - plugin may be missing) I read this tread http://sourceforge.net/mailarchive/forum.php?thread_id=1758840&forum_id=1873 So now I'm wondering if I need a special plugin on my machine for these services to be effective or if I need to install specific plugins on the remote host (or even a snmp client...). Here is the command lines in services.cfg : #Service definition disk C: define service{ use generic-service host_name NT4-server service_description C: w = 80% c = 90% is_volatile 0 check_period 24x7 contact_groups intern-servers-contactgroup notification_options c,w,r check_command check_nt_disk!C!80!90 } In other words : what's the problem? (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 beta2) _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.miquet at hafiba.fr Tue Mar 4 11:52:07 2003 From: p.miquet at hafiba.fr (Pascal Miquet) Date: 04 Mar 2003 11:52:07 +0100 Subject: Nagios and RH 8.0 Message-ID: <1046775119.6001.28.camel@moishe> Hello, Just few words to ask if Nagios and RH 8.0/Apache 2.0 are now working fine ? If yes what prerequisit are needed ? Thanks for your help Pascal Miquet ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From p.miquet at hafiba.fr Tue Mar 4 11:52:01 2003 From: p.miquet at hafiba.fr (Pascal Miquet) Date: 04 Mar 2003 11:52:01 +0100 Subject: check_nt_disk dont work In-Reply-To: References: Message-ID: <1046775032.5785.26.camel@moishe> First, are you sure that you have the check_nt_disk plugin installed on your Nagios server ? If yes could you try manually the check_nt_disk command and look what is the result ? HTH Regards Le mar 04/03/2003 ? 11:11, le jert a ?crit : > Hi ! > > I'm trying to check disk space and cpu load from my machine (nagios) to NT 4 > servers via check_nt_disk , > > but it don t seems to work (I get error: Return code of 127 is out of bounds > - plugin may be missing) > > I read this tread > http://sourceforge.net/mailarchive/forum.php?thread_id=1758840&forum_id=1873 > > So now I'm wondering if I need a special plugin on my machine for these > services to be effective or if I need to install specific plugins on the > remote host (or even a snmp client...). > > Here is the command lines in services.cfg : > > #Service definition disk C: > define service{ > use generic-service > host_name NT4-server > service_description C: w = 80% c = 90% > is_volatile 0 > check_period 24x7 > contact_groups intern-servers-contactgroup > notification_options c,w,r > check_command check_nt_disk!C!80!90 > } > > > In other words : what's the problem? > > (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 beta2) > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.kauws at lycos.de Tue Mar 4 12:02:37 2003 From: markus.kauws at lycos.de (Markus Kauws) Date: Tue, 04 Mar 2003 12:02:37 +0100 Subject: Nagios Portsentry integration problem Message-ID: <1046775757018364@lycos-europe.com> Hello, we are working at a Linux Monitoring Project based on Nagios but there are a few problems with it. We have tried to integrate the intrusion-detection-system portsentry on an external host (our Web-Server) and want the results of port-scans be send to the Nagios-Server. Therefore we have installed the Nagios nsca Addon. Our problem: nsca seems working correctly but if we want the port scan results (checked by Portsentry) to be send to the Nagios-Server, the connection between Nagios and Portsentry over nsca is not established. The portscan process in Nagios is shown as Pending all time. We've done the integration of Portsentry as described in the Nagios Documentaton. Please help!!! Were is our error?!? What can we do to solve this problem??? Thanks in advance. Markus From stevox2000 at yahoo.com Tue Mar 4 12:20:24 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Tue, 4 Mar 2003 12:20:24 +0100 (CET) Subject: Huge pb with SNMP under Nagios Message-ID: <20030304112024.75407.qmail@web10906.mail.yahoo.com> Hello, My nagios config was working well but since yesterday all SNMP-based plugins (apan,...) didn't return any response anymore. I try to run manually the check_snmp plugin and it works. How can i do to solve my problem under Nagios ? Thanks, Steve --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From lejert at hotmail.com Tue Mar 4 12:13:28 2003 From: lejert at hotmail.com (le jert) Date: Tue, 04 Mar 2003 12:13:28 +0100 Subject: check_nt_disk dont work Message-ID: I tried a locate check_nt_disk and it didn't found anything ... So now I installed the new plugins version (1.3) but still can't find it ... where can I find them ??? (in nrpe ?) >From: "Pascal Miquet" >To: le jert >CC: Nagios users >Subject: Re: [Nagios-users] check_nt_disk dont work >Date: 04 Mar 2003 11:52:01 +0100 > >First, are you sure that you have the check_nt_disk plugin installed on >your Nagios server ? > >If yes could you try manually the check_nt_disk command and look what is >the result ? > >HTH >Regards > >Le mar 04/03/2003 ? 11:11, le jert a ?crit : > > Hi ! > > > > I'm trying to check disk space and cpu load from my machine (nagios) to >NT 4 > > servers via check_nt_disk , > > > > but it don t seems to work (I get error: Return code of 127 is out of >bounds > > - plugin may be missing) > > > > I read this tread > > >http://sourceforge.net/mailarchive/forum.php?thread_id=1758840&forum_id=1873 > > > > So now I'm wondering if I need a special plugin on my machine for these > > services to be effective or if I need to install specific plugins on the > > remote host (or even a snmp client...). > > > > Here is the command lines in services.cfg : > > > > #Service definition disk C: > > define service{ > > use generic-service > > host_name NT4-server > > service_description C: w = 80% c = 90% > > is_volatile 0 > > check_period 24x7 > > contact_groups intern-servers-contactgroup > > notification_options c,w,r > > check_command check_nt_disk!C!80!90 > > } > > > > > > In other words : what's the problem? > > > > (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 beta2) > > _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Tue Mar 4 12:47:07 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Tue, 4 Mar 2003 12:47:07 +0100 (CET) Subject: Huge pb with SNMP under Nagios 2 Message-ID: <20030304114707.71129.qmail@web10904.mail.yahoo.com> I have just noticed that my SNMP plugins checks were executed and gave response but I get wrong Nagios STATE in the response. Normally i should have a OK STATE and i get an UNKNOWN STATE for all SNMP plugins. It's a strange result any idea ? (Maybe it's a return code problem with check_snmp...) Steve --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.sage at ccsgroup.co.uk Tue Mar 4 12:51:17 2003 From: m.sage at ccsgroup.co.uk (Michael Sage) Date: Tue, 4 Mar 2003 11:51:17 -0000 Subject: Statusmap.cgi Message-ID: Hi, I have just about managed to get Nagios working and monitoring a couple of machines, I will be expanding this in the next couple of days. There is one problem that I don't seem to be able to fix. My install doesn't seem to have installed statusmap.cgi, where can I find it or can someone email it too me. TIA. Michael Sage ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listuser at obbit.se Tue Mar 4 12:55:08 2003 From: listuser at obbit.se (Peter) Date: Tue, 04 Mar 2003 12:55:08 +0100 Subject: debian nagios-mysql Message-ID: <3E64941C.5080608@obbit.se> I am going to install a NMS for some 200 hosts. I installed the debian package nagios-mysql. All seems to work , it reads the database and saves info in the database. However the hostextinfo does not seem to work. I have one entry for one host, looks like this : host_name: bay350 notes_url: http://localhost/mrtg/bay350.html icon_image: switch40.png vrml_image: switch40.png gd2_icon_image: switch40.gd2 icon_image_alt: switch x_2d: -1 y_2d: -1 x_3d: -1.0000 y_3d: -1.0000 z_3d: -1.0000 have_2d_coords: 0 have_3d_coords: 0 It does not show any icons anywhere though. No one seems to read the table hostextinfo. My cgi.cfg has these lines : xsddb_database=nagios xsddb_username=nagios xsddb_password=***** Same as for the other tables... And no hostextinfo[] lines at all. Images are in /usr/share/nagios/htdocs/images/logos What am I doing wrong ? I'm short on time, going to demo soon, and another guy is going to demo snmpc (for Windows)... Since I'll be working on it from time to time, I want a UNIX* solution.. Have a nice day //Peter Hellman ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxxik at mail.ru Tue Mar 4 13:42:24 2003 From: maxxik at mail.ru (maxxik) Date: Tue, 4 Mar 2003 14:42:24 +0200 Subject: can i see service status in Status map cgi ? Message-ID: <15220823132.20030304144224@mail.ru> hi ppl ! can i see service troubles in status map cgi ( menu point Status map) ? i can see my host status but not service status ? it's normally ? if not - how i can see service status ? PS i try to define define serviceextinfo { host_name host service_description SERVICE icon_image warning.png icon_image_alt Anomalies } but nothing happen ... in map displayed by Status map i see only host picture not service status ... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Tue Mar 4 14:35:58 2003 From: lejert at hotmail.com (le jert) Date: Tue, 04 Mar 2003 14:35:58 +0100 Subject: check_nt_disk dont work Message-ID: >From: "le jert" >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] check_nt_disk dont work >Date: Tue, 04 Mar 2003 12:13:28 +0100 > >I tried a locate check_nt_disk and it didn't found anything ... So now I >installed the new plugins version (1.3) but still can't find it ... where >can I find them ??? (in nrpe ?) > >>From: "Pascal Miquet" >>To: le jert >>CC: Nagios users >>Subject: Re: [Nagios-users] check_nt_disk dont work >>Date: 04 Mar 2003 11:52:01 +0100 >> >>First, are you sure that you have the check_nt_disk plugin installed on >>your Nagios server ? >> >>If yes could you try manually the check_nt_disk command and look what is >>the result ? >> >>HTH >>Regards >> >>Le mar 04/03/2003 ? 11:11, le jert a ?crit : >> > Hi ! >> > >> > I'm trying to check disk space and cpu load from my machine (nagios) to >>NT 4 >> > servers via check_nt_disk , >> > >> > but it don t seems to work (I get error: Return code of 127 is out of >>bounds >> > - plugin may be missing) >> > >> > I read this tread >> > >>http://sourceforge.net/mailarchive/forum.php?thread_id=1758840&forum_id=1873 >> > >> > So now I'm wondering if I need a special plugin on my machine for these >> > services to be effective or if I need to install specific plugins on >>the >> > remote host (or even a snmp client...). >> > >> > Here is the command lines in services.cfg : >> > >> > #Service definition disk C: >> > define service{ >> > use generic-service >> > host_name NT4-server >> > service_description C: w = 80% c = 90% >> > is_volatile 0 >> > check_period 24x7 >> > contact_groups intern-servers-contactgroup >> > notification_options c,w,r >> > check_command check_nt_disk!C!80!90 >> > } >> > >> > >> > In other words : what's the problem? >> > >> > (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 beta2) >> > > > >_________________________________________________________________ > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Tue Mar 4 14:39:05 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Tue, 4 Mar 2003 07:39:05 -0600 Subject: check_nt_disk dont work Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B471E@gsmail.govst.edu> > Check the Nagios faq! Also see > http://nsclient.ready2run.nl Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: le jert [mailto:lejert at hotmail.com] Sent: Tuesday, March 04, 2003 5:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_nt_disk dont work I tried a locate check_nt_disk and it didn't found anything ... So now I installed the new plugins version (1.3) but still can't find it ... where can I find them ??? (in nrpe ?) >From: "Pascal Miquet" >To: le jert >CC: Nagios users >Subject: Re: [Nagios-users] check_nt_disk dont work >Date: 04 Mar 2003 11:52:01 +0100 > >First, are you sure that you have the check_nt_disk plugin installed on >your Nagios server ? > >If yes could you try manually the check_nt_disk command and look what >is the result ? > >HTH >Regards > >Le mar 04/03/2003 ? 11:11, le jert a ?crit : > > Hi ! > > > > I'm trying to check disk space and cpu load from my machine (nagios) > > to >NT 4 > > servers via check_nt_disk , > > > > but it don t seems to work (I get error: Return code of 127 is out > > of >bounds > > - plugin may be missing) > > > > I read this tread > > >http://sourceforge.net/mailarchive/forum.php?thread_id=1758840&forum_id >=1873 > > > > So now I'm wondering if I need a special plugin on my machine for > > these services to be effective or if I need to install specific > > plugins on the remote host (or even a snmp client...). > > > > Here is the command lines in services.cfg : > > > > #Service definition disk C: > > define service{ > > use generic-service > > host_name NT4-server > > service_description C: w = 80% c = 90% > > is_volatile 0 > > check_period 24x7 > > contact_groups intern-servers-contactgroup notification_options > > c,w,r check_command check_nt_disk!C!80!90 > > } > > > > > > In other words : what's the problem? > > > > (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 beta2) > > _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Tue Mar 4 15:10:18 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Tue, 4 Mar 2003 08:10:18 -0600 Subject: check_nt_disk dont work Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B471F@gsmail.govst.edu> Yes. Try reading the readme from nsclient. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Tuesday, March 04, 2003 8:03 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_nt_disk dont work Did you define the command (check_nt_disk) in checkcommands.cfg? Lane -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Tuesday, March 04, 2003 8:39 AM To: le jert; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_nt_disk dont work > Check the Nagios faq! Also see > http://nsclient.ready2run.nl Tim Van Zee ITS Network Specialist Governors State University ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Tue Mar 4 15:12:10 2003 From: lejert at hotmail.com (le jert) Date: Tue, 04 Mar 2003 15:12:10 +0100 Subject: check_nt_disk dont work Message-ID: yes, here is the lines # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 3538 -s $USER5$ -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } >From: "Williams, P. Lane" >To: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] check_nt_disk dont work >Date: Tue, 4 Mar 2003 09:02:41 -0500 > >Did you define the command (check_nt_disk) in checkcommands.cfg? > >Lane > >-----Original Message----- >From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] >Sent: Tuesday, March 04, 2003 8:39 AM >To: le jert; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] check_nt_disk dont work > > > > Check the Nagios faq! Also see > > http://nsclient.ready2run.nl > >Tim Van Zee >ITS Network Specialist >Governors State University > > > >-----Original Message----- >From: le jert [mailto:lejert at hotmail.com] >Sent: Tuesday, March 04, 2003 5:13 AM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] check_nt_disk dont work > > >I tried a locate check_nt_disk and it didn't found anything ... So now I >installed the new plugins version (1.3) but still can't find it ... where >can I find them ??? (in nrpe ?) > > >From: "Pascal Miquet" > >To: le jert > >CC: Nagios users > >Subject: Re: [Nagios-users] check_nt_disk dont work > >Date: 04 Mar 2003 11:52:01 +0100 > > > >First, are you sure that you have the check_nt_disk plugin installed on > >your Nagios server ? > > > >If yes could you try manually the check_nt_disk command and look what > >is the result ? > > > >HTH > >Regards > > > >Le mar 04/03/2003 ? 11:11, le jert a ?crit : > > > Hi ! > > > > > > I'm trying to check disk space and cpu load from my machine (nagios) > > > to > >NT 4 > > > servers via check_nt_disk , > > > > > > but it don t seems to work (I get error: Return code of 127 is out > > > of > >bounds > > > - plugin may be missing) > > > > > > I read this tread > > > > >http://sourceforge.net/mailarchive/forum.php?thread_id=1758840&forum_id > >=1873 > > > > > > So now I'm wondering if I need a special plugin on my machine for > > > these services to be effective or if I need to install specific > > > plugins on the remote host (or even a snmp client...). > > > > > > Here is the command lines in services.cfg : > > > > > > #Service definition disk C: > > > define service{ > > > use generic-service > > > host_name NT4-server > > > service_description C: w = 80% c = 90% > > > is_volatile 0 > > > check_period 24x7 > > > contact_groups intern-servers-contactgroup notification_options > > > c,w,r check_command check_nt_disk!C!80!90 > > > } > > > > > > > > > In other words : what's the problem? > > > > > > (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 beta2) > > > > > >_________________________________________________________________ > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Recevez vos e-mails MSN Hotmail par SMS sur votre GSM ! http://www.fr.msn.be/gsm/servicesms/hotmailparsms ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chris.Losch at newham.gov.uk Tue Mar 4 15:18:09 2003 From: Chris.Losch at newham.gov.uk (Chris Losch) Date: Tue, 4 Mar 2003 14:18:09 -0000 Subject: Nagios and RH 8.0 Message-ID: Pascal I am currently using Nagios 1.0 and RH8.0 sucessfully - I had a few teething issues (mainly my own doing). I've been running it with no problems for a few months now. I don't remember any specific changes I had to make to get it working, but check the list archives for my posts if you encounter any issues, as they may be the same I had. Chris -----Original Message----- From: Pascal Miquet [mailto:p.miquet at hafiba.fr] Sent: 04 March 2003 10:52 To: Nagios users Subject: [Nagios-users] Nagios and RH 8.0 Hello, Just few words to ask if Nagios and RH 8.0/Apache 2.0 are now working fine ? If yes what prerequisit are needed ? Thanks for your help Pascal Miquet ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From tjl at topdanmark.dk Tue Mar 4 16:27:16 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Tue, 4 Mar 2003 16:27:16 +0100 Subject: Vedr.: Huge pb with SNMP under Nagios 2 - Solved!? Message-ID: Hello, I sometimes get these UNKNOWN under Netsaint. You get them if the SNMP-check can't connect to the agent/host. If you wait to the next check - you should get an OK STATE again. If not - the agent at the other end might be down - and you have to check up on the problem. Best regards Thomas Steve Dussaux Til: nagios-users at lists.sourceforge.net Sendt af: cc: nagios-users-admin at lists.sourc Vedr.: [Nagios-users] Huge pb with SNMP under Nagios 2 eforge.net 04-03-03 12:47 I have?just?noticed that my SNMP plugins checks were executed and gave response but?I get?wrong Nagios STATE in the response. Normally i should have a OK STATE and i get an UNKNOWN STATE for all SNMP plugins. It's a strange result any idea ? (Maybe it's a return code problem with check_snmp...) Steve Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens at nha.co.za Tue Mar 4 15:49:27 2003 From: jens at nha.co.za (=?iso-8859-1?Q?Jens_von_B=FClow?=) Date: Tue, 4 Mar 2003 16:49:27 +0200 Subject: absolute time check for service Message-ID: <8F2D061DFD77E444B00D8FE9B8273DD02C3293@titan.nha.co.za> Greetings, I need to check a service which is a web based service via a URL for the purpose of initiating a process and checking the return code. But I need to initiate one check a day at 2am in the morning and only one check. I have looked at the documentation but can't figure out how to do this? Any ideas? Thanks & Regards Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: From fes at users.sourceforge.net Tue Mar 4 16:49:34 2003 From: fes at users.sourceforge.net (Frank Sweetser) Date: Tue, 4 Mar 2003 10:49:34 -0500 Subject: absolute time check for service In-Reply-To: <8F2D061DFD77E444B00D8FE9B8273DD02C3293@titan.nha.co.za> References: <8F2D061DFD77E444B00D8FE9B8273DD02C3293@titan.nha.co.za> Message-ID: <20030304154934.GA14711@erwin.wpi.edu> On Tue, Mar 04, 2003 at 04:49:27PM +0200, Jens von B?low wrote: > Greetings, > > I need to check a service which is a web based service via a URL for the > purpose of initiating a process and checking the return code. But I need to > initiate one check a day at 2am in the morning and only one check. > > I have looked at the documentation but can't figure out how to do this? Schedule a passive service check with cron? -- Frank Sweetser fs at wpi.edu WPI Network Engineer ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florian.taeger at gmx.de Tue Mar 4 17:04:57 2003 From: florian.taeger at gmx.de (=?iso-8859-1?Q?Florian_T=E4ger?=) Date: Tue, 4 Mar 2003 17:04:57 +0100 Subject: Can't locate nagios.lock file Message-ID: <006c01c2e267$cda3d410$020010ac@konfuziushome> Hy everybody! I just installed the Nagios network Monitor. But it doesn't start cause there's a "nagios.lock" file missing. Can anybody tell me where I can find the nagios.lock file and what it should consist. I know where it is supposed to be, but there is no such file. Also in the man pages, the file isn't mentioned ... Regards Florian T?ger -------------- next part -------------- An HTML attachment was scrubbed... URL: From joe.davenport at chanllc.com Tue Mar 4 17:06:31 2003 From: joe.davenport at chanllc.com (Joe Davenport) Date: Tue, 4 Mar 2003 10:06:31 -0600 Subject: SMTP check always shows critical Message-ID: I've gotten Nagios running well except for one issue. Nagios reports the smtp process as critical even though the return value is SMTP-OK. I've tried changing the check_command from a simple check_smtp to the absolute reference below and the results are the same. define service{ use generic-service host_name mail1 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 15 retry_check_interval 15 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options u check_command "/usr/local/nagios/libexec/check_smtp -H 10.90.12.10 -p 25 -e '220' -w 7 -c 10 -t 12" } Here is what shows on the service status: SMTP CRITICAL 03-04-2003 09:21:19 1d 2h 23m 38s 3/3 SMTP OK - 4 second response time Thanks for any help. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rburnson at cps.k12.il.us Tue Mar 4 17:16:16 2003 From: rburnson at cps.k12.il.us (Burnson, Richard) Date: Tue, 4 Mar 2003 10:16:16 -0600 Subject: Can't locate nagios.lock file Message-ID: This error can be misleading. Instead run /bin/Nagios -v /etc/Nagios.cfg (Typically this is /usr/local/nagios/bin/nagios -v /usr/local/Nagios/etc/Nagios.cfg). This will provide better debugging information. Most likely you have a configuration error. HTH, Richard -----Original Message----- From: Florian T?ger [mailto:florian.taeger at gmx.de] Sent: Tuesday, March 04, 2003 10:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Can't locate nagios.lock file Hy everybody! ? I just installed the Nagios network Monitor. But it doesn't start cause there's a "nagios.lock" file missing. ? Can anybody tell me where I can find the nagios.lock file and what it should consist. ? I know where it is supposed to be, but there is no such file. Also in the man pages, the file isn't mentioned ... ? Regards ? Florian T?ger ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Mar 4 17:36:11 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 4 Mar 2003 10:36:11 -0600 Subject: absolute time check for service Message-ID: There was a recent discussion on the list regarding something to this effect, and the best solution I recall reading utilized a custom timeperiod. I can forward that, if you like (if I can find it). jc > -----Original Message----- > From: Frank Sweetser [mailto:fes at users.sourceforge.net] > Sent: Tuesday, March 04, 2003 9:50 AM > To: Jens von B?low > Cc: nagios-users at lists.sourceforge.net; Bruce Muller > Subject: Re: [Nagios-users] absolute time check for service > > > On Tue, Mar 04, 2003 at 04:49:27PM +0200, Jens von B?low wrote: > > Greetings, > > > > I need to check a service which is a web based service via > a URL for the > > purpose of initiating a process and checking the return > code. But I need to > > initiate one check a day at 2am in the morning and only one check. > > > > I have looked at the documentation but can't figure out how > to do this? > > Schedule a passive service check with cron? > > -- > Frank Sweetser fs at wpi.edu > WPI Network Engineer > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jarett_DeAngelis at fujifilm.com Tue Mar 4 17:52:39 2003 From: Jarett_DeAngelis at fujifilm.com (Jarett DeAngelis) Date: Tue, 04 Mar 2003 11:52:39 -0500 Subject: Statusmap picture issues Message-ID: Hi all, Having trouble with getting the icons for my hosts to show up in the statusmap. Here is the pertinent line in my cgi.cfg: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg #xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg (I haven't defined service extended info yet) And from the hostextinfo.cfg file: # Extended info template for Windows machines. define hostextinfo{ name windows icon_image win40.gd2 icon_image_alt Windows Computer register 0 } # Extended info template for Citrix servers. define hostextinfo{ name citrix icon_image citrix.gd2 icon_image_alt Citrix Server register 0 } # Extended info for Windows machines define hostextinfo{ host_name ALADDIN use windows } define hostextinfo{ host_name professor use windows } # Extended info for Citrix servers (Astea) define hostextinfo{ host_name nyastcmf1.fujifilm.com use citrix } define hostextinfo{ host_name nyastcmf2.fujifilm.com use citrix } define hostextinfo{ host_name nyastcmf3.fujifilm.com use citrix } define hostextinfo{ host_name nyastcmf4.fujifilm.com use citrix } So what am I doing wrong? Those files are present in /usr/local/nagios/share/images/logos. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwichman at zantaz.com Tue Mar 4 18:14:57 2003 From: gwichman at zantaz.com (Gerald Wichmann) Date: Tue, 4 Mar 2003 09:14:57 -0800 Subject: Error connecting to MySQL database server. Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB02CB428F@zanexch.zantaz.com> FYI The Nagios FAQ link on nagios.org has been stating the following now for several days: Error connecting to MySQL database server. Last modified: Jan 1st, 2003 | Copyright ? 2001-2003 Ethan Galstad Gerald Wichmann Senior Systems Development Engineer Zantaz, Inc. 925.598.3099 (w) This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ecarlseen at praecelsus.com Tue Mar 4 18:16:01 2003 From: ecarlseen at praecelsus.com (Erik Carlseen) Date: Tue, 4 Mar 2003 09:16:01 -0800 Subject: Nagios and RH 8.0 In-Reply-To: References: Message-ID: I'm running Nagios with APAN on RH 8. No problems (or at least no RH 8.0-specific problems). Erik Carlseen Praecelsus Consulting, Inc. http://www.praecelsus.com PGP/GPG Public Encryption Key available at: http://www.praecelsus.com/~ecarlseen/public_key.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hagen_Deike at icon-scm.com Tue Mar 4 18:13:19 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Tue, 4 Mar 2003 18:13:19 +0100 Subject: Can't locate nagios.lock file Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4503@serv-075.icon-germany.local> Hi, I had once the same problem. Check you version of "su" if you have a switch -l. If not try this... Look in the start script (/etc/init.d/nagios) and search for a row with the following entry. su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" Just remove the "-l" If that doesn't help you will need a little deeper research into the script. Regards, Hagen Deike -----Original Message----- From: Florian T?ger [mailto:florian.taeger at gmx.de] Sent: Dienstag, 4. M?rz 2003 17:05 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Can't locate nagios.lock file > Hy everybody! ? > I just installed the Nagios network Monitor. But it doesn't start cause there's a "nagios.lock" > file missing. > ? > Can anybody tell me where I can find the nagios.lock file and what it should consist. > ? > I know where it is supposed to be, but there is no such file. Also in the man pages, the file > isn't mentioned ... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slebrun at muskoka.com Tue Mar 4 18:58:51 2003 From: slebrun at muskoka.com (Shayne Lebrun) Date: Tue, 4 Mar 2003 12:58:51 -0500 Subject: Error connecting to MySQL database server. In-Reply-To: <12C7D768CC8ED4118A9200508BEEC6FB02CB428F@zanexch.zantaz.com> References: <12C7D768CC8ED4118A9200508BEEC6FB02CB428F@zanexch.zantaz.com> Message-ID: Looks like they should set up a monitoring server to keep an eye on the HTTP being returned. Can anybody suggest some good software to do that? :-) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Gerald Wichmann Sent: Tuesday, March 04, 2003 12:15 PM To: Nagios (E-mail) Subject: [Nagios-users] Error connecting to MySQL database server. FYI The Nagios FAQ link on nagios.org has been stating the following now for several days: Error connecting to MySQL database server. Last modified: Jan 1st, 2003 | Copyright ? 2001-2003 Ethan Galstad Gerald Wichmann Senior Systems Development Engineer Zantaz, Inc. 925.598.3099 (w) This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From val at nycity.com Tue Mar 4 19:13:44 2003 From: val at nycity.com (Val Vechnyak) Date: Tue, 4 Mar 2003 13:13:44 -0500 Subject: epager not working Message-ID: <000b01c2e279$cada9cc0$fa01a8c0@reesa> Hello, I have notifications by pager setup in contacts file. One epager email is name at domain.co.zn and another one is name at domain.com. name at domain.com works while the other one does not. I am able to send email to that account in New Zealand from my email client, but not from nagios. I was wondering if $CONTACTPAGER$ does not see all the "co.zn"? Thank you for your help. VV -------------- next part -------------- An HTML attachment was scrubbed... URL: From lejert at hotmail.com Tue Mar 4 17:25:15 2003 From: lejert at hotmail.com (le jert) Date: Tue, 04 Mar 2003 17:25:15 +0100 Subject: check_nt_disk dont work Message-ID: now, I've compiled the pluggin, put it in the directory and restarted nagios - the client have its NSClient pluggin running... but it still don't work . The error message is now 'connection refused by host' ... It means that everything is well configured, no ? >>From: "Pascal Miquet" >>To: le jert >>CC: Nagios users >>Subject: Re: [Nagios-users] check_nt_disk dont work >>Date: 04 Mar 2003 11:52:01 +0100 >> >>First, are you sure that you have the check_nt_disk plugin installed on >>your Nagios server ? >> >>If yes could you try manually the check_nt_disk command and look what is >>the result ? >> >>HTH >>Regards >> >>Le mar 04/03/2003 ? 11:11, le jert a ?crit : >> > Hi ! >> > >> > I'm trying to check disk space and cpu load from my machine (nagios) to >>NT 4 >> > servers via check_nt_disk , >> > >> > but it don t seems to work (I get error: Return code of 127 is out of >>bounds >> > - plugin may be missing) >> > >> > I read this tread >> > >>http://sourceforge.net/mailarchive/forum.php?thread_id=1758840&forum_id=1873 >> > >> > So now I'm wondering if I need a special plugin on my machine for these >> > services to be effective or if I need to install specific plugins on >>the >> > remote host (or even a snmp client...). >> > >> > Here is the command lines in services.cfg : >> > >> > #Service definition disk C: >> > define service{ >> > use generic-service >> > host_name NT4-server >> > service_description C: w = 80% c = 90% >> > is_volatile 0 >> > check_period 24x7 >> > contact_groups intern-servers-contactgroup >> > notification_options c,w,r >> > check_command check_nt_disk!C!80!90 >> > } >> > >> > >> > In other words : what's the problem? >> > >> > (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 beta2) >> > > > >_________________________________________________________________ > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hermann.mueller at oasy.de Tue Mar 4 16:49:33 2003 From: hermann.mueller at oasy.de (=?iso-8859-1?Q?Hermann_M=FCller?=) Date: Tue, 4 Mar 2003 16:49:33 +0100 Subject: Host Status remains red Message-ID: <002501c2e265$aa4c8130$152ea8c0@rumpelkammer> Hello, i have a Problem with the status of the hosts, as soon as a checked service fails the service and the host "goes" red. but when the service comes back to green the host still keeps his red status and remains in down status. any hints on this ??? Thanks a lot ! Hermann ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Tue Mar 4 15:02:41 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Tue, 4 Mar 2003 09:02:41 -0500 Subject: check_nt_disk dont work Message-ID: Did you define the command (check_nt_disk) in checkcommands.cfg? Lane -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Tuesday, March 04, 2003 8:39 AM To: le jert; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_nt_disk dont work > Check the Nagios faq! Also see > http://nsclient.ready2run.nl Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: le jert [mailto:lejert at hotmail.com] Sent: Tuesday, March 04, 2003 5:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_nt_disk dont work I tried a locate check_nt_disk and it didn't found anything ... So now I installed the new plugins version (1.3) but still can't find it ... where can I find them ??? (in nrpe ?) >From: "Pascal Miquet" >To: le jert >CC: Nagios users >Subject: Re: [Nagios-users] check_nt_disk dont work >Date: 04 Mar 2003 11:52:01 +0100 > >First, are you sure that you have the check_nt_disk plugin installed on >your Nagios server ? > >If yes could you try manually the check_nt_disk command and look what >is the result ? > >HTH >Regards > >Le mar 04/03/2003 ? 11:11, le jert a ?crit : > > Hi ! > > > > I'm trying to check disk space and cpu load from my machine (nagios) > > to >NT 4 > > servers via check_nt_disk , > > > > but it don t seems to work (I get error: Return code of 127 is out > > of >bounds > > - plugin may be missing) > > > > I read this tread > > >http://sourceforge.net/mailarchive/forum.php?thread_id=1758840&forum_id >=1873 > > > > So now I'm wondering if I need a special plugin on my machine for > > these services to be effective or if I need to install specific > > plugins on the remote host (or even a snmp client...). > > > > Here is the command lines in services.cfg : > > > > #Service definition disk C: > > define service{ > > use generic-service > > host_name NT4-server > > service_description C: w = 80% c = 90% > > is_volatile 0 > > check_period 24x7 > > contact_groups intern-servers-contactgroup notification_options > > c,w,r check_command check_nt_disk!C!80!90 > > } > > > > > > In other words : what's the problem? > > > > (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 beta2) > > _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 4 15:05:07 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 4 Mar 2003 09:05:07 -0500 Subject: Nagios and RH 8.0 Message-ID: <5593DA408212D511B0910002A513501F01D2890C@phsexch20.mgh.harvard.edu> Hi Pascal, I have successfully installed Nagios 1.0 onto a Red Hat 8.0 machine. The version of Apache that I am using is 2.0.47. As far as prerequisites for the operating system and web server, the system that I have it running on has 128 megabytes of RAM, and a twenty gigabyte hard drive. The CPU speed is 500 Mhz. Any other questions? -----Original Message----- From: Pascal Miquet [mailto:p.miquet at hafiba.fr] Sent: Tuesday, March 04, 2003 5:52 AM To: Nagios users Subject: [Nagios-users] Nagios and RH 8.0 Hello, Just few words to ask if Nagios and RH 8.0/Apache 2.0 are now working fine ? If yes what prerequisit are needed ? Thanks for your help Pascal Miquet ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxxik at mail.ru Tue Mar 4 17:18:05 2003 From: maxxik at mail.ru (maxxik) Date: Tue, 4 Mar 2003 18:18:05 +0200 Subject: check_disk troubles Message-ID: <133763879.20030304181805@mail.ru> Hi again ... i have a LVM volume (/dev/main/home-smb-profiles) when i try to check it thru check_disk plugin : check_command defined in services.cfg : check_command check_local_disk!20%!10%!/dev/main/home-smb-profiles (check_local_disk is defined as define command{ command_name check_local_disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } ) there was a trouble : nagios cant check it nagios write : Disk "/dev/main/home-smb-profiles" not mounted or nonexistant ... but check near ( check_command check_local_disk!20%!10%!/dev/main/home-smb) finished succesfully .... when i try to run check_disk manually (check_disk -w 20% -c 10% /dev/main/home-smb-profiles) all normally executing ... any ideas ? wbr,maxx ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Mar 4 17:17:44 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 4 Mar 2003 10:17:44 -0600 Subject: Viewing rights Message-ID: Really? Hhhmmm.... What happens when this user clicks on Service Detail? (This is where my DBAs have a restricted view of their world.) jc > -----Original Message----- > From: Philip Brown [mailto:nagios at bolthole.com] > Sent: Monday, March 03, 2003 6:46 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Viewing rights > > > On Mon, Mar 03, 2003 at 04:41:11PM -0600, Carroll, Jim P > [Contractor] wrote: > > Nope. > > > > You can give them read-only access to all hosts, just like > you would give > > 'guest' read-only access to all hosts. > > > > Failing that, you can give them zero host-level access and > stick to their > > services. It really does make some of the views > inhospitable, but.... > > Erm.. speaking of that last bit... > > I just created a user that is only in a contact group that is notified > about services... and I see NOTHING in any of the menus. > > I was planning to make a stripped down version of the nagios main menu > that only has service views. But there doesnt seem to BE any > service-only > views from the main menu. > > I thought there was a way to at least give application developers > a list of services-only. > (limited to the services they are authorized for) > > But I dont even see that happening. Is this possible, and if so, > what ight I be missing? > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at bolthole.com Tue Mar 4 21:25:50 2003 From: nagios at bolthole.com (Philip Brown) Date: Tue, 4 Mar 2003 12:25:50 -0800 Subject: Viewing rights In-Reply-To: ; from jcarro10@sprintspectrum.com on Tue, Mar 04, 2003 at 10:17:44AM -0600 References: Message-ID: <20030304122550.A39300@bolthole.com> On Tue, Mar 04, 2003 at 10:17:44AM -0600, Carroll, Jim P [Contractor] wrote: > Really? Hhhmmm.... > > What happens when this user clicks on Service Detail? (This is where my > DBAs have a restricted view of their world.) oops. sorry.. figured out my problem. I created the HTML auth account, but didnt fully link in the user to the contact groups. sorry... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Tue Mar 4 22:19:52 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Tue, 4 Mar 2003 16:19:52 -0500 Subject: SMB Pop-up Message-ID: <880E60DA7286AB4CBEECB01B169A63BD02867661@NJ-2K-Email1.delphi-tech.com> I'm trying to make an alternate notification option. My linux machine is a member of my NT domain here, and I'd like a notification type to be notify-by-messenger...using the messenger service. I'm sure someone has already done this, except I'm wondering hot to make the macros for it, such as $CONTACTHOST$ like the $CONTACTEMAIL$, there would be a few hosts I'd need to send it to, and I'd like it to be so I can set it in the contacts.cfg file like an email address and have it use that. any help appreciated. -Dave T. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Tue Mar 4 22:14:38 2003 From: greg at intouch.ca (Greg Webster) Date: Tue, 4 Mar 2003 13:14:38 -0800 Subject: Missing scripts? Message-ID: <20030304131438.3e9d99fb.greg@intouch.ca> I've just installed Nagios and notice that I am missing a number of scripts in the nagios/sbin directory. My nagios/sbin listing: avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi cmd.cgi history.cgi showlog.cgi statuswrl.cgi config.cgi notifications.cgi status.cgi summary.cgi The ones that appear to be missing (Error 404 not found using the web interface) are statusmap.cgi trends.cgi histogram.cgi I've checked the demo on the Nagios site and it has these...is there are error in the installer? Did I miss something in the install? Thanks, Greg Webster ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasonm at kelman.com Tue Mar 4 23:11:38 2003 From: jasonm at kelman.com (Jason Marshall) Date: Tue, 4 Mar 2003 15:11:38 -0700 (MST) Subject: Obsessing over Obsessing... In-Reply-To: <003c01c2d874$0b0220d0$ddd0d0cd@pendleton> References: <003c01c2d874$0b0220d0$ddd0d0cd@pendleton> Message-ID: This is an old reply -- I had to go across the continent for a wedding, so I couldn't reply right away. I'm using Solaris 8, not RedHat anything... > What version of RedHat are you using? I am currently trying to get a > distributed setup going myself with RedHat 8.0 boxes and am having the same > issue. It appears that Nagios is not attempting to run the ocsp command at > all. > > Also, I noted a discrepancy in the documentation on the ocsp command. In the > distributed server documentation, it says the ocsp command is run after > every service check. However, the nagios.cfg documentation says that it is > only run after event handlers or notifications... > > Thanks, > > Robert S. Galloway > Network Security Engineer > IKANO Communications > ...the Internet branding company > Official Data Networking Services Provider for the > Salt Lake Olympic Winter Games of 2002 > securityguy at ikano.com > 801-415-8089 > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Burnson, > Richard > Sent: Wednesday, February 19, 2003 3:48 PM > To: nagios-users > Subject: RE: [Nagios-users] Obsessing over Obsessing... > > Jason, > > I had the same issue on a RedHat server, but no one on the list > was able to help. I was able to get it to work though, once > I moved the distributed system to another server that I did > not use the high security setting during the OS install. Did > you happen to configure your server with any special security > settings? > > Richard > > > > -----Original Message----- > From: Jason Marshall [mailto:jasonm at kelman.com] > Sent: Wednesday, February 19, 2003 1:18 PM > To: nagios-users > Subject: [Nagios-users] Obsessing over Obsessing... > > I just created a new ocsp_command: > > define command { > command_name submit_check_result_jm > command_line /usr/bin/touch /tmp/blah > } > > and put this in my nagios.cfg file: > > obsess_over_services=1 > ocsp_command=submit_check_result_jm > > I also have: > > obsess_over_service 1 > > on each of my services on the distributed machine... > > Still nothing -- it's pretty clear that Nagios isn't attempting to run the > ocsp_command I've defined. There are NO errors spewing out to the > log_file, so it mustn't think it's doing anything inappropriate. > > If anyone else has any ideas, I'm all ears! > > If I'm obsessing over services on the distributed machine, should the > status.log be filled with recent check results? Or should they only be > sent to the master server? Or should it be going to both? Should I be > running state retention on the distributed machine? > > --- > Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. > > From a Sun Microsystems bug report (#4102680): > "Workaround: don't pound on the mouse like a wild monkey." > > "I have great faith in fools: > Self confidence my friends call it." -Edgar Allan Poe > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Tue Mar 4 23:55:35 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 5 Mar 2003 09:55:35 +1100 Subject: Missing scripts? In-Reply-To: <20030304131438.3e9d99fb.greg@intouch.ca>; from greg@intouch.ca on Tue, Mar 04, 2003 at 01:14:38PM -0800 References: <20030304131438.3e9d99fb.greg@intouch.ca> Message-ID: <20030305095531.A9153@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, Mar 04, 2003 at 01:14:38PM -0800, Greg Webster wrote: > > I've just installed Nagios and notice that I am missing a number of scripts in the nagios/sbin directory. > > My nagios/sbin listing: > avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi > cmd.cgi history.cgi showlog.cgi statuswrl.cgi > config.cgi notifications.cgi status.cgi summary.cgi > > The ones that appear to be missing (Error 404 not found using the web interface) are > statusmap.cgi > trends.cgi > histogram.cgi > > I've checked the demo on the Nagios site and it has these...is there are error in the installer? Did I miss something in the install? > > Thanks, > > Greg Webster > that it looks to me as if configure failed to find the gd libraries used to build the graphics for the CGI programs. I suggest, 1 Ensure that libgd.so (and or .a) is on your system 2 re-run configure piping STDERR through more so you can watch for the report about gd 2.1 If it finds gd, good 2.2 otherwise, try again with the gd path configure options (configure --help) if it fails, bad. Fail. give up. 3 Rebuild 4 Reinstall What OS are you running. FreeBSD also fails to find gd without configure options. 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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlevine at seasontickets.com Wed Mar 5 00:01:40 2003 From: dlevine at seasontickets.com (David Levine) Date: Tue, 4 Mar 2003 17:01:40 -0600 Subject: $OUTPUT$ in misccommands.cfg Question... Message-ID: Hi all - I am having a little trouble with email notifications... I receive the messages just fine, but I am experiencing the following behavior: With check_nt, am getting the output from USEDDISKSPACE. It displays fine on the Nagios (web) interface, but when I receive an (email) notification, this is what I get: Notification Type: PROBLEM Service Name: Disk Usage Stats - D On Host: host.domain.com Host IP Address: 192.168.100.8 Service State: CRITICAL Occurence Date/Time: Tue Mar 4 17:48:51 CST 2003 Additional Info: D: It is the last line that I am curious about - there is nothing beyond the "D:". I can also see this error message from the Nagios host console: /usr/bin/printf: \ : invalid escape This makes sense to me, because the backslash (as in D:\) is an escape character in printf. However, is there a way that I can stop this - so I can get all of the information in the email notification? Thanks! David dlevine at seasontickets.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Wed Mar 5 00:03:57 2003 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 04 Mar 2003 18:03:57 -0500 Subject: Missing scripts? References: <20030304131438.3e9d99fb.greg@intouch.ca> Message-ID: <3E6530DD.7000607@quadrix.com> Always a good idea to check the FAQ first... The three cgis you can't find are the ones that use graphics libraries. The cause of this problem is most likely because, when you ran configure, Nagios couldn't find some of the required graphics libraries (libgd, libpng, libjpeg, and zlib). Either you don't have them, or the script couldn't find wherever you have them. Run configure again and log the output. Look through it and you should be able to find where the problem is. Russell Greg Webster wrote: >I've just installed Nagios and notice that I am missing a number of scripts in the nagios/sbin directory. > >My nagios/sbin listing: >avail.cgi extinfo.cgi outages.cgi statuswml.cgi tac.cgi >cmd.cgi history.cgi showlog.cgi statuswrl.cgi >config.cgi notifications.cgi status.cgi summary.cgi > >The ones that appear to be missing (Error 404 not found using the web interface) are >statusmap.cgi >trends.cgi >histogram.cgi > >I've checked the demo on the Nagios site and it has these...is there are error in the installer? Did I miss something in the install? > >Thanks, > >Greg Webster > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Wed Mar 5 00:06:32 2003 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 04 Mar 2003 18:06:32 -0500 Subject: Statusmap.cgi References: Message-ID: <3E653178.5080504@quadrix.com> I just sent a reply to a very similar question. Always a good idea to check the FAQ first... The cause of this problem is most likely because, when you ran configure, Nagios couldn't find some of the required graphics libraries (libgd, libpng, libjpeg, and zlib) that statusmap.cgi uses. This can also cause problems with trends.cgi and histogram.cgi. Either you're missing some of these libraries, or the script couldn't find where you have them. Run configure again and log the output. Look through it and you should be able to find where the problem is. Russell Michael Sage wrote: >Hi, > >I have just about managed to get Nagios working and monitoring a couple >of machines, I will be expanding this in the next couple of days. There >is one problem that I don't seem to be able to fix. My install doesn't >seem to have installed statusmap.cgi, where can I find it or can someone >email it too me. > >TIA. > >Michael Sage > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Wed Mar 5 00:50:53 2003 From: greg at intouch.ca (Greg Webster) Date: Tue, 4 Mar 2003 15:50:53 -0800 Subject: Missing scripts? In-Reply-To: <20030305095531.A9153@IPAustralia.Gov.AU> References: <20030304131438.3e9d99fb.greg@intouch.ca> <20030305095531.A9153@IPAustralia.Gov.AU> Message-ID: <20030304155053.56039e7c.greg@intouch.ca> On Wed, 5 Mar 2003 09:55:35 +1100: Stanley Hopcroft wrote: > that it looks to me as if configure failed to find the gd libraries used > to build the graphics for the CGI programs. > > I suggest, > > 1 Ensure that libgd.so (and or .a) is on your system # locate libjpeg.so /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so.62.0.0 # locate libgd.so /usr/lib/libgd.so.1 /usr/lib/libgd.so.1.8.4 /usr/lib/libgd.so.2 /usr/lib/libgd.so.2.0.1 # locate libpng.so /usr/lib/libpng.so.2 /usr/lib/libpng.so.2.1.0.12 /usr/lib/libpng.so.3 /usr/lib/libpng.so.3.1.2.1 I've ran the following with the same result: ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include (not sure exactly what it's looking for in --with-gd-inc) > What OS are you running. FreeBSD also fails to find gd without configure > options. Debian 'testing' release. Here is what it gives me for errors: checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. ...I wish this gave more concise errors...if it's not finding one specific library, then I wanna know that! Thanks! Greg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Wed Mar 5 00:51:03 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Tue, 4 Mar 2003 20:51:03 -0300 Subject: RES: $OUTPUT$ in misccommands.cfg Question... In-Reply-To: References: Message-ID: I had this problem too, and Mr. De Blende told me to do this... And it worked fine... Sure that helps... Sandro Vaz **************************************************************************** **************************** Try this: define command{ command_name notify-by-email command_line /bin/echo -e '***** OpMon *****\n\nNotificationType: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/mail -s "** OpMon Alert - $NOTIFICATIONTYPE$ -$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de David Levine Enviada em: ter?a-feira, 4 de mar?o de 2003 20:02 Para: Nagios Users List (E-mail) Assunto: [Nagios-users] $OUTPUT$ in misccommands.cfg Question... Hi all - I am having a little trouble with email notifications... I receive the messages just fine, but I am experiencing the following behavior: With check_nt, am getting the output from USEDDISKSPACE. It displays fine on the Nagios (web) interface, but when I receive an (email) notification, this is what I get: Notification Type: PROBLEM Service Name: Disk Usage Stats - D On Host: host.domain.com Host IP Address: 192.168.100.8 Service State: CRITICAL Occurence Date/Time: Tue Mar 4 17:48:51 CST 2003 Additional Info: D: It is the last line that I am curious about - there is nothing beyond the "D:". I can also see this error message from the Nagios host console: /usr/bin/printf: \ : invalid escape This makes sense to me, because the backslash (as in D:\) is an escape character in printf. However, is there a way that I can stop this - so I can get all of the information in the email notification? Thanks! David dlevine at seasontickets.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.459 / Virus Database: 258 - Release Date: 25/2/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 25/2/2003 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.boman at securecirt.com Wed Mar 5 03:02:36 2003 From: michael.boman at securecirt.com (Michael Boman) Date: Wed, 5 Mar 2003 10:02:36 +0800 Subject: NSCA wont accept passive checks Message-ID: <20030305100236.A9474@securecirt.com> I have a small problem here. I can't get Nagios/NSCA to accept passive service checks. (From syslog on central server) nsca[20937]: Connection from 10.101.65.7 port 16584 nsca[20937]: Host address checks out ok nsca[20937]: Handling the connection... nsca[20937]: Received invalid packet type/version from client - possibly due to client using wrong password or crypto algorithm? nsca[20937]: End of connection... Now, the thing is that I have not enabled encryption in the first place, just to be sure that this is not the problem. On the remote system side I have this in my /etc/nagios/send_nsca.cfg password=password encryption_method=0 And on the central server I have this (in /etc/nagios/nsca.cfg): server_port=5667 allowed_hosts=10.101.65.7 nsca_user=nagios nsca_group=nagios debug=1 command_file=/var/nagios/rw/nagios.cmd aggregate_writes=1 append_to_file=0 max_packet_age=10 password=password decryption_method=0 As you can see the ecryption method on both sides are 0 (no encryption) and the password are the same. Using TCPDump I find the communication not very plain text like, but I haven't read the nsca source so I don't know how the protocol should look like.. Anyway, when I attached strace/ltrace to the nsca daemon on the central server I noticed the following (ltrace output): 20937 syslog(6, "Handling the connection...") = 20937 fcntl(6, 3, 0xbffff10c, 0, 0) = -1 20937 fcntl(6, 4, 2048, 0, 0) = -1 20937 malloc(160) = 0x08054218 20937 fopen("/dev/urandom", "r") = 0x080521b8 20937 fgetc(0x080521b8) = 'K' 20937 fclose(0x080521b8) = 0 20937 srand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x2db19fd3 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x3a99f23f 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x1604c27a 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x3dba7799 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x0335c5bc 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x43de2b04 [...] 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x2559e593 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x3a45de67 20937 rand(75, 0x0804c45c, 0xbffff0b8, 0x400d9623, 0x4018e2c0) = 0x06fba7a1 20937 time(0xbffff104) = 1046828060 20937 send(6, 0xbffff110, 132, 0, 6) = -1 20937 syslog(3, "Could not send init packet to cl"...) = 20937 free(0x08054218) = 20937 close(6) = -1 Now, if nsca has been told NOT do do encryption, why is it grabbing random numbers (screen fulls) from urandom? How would I go about to continue trouble-shooting this one? Versions: == Central server == # /usr/nagios/bin/nsca --version NSCA - Nagios Service Check Acceptor Copyright (c) 2000-2003 Ethan Galstad (nagios at nagios.org) Version: 2.3 Last Modified: 01-26-2003 License: GPL Encryption Routines: AVAILABLE === Remote system === # /usr/local/nagios/bin/send_nsca NSCA Client 2.1 Copyright (c) 2000-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 06-10-2002 License: GPL Encryption Routines: AVAILABLE Both running on Linux/x86 Best regards Michael Boman -- Michael Boman Security Architect, SecureCiRT Pte Ltd http://www.securecirt.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Mar 5 04:41:58 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 5 Mar 2003 14:41:58 +1100 Subject: Missing scripts? In-Reply-To: <20030304155053.56039e7c.greg@intouch.ca>; from greg@intouch.ca on Tue, Mar 04, 2003 at 03:50:53PM -0800 References: <20030304131438.3e9d99fb.greg@intouch.ca> <20030305095531.A9153@IPAustralia.Gov.AU> <20030304155053.56039e7c.greg@intouch.ca> Message-ID: <20030305144155.B9153@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your reply and say, On Tue, Mar 04, 2003 at 03:50:53PM -0800, Greg Webster wrote: > On Wed, 5 Mar 2003 09:55:35 +1100: Stanley Hopcroft wrote: > > that it looks to me as if configure failed to find the gd libraries used > > to build the graphics for the CGI programs. > > > > I suggest, > > > > 1 Ensure that libgd.so (and or .a) is on your system > > # locate libjpeg.so > /usr/lib/libjpeg.so.62 > /usr/lib/libjpeg.so.62.0.0 > # locate libgd.so > /usr/lib/libgd.so.1 > /usr/lib/libgd.so.1.8.4 > /usr/lib/libgd.so.2 > /usr/lib/libgd.so.2.0.1 > # locate libpng.so > /usr/lib/libpng.so.2 > /usr/lib/libpng.so.2.1.0.12 > /usr/lib/libpng.so.3 > /usr/lib/libpng.so.3.1.2.1 > > I've ran the following with the same result: > ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include > (not sure exactly what it's looking for in --with-gd-inc) > gd headers (.h files). If gd.h is _not_ in /usr/include this is futile. I would guess that this is an unlikely place to find it. > > What OS are you running. FreeBSD also fails to find gd without configure > > options. > > Debian 'testing' release. > > Here is what it gives me for errors: > checking for gdImagePng in -lgd (order 1)... no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > you can find out exactly what's going on by reading configure (/gd might be a good place to start). What configure is doing is trying to locate your headers and libraries by compiling stuff like #include main() { /* some gd lib call */ } with gcc -I -L -l gd .. yada test.c when it fails, it reports what you see. In other words, it can't find something. Since you have eliminated the libraries, it must be headers. On this FreeBSD system gd.h and friends are in /usr/local/include/gd I use --with-gd-inc=/usr/local/include/gd --with-gd-lib=/usr/local/lib as arguments to configure. Try and locate gd.h (with find) and then feed the path to --with-gd-inc > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > Boutell's GD library is required to compile the statusmap, trends > and histogram CGIs. Get it from http://www.boutell.com/gd/, compile > it, and use the --with-gd-lib and --with-gd-inc arguments to specify > the locations of the GD library and include files. > > NOTE: In addition to the gd-devel library, you'll also need to make > sure you have the png-devel and jpeg-devel libraries installed > on your system. > > ...I wish this gave more concise errors...if it's not finding one specific library, then I wanna know that! > It wants to _attract_ your attention and _tell_ you that it's blown up and things will not work as expected. Unfortunately, no one wants to hear bad news so this _and even louder versions_ is usually ignored. 'Welcome to my world' (as a famous man once said [Burton Strauss III]). > Thanks! > > Greg FWIW, you need JPEG support also. HTH, 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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 06:14:58 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 05 Mar 2003 00:14:58 -0500 (EST) Subject: check_mrttraf -f argument probs In-Reply-To: <1046707786.7005.88.camel@phobos> References: <1046707786.7005.88.camel@phobos> Message-ID: On 3 Mar 2003, Geert Vanderkelen wrote: > Hi, > > check_mrtgtraf gives me headaches. I'm using the one of the > netsaint-plugin package. Nagios plugin there doesn't really go.. > > > # check_mrtgtraf -f /path/to/mrtg/file/192.168.1.3_1.log -e 30 -A AVG \ > -w 307200,51200 -c 409600,614400 > > Works great on command line. > > Running this same with parameters I get always 'Unable to open MRTG log > file'. I've changed to the code and outputting the file when it says > this message.. Permissions are ok since the webuser can even open this > file. > Putting this file into temp.. like /tmp/dlink.log gives me a '(No > Output)' Information but status OK. > > Totally lost here.. :( > > thanks, > > Geert > > Is the webuser the same as the nagios user? and is the /path/to/file accessible as well? -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 06:20:06 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 05 Mar 2003 00:20:06 -0500 (EST) Subject: check_nt_disk dont work In-Reply-To: References: Message-ID: On Tue, 4 Mar 2003, le jert wrote: > now, I've compiled the pluggin, put it in the directory and restarted nagios > - the client have its NSClient pluggin running... but it still don't work . > The error message is now 'connection refused by host' ... It means that > everything is well configured, no ? > > Did you set the password on for NSClient on the windows machine ? Does the password match the check_nt command? -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 06:23:27 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 05 Mar 2003 00:23:27 -0500 (EST) Subject: check_disk troubles In-Reply-To: <133763879.20030304181805@mail.ru> References: <133763879.20030304181805@mail.ru> Message-ID: On Tue, 4 Mar 2003, maxxik wrote: > Hi again ... > > i have a LVM volume (/dev/main/home-smb-profiles) > > when i try to check it thru check_disk plugin : > > check_command defined in services.cfg : > > check_command check_local_disk!20%!10%!/dev/main/home-smb-profiles try putting the ARG3 in double quotes > > (check_local_disk is defined as > > define command{ > command_name check_local_disk > command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ > } > > ) > > there was a trouble : nagios cant check it > nagios write : > Disk "/dev/main/home-smb-profiles" not mounted or nonexistant ... > > but check near ( check_command > check_local_disk!20%!10%!/dev/main/home-smb) finished succesfully > .... > > when i try to run check_disk manually > (check_disk -w 20% -c 10% /dev/main/home-smb-profiles) > > all normally executing ... > > any ideas ? > > > wbr,maxx > -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bliwanag at yahoo.com Wed Mar 5 06:54:00 2003 From: bliwanag at yahoo.com (bernie liwanag) Date: Tue, 4 Mar 2003 21:54:00 -0800 (PST) Subject: sms alert using gnokii Message-ID: <20030305055400.57599.qmail@web40603.mail.yahoo.com> Hi to all! How can I make gnokii works on my nagios.I have my gnokii running using a command prompt. I can send and received a text message using the command : # /usr/local/sbin/gnokii --sendsms - Here is my sample conifiguration in contacts.cfg file # 'nagios' contact definition define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,host-notify-by-sms host_notification_commands host-notify-by-email,host-notify-by-sms email root at mallinux.test.com.ph } - Here is my sample configuration of misccommands.cfg # 'host-notify-by-sms' command definition define command command_name host-notify-by-sms command_line /usr/bin/printf "Host '$HOSTALIAS$' is $ $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/local/sbin/gnokii --sendsms 09201234567 } # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/bin/printf "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETI ME$" | /usr/local/sbin/gnokii --sendsms 09201234567 } I have included the .gnokiirc config file in both /root/ directory and /home/nagios/ directory Can someone tells me what wrong with my config? Thanks a lot to all! Bernie __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Mar 5 10:10:27 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 5 Mar 2003 20:10:27 +1100 Subject: epager not working In-Reply-To: <000b01c2e279$cada9cc0$fa01a8c0@reesa>; from val@nycity.com on Tue, Mar 04, 2003 at 01:13:44PM -0500 References: <000b01c2e279$cada9cc0$fa01a8c0@reesa> Message-ID: <20030305201022.A342@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, Mar 04, 2003 at 01:13:44PM -0500, Val Vechnyak wrote: > Hello, > > > > I have notifications by pager setup in contacts file. One epager email is > name at domain.co.zn and another one is name at domain.com. > > > > name at domain.com works while the other one does not. I am able to send email > to that account in New Zealand from my email client, but not from nagios. I > was wondering if $CONTACTPAGER$ does not see all the "co.zn"? > if you mean the length limit of the macro is less than the maximum allowed and therefore your contact address gets truncated, probably not. eg tsitc> perl -e 'print length("name\@domain.co.zn"), "\n"' 17 tsitc> This is well less than one contact email my Nagios has of 33 characters. I suggest 1 Check your mail log for any record of the attempt to send 2 If there is no record in the mail log, then Nag is failing to nag you for some reason, otherwise it may report an error. You can submit passive service check results to get as many emails as you need (OK -> CRITICAL ad infinitum), or use the check_dummy plugin. 2.1 check that after replacing the macros in the notify command by values that this command runs from the CLI as the Nag user Obviously this is poor advice if Nag is sending you _any_ email, as once I re-read your report, I see you are. 2.2 Temporarily replace, if possible, the binary that Nag is using to send you mail by one that logs what it does. Maybe cat >> /tmp/some_file.log 2.3 consider configuring and building a debugging Nag to get some feedback on what happens when Nag tries to notify you. > > > Thank you for your help. > > > > VV > 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Hanssen at baerum.kommune.no Wed Mar 5 11:27:23 2003 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Wed, 05 Mar 2003 11:27:23 +0100 Subject: I am installing Nagios on a RH 8.0 box, and during the compilation of the plugins (1.3-beta1) i get Message-ID: I am installing Nagios on a RH 8.0 box, and during the compilation of the plugins (1.3-beta1) i get the following errors: [root at monitor01 nagiosplug-1.3-beta1]# autoconf [root at monitor01 nagiosplug-1.3-beta1]# autoheader WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' WARNING: and `config.h.top', to define templates for `config.h.in' WARNING: is deprecated and discouraged. WARNING: Using the third argument of `AC_DEFINE' and WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without WARNING: `acconfig.h': WARNING: AC_DEFINE([NEED_MAIN], 1, WARNING: [Define if a function `main' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. autoheader: `plugins/config.h.in' is updated [root at monitor01 nagiosplug-1.3-beta1]# automake automake: configure.in: `AM_INIT_AUTOMAKE' must be used automake: your implementation of AM_INIT_AUTOMAKE comes from an automake: old Automake version. You should recreate aclocal.m4 automake: with aclocal and run automake again. plugins/Makefile.am: required file `./depcomp' not found /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL [root at monitor01 nagiosplug-1.3-beta1]# Anyone have an idea of what is wrong ? PS. Sorry if this mail has been sent twice. I got an error the first time, so i sent it again. __________________________________________ Vennlig hilsen Stefan Hanssen Datakontoret, B?rum Kommune e-post stefan.hanssen at baerum.kommune.no ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Wed Mar 5 11:53:20 2003 From: lejert at hotmail.com (le jert) Date: Wed, 05 Mar 2003 11:53:20 +0100 Subject: check_nt_disk dont work Message-ID: I was running the pluggin on a wrong port and there where a password problem I thank you all for your help ! >From: "Pascal Miquet" >To: le jert >Subject: Re: [Nagios-users] check_nt_disk dont work >Date: 05 Mar 2003 09:06:07 +0100 > >The windows client is a PC with NT ? >You should check the client from your Nagios server manually, to check >what is the result of the command. This is may be a protection from a >Firewall ?? > > >Le mar 04/03/2003 ? 18:10, le jert a ?crit : > > > > the problem is that it seems to work. I mean we downloaded the NSClient >and > > installed it. The machine says it's running. Some one suggest me to >check > > the port entry... > > > > > > >From: "Pascal Miquet" > > >To: le jert > > >Subject: Re: [Nagios-users] check_nt_disk dont work > > >Date: 04 Mar 2003 18:04:58 +0100 > > > > > >Le mar 04/03/2003 ? 17:25, le jert a ?crit : > > > > > > > > now, I've compiled the pluggin, put it in the directory and >restarted > > >nagios > > > > - the client have its NSClient pluggin running... but it still don't > > >work . > > > > The error message is now 'connection refused by host' ... It means >that > > > > everything is well configured, no ? > > > > > > > > > > >This mean that the remote host does not allow the connection. > > >So I suggest you to check if the NSClient is running on your NT Box. > > >Regards > > >Pascal Miquet > > > > > > _________________________________________________________________ > > Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail > > >-- >Pascal MiQUET >Responsable Developpement >T?l?phone: +33 1 40 89 98 98 >Cellulaire: +33 6 60 58 55 77 _________________________________________________________________ Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Wed Mar 5 12:04:54 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Wed, 5 Mar 2003 12:04:54 +0100 (CET) Subject: Questions about Nsca and check_none command Message-ID: <20030305110454.30092.qmail@web10903.mail.yahoo.com> Hello, When i try to run nsca daemon : "nsca -c /usr/local/nagios/etc/nsca.cfg --single" on my nagios server, i got no nsca process listed when I run a "ps aux | grep nsca" command. How can i do to have the nsca daemon launched ? I try the SNMP traps Nagios documentation example and i don't understand the "check_command check_none" directive... What does it mean ? Do I have to define a check_none command ? If so how should I define it ? Thanks, Steve --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.freegard at lbsltd.co.uk Wed Mar 5 12:48:42 2003 From: steve.freegard at lbsltd.co.uk (Steve Freegard) Date: Wed, 5 Mar 2003 11:48:42 -0000 Subject: SMB Pop-up Message-ID: <67D9E7698329D411936E00508B6590B90279328D@neelix.lbsltd.co.uk> Hi Dave, What you want is pretty easy to do - here are a few instructions for you to get you started. You don't mention what OS you are using - I'm on RedHat 7.3, so you'll have to change this depending on what you use. As a minimun - you'll need the 'samba-client' rpm package installed which contains the 'smbclient' binary which you need to send the popups. The smbclient utility will currently only allow you to send your popup to machine names and not usernames - however if you want to do this you can head over to www.samba-tng.org and grab tng from CVS and compile it - and use the smbclient program from this - and you'll be able to send the popups by username which is quite handy. Firstly - you need to set-up your Nagios contacts - I use the 'pager' section for the machine/user that I want the popup to go to - e.g: define contact{ contact_name smf alias Steve Freegard host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,c,r host_notification_commands host-notify-by-winpopup service_notification_commands notify-by-winpopup email e-mail at address.here pager smf <-- NT Machine Name/NT Username } Next - set-up the notification commands: define command{ command_name notify-by-winpopup command_line /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$\nHost Description: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nService: $SERVICEDESC$\nState: $SERVICESTATE$\n\nAdditional Information:\n$OUTPUT$' | /usr/local/nagios/libexec/smbclient/winpopup.sh $CONTACTPAGER$ } define command{ command_name host-notify-by-winpopup command_line /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$\nHost Description: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $HOSTSTATE$\n\nAdditional Information:\n$OUTPUT$' | /usr/local/nagios/libexec/smbclient/winpopup.sh $CONTACTPAGER$ } Obviously - with these you need to change the path of the smbclient binary - I'm using a wrapper script as I used the tng version of smbclient, but as I use the 'main' samba for filesharing on this box - I didn't want tng to get in the way, so I copied the required libs to a smbclient directory, and use a wrapper script to call it. If you want to do the same - you'll need the following files from a compiled tng: libnmb.so.0 libsamba.so.0 libsmb.so.0 smbclient The wrapper script called winpopup.sh - all this does it to use the libs in the current directory, and set the username to NAGIOS so the popup shows as coming from this user - it looks like: #!/bin/bash if [ -z $1 ]; then exit; fi cd `dirname $0` export LD_LIBRARY_PATH=. export USER=NAGIOS ./smbclient -M $1 2>&1 > /dev/null exit 0 Hope this helps. Regards, Steve. -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: 04 March 2003 21:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMB Pop-up I'm trying to make an alternate notification option. My linux machine is a member of my NT domain here, and I'd like a notification type to be notify-by-messenger...using the messenger service. I'm sure someone has already done this, except I'm wondering hot to make the macros for it, such as $CONTACTHOST$ like the $CONTACTEMAIL$, there would be a few hosts I'd need to send it to, and I'd like it to be so I can set it in the contacts.cfg file like an email address and have it use that. any help appreciated. -Dave T. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.lbsltd.co.uk ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Mar 5 12:51:05 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 05 Mar 2003 06:51:05 -0500 Subject: I am installing Nagios on a RH 8.0 box, and during the compilation of the plugins (1.3-beta1) i get In-Reply-To: References: Message-ID: <1046865065.1072.3.camel@miles.debisschop.net> On Wed, 2003-03-05 at 05:27, Stefan Hanssen wrote: > I am installing Nagios on a RH 8.0 box, and during the compilation of the plugins (1.3-beta1) i get the following errors: > > [root at monitor01 nagiosplug-1.3-beta1]# autoconf > [root at monitor01 nagiosplug-1.3-beta1]# autoheader > WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' > WARNING: and `config.h.top', to define templates for `config.h.in' > WARNING: is deprecated and discouraged. > > WARNING: Using the third argument of `AC_DEFINE' and > WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without > WARNING: `acconfig.h': > > WARNING: AC_DEFINE([NEED_MAIN], 1, > WARNING: [Define if a function `main' is needed.]) > > WARNING: More sophisticated templates can also be produced, see the > WARNING: documentation. > autoheader: `plugins/config.h.in' is updated > [root at monitor01 nagiosplug-1.3-beta1]# automake > automake: configure.in: `AM_INIT_AUTOMAKE' must be used > automake: your implementation of AM_INIT_AUTOMAKE comes from an > automake: old Automake version. You should recreate aclocal.m4 > automake: with aclocal and run automake again. > plugins/Makefile.am: required file `./depcomp' not found > /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL > [root at monitor01 nagiosplug-1.3-beta1]# > > > Anyone have an idea of what is wrong ? Did you run aclocal? Eastiest thing to do is just run ./tools/setup You will still get some of those warnings because you are using a newer automake than we are currently developing with. But it's not a problem. You might need 'automake --add-missing' if you still get the warning about depcomp -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Mar 5 14:45:20 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 5 Mar 2003 08:45:20 -0500 Subject: SMB Pop-up Message-ID: <880E60DA7286AB4CBEECB01B169A63BD02867664@NJ-2K-Email1.delphi-tech.com> WOW, what a thorough response. Although, amazingly this didn't quite answer my question, it did give me an idea of how to go about what I want in the end. You see, I really wanted a third variable similar to email/pager, something like user/host. That way in one contact I'd be able to specify three points of contact instead of two, the third being their host/username (very neat package being able to pop-up by username, btw, thanks so much!). However, instead of going this road, which seems bumpy, I'll simply make more then one entry for contacts...one having their pager, the other having hosts/usernames. It actually may work out better this way, at least similar, instead of specifying that I want contact via this-or-that, I can simply specify a different contactgroup of which there is smb pop-ups! Excellent, thanks so much! -Dave -----Original Message----- From: Steve Freegard [mailto:steve.freegard at lbsltd.co.uk] Sent: Wednesday, March 05, 2003 6:49 AM To: 'DTerrell at Delphi-Tech.com'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] SMB Pop-up Hi Dave, What you want is pretty easy to do - here are a few instructions for you to get you started. You don't mention what OS you are using - I'm on RedHat 7.3, so you'll have to change this depending on what you use. As a minimun - you'll need the 'samba-client' rpm package installed which contains the 'smbclient' binary which you need to send the popups. The smbclient utility will currently only allow you to send your popup to machine names and not usernames - however if you want to do this you can head over to www.samba-tng.org and grab tng from CVS and compile it - and use the smbclient program from this - and you'll be able to send the popups by username which is quite handy. Firstly - you need to set-up your Nagios contacts - I use the 'pager' section for the machine/user that I want the popup to go to - e.g: define contact{ contact_name smf alias Steve Freegard host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,c,r host_notification_commands host-notify-by-winpopup service_notification_commands notify-by-winpopup email e-mail at address.here pager smf <-- NT Machine Name/NT Username } Next - set-up the notification commands: define command{ command_name notify-by-winpopup command_line /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$\nHost Description: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nService: $SERVICEDESC$\nState: $SERVICESTATE$\n\nAdditional Information:\n$OUTPUT$' | /usr/local/nagios/libexec/smbclient/winpopup.sh $CONTACTPAGER$ } define command{ command_name host-notify-by-winpopup command_line /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$\nHost Description: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $HOSTSTATE$\n\nAdditional Information:\n$OUTPUT$' | /usr/local/nagios/libexec/smbclient/winpopup.sh $CONTACTPAGER$ } Obviously - with these you need to change the path of the smbclient binary - I'm using a wrapper script as I used the tng version of smbclient, but as I use the 'main' samba for filesharing on this box - I didn't want tng to get in the way, so I copied the required libs to a smbclient directory, and use a wrapper script to call it. If you want to do the same - you'll need the following files from a compiled tng: libnmb.so.0 libsamba.so.0 libsmb.so.0 smbclient The wrapper script called winpopup.sh - all this does it to use the libs in the current directory, and set the username to NAGIOS so the popup shows as coming from this user - it looks like: #!/bin/bash if [ -z $1 ]; then exit; fi cd `dirname $0` export LD_LIBRARY_PATH=. export USER=NAGIOS ./smbclient -M $1 2>&1 > /dev/null exit 0 Hope this helps. Regards, Steve. -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: 04 March 2003 21:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMB Pop-up I'm trying to make an alternate notification option. My linux machine is a member of my NT domain here, and I'd like a notification type to be notify-by-messenger...using the messenger service. I'm sure someone has already done this, except I'm wondering hot to make the macros for it, such as $CONTACTHOST$ like the $CONTACTEMAIL$, there would be a few hosts I'd need to send it to, and I'd like it to be so I can set it in the contacts.cfg file like an email address and have it use that. any help appreciated. -Dave T. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.lbsltd.co.uk ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joerg.Krueger at alcatel.de Wed Mar 5 15:37:53 2003 From: Joerg.Krueger at alcatel.de (Joerg.Krueger at alcatel.de) Date: Wed, 5 Mar 2003 15:37:53 +0100 Subject: force notification ? Message-ID: Is it possible to force a notification, e.g. by an external command, even if the conditions for a notification are not met ? I would like to generate a notification everytime I find a pattern in a logfile containing a descriptive text regarding the log message. My idea was to define a service which accepts passive check results. The logfile scanner submits the results as passive check results locally by an external command or remotely by nsca. This works in general, but only the first event leads to a notification. All subsequent events will not be notified since no status transition took place. You could fake this mechanism by sending an OK check result after each WARNING or CRITICAL, but isn't there a smarter way ? Mit freundlichen Gruessen/Best Regards Joerg Krueger ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve.freegard at lbsltd.co.uk Wed Mar 5 15:52:08 2003 From: steve.freegard at lbsltd.co.uk (Steve Freegard) Date: Wed, 5 Mar 2003 14:52:08 -0000 Subject: SMB Pop-up Message-ID: <67D9E7698329D411936E00508B6590B90279328E@neelix.lbsltd.co.uk> Dave, Sorry - it looks like I didn't read your message properly before replying ;-)) The additional variables question has been asked quite a few times before - the general consensus was that you could put multiple entries entries into the e-mail or pager variables as no checking is done on the Nagios end, and that you could delimit them and use a notification script that strips the values out and does the different notifications to both. I do something similar to what you are proposing and use two contacts - one for working hours, and one for out-of-hours support with the working hours receiving the winpopup's, and the out-of-hours getting a SMS using sendpage and this works pretty well for me. Glad I could be of assistance with the other stuff tho.. Regards, Steve -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: 05 March 2003 13:45 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMB Pop-up WOW, what a thorough response. Although, amazingly this didn't quite answer my question, it did give me an idea of how to go about what I want in the end. You see, I really wanted a third variable similar to email/pager, something like user/host. That way in one contact I'd be able to specify three points of contact instead of two, the third being their host/username (very neat package being able to pop-up by username, btw, thanks so much!). However, instead of going this road, which seems bumpy, I'll simply make more then one entry for contacts...one having their pager, the other having hosts/usernames. It actually may work out better this way, at least similar, instead of specifying that I want contact via this-or-that, I can simply specify a different contactgroup of which there is smb pop-ups! Excellent, thanks so much! -Dave -----Original Message----- From: Steve Freegard [mailto:steve.freegard at lbsltd.co.uk] Sent: Wednesday, March 05, 2003 6:49 AM To: 'DTerrell at Delphi-Tech.com'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] SMB Pop-up Hi Dave, What you want is pretty easy to do - here are a few instructions for you to get you started. You don't mention what OS you are using - I'm on RedHat 7.3, so you'll have to change this depending on what you use. As a minimun - you'll need the 'samba-client' rpm package installed which contains the 'smbclient' binary which you need to send the popups. The smbclient utility will currently only allow you to send your popup to machine names and not usernames - however if you want to do this you can head over to www.samba-tng.org and grab tng from CVS and compile it - and use the smbclient program from this - and you'll be able to send the popups by username which is quite handy. Firstly - you need to set-up your Nagios contacts - I use the 'pager' section for the machine/user that I want the popup to go to - e.g: define contact{ contact_name smf alias Steve Freegard host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,c,r host_notification_commands host-notify-by-winpopup service_notification_commands notify-by-winpopup email e-mail at address.here pager smf <-- NT Machine Name/NT Username } Next - set-up the notification commands: define command{ command_name notify-by-winpopup command_line /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$\nHost Description: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nService: $SERVICEDESC$\nState: $SERVICESTATE$\n\nAdditional Information:\n$OUTPUT$' | /usr/local/nagios/libexec/smbclient/winpopup.sh $CONTACTPAGER$ } define command{ command_name host-notify-by-winpopup command_line /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$\nHost Description: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $HOSTSTATE$\n\nAdditional Information:\n$OUTPUT$' | /usr/local/nagios/libexec/smbclient/winpopup.sh $CONTACTPAGER$ } Obviously - with these you need to change the path of the smbclient binary - I'm using a wrapper script as I used the tng version of smbclient, but as I use the 'main' samba for filesharing on this box - I didn't want tng to get in the way, so I copied the required libs to a smbclient directory, and use a wrapper script to call it. If you want to do the same - you'll need the following files from a compiled tng: libnmb.so.0 libsamba.so.0 libsmb.so.0 smbclient The wrapper script called winpopup.sh - all this does it to use the libs in the current directory, and set the username to NAGIOS so the popup shows as coming from this user - it looks like: #!/bin/bash if [ -z $1 ]; then exit; fi cd `dirname $0` export LD_LIBRARY_PATH=. export USER=NAGIOS ./smbclient -M $1 2>&1 > /dev/null exit 0 Hope this helps. Regards, Steve. -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: 04 March 2003 21:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMB Pop-up I'm trying to make an alternate notification option. My linux machine is a member of my NT domain here, and I'd like a notification type to be notify-by-messenger...using the messenger service. I'm sure someone has already done this, except I'm wondering hot to make the macros for it, such as $CONTACTHOST$ like the $CONTACTEMAIL$, there would be a few hosts I'd need to send it to, and I'd like it to be so I can set it in the contacts.cfg file like an email address and have it use that. any help appreciated. -Dave T. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.lbsltd.co.uk ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From avh at inbodan.dk Wed Mar 5 16:01:48 2003 From: avh at inbodan.dk (Allan Hansen, INBODAN) Date: Wed, 5 Mar 2003 16:01:48 +0100 Subject: SV: sms alert using gnokii Message-ID: <03630F4AC119D311B0DF0008C716506F016AC337@ARHIN02> As you do not describe what errors you get, it is a bit difficult to provide an exact answer. The advise I got when setting this up about 6 months ago, was to use some form of gateway between Nagios and Gnokii. Gnokii needs some kind of queing mechanism, otherwise it might choke when sending multiple notifications. I am using Alamin (www.alamin.org). It was somewhat difficult to set up, but runs fine. I can't find my notes about the installation, but I remember this has been on the list in the past. You should also check the FAQ at: http://www.nagios.org/faqs/viewfaq.php?faq_id=65&expand=false&showdesc=true /Allan -----Oprindelig meddelelse----- Fra: bernie liwanag [mailto:bliwanag at yahoo.com] Sendt: 5. marts 2003 06:54 Til: nagios-users at lists.sourceforge.net Emne: [Nagios-users] sms alert using gnokii Hi to all! How can I make gnokii works on my nagios.I have my gnokii running using a command prompt. I can send and received a text message using the command : # /usr/local/sbin/gnokii --sendsms - Here is my sample conifiguration in contacts.cfg file # 'nagios' contact definition define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,host-notify-by-sms host_notification_commands host-notify-by-email,host-notify-by-sms email root at mallinux.test.com.ph } - Here is my sample configuration of misccommands.cfg # 'host-notify-by-sms' command definition define command command_name host-notify-by-sms command_line /usr/bin/printf "Host '$HOSTALIAS$' is $ $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/local/sbin/gnokii --sendsms 09201234567 } # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/bin/printf "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETI ME$" | /usr/local/sbin/gnokii --sendsms 09201234567 } I have included the .gnokiirc config file in both /root/ directory and /home/nagios/ directory Can someone tells me what wrong with my config? Thanks a lot to all! Bernie __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davidgu at yahoo.com Wed Mar 5 16:03:54 2003 From: davidgu at yahoo.com (=?iso-8859-1?q?David=20Gurr?=) Date: Wed, 5 Mar 2003 15:03:54 +0000 (GMT) Subject: Can't compile plugins - undefined reference to `getloadavg' Message-ID: <20030305150354.67701.qmail@web41215.mail.yahoo.com> I'm trying to install the plugins on an old Caldera OpenLinux 2.3 system, with a view to also installing nrpe. I've unpacked the nagios-plugins-1.3.0-beta3 tarball, and successfully run configure. When I do "make all", it fails on building check_load with the following error: gcc -g -O2 -L. -o check_load check_load.o utils.o ../lib/libnagiosplug.a popen.o -lutil check_load.o: In function `main': /tmp/nagios-plugins-1.3.0-beta3/plugins/check_load.c:80: undefined reference to `getloadavg' make[1]: *** [check_load] Error 1 Earlier, the libnagiosplug.a library seemed to get built OK: gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I. -g -O2 -c getopt.c gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I. -g -O2 -c getopt1.c gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I../plugins -I. -g -O2 -c getloadavg.c rm -f libnagiosplug.a ar cru libnagiosplug.a getopt.o getopt1.o getloadavg.o ranlib libnagiosplug.a Any suggestions? Thx __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Wed Mar 5 16:10:27 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Wed, 5 Mar 2003 12:10:27 -0300 Subject: RES: Notification flood after host down In-Reply-To: <20030228171407.GA7654@roadrunner.ichilton.net> References: <20030228171407.GA7654@roadrunner.ichilton.net> Message-ID: Ian e Jim: I'm also having this problem too (not receiving CRITICAL service alerts when the host goes down, but when the hosts comes back, receiving RECOVERY service alerts for that host), and i am sure there is no second Nagios instance running... Could you point me where i am wrong? Any help is appreciated. Here my configs.... HOSTS.CFG ****************** define host{ name generic-host-giozza notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 max_check_attempts 10 notification_interval 0 notification_period 24x7 notification_options d,u,r } define host{ use generic-host-giozza host_name giozza-adslbrt-pas-01 parents paelxmg1 alias Giozza Pelotas address giozza-adslbrt-pas-01 check_command check-host-alive-ssh } SERVICES.CFG *********************** define service{ name generic-service-giozza active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 5 retry_check_interval 1 notification_interval 0 notification_options c,r contact_groups opnet-admins,callcenter,giozza-admins notification_period 24x7 register 0 } define service{ use generic-service-giozza host_name giozza-adslbrt-pas-01 service_description Disk1 check_command check_nrpe_disk1 } define service{ use generic-service-giozza host_name giozza-adslbrt-pas-01 service_description Disk2 check_command check_nrpe_disk2 } DEPENDECIES.CFG **************************** #Giozza PAE-01 define servicedependency{ host_name giozza-virtua-pae-01 service_description SSHD dependent_host_name giozza-virtua-pae-01 dependent_service_description Disk1 execution_failure_criteria u,c notification_failure_criteria u,c } define servicedependency{ host_name giozza-virtua-pae-01 service_description SSHD dependent_host_name giozza-virtua-pae-01 dependent_service_description Disk2 execution_failure_criteria u,c notification_failure_criteria u,c } -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Ian Chilton Enviada em: sexta-feira, 28 de fevereiro de 2003 14:14 Para: Carroll, Jim P [Contractor] Cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Notification flood after host down Hello, > Could you provide a couple snippets from your config files, namely one > host definition, and one service definition for that host? ok.. Host: define host{ use generic-host host_name somehostname alias Desc address 123.123.123.123 parents mygateway check_command check-host-alive max_check_attempts 5 notification_interval 240 notification_period 24x7 notification_options d,r Service: define service{ use generic-service host_name somehostname service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups somecontactgroup notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } Hostgroup: define hostgroup{ hostgroup_name somehostgroup alias Name contact_groups somecontactgroup members somehostname } Contact Group: define contactgroup{ contactgroup_name somecontactgroup alias Name members nagios,someone } Thanks! --ian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.458 / Virus Database: 257 - Release Date: 24/2/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 25/2/2003 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at ichilton.co.uk Wed Mar 5 16:13:23 2003 From: mailinglist at ichilton.co.uk (Ian Chilton) Date: Wed, 5 Mar 2003 15:13:23 +0000 Subject: RES: Notification flood after host down In-Reply-To: References: <20030228171407.GA7654@roadrunner.ichilton.net> Message-ID: <20030305151323.GB31215@roadrunner.ichilton.net> Hello, > I'm also having this problem too (not receiving CRITICAL service alerts when > the host goes down, but when the hosts comes back, receiving RECOVERY > service alerts for that host), and i am sure there is no second Nagios > instance running... Could you point me where i am wrong? No other ideas, sorry. --ian ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Wed Mar 5 16:23:14 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Wed, 5 Mar 2003 16:23:14 +0100 (CET) Subject: Questions about Nsca and check_none command In-Reply-To: <20030305110454.30092.qmail@web10903.mail.yahoo.com> References: <20030305110454.30092.qmail@web10903.mail.yahoo.com> Message-ID: <20030305152314.46288.qmail@web10908.mail.yahoo.com> I have successfully made the nsca daemon running, but I'm still being confused with the check_none command in the SNMP trap example... How can I tell to Nagios that my passive service is a SNMP trap handled by the snmptrapd and reported to Nagios via Nsca ? Steve Steve Dussaux wrote: Hello, When i try to run nsca daemon : "nsca -c /usr/local/nagios/etc/nsca.cfg --single" on my nagios server, i got no nsca process listed when I run a "ps aux | grep nsca" command. How can i do to have the nsca daemon launched ? I try the SNMP traps Nagios documentation example and i don't understand the "check_command check_none" directive... What does it mean ? Do I have to define a check_none command ? If so how should I define it ? Thanks, Steve --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From DTerrell at Delphi-Tech.com Wed Mar 5 16:14:43 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 5 Mar 2003 10:14:43 -0500 Subject: SMB Pop-up Message-ID: <880E60DA7286AB4CBEECB01B169A63BD0286766C@NJ-2K-Email1.delphi-tech.com> On second thought, I've figured a way around this. I'm simply using domain login names as the contact name, and their full name as the alias. In the notify-by-messenger commands I'll simply tell it to send to $CONTACTNAME$ and it'll send out properly! I can avoid duplicate contacts/groups. Excellent! -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, March 05, 2003 8:45 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMB Pop-up WOW, what a thorough response. Although, amazingly this didn't quite answer my question, it did give me an idea of how to go about what I want in the end. You see, I really wanted a third variable similar to email/pager, something like user/host. That way in one contact I'd be able to specify three points of contact instead of two, the third being their host/username (very neat package being able to pop-up by username, btw, thanks so much!). However, instead of going this road, which seems bumpy, I'll simply make more then one entry for contacts...one having their pager, the other having hosts/usernames. It actually may work out better this way, at least similar, instead of specifying that I want contact via this-or-that, I can simply specify a different contactgroup of which there is smb pop-ups! Excellent, thanks so much! -Dave -----Original Message----- From: Steve Freegard [mailto:steve.freegard at lbsltd.co.uk] Sent: Wednesday, March 05, 2003 6:49 AM To: 'DTerrell at Delphi-Tech.com'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] SMB Pop-up Hi Dave, What you want is pretty easy to do - here are a few instructions for you to get you started. You don't mention what OS you are using - I'm on RedHat 7.3, so you'll have to change this depending on what you use. As a minimun - you'll need the 'samba-client' rpm package installed which contains the 'smbclient' binary which you need to send the popups. The smbclient utility will currently only allow you to send your popup to machine names and not usernames - however if you want to do this you can head over to www.samba-tng.org and grab tng from CVS and compile it - and use the smbclient program from this - and you'll be able to send the popups by username which is quite handy. Firstly - you need to set-up your Nagios contacts - I use the 'pager' section for the machine/user that I want the popup to go to - e.g: define contact{ contact_name smf alias Steve Freegard host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options w,c,r host_notification_commands host-notify-by-winpopup service_notification_commands notify-by-winpopup email e-mail at address.here pager smf <-- NT Machine Name/NT Username } Next - set-up the notification commands: define command{ command_name notify-by-winpopup command_line /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$\nHost Description: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nService: $SERVICEDESC$\nState: $SERVICESTATE$\n\nAdditional Information:\n$OUTPUT$' | /usr/local/nagios/libexec/smbclient/winpopup.sh $CONTACTPAGER$ } define command{ command_name host-notify-by-winpopup command_line /bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nHost: $HOSTNAME$\nHost Description: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $HOSTSTATE$\n\nAdditional Information:\n$OUTPUT$' | /usr/local/nagios/libexec/smbclient/winpopup.sh $CONTACTPAGER$ } Obviously - with these you need to change the path of the smbclient binary - I'm using a wrapper script as I used the tng version of smbclient, but as I use the 'main' samba for filesharing on this box - I didn't want tng to get in the way, so I copied the required libs to a smbclient directory, and use a wrapper script to call it. If you want to do the same - you'll need the following files from a compiled tng: libnmb.so.0 libsamba.so.0 libsmb.so.0 smbclient The wrapper script called winpopup.sh - all this does it to use the libs in the current directory, and set the username to NAGIOS so the popup shows as coming from this user - it looks like: #!/bin/bash if [ -z $1 ]; then exit; fi cd `dirname $0` export LD_LIBRARY_PATH=. export USER=NAGIOS ./smbclient -M $1 2>&1 > /dev/null exit 0 Hope this helps. Regards, Steve. -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: 04 March 2003 21:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMB Pop-up I'm trying to make an alternate notification option. My linux machine is a member of my NT domain here, and I'd like a notification type to be notify-by-messenger...using the messenger service. I'm sure someone has already done this, except I'm wondering hot to make the macros for it, such as $CONTACTHOST$ like the $CONTACTEMAIL$, there would be a few hosts I'd need to send it to, and I'd like it to be so I can set it in the contacts.cfg file like an email address and have it use that. any help appreciated. -Dave T. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.lbsltd.co.uk ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Wed Mar 5 16:30:25 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Wed, 5 Mar 2003 16:30:25 +0100 Subject: SMB Pop-up Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4505@serv-075.icon-germany.local> Hi Steve, Could you post the script to the list? I'm interested... :-D Thanks & Regards, Hagen Deike > -----Original Message----- > From: Steve Freegard [mailto:steve.freegard at lbsltd.co.uk] > Sent: Mittwoch, 5. M?rz 2003 15:52 > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] SMB Pop-up > > - > the general consensus was that you could put multiple entries entries into > the e-mail or pager variables as no checking is done on the Nagios end, > and > that you could delimit them and use a notification script that strips the > values out and does the different notifications to both. > > I do something similar to what you are proposing and use two contacts - > one > for working hours, and one for out-of-hours support with the working hours > receiving the winpopup's, and the out-of-hours getting a SMS using > sendpage > and this works pretty well for me. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 16:40:50 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 05 Mar 2003 10:40:50 -0500 (EST) Subject: I am installing Nagios on a RH 8.0 box, and during the compilation of the plugins (1.3-beta1) i get In-Reply-To: References: Message-ID: On Wed, 5 Mar 2003, Stefan Hanssen wrote: > I am installing Nagios on a RH 8.0 box, and during the compilation of the plugins (1.3-beta1) i get the following errors: > > [root at monitor01 nagiosplug-1.3-beta1]# autoconf > [root at monitor01 nagiosplug-1.3-beta1]# autoheader > WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' > WARNING: and `config.h.top', to define templates for `config.h.in' > WARNING: is deprecated and discouraged. > > WARNING: Using the third argument of `AC_DEFINE' and > WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without > WARNING: `acconfig.h': > > WARNING: AC_DEFINE([NEED_MAIN], 1, > WARNING: [Define if a function `main' is needed.]) > > WARNING: More sophisticated templates can also be produced, see the > WARNING: documentation. > autoheader: `plugins/config.h.in' is updated > [root at monitor01 nagiosplug-1.3-beta1]# automake > automake: configure.in: `AM_INIT_AUTOMAKE' must be used > automake: your implementation of AM_INIT_AUTOMAKE comes from an > automake: old Automake version. You should recreate aclocal.m4 > automake: with aclocal and run automake again. > plugins/Makefile.am: required file `./depcomp' not found > /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL > /usr/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL > [root at monitor01 nagiosplug-1.3-beta1]# > > > Anyone have an idea of what is wrong ? > > PS. Sorry if this mail has been sent twice. I got an error the first time, so i sent it again. > This is known - RH 80 ships with the new autoconf 2.53 and new automake. Nagiosplug is built with autconf 2.13 and autmake 1.5. Use the 1.3 release tarball. Its the latest release and you don't need the auto tools if you use the tarballs. (autotools are needed for CVS snapshots) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masson.martin at cognicase.com Wed Mar 5 16:53:58 2003 From: masson.martin at cognicase.com (Masson, Martin) Date: Wed, 5 Mar 2003 10:53:58 -0500 Subject: serviceextinfo ? Message-ID: <634A5671B467924A9D22145D5EB5F3489085A5@svrxch01.ile-des-soeurs.cognicase.local> Anyone had problem setting up the extend info for the services? I'm trying to have a link / icon for each serrvice, so that the operator can quickly locate the procedures in case of emergency. The problem, is when I try to add more than 2 servers to the serviceextinfo template, the servers that are beyond the two firsts are not showing in the web interface. Example (there could be typos, I had to copy it by hand): define serviceextinfo { host_name server1, server2, server3, server4 service_description APACHE PROCESSES notes_url /document.php?command=showdoc&doc=1 icon_image info.gif icon_image_alt Plus d'information sur le service } I tried defining more "serviceextinfo" with only two entries in them, but it didn't work eitherl. Is that a bug or did I just have the feature wronlgy figured out Thanks Martin Masson Adminstrateur UNIX CGI 514-732-8000 ext. 4084 masson at cognicase.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wilson at unity.ncsu.edu Wed Mar 5 17:08:30 2003 From: wilson at unity.ncsu.edu (Brian Wilson) Date: Wed, 5 Mar 2003 11:08:30 -0500 (EST) Subject: check_rrd_data.pl Message-ID: Requires RRD::File however the only perl modules distributed with rrdtool are RRDs.pm or RRDp.pm (shared and piped versions). So, is anyone successfully using check_rrd_data.pl, if so, what modifications did you have to make to get it to use one of the above modules OR are their other modules out there I need to grab? I checked CPAN and no dice, as expected. Thanks, Brian -- Brian Wilson Network Analyst Communication Technologies, ATD W: 919.513.3472 North Carolina State University www.ncstate.net ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Marian.ZUREK at cern.ch Wed Mar 5 17:28:46 2003 From: Marian.ZUREK at cern.ch (Marian Zurek) Date: Wed, 05 Mar 2003 17:28:46 +0100 Subject: check_by_ssh and currently logged users Message-ID: <3E6625BE.5010307@cern.ch> Hi, I wanted to see in the Nagios monitoring window the currently running processes. For that purpose I worked out the command as follows: /bin/ps aux | egrep -vw 'USER|root|postfix|daemon|rpc|xfs' | cut -f1 -d\ | sort | uniq -c | tr -s '\t \n' ' ,' and put it as an argument to the check_by_ssh plugin, so the whole command_line as specified in the checkcommands.cfg file looks like following: $USER1$/check_by_ssh -H $HOSTADDRESS$ --command='/bin/ps aux' | egrep -vw 'USER|root|postfix|daemon|rpc|xfs' | cut -f1 -d\ | sort | uniq -c | tr -s '\t \n' ' ,' but it doesn't seem to work properly. The whole output from the 'ps aux' command seem to be cut to the one line only. Is that expected behaviour ? The attempt of processing the 'ps aux' output on the remote machine with the command: ./check_by_ssh -H remote_hostA --command='/bin/ps aux | egrep -vw 'USER|root|postfix|daemon|rpc|xfs' | cut -f1 -d\ | sort | uniq -c | tr -s '\t \n' ' ,'' ends up with the errors like bash: root: command not found bash: xfs | cut -f1 -d\ | sort | uniq -c | tr -s t: command not found bash: rpc: command not found bash: daemon: command not found postfix/postfix-script: fatal: usage: postfix start (or stop, reload, abort, flush, or check) Can you suggest what technique should I use to achieve my results. I would prefer to do it with minimal touch of controlled hosts if possible. I will be also thankful for other ideas/hints. Thanks in advance for your attention. Regards, Marian ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlevine at seasontickets.com Wed Mar 5 17:48:53 2003 From: dlevine at seasontickets.com (David Levine) Date: Wed, 5 Mar 2003 10:48:53 -0600 Subject: $OUTPUT$ in misccommands.cfg Question... Message-ID: Sandro - That worked great - thanks!! David -----Original Message----- From: Sandro Vaz (UOL) [mailto:sandromergvaz at uol.com.br] Sent: Tuesday, March 04, 2003 5:51 PM To: 'David Levine'; 'Nagios Users List (E-mail)' Subject: RES: [Nagios-users] $OUTPUT$ in misccommands.cfg Question... I had this problem too, and Mr. De Blende told me to do this... And it worked fine... Sure that helps... Sandro Vaz **************************************************************************** **************************** Try this: define command{ command_name notify-by-email command_line /bin/echo -e '***** OpMon *****\n\nNotificationType: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/mail -s "** OpMon Alert - $NOTIFICATIONTYPE$ -$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de David Levine Enviada em: ter?a-feira, 4 de mar?o de 2003 20:02 Para: Nagios Users List (E-mail) Assunto: [Nagios-users] $OUTPUT$ in misccommands.cfg Question... Hi all - I am having a little trouble with email notifications... I receive the messages just fine, but I am experiencing the following behavior: With check_nt, am getting the output from USEDDISKSPACE. It displays fine on the Nagios (web) interface, but when I receive an (email) notification, this is what I get: Notification Type: PROBLEM Service Name: Disk Usage Stats - D On Host: host.domain.com Host IP Address: 192.168.100.8 Service State: CRITICAL Occurence Date/Time: Tue Mar 4 17:48:51 CST 2003 Additional Info: D: It is the last line that I am curious about - there is nothing beyond the "D:". I can also see this error message from the Nagios host console: /usr/bin/printf: \ : invalid escape This makes sense to me, because the backslash (as in D:\) is an escape character in printf. However, is there a way that I can stop this - so I can get all of the information in the email notification? Thanks! David dlevine at seasontickets.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.459 / Virus Database: 258 - Release Date: 25/2/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 25/2/2003 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Wed Mar 5 17:46:54 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Wed, 05 Mar 2003 17:46:54 +0100 Subject: RedHat 8.0 snmp Message-ID: <3E6629FE.1060903@etsetb.upc.es> I'm trying to use the snmp plugin but I think it won't work in RedHat 8.0. I've seen RedHat 7 had ucd-snmp. This new version has net-snmp. The new snmpget won't work from the plugin because it has different command switches. That's what the plugin tried to do: snmpget -m ALL -v 1 server public OID After trying a lot I managed to get a snmp answer with: snmpget -m ALL -v 1 -c public server OID I googled for it and the best I found was the changelog from redhat snmp. There was something about ucd compatibility but I couldn't find the switch. Any hints ? thank you very much. -- frankie ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ah43 at httpsite.com Wed Mar 5 18:02:07 2003 From: ah43 at httpsite.com (ah43 at httpsite.com) Date: Wed, 05 Mar 2003 12:02:07 -0500 (EST) Subject: check_by_ssh and currently logged users In-Reply-To: <3E6625BE.5010307@cern.ch> References: <3E6625BE.5010307@cern.ch> Message-ID: > The attempt of processing the 'ps aux' output on the remote machine with the > command: > > ./check_by_ssh -H remote_hostA --command='/bin/ps aux | egrep -vw > 'USER|root|postfix|daemon|rpc|xfs' | cut -f1 -d\ | sort | uniq -c | tr -s > '\t > \n' ' ,'' > > ends up with the errors like Escape your quotes. The ' quote before USER is a closing quote of the one after --command= -- Andy Harrison ah##@httpsite.com ICQ: 123472 AIM/Y!: AHinMaine homepage: http://www.nachoz.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve.freegard at lbsltd.co.uk Wed Mar 5 18:10:51 2003 From: steve.freegard at lbsltd.co.uk (Steve Freegard) Date: Wed, 5 Mar 2003 17:10:51 -0000 Subject: SMB Pop-up Message-ID: <67D9E7698329D411936E00508B6590B902793294@neelix.lbsltd.co.uk> Hagen, I've never written the script - it was only a suggestion that was made on the list a while back by someone else. That said - it's pretty easy to do (and this definitely isn't the best way to achieve this): #!/bin/bash USER_ONE=`echo $1 | cut -d! -f1` USER_TWO=`echo $1 | cut -d! -f2` # Do something for user one... echo $USER_ONE # Do something for user two... echo $USER_TWO Contact pager would then be something like: test1!test2 Notification command would be: $USER1$/script.sh '$CONTACTPAGER' Hope this helps. Regards, Steve. -----Original Message----- From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] Sent: 05 March 2003 15:30 To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] SMB Pop-up Hi Steve, Could you post the script to the list? I'm interested... :-D Thanks & Regards, Hagen Deike > -----Original Message----- > From: Steve Freegard [mailto:steve.freegard at lbsltd.co.uk] > Sent: Mittwoch, 5. M?rz 2003 15:52 > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] SMB Pop-up > > - > the general consensus was that you could put multiple entries entries into > the e-mail or pager variables as no checking is done on the Nagios end, > and > that you could delimit them and use a notification script that strips the > values out and does the different notifications to both. > > I do something similar to what you are proposing and use two contacts - > one > for working hours, and one for out-of-hours support with the working hours > receiving the winpopup's, and the out-of-hours getting a SMS using > sendpage > and this works pretty well for me. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.lbsltd.co.uk ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 5 18:47:20 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 05 Mar 2003 12:47:20 -0500 (EST) Subject: RedHat 8.0 snmp In-Reply-To: <3E6629FE.1060903@etsetb.upc.es> References: <3E6629FE.1060903@etsetb.upc.es> Message-ID: On Wed, 5 Mar 2003, Francesc Guasch wrote: > I'm trying to use the snmp plugin but I think it won't > work in RedHat 8.0. > > I've seen RedHat 7 had ucd-snmp. This new version has > net-snmp. The new snmpget won't work from the plugin > because it has different command switches. > > That's what the plugin tried to do: > snmpget -m ALL -v 1 server public OID > > After trying a lot I managed to get a snmp answer with: > snmpget -m ALL -v 1 -c public server OID > > I googled for it and the best I found was the changelog > from redhat snmp. There was something about ucd compatibility > but I couldn't find the switch. > > Any hints ? thank you very much. > > What version of check_snmp - it was fixed prior to the 1.3 release... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roberto.oppedisano at infracomspa.it Wed Mar 5 18:50:52 2003 From: roberto.oppedisano at infracomspa.it (Roberto Oppedisano) Date: Wed, 05 Mar 2003 18:50:52 +0100 Subject: check latency too high Message-ID: <3E6638FC.30408@infracomspa.it> Hi there. I'm using nagios v1.0 to monitor the status of 350 routers (this are going to be > 600): the only plugin which I'm using is check_ping. I'm seeing that the "Last Check" time (Service Detail menu in the web interface) are sometimes way too old for some of the monitored routers (more than half an hour); at the same time looking at the "Performance Info" menu I see that the values for the check latency grow to high values (min 60 sec., max 190sec., avg 115 sec.). If I restart nagios this values go down to something like 1sec, 5 sec, 2 sec. (they usually stay at this levels for some hours), and the last check times return to better values (not more than 5 min. old). Is this a normal behavior? The load average and the CPU usage on the server (1.4GHz PIII server with RH 7.3 installed and harware SCSI RAID) are both very low. Nagios is complied with postrgresql support. More info on request. TIA -- Roberto Oppedisano ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Mar 5 18:40:22 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 5 Mar 2003 12:40:22 -0500 Subject: SMB Pop-up Message-ID: <880E60DA7286AB4CBEECB01B169A63BD0286766E@NJ-2K-Email1.delphi-tech.com> Steve, Just to let you know, and all others, I followed your directions exactly and everything worked perfectly the first time! Also, I too am interested in this non-standard notification that you use ;-) -----Original Message----- From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] Sent: Wednesday, March 05, 2003 10:30 AM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] SMB Pop-up Hi Steve, Could you post the script to the list? I'm interested... :-D Thanks & Regards, Hagen Deike > -----Original Message----- > From: Steve Freegard [mailto:steve.freegard at lbsltd.co.uk] > Sent: Mittwoch, 5. M?rz 2003 15:52 > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] SMB Pop-up > > - > the general consensus was that you could put multiple entries entries into > the e-mail or pager variables as no checking is done on the Nagios end, > and > that you could delimit them and use a notification script that strips the > values out and does the different notifications to both. > > I do something similar to what you are proposing and use two contacts - > one > for working hours, and one for out-of-hours support with the working hours > receiving the winpopup's, and the out-of-hours getting a SMS using > sendpage > and this works pretty well for me. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nazario at email.sc.gov.br Wed Mar 5 19:46:44 2003 From: nazario at email.sc.gov.br (Samoied) Date: Wed, 5 Mar 2003 15:46:44 -0300 Subject: SNMP Discovery Message-ID: <20030305184644.GA1921@pc219-14.intranet.ciasc.gov.br> Good afternoon, I've been testing Nagios here in the company and got great results in the way it checks the hosts and show them and warn us about any problem. I want to replace the whole What's Up system by Nagios, but there's only one little problem that I have, and it is in the discovery. If you in the list know about any way to do the discovery using SNMP, since my whole network is configured under SNMP, and if there was any way to make Nagios folow the links configured in each router I'd be very thankful. Greetings, -- _ Samoied ?v? UIN: #106162852 /(_)\ Linux user: #263461 ^ ^ Please encrypt and sign e-mails -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: From greg at intouch.ca Wed Mar 5 20:15:48 2003 From: greg at intouch.ca (Greg Webster) Date: Wed, 5 Mar 2003 11:15:48 -0800 Subject: notify-by-email without local sendmail? Message-ID: <20030305111548.1a5508f4.greg@intouch.ca> Hi, I was wondering if it's possible to get Nagios to use an external mailserver to send it's notifications via email. I don't want to put a mail server on the box Nagios runs on if possible. Thanks, Greg Webster ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Mar 5 20:54:21 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 5 Mar 2003 13:54:21 -0600 Subject: notify-by-email without local sendmail? Message-ID: In order to do as you're hoping, that would mean that Nagios would have to assume the functionality of an MTA. That's not what it was designed to do. Sendmail does a pretty decent job of being an MTA, but it tends to send some folks running for the hills. If all you want is to have your Nagios server toss all outbound e-mails to a smarterhost, check out one of these alternatives: mini_sendmail: http://freshmeat.net/projects/mini_sendmail/?topic_id=28 nullmailer: http://freshmeat.net/projects/nullmailer/?topic_id=32 I'm in the process of adding this to the FAQ. jc > -----Original Message----- > From: Greg Webster [mailto:greg at intouch.ca] > Sent: Wednesday, March 05, 2003 1:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notify-by-email without local sendmail? > > > Hi, > > I was wondering if it's possible to get Nagios to use an > external mailserver to send it's notifications via email. I > don't want to put a mail server on the box Nagios runs on if possible. > > Thanks, > > Greg Webster > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Wed Mar 5 21:16:37 2003 From: greg at intouch.ca (Greg Webster) Date: Wed, 5 Mar 2003 12:16:37 -0800 Subject: notify-by-email without local sendmail? In-Reply-To: References: Message-ID: <20030305121637.7414df48.greg@intouch.ca> On Wed, 5 Mar 2003 13:54:21 -0600 : "Carroll, Jim P [Contractor]" wrote: > If all you want is to have your Nagios server toss all outbound e-mails to a > smarterhost, check out one of these alternatives: > > mini_sendmail: > http://freshmeat.net/projects/mini_sendmail/?topic_id=28 > > nullmailer: > http://freshmeat.net/projects/nullmailer/?topic_id=32 > > I'm in the process of adding this to the FAQ. Just a note for others... I tried nullmailer and it works like a charm. Dead simple. Previous to that I tried ssmtp, but it didn't work with the notify commands as-is. I heartily recommend nullmailer. Greg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Wed Mar 5 22:08:15 2003 From: greg at intouch.ca (Greg Webster) Date: Wed, 5 Mar 2003 13:08:15 -0800 Subject: Missing scripts? In-Reply-To: <20030305144155.B9153@IPAustralia.Gov.AU> References: <20030304131438.3e9d99fb.greg@intouch.ca> <20030305095531.A9153@IPAustralia.Gov.AU> <20030304155053.56039e7c.greg@intouch.ca> <20030305144155.B9153@IPAustralia.Gov.AU> Message-ID: <20030305130815.3e9bb1d4.greg@intouch.ca> The command I am using is: ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include I believe that all the gd libraries are in place (installed via dselect in Debian) On Wed, 5 Mar 2003 14:41:58 +1100: Stanley Hopcroft wrote: > gd headers (.h files). If gd.h is _not_ in /usr/include this is futile. > I would guess that this is an unlikely place to find it. # locate gd.h /usr/include/gd.h > you can find out exactly what's going on by reading configure (/gd might > be a good place to start). > > What configure is doing is trying to locate your headers and libraries > by compiling stuff like > > #include > main() { > /* some gd lib call */ > } > > with gcc -I -L -l gd .. yada > test.c > > when it fails, it reports what you see. > > In other words, it can't find something. > > Since you have eliminated the libraries, it must be headers. Same error when I have the header file in place (/usr/include/gd.h) > On this FreeBSD system gd.h and friends are in /usr/local/include/gd > > I use --with-gd-inc=/usr/local/include/gd --with-gd-lib=/usr/local/lib > as arguments to configure. > > Try and locate gd.h (with find) and then feed the path to --with-gd-inc Done, same error. > It wants to _attract_ your attention and _tell_ you that it's blown up > and things will not work as expected. > > Unfortunately, no one wants to hear bad news so this _and even louder > versions_ is usually ignored. Actually, all I'd like is for it to be just a little more concise with the error message. For example, if I have libgd and libpng in perfect order, but libjpeg is missing then it should tell me that it's libjpeg that's missing, not the general error message it does now. Does anyone else have this running on Debian? Greg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at szczygiel.net Wed Mar 5 22:54:58 2003 From: stanley at szczygiel.net (Stanis³aw Szczygie³) Date: Wed, 5 Mar 2003 22:54:58 +0100 Subject: how to make logical "and" of services? Message-ID: <004801c2e361$dd88ad10$0200010a@master> Hello, please help me... How to define service, which is true (in OK state) if a group of other few services are OK? I have to observe system, which consist of group of processes. I defined group of services, where each service test presence of each process - but how to define process which can be logical "and" of all these services? I've tried to use dependencies, but it didnt work well... Im sure that there is some solution, but I cant find out how to do this - so please, if anyone knows solution, please help. Stanley ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Wed Mar 5 23:53:23 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 5 Mar 2003 23:53:23 +0100 Subject: how to make logical "and" of services? In-Reply-To: <004801c2e361$dd88ad10$0200010a@master>; from stanley@szczygiel.net on Wed, Mar 05, 2003 at 10:54:58PM +0100 References: <004801c2e361$dd88ad10$0200010a@master> Message-ID: <20030305235323.A1481@hpce.nec.com> On Wed, Mar 05, 2003 at 10:54:58PM +0100, Stanis3aw Szczygie3 wrote: > Hello, > > please help me... How to define service, which is true (in OK state) if a > group of other few services are OK? > > I have to observe system, which consist of group of processes. I defined > group of services, where each service test presence of each process - but > how to define process which can be logical "and" of all these services? I've > tried to use dependencies, but it didnt work well... Write your own plugin (or wrapper to existing plugins). A logical "and" is trivial in every programming language that comes to my mind (not too many, I admit). Rasmus ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Mar 5 14:13:22 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 6 Mar 2003 00:13:22 +1100 Subject: Missing scripts? In-Reply-To: <20030305130815.3e9bb1d4.greg@intouch.ca>; from greg@intouch.ca on Wed, Mar 05, 2003 at 01:08:15PM -0800 References: <20030304131438.3e9d99fb.greg@intouch.ca> <20030305095531.A9153@IPAustralia.Gov.AU> <20030304155053.56039e7c.greg@intouch.ca> <20030305144155.B9153@IPAustralia.Gov.AU> <20030305130815.3e9bb1d4.greg@intouch.ca> Message-ID: <20030306001317.A241@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Mar 05, 2003 at 01:08:15PM -0800, Greg Webster wrote: > Please have your mailer wrap the lines to about 72 columns. > Actually, all I'd like is for it to be just a little more concise with the error message. For example, if I have libgd and libpng in perfect order, but libjpeg is missing then it should tell me that it's libjpeg that's missing, not the general error message it does now. > This is _unrealistic_. Suppose a program needs 'n' libraries to link. After Configure fails to compile a test program using the presumed locations of these 'n' libraries, it would then have to build test programs for _each_ of the n libraries to test their presence. This would bloat configure without adding any benefit. The message is clear. Either, 1 There is a bug in configure that makes it impossible to build Nag on Debian ==> Perhaps you should try the Deb package/port. 2 Your system is missing libraries or headers. > Does anyone else have this running on Debian? > > Greg 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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at bclnz.net Thu Mar 6 01:36:09 2003 From: jamie at bclnz.net (Jamie) Date: Thu, 6 Mar 2003 13:36:09 +1300 Subject: Missing scripts? References: <20030304131438.3e9d99fb.greg@intouch.ca> <20030305095531.A9153@IPAustralia.Gov.AU> <20030304155053.56039e7c.greg@intouch.ca> <20030305144155.B9153@IPAustralia.Gov.AU> <20030305130815.3e9bb1d4.greg@intouch.ca> <20030306001317.A241@IPAustralia.Gov.AU> Message-ID: <007301c2e378$62739d80$b58031ca@bcl977307> no such issues on my woody ;-) (i.e. not sarge) sometimes it's better to run woody/stable and pin to sid or sarge for specific packages. Sarge can sometimes be in no mans land. Why are you building from source? Hats off to your patience Stanley. jamie ----- Original Message ----- From: "Stanley Hopcroft" To: "Greg Webster" Cc: Sent: Thursday, March 06, 2003 2:13 AM Subject: Re: [Nagios-users] Missing scripts? > Dear Sir, > > I am writing to thank you for your letter and say, > > On Wed, Mar 05, 2003 at 01:08:15PM -0800, Greg Webster wrote: > > > > Please have your mailer wrap the lines to about 72 columns. > > > Actually, all I'd like is for it to be just a little more concise with the error message. For example, if I have libgd and libpng in perfect order, but libjpeg is missing then it should tell me that it's libjpeg that's missing, not the general error message it does now. > > > > This is _unrealistic_. > > Suppose a program needs 'n' libraries to link. > > After Configure fails to compile a test program using the presumed > locations of these 'n' libraries, it would then have to build test > programs for _each_ of the n libraries to test their presence. > > This would bloat configure without adding any benefit. > > The message is clear. Either, > > 1 There is a bug in configure that makes it impossible to build Nag on > Debian > > ==> Perhaps you should try the Deb package/port. > > 2 Your system is missing libraries or headers. > > > Does anyone else have this running on Debian? > > > > Greg > > 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: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at xecu.net Thu Mar 6 04:30:32 2003 From: chris at xecu.net (Chris McGee) Date: Wed, 5 Mar 2003 22:30:32 -0500 (EST) Subject: Check_dns error? Message-ID: Has anyone used the check_dns command with the -a flag to actually check the address that is returned? It seems to have an error in the check response. For some reason, it returns an IP address with a preceding space. I needed to match it to ' ip address' instead of just the IP. It's simple enough to bypass, but it seems like it's some error in the program, has anyone seen this? Chris xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Chris McGee 301-682-9972 Xecunet, LLC www.xecu.net xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Dialup * Webhosting * E-Commerce * High-Speed Access ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at xecu.net Thu Mar 6 04:34:17 2003 From: chris at xecu.net (Chris McGee) Date: Wed, 5 Mar 2003 22:34:17 -0500 (EST) Subject: Looking for plugins. Message-ID: I've got everything working properly but I'm looking for a couple of plugins. I'm looking for a way to check that BGP is working and also MySQL. I prefer to have something that actually verifies that the services are working. I've also been looking at the various options for smtp, http, pop, etc... has anyone used these to actually check if the services are working rather than just responding on the port? Chris xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Chris McGee 301-682-9972 Xecunet, LLC www.xecu.net xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Dialup * Webhosting * E-Commerce * High-Speed Access ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Mar 6 04:58:22 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 5 Mar 2003 21:58:22 -0600 Subject: Looking for plugins. Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED50E@mismail.ena.com> These are all part of the standard plugins distribution. In fact, there are several different mysql plugins in the contrib directory in addition to the main check_mysql plugin. Same goes for POP3. I also see a check_bgpstate.pl that may work for you. As far as verifying services are working, most of all of the plugins you mention support some type of expect string functionality to one degree or another. I can personally vouch that check_http with either the -e or the -s flag works great. I don't see why the others wouldn't work as well. It even appears that the check_pop3.pl script in the contrib directory even verifies that you can log in and doesn't just look for the pop3 banner. './plugin_name --help' is your friend. -- Marc -----Original Message----- From: Chris McGee [mailto:chris at xecu.net] Sent: Wednesday, March 05, 2003 9:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Looking for plugins. I've got everything working properly but I'm looking for a couple of plugins. I'm looking for a way to check that BGP is working and also MySQL. I prefer to have something that actually verifies that the services are working. I've also been looking at the various options for smtp, http, pop, etc... has anyone used these to actually check if the services are working rather than just responding on the port? Chris xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Chris McGee 301-682-9972 Xecunet, LLC www.xecu.net xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Dialup * Webhosting * E-Commerce * High-Speed Access ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg_vickers at mbox.com.au Thu Mar 6 04:57:34 2003 From: greg_vickers at mbox.com.au (Greg Vickers) Date: Thu, 06 Mar 2003 13:57:34 +1000 Subject: ldap plugin compile on Debian Message-ID: <32d4bd932da868.32da86832d4bd9@mbox.com.au> Hi all, I was wondering if anyone has compiled 1.3.0 plugins on debian? I can't seem to get them to compile at all, even with the libraries libldap2 & (-dev) installed :( Thanks in advance, Greg --------------------------------------------------------------------- Faxes delivered directly to any email address, new to mBox! Find out more http://www.mbox.com.au/fax ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg_vickers at mbox.com.au Thu Mar 6 04:59:06 2003 From: greg_vickers at mbox.com.au (Greg Vickers) Date: Thu, 06 Mar 2003 13:59:06 +1000 Subject: Compiling LDAP under Debian (further) Message-ID: <32d564832d70e7.32d70e732d5648@mbox.com.au> Sorry for not reading my post before hitting send! I meant to say that specifically I can't get the LDAP plugin to compile :( TIA, Greg --------------------------------------------------------------------- Faxes delivered directly to any email address, new to mBox! Find out more http://www.mbox.com.au/fax ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Thu Mar 6 05:24:11 2003 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 05 Mar 2003 22:24:11 -0600 Subject: force notification ? In-Reply-To: References: Message-ID: <3E66790B.4946.10C63C1@localhost> On 5 Mar 2003 at 15:37, Joerg.Krueger at alcatel.de wrote: > Is it possible to force a notification, e.g. by an external command, even > if the conditions for a notification are not met ? > I would like to generate a notification everytime I find a pattern in a > logfile containing a descriptive text regarding the log message. My idea > was to define a service which accepts passive check results. The logfile > scanner submits the results as passive check results locally by an external > command or remotely by nsca. > This works in general, but only the first event leads to a notification. > All subsequent events will not be notified since no status transition took > place. You could fake this mechanism by sending an OK check result after > each WARNING or CRITICAL, but isn't there a smarter way ? > > Mit freundlichen Gruessen/Best Regards > Joerg Krueger Try setting the is_volative directive for the service to 1. This should cause Nagios to send a notification every time a non-OK event is received. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Thu Mar 6 06:36:37 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Wed, 5 Mar 2003 21:36:37 -0800 Subject: ldap plugin compile on Debian In-Reply-To: <32d4bd932da868.32da86832d4bd9@mbox.com.au> References: <32d4bd932da868.32da86832d4bd9@mbox.com.au> Message-ID: <20030306053637.GA27127@UnderGrid.net> Greg, If you can get with me regarding the problems you're having maybe I can help you as I run Debian (being a Debian package maintainer it kinda helps, although I am not the netsaint/nagios maintainer) and have several arches here locally (x86, alpha and hppa)... I was not having any problems building the beta releases from CVS on stable and unstable so I'm not sure what problems you are encountering... Jeremy On Thu, Mar 06, 2003 at 01:57:34PM +1000, Greg Vickers wrote: > Hi all, > > I was wondering if anyone has compiled 1.3.0 plugins on debian? I can't > seem to get them to compile at all, even with the libraries libldap2 & > (-dev) installed :( > > Thanks in advance, > Greg > > --------------------------------------------------------------------- > Faxes delivered directly to any email address, new to mBox! > Find out more http://www.mbox.com.au/fax > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad at pretzel.com.au Thu Mar 6 07:37:11 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Thu, 6 Mar 2003 14:37:11 +0800 Subject: CGI execute Message-ID: <131A385F21AAD311BD6400902763781D01DB253F@Z8> Hello there, I'm currently going over someone's Nagios server and have come across a problem. this is a fairly simple problem I'm sure and I'm fairly certain I've made just a simple typo, but I've read as much Nagios documentation as I can in regards to this but I'm just having an issue getting the CGI's working on the nagios site. Note that my nagios is all working fine and monitoring no worries, its just the site CGI's that don't seem to work. I have a fairly good suspicion that I've just got one of the script alias's wrong or something like that. Once again apologies for the lame help request. OS: Debian Version NFO: Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 Error: When I run the CGI's from the web interface I get an internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request This is my vhost for apache ServerName nagios.domain.com.au ServerAdmin helpdesk at domain.com.au DocumentRoot /usr/local/nagios User nagios Group nagios Alias /nagios/ usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Errorlog logs/nagios-web.error CustomLog logs/nagios-web.access common Options +ExecCGI ScriptAlias /cgi-bin/nagios/ /usr/local/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all This is from CGI.CFG in /usr/local/nagios/etc physical_html_path=/usr/local/nagios/share url_html_path=/nagios The nagiosadmin user I've got does have access to the CGI's (execute and everything. I even just did a 777 to make sure at one point). My cgi's etc are also located in /usr/local/nagios.cgi Makefile avail.cgi cmd.cgi extinfo.c history.c notifications.cgi showlog.c statuswml.cgi tac.cgi Makefile.in cgiutils.c config.c extinfo.cgi history.cgi outages.c showlog.cgi statuswrl.c trends.c auth.c cgiutils.h config.cgi getcgi.c lifo.c outages.cgi status.c statuswrl.cgi auth.h cgiutils.h.in edata.c getcgi.h lifo.h popen.c status.cgi summary.c auth.o cgiutils.o edata.h getcgi.o lifo.o popen.h statusmap.c summary.cgi avail.c cmd.c edata.o histogram.c notifications.c popen.o statuswml.c tac.c If anyone's got any idea on where my problem might be, or any idea's on what to verify my configs against. That would be very much appreciated. Some times it just takes an outsider to point out a simple mistake. Thanks Brad ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shane_Seidel at gwf.com.au Thu Mar 6 08:40:13 2003 From: Shane_Seidel at gwf.com.au (Shane_Seidel at gwf.com.au) Date: Thu, 6 Mar 2003 17:40:13 +1000 Subject: sms alert using gnokii Message-ID: <4A256CE1.002B38FC.00@gisw900.gwf.com.au> Bernie, I have SMS working on RH7.3, Nagios 1.0 using Nokia 5110, Gnokii Version 0.3.3, Telstra GSM (Australia) Some key points to remember:- if the gnokii command runs from root ok then su nagios and try the command. If the command now fails permissions are the clue. Make sure nagios can write to the port eg. ttys0 in Red Hat Make sure nagios is a member of the tty group Make sure nagios is a member of the uucp group ( not sure of the correlation but have found this to be the case with other devices connected to the comm port eg Temp Trax digital thermometer) Lastly here is the command I use, note the +61 (Aust code), no smsc and no switches I have seen "-C0 2" inserted before >/dev/null but this displays the message on the phone without saving to the inbox command[notify-by-sms]=/usr/bin/printf "$HOSTNAME$ - $SERVICEDESC$ is $SERVICESTATE$" | /usr/bin/gnokii --sendsms +61408XXXXXX >/dev/null Thanks to Pia from Linux Australia for helping me nut this out and good luck! >>As you do not describe what errors you get, it is a bit difficult to provide ********************************************************************************************************************************************** This email and its attachments are confidential subject to copyright and may be legally privileged. If they have come to you in error you should take no action based upon the contents nor should you copy or show them to anyone. Please delete the email and its attachments and inform administrators at gwf.com.au Any views or opinions expressed are those of the author and do not necessarily represent those of George Weston Foods Ltd. Security: Internet email is not a completely secure medium, please note this when considering the content of your message. Viruses: We take precautions to ensure email is free of viruses but cannot guarantee this. Accordingly we advise scanning all email and attachments ********************************************************************************************************************************************* -------------- next part -------------- ?>>an exact answer. >> ?>>The advise I got when setting this up about 6 months ago, was to use some ?>>form of gateway between Nagios and Gnokii. ?>>Gnokii needs some kind of queing mechanism, otherwise it might choke when ?>>sending multiple notifications. ?>>I am using Alamin (www.alamin.org). It was somewhat difficult to set up, but ?>>runs fine. I can't find my notes about the installation, but I remember this ?>>has been on the list in the past. ?>>You should also check the FAQ at: ?>>http://www.nagios.org/faqs/viewfaq.php?faq_id=65&expand=false&showdesc=true ?>>/Allan ?>>-----Oprindelig meddelelse----- ?>>Fra: bernie liwanag [mailto:bliwanag at ya...] ?>>Sendt: 5. marts 2003 06:54 ?>>Til: nagios-users at li... ?>>Emne: [Nagios-users] sms alert using gnokii ?>>Hi to all! >> How can I make gnokii works on my nagios.I have my ?>>gnokii running using a command prompt. I can send and ?>>eceived a text message using the command : ?>># /usr/local/sbin/gnokii --sendsms ?>>- Here is my sample conifiguration in contacts.cfg ?>>file .................................... ?>>Can someone tells me what wrong with my config? || || || >>Thanks a lot to all! ?>>Bernie From Shane_Seidel at gwf.com.au Thu Mar 6 09:00:04 2003 From: Shane_Seidel at gwf.com.au (Shane_Seidel at gwf.com.au) Date: Thu, 6 Mar 2003 18:00:04 +1000 Subject: sms alert using gnokii Message-ID: <4A256CE1.002D1E3F.00@gisw900.gwf.com.au> Bernie, I missed a bit, I believe user nagios should also be a member of the gnokii group. Regards Shane >>I have SMS working on RH7.3, Nagios 1.0 using Nokia 5110, Gnokii Version 0.3.3, Telstra GSM (Australia) >>Some key points to remember:- if the gnokii command runs from root ok then su nagios and try the command. If the command now fails >>permissions are the clue. >>Make sure nagios can write to the port eg. ttys0 in Red Hat >>Make sure nagios is a member of the tty group >>Make sure nagios is a member of the uucp group ( not sure of the correlation but have found this to be the case with other devices >>connected to the comm port eg Temp Trax digital thermometer) >>Lastly here is the command I use, note the +61 (Aust code), no smsc and no switches I have seen "-C0 2" inserted before >/dev/null but >>this displays the message on the phone without saving to the inbox >>command[notify-by-sms]=/usr/bin/printf "$HOSTNAME$ - $SERVICEDESC$ is $SERVICESTATE$" | /usr/bin/gnokii --sendsms >>+61408XXXXXX >/dev/null >>Thanks to Pia from Linux Australia for helping me nut this out and good luck! ********************************************************************************************************************************************** This email and its attachments are confidential subject to copyright and may be legally privileged. If they have come to you in error you should take no action based upon the contents nor should you copy or show them to anyone. Please delete the email and its attachments and inform administrators at gwf.com.au Any views or opinions expressed are those of the author and do not necessarily represent those of George Weston Foods Ltd. Security: Internet email is not a completely secure medium, please note this when considering the content of your message. Viruses: We take precautions to ensure email is free of viruses but cannot guarantee this. Accordingly we advise scanning all email and attachments ********************************************************************************************************************************************* ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jec at rptec.ch Thu Mar 6 08:38:20 2003 From: jec at rptec.ch (Jean-Eric Cuendet) Date: Thu, 06 Mar 2003 08:38:20 +0100 Subject: Changing of service not took into account Message-ID: <3E66FAEC.4080107@rptec.ch> Hi, I use nagios 1.0 on Linux RH7.3. I have changed a service that was "Check /dev/sda2 space" To "check / space" Now, (I have restarted nagios many times) the sda2 check continue to exists (thus not visible in the GUI) and to check. As it fails (the sda2 service is not defined anymorein nrpe), we have a mail telling us that the check was failed every 2 hours... Is it a known bug? Is there a workaround? Thanks -jec -- Jean-Eric Cuendet Riskpro Technologies SA Av du 14 avril 1b, 1020 Renens Switzerland Principal: +41 21 637 0110 Fax: +41 21 637 01 11 Direct: +41 21 637 0123 E-mail: jean-eric.cuendet at rptec.ch http://www.rptec.ch -------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdeblend at gcc.dhl.com Thu Mar 6 09:10:01 2003 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 06 Mar 2003 09:10:01 +0100 Subject: Changing of service not took into account References: <3E66FAEC.4080107@rptec.ch> Message-ID: <3E670259.43572B83@gcc.dhl.com> Try setting "retain_nonstatus_information" in your service definition to 0 and restart Nagios. Jean-Eric Cuendet wrote: > > Hi, > I use nagios 1.0 on Linux RH7.3. > I have changed a service that was "Check /dev/sda2 space" To "check / space" > Now, (I have restarted nagios many times) the sda2 check continue to > exists (thus not visible in the GUI) and to check. As it fails (the sda2 > service is not defined anymorein nrpe), we have a mail telling us that > the check was failed every 2 hours... > > Is it a known bug? Is there a workaround? > Thanks > -jec > > -- > Jean-Eric Cuendet > Riskpro Technologies SA > Av du 14 avril 1b, 1020 Renens Switzerland > Principal: +41 21 637 0110 Fax: +41 21 637 01 11 > Direct: +41 21 637 0123 > E-mail: jean-eric.cuendet at rptec.ch > http://www.rptec.ch > -------------------------------------------------------- > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jec at rptec.ch Thu Mar 6 09:38:38 2003 From: jec at rptec.ch (Jean-Eric Cuendet) Date: Thu, 06 Mar 2003 09:38:38 +0100 Subject: Changing of service not took into account In-Reply-To: <3E670259.43572B83@gcc.dhl.com> References: <3E66FAEC.4080107@rptec.ch> <3E670259.43572B83@gcc.dhl.com> Message-ID: <3E67090E.9090608@rptec.ch> > > >Try setting "retain_nonstatus_information" in your service definition >to 0 and restart Nagios. > Is it retain_nonstatus_information instead of retain_nonstatus_information ? -jec ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 6 09:40:25 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 6 Mar 2003 19:40:25 +1100 Subject: Looking for plugins. In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83030ED50E@mismail.ena.com>; from mpowell@ena.com on Wed, Mar 05, 2003 at 09:58:22PM -0600 References: <5DB017510818EC468B05BD7BD9EACF83030ED50E@mismail.ena.com> Message-ID: <20030306194017.A230@IPAustralia.Gov.AU> Dear Gentlemen, I have probably said more than I need to about this matter in the past but by way of summary, On Wed, Mar 05, 2003 at 09:58:22PM -0600, Marc Powell wrote: > > As far as verifying services are working, most of all of the plugins you > mention support some type of expect string functionality to one degree > or another. I can personally vouch that check_http with either the -e or > the -s flag works great. I don't see why the others wouldn't work as > well. It even appears that the check_pop3.pl script in the contrib > directory even verifies that you can log in and doesn't just look for > the pop3 banner. > > > -----Original Message----- > From: Chris McGee [mailto:chris at xecu.net] > Subject: [Nagios-users] Looking for plugins. > > ... I prefer to have something that actually verifies that the > services are working. > that this is the way I like to have Nagios work also: rather than detect obvious signs of service malfunction, to exercise or simulate the clients use of the service to make sure that the service is responding as a human user of it would expect. This approach is more suitable for those monitoring enterprises or business rather than service providers. Service checking in this manner needs custom plugins. Some tools to get you started are :- 1 From CPAN 1.1 WWW::Mechanize 1.2 WWW::Automate I haven't used either but 'Mechanize has a particularly obvious API: a click method of a form button etc 2 From SourceForge HTTP::MonkeyWrench This has a companion module that you can stick on the web server and have it capture the traversal of a web site and create a 'MonkeyWrench data structure describing that traversal (suitable for playback in your service check). 3 Nagios::Web_Trx and Nagios::Web_Trx_Timed hopefully on CPAN 'real soon now'. These are the only ones I can vouchsafe the operation of. They accept a data structure containing a sequence of URLs, the HTTP method to be used, the input data to be posted or inlined and what to expect for success and failure. The snag of course is you have to _manually_ work out what the browser does when it searches the data base via the web form and so on (tcpdump/ethereal are your friends). Crude but effective, although like all screen scrapers, vulnerable to change in form features. 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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Mar 6 09:48:35 2003 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 6 Mar 2003 09:48:35 +0100 (CET) Subject: CGI execute In-Reply-To: <131A385F21AAD311BD6400902763781D01DB253F@Z8> References: <131A385F21AAD311BD6400902763781D01DB253F@Z8> Message-ID: On Thu, 6 Mar 2003, Brad Dunn wrote: > Error: > When I run the CGI's from the web interface I get an internal Server Error > > The server encountered an internal error or misconfiguration and was unable > to complete your request > Check the apache error logs. You seem to have forgotten to verify what error they report. It will reveal in more detail what is wrong with your setup. Hugo. -- All email sent to me is bound to the rules described on my homepage. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdeblend at gcc.dhl.com Thu Mar 6 09:53:40 2003 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 06 Mar 2003 09:53:40 +0100 Subject: Changing of service not took into account References: <3E66FAEC.4080107@rptec.ch> <3E670259.43572B83@gcc.dhl.com> <3E67090E.9090608@rptec.ch> Message-ID: <3E670C94.1FAF595A@gcc.dhl.com> ? Jean-Eric Cuendet wrote: > > > > > > >Try setting "retain_nonstatus_information" in your service definition > >to 0 and restart Nagios. > > > Is it > retain_nonstatus_information > instead of > retain_nonstatus_information > ? > > -jec ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Thu Mar 6 09:59:01 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Thu, 06 Mar 2003 09:59:01 +0100 Subject: RedHat 8.0 snmp In-Reply-To: References: Message-ID: <3E670DD5.7070001@etsetb.upc.es> Subhendu Ghosh wrote: > On Wed, 5 Mar 2003, Francesc Guasch wrote: > > >>I'm trying to use the snmp plugin but I think it won't >>work in RedHat 8.0. > What version of check_snmp - it was fixed prior to the 1.3 release... > check_snmp (nagios-plugins 1.3.0-alpha1) 1.3 -- frankie ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Thu Mar 6 10:17:45 2003 From: twelsh at square-box.com (Tom Welsh) Date: Thu, 6 Mar 2003 09:17:45 -0000 Subject: CGI execute In-Reply-To: <131A385F21AAD311BD6400902763781D01DB253F@Z8> References: <131A385F21AAD311BD6400902763781D01DB253F@Z8> Message-ID: <000601c2e3c1$3febb380$0400a8c0@squarebox.com> Hi Brad, I notice that in your V config you have your doc route set to /usr/local/nagios and not usr/local/nagios/share and you have a + in front of Options +ExecCGI Here is my v config for my nagios server at demo.square-box.com. All my apache and nagios config files live there for everyone to see. Its at http://demo.square-box.com and the running site is at nagios.square-box.com Hope this helps Tom Welsh twelsh at square-box.com ####################################################### ####################################################### ## ## nagios.somedomain.net definition ## ####################################################### ####################################################### #Site that shows full Nagios Demo Config's ## Script aliases for Nagios scrip aliases. they live ## in /usr/local/nagios/sbin/ NameVirtualHost 10.10.10.10:80 ServerAdmin webmaster at somedomain.com DocumentRoot /usr/local/nagios/share ServerName nagios.somedomain,com ServerAlias anothername.somedomain.com ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all ## Setup alias for /nagios/ to point to ## /usr/local/nagios/share/ Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all ########################################################## ## Web server authentication for ## /usr/local/nagios/sbin Nagios cgi scripts ## /usr/local/nagios/share Nagios HTML pages ########################################################## AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI AllowOverride AuthConfig order allow,deny allow from all Allow Order allow,deny Allow from all -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brad Dunn Sent: 06 March 2003 06:37 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] CGI execute Hello there, I'm currently going over someone's Nagios server and have come across a problem. this is a fairly simple problem I'm sure and I'm fairly certain I've made just a simple typo, but I've read as much Nagios documentation as I can in regards to this but I'm just having an issue getting the CGI's working on the nagios site. Note that my nagios is all working fine and monitoring no worries, its just the site CGI's that don't seem to work. I have a fairly good suspicion that I've just got one of the script alias's wrong or something like that. Once again apologies for the lame help request. OS: Debian Version NFO: Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 Error: When I run the CGI's from the web interface I get an internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request This is my vhost for apache ServerName nagios.domain.com.au ServerAdmin helpdesk at domain.com.au DocumentRoot /usr/local/nagios User nagios Group nagios Alias /nagios/ usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Errorlog logs/nagios-web.error CustomLog logs/nagios-web.access common Options +ExecCGI ScriptAlias /cgi-bin/nagios/ /usr/local/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all This is from CGI.CFG in /usr/local/nagios/etc physical_html_path=/usr/local/nagios/share url_html_path=/nagios The nagiosadmin user I've got does have access to the CGI's (execute and everything. I even just did a 777 to make sure at one point). My cgi's etc are also located in /usr/local/nagios.cgi Makefile avail.cgi cmd.cgi extinfo.c history.c notifications.cgi showlog.c statuswml.cgi tac.cgi Makefile.in cgiutils.c config.c extinfo.cgi history.cgi outages.c showlog.cgi statuswrl.c trends.c auth.c cgiutils.h config.cgi getcgi.c lifo.c outages.cgi status.c statuswrl.cgi auth.h cgiutils.h.in edata.c getcgi.h lifo.h popen.c status.cgi summary.c auth.o cgiutils.o edata.h getcgi.o lifo.o popen.h statusmap.c summary.cgi avail.c cmd.c edata.o histogram.c notifications.c popen.o statuswml.c tac.c If anyone's got any idea on where my problem might be, or any idea's on what to verify my configs against. That would be very much appreciated. Some times it just takes an outsider to point out a simple mistake. Thanks Brad ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jec at rptec.ch Thu Mar 6 10:42:00 2003 From: jec at rptec.ch (Jean-Eric Cuendet) Date: Thu, 06 Mar 2003 10:42:00 +0100 Subject: Changing of service not took into account Message-ID: <3E6717E8.2070103@rptec.ch> Sorry, I meant retain_state_information ... So it is: Is it retain_state_information instead of retain_nonstatus_information ? :-) -jec >Try setting "retain_nonstatus_information" in your service definition >to 0 and restart Nagios. > Is it retain_nonstatus_information instead of retain_nonstatus_information ? -jec ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Jean-Eric Cuendet Riskpro Technologies SA Av du 14 avril 1b, 1020 Renens Switzerland Principal: +41 21 637 0110 Fax: +41 21 637 01 11 Direct: +41 21 637 0123 E-mail: jean-eric.cuendet at rptec.ch http://www.rptec.ch -------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdeblend at gcc.dhl.com Thu Mar 6 10:58:58 2003 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Thu, 06 Mar 2003 10:58:58 +0100 Subject: Changing of service not took into account References: <3E6717E8.2070103@rptec.ch> Message-ID: <3E671BE2.B07172E3@gcc.dhl.com> What I said: "retain_nonstatus_information" should be changed to 0. Just see if it works. My 2 cents... Jean-Eric Cuendet wrote: > > Sorry, I meant retain_state_information ... > So it is: > Is it > retain_state_information > instead of > retain_nonstatus_information > ? > > :-) > -jec > > >Try setting "retain_nonstatus_information" in your service definition > >to 0 and restart Nagios. > > > Is it > retain_nonstatus_information > instead of > retain_nonstatus_information > ? > > -jec > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- > Jean-Eric Cuendet > Riskpro Technologies SA > Av du 14 avril 1b, 1020 Renens Switzerland > Principal: +41 21 637 0110 Fax: +41 21 637 01 11 > Direct: +41 21 637 0123 > E-mail: jean-eric.cuendet at rptec.ch > http://www.rptec.ch > -------------------------------------------------------- > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Thu Mar 6 11:04:15 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Thu, 06 Mar 2003 11:04:15 +0100 Subject: RedHat 8.0 snmp In-Reply-To: <3E670DD5.7070001@etsetb.upc.es> References: <3E670DD5.7070001@etsetb.upc.es> Message-ID: <3E671D1F.7070506@etsetb.upc.es> Francesc Guasch wrote: > Subhendu Ghosh wrote: > >> On Wed, 5 Mar 2003, Francesc Guasch wrote: >> >> >>> I'm trying to use the snmp plugin but I think it won't >>> work in RedHat 8.0. > > >> What version of check_snmp - it was fixed prior to the 1.3 release... >> > > check_snmp (nagios-plugins 1.3.0-alpha1) 1.3 > I downloaded the latest tgz plugins and it doesn't crash. Anyway I always get returned 0K of net load. I'm using the apan plugins and after debugging it I found this check: #check_snmp -H SERVER -o .1.3.6.1.2.1.2.2.1.10.2 .1.3.6.1.2.1.2.2.1.16.2 SNMP OK - 0 I'm new to snmp so I've been reading for a while. I've found a lot of information about it and I'm overwhelmed. I don't know if I need any MIB just for check the net usage. Anyway I read I maybe need it, so I got this: ftp://ftp.cisco.com/pub/mibs/v1/OLD-CISCO-INTERFACES-MIB.my but now I see my net-snmp package doesn't have any .my file. I'm clueless. Am I going the right way ? Have I missed something ? -- frankie ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Thu Mar 6 11:47:49 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Thu, 6 Mar 2003 11:47:49 +0100 (CET) Subject: Pb with passive service check Message-ID: <20030306104749.76600.qmail@web10903.mail.yahoo.com> Hello, I don't manage to get my passive check service working, it's still being in pending state... I have defined a passive service to check SNMP traps. In services.cfg i have added the following service : define service { host_name UOF35 service_description Trap_test is_volatile 1 active_checks_enabled 0 passive_check_enabled 1 max_check_attempts 1 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_period 24x7 normal_check_interval 2 max_check_attempts 1 retry_check_interval 1 check_command check_none } with the following check_none command defined in checkcommands.cfg define command { command_name check_none command_line $USER1$/check_none (it's a dummy script that just return 0) } Is it a good passive service check definition ? How does Nagios link the service and the result submitted by nsca ? with the service_description in $NAGIOS_PATH/var/rw/nagios.cmd ? Please help, i'm so confused with passive checks. Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Mar 6 12:37:53 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 06 Mar 2003 06:37:53 -0500 Subject: RedHat 8.0 snmp In-Reply-To: <3E670DD5.7070001@etsetb.upc.es> References: <3E670DD5.7070001@etsetb.upc.es> Message-ID: <1046950673.12509.9.camel@miles.debisschop.net> On Thu, 2003-03-06 at 03:59, Francesc Guasch wrote: > Subhendu Ghosh wrote: > > On Wed, 5 Mar 2003, Francesc Guasch wrote: > > > > > >>I'm trying to use the snmp plugin but I think it won't > >>work in RedHat 8.0. > > > What version of check_snmp - it was fixed prior to the 1.3 release... > > > > check_snmp (nagios-plugins 1.3.0-alpha1) 1.3 Alpha 1? That's rather long on the tooth. So I assume you will dump that in favor of the actual release, then get back to us if you still have problems. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Mar 6 12:33:21 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 06 Mar 2003 06:33:21 -0500 Subject: RedHat 8.0 snmp In-Reply-To: <3E671D1F.7070506@etsetb.upc.es> References: <3E670DD5.7070001@etsetb.upc.es> <3E671D1F.7070506@etsetb.upc.es> Message-ID: <1046950401.12524.2.camel@miles.debisschop.net> On Thu, 2003-03-06 at 05:04, Francesc Guasch wrote: > Francesc Guasch wrote: > > I downloaded the latest tgz plugins and it doesn't crash. > Anyway I always get returned 0K of net load. I'm using the > apan plugins and after debugging it I found this check: > > #check_snmp -H SERVER -o .1.3.6.1.2.1.2.2.1.10.2 .1.3.6.1.2.1.2.2.1.16.2 > SNMP OK - 0 You need to specify warning/critical thresholds. If you don't, and check_snmp successfully gets the result you asked for, it assumes everything is OK. > I'm new to snmp so I've been reading for a while. I've found > a lot of information about it and I'm overwhelmed. > > I don't know if I need any MIB just for check the net > usage. Anyway I read I maybe need it, so I got this: > > ftp://ftp.cisco.com/pub/mibs/v1/OLD-CISCO-INTERFACES-MIB.my > > but now I see my net-snmp package doesn't have any .my file. You can use the numbers without the MIB. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Mar 6 12:59:36 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 6 Mar 2003 11:59:36 -0000 Subject: Can't compile plugins - undefined reference to `getloadavg' Message-ID: <53104E20A25CD411B556009027E50636064D53F0@pnnemp02.pn.egg.com> David, Couple of things to try: - can you send the configure output and the config.log file - what version of gcc? - create a little c file called t.c: char getloadavg(); int main() { getloadavg() ; return 0; } and run: gcc -c t.c gcc t.o lib/libnagiosplug.a Do you still get the getloadavg missing? - try: "gcc t.o lib/getloadavg.o". If this works, it suggests the ar file is not being created correctly - download GNU fileutils package which contains getloadavg: http://ftp.gnu.org/gnu/fileutils/fileutils-4.1.tar.gz. With their compiled version of getloadavg.o, can gcc work against that? Ton > -----Original Message----- > From: David Gurr [SMTP:davidgu at yahoo.com] > Sent: Wednesday, March 05, 2003 3:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can't compile plugins - undefined reference > to `getloadavg' > > I'm trying to install the plugins on an old Caldera > OpenLinux 2.3 system, with a view to also installing > nrpe. > > I've unpacked the nagios-plugins-1.3.0-beta3 tarball, > and successfully run configure. When I do "make all", > it fails on building check_load with the following > error: > > gcc -g -O2 -L. -o check_load check_load.o utils.o > ../lib/libnagiosplug.a popen.o -lutil > check_load.o: In function `main': > /tmp/nagios-plugins-1.3.0-beta3/plugins/check_load.c:80: > undefined reference to `getloadavg' > make[1]: *** [check_load] Error 1 > > Earlier, the libnagiosplug.a library seemed to get > built OK: > > gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins > -I../plugins -I../plugins -I../plugins -I../plugins > -I. -g -O2 -c getopt.c > gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins > -I../plugins -I../plugins -I../plugins -I../plugins > -I. -g -O2 -c getopt1.c > gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins > -I../plugins -I../plugins -I../plugins -I../plugins > -I. -g -O2 -c getloadavg.c > rm -f libnagiosplug.a > ar cru libnagiosplug.a getopt.o getopt1.o getloadavg.o > ranlib libnagiosplug.a > > Any suggestions? > > Thx > > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The > debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From KreigD at webex.com Thu Mar 6 13:23:53 2003 From: KreigD at webex.com (Kreig Dubose) Date: Thu, 6 Mar 2003 04:23:53 -0800 Subject: Return Code 127 Message-ID: I'm seeing this error in Service Status Details while using check_nrpe. from CLI: [kreigd at goclnx1 libexec]$ ./check_nrpe -H goclnx2 -c check_users -to 10 USERS OK - 2 users currently logged in [kreigd at goclnx1 libexec]$ However in status detail it shows: (Return code of 127 is out of bounds - plugin may be missing) I have no idea what status code 127 is, or what it's referring to as to how it's missing? As you can see it works from the CLI. Here's the log message it keeps spewing [1046945879] Warning: Return code of 127 for check of service 'check_users' on host 'goclnx2' was out of bounds. Make sure the plugin you're trying to run actually exists. I've tried this across different servers (as above) and on the local nagios machine with the same results. TIA Kreig ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Mar 6 13:28:41 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 06 Mar 2003 07:28:41 -0500 Subject: Can't compile plugins - undefined reference to `getloadavg' In-Reply-To: <53104E20A25CD411B556009027E50636064D53F0@pnnemp02.pn.egg.com> References: <53104E20A25CD411B556009027E50636064D53F0@pnnemp02.pn.egg.com> Message-ID: <1046953721.12509.18.camel@miles.debisschop.net> On Thu, 2003-03-06 at 06:59, Voon, Ton wrote: > David, Did you try the release rather than beta 3? -- Karl > Couple of things to try: > - can you send the configure output and the config.log file > - what version of gcc? > - create a little c file called t.c: > char getloadavg(); > > int main() { > getloadavg() > ; return 0; } > > and run: > gcc -c t.c > gcc t.o lib/libnagiosplug.a > > Do you still get the getloadavg missing? > - try: "gcc t.o lib/getloadavg.o". If this works, it suggests the ar file is > not being created correctly > - download GNU fileutils package which contains getloadavg: > http://ftp.gnu.org/gnu/fileutils/fileutils-4.1.tar.gz. With their compiled > version of getloadavg.o, can gcc work against that? > > Ton > > > -----Original Message----- > > From: David Gurr [SMTP:davidgu at yahoo.com] > > Sent: Wednesday, March 05, 2003 3:04 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Can't compile plugins - undefined reference > > to `getloadavg' > > > > I'm trying to install the plugins on an old Caldera > > OpenLinux 2.3 system, with a view to also installing > > nrpe. > > > > I've unpacked the nagios-plugins-1.3.0-beta3 tarball, > > and successfully run configure. When I do "make all", > > it fails on building check_load with the following > > error: > > > > gcc -g -O2 -L. -o check_load check_load.o utils.o > > ../lib/libnagiosplug.a popen.o -lutil > > check_load.o: In function `main': > > /tmp/nagios-plugins-1.3.0-beta3/plugins/check_load.c:80: > > undefined reference to `getloadavg' > > make[1]: *** [check_load] Error 1 > > > > Earlier, the libnagiosplug.a library seemed to get > > built OK: > > > > gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins > > -I../plugins -I../plugins -I../plugins -I../plugins > > -I. -g -O2 -c getopt.c > > gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins > > -I../plugins -I../plugins -I../plugins -I../plugins > > -I. -g -O2 -c getopt1.c > > gcc -DHAVE_CONFIG_H -I. -I. -I../plugins -I../plugins > > -I../plugins -I../plugins -I../plugins -I../plugins > > -I. -g -O2 -c getloadavg.c > > rm -f libnagiosplug.a > > ar cru libnagiosplug.a getopt.o getopt1.o getloadavg.o > > ranlib libnagiosplug.a > > > > Any suggestions? > > > > Thx > > > > > > __________________________________________________ > > Do You Yahoo!? > > Everything you'll ever need on one web page > > from News and Sport to Email and Music Charts > > http://uk.my.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > debugger > > for complex code. Debugging C/C++ programs can leave you feeling lost and > > disoriented. TotalView can help you find your way. Available on major UNIX > > > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Thu Mar 6 13:50:02 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 6 Mar 2003 12:50:02 -0000 Subject: Return Code 127 Message-ID: <1012BD903945D411915500105A48FF57F06962@nt.man.fwltech.com> Return code 127 normally means it either can't find the plugin or it doesn't have permission to run it - check that the nagios user gets a valid response from the command line, and if it does, then check that your command.cfg has the location of the file set correctly. Ewan > -----Original Message----- > From: Kreig Dubose [mailto:KreigD at webex.com] > Sent: 06 March 2003 12:24 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Return Code 127 > > > I'm seeing this error in Service Status Details while using > check_nrpe. > > from CLI: > [kreigd at goclnx1 libexec]$ ./check_nrpe -H goclnx2 -c > check_users -to 10 > USERS OK - 2 users currently logged in > [kreigd at goclnx1 libexec]$ > > However in status detail it shows: > (Return code of 127 is out of bounds - plugin may be missing) > > I have no idea what status code 127 is, or what it's > referring to as to how > it's missing? As you can see it works from the CLI. Here's > the log message > it keeps spewing > > [1046945879] Warning: Return code of 127 for check of service > 'check_users' > on host 'goclnx2' was out of bounds. Make sure the plugin > you're trying to > run actually exists. > > > I've tried this across different servers (as above) and on > the local nagios > machine with the same results. > > TIA > > Kreig > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at lists.netways.de Thu Mar 6 15:10:27 2003 From: nagios-users at lists.netways.de (nagios-users) Date: Thu, 6 Mar 2003 15:10:27 +0100 Subject: Modifications of right bar Message-ID: <3626546DC152134382A0A029C29365C6076A0A@net-mail.int.netways.de> Hi ! As I discovered on the page of http://apan.sourceforge.net/ in the screenshot -> there Is a nice modification of the right bar in cgi; displaying Groups under the the service detail button.... Is this a patch or just a modified version ? Thankx Nik ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hermann.mueller at oasy.de Thu Mar 6 16:09:59 2003 From: hermann.mueller at oasy.de (=?iso-8859-1?Q?Hermann_M=FCller?=) Date: Thu, 6 Mar 2003 16:09:59 +0100 Subject: Problem on Host State Information References: <3E670DD5.7070001@etsetb.upc.es> <3E671D1F.7070506@etsetb.upc.es> Message-ID: <001d01c2e3f2$786e23b0$152ea8c0@rumpelkammer> I still have the Problem that Nagios tells me that the Host ist down (red) even if all Services are up (green) and running. I dont have any ideas why nagios behave like that. I would be very greatful if anyone could help me on this It is very important.. Thanks Hermann PS: Tell me wich further informations or .cfg files you need to localize the Problem ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.touche at lycos.com Thu Mar 6 16:26:16 2003 From: julien.touche at lycos.com (julien Touche) Date: Thu, 06 Mar 2003 16:26:16 +0100 Subject: nagios + chroot (test on openbsd) Message-ID: <3E676898.1010504@lycos.com> on openbsd 3.3-beta, i'm trying to get nagios working with chroot apache as cgi-bin (normally in sbin) use same conf files as nagios daemon, i must have same path in the two and also chroot nagios (maybe try to duplicate conf files, idea ?) on openbsd, apache is in /var/www i choose to install in /var/www/users/nagios for daemon/etc/... and /var/www/htdocs/nagios for share/sbin/libexec i compile in static nagios/cgi-bin & plugins (mainly thanks to benny patch) i need to change cgi/Makefile path (erase /var/www part) as path is hard coded in for compile (and return normal for make install) and in common/locations.h. and few changes in cfg files i can start nagios in chroot, but two problems i have not find solution for the moment all plugins return in nagios.log --- [1046955533] Warning: Return code of 127 for check of service 'SSH' on host 'toto' was out of bounds. Make sure the plugin you're trying to run actually exists --- path is good and when i chroot a root shell in /var/www, i can execute them check_ssh need /etc/protocols: ok check_dns: segmentation fault check_tcp complains about /etc/protocols, but works check_disk is no more check_ups ok others later. second tac.cgi return in browser binary data with --- Failure reading ld.so Bad magic: ld.so Cannot map ld.so crt0: update /usr/libexec/ld.so ld.so failed --- and some binary between and html code too nagios is static, nothing change when i add a ld.so in chroot and for fun trying to ktrace it (always in chroot) gives a core with 22023 ktrace RET ktrace 0 22023 ktrace CALL execve(0xcfbfdb0f,0xcfbfda98,0xcfbfdaa0) 22023 ktrace NAMI "/usr/libexec/ld.so" 22023 ld.so EMUL "native" 22023 ld.so RET execve 0 22023 ld.so PSIG SIGSEGV SIG_DFL code 1 addr=0x20 trapno=1 22023 ld.so PSIG SIGSEGV SIG_DFL code 0 addr=0x0 trapno=0 22023 ld.so NAMI "ld.so.core" in chroot shell, normal response, but Error: Could not open main config file '/opt/nagios/etc/nagios.cfg' (before it doesn't find cgi.cfg, but correct with common/locations.h) /opt/nagios was the place were i install before testing chroot but which is no more used bash-2.05b$ grep "/opt" /tmp2/nagios/nagios-1.0/* /tmp2/nagios/nagios-1.0/functions:PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin so i don't know where it comes from. Regards Julien Note: also, nagios, started with chroot -u nagios -g nagios $ChrootBase, complains about it cannot change uid/gid, but doesn't matter a lot Note2: please cc. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From briank at nacs.net Thu Mar 6 16:32:36 2003 From: briank at nacs.net (Brian Kosick) Date: Thu, 06 Mar 2003 10:32:36 -0500 Subject: NRPE: Unable to read output Message-ID: <3E676A14.5030208@nacs.net> Hello All, This is my first post to the list regarding Nagios, I find it a very powerfull package so good work everyone. I have setup a central nagios server, and installed the nrpe damon on a remote box. All of my checks via NRPE go great except for 1 a NFS check.here's my nrpe.cfg entries command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sda1 command[check_disk5]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sda5 command[check_disk6]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sda6 command[check_disk7]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sda7 command[check_disk8]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sda8 command[check_zombie_procs]=/usr/lib/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w 150 -c 200 command[check_local_nfs]=/usr/lib/nagios/plugins/check_rpc -H localhost -C nfs I can run the check_local_nfs from the command line and get OK - RPC program nfs version 2 version 3 udp running When I do it via NRPE from the nagios server, I get ./check_nrpe -H XXX.XXX.XXX.XXX. -c check_local_nfs NRPE: Unable to read output (The IP address has been modified to protect the innocent ;-) ) All of my other command on the remote box work great, except for this one. Any Ideas?? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Mar 6 16:51:21 2003 From: benny at bennyvision.com (C. Bensend) Date: Thu, 6 Mar 2003 09:51:21 -0600 Subject: nagios + chroot (test on openbsd) In-Reply-To: <3E676898.1010504@lycos.com>; from julien.touche@lycos.com on Thu, Mar 06, 2003 at 04:26:16PM +0100 References: <3E676898.1010504@lycos.com> Message-ID: <20030306095121.C31506@bennyvision.com> On Thu, Mar 06, 2003 at 04:26:16PM +0100, julien Touche wrote: > > on openbsd 3.3-beta, i'm trying to get nagios working with chroot apache Hey Julien, I don't have any advice for you right now, but I'm planning on starting to work on the chroot stuff this weekend. I've got a mostly-functional port done for OpenBSD without the chroot, so logically, the next part is tackling it _with_. I'll let you know! Benny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Discharge of a nuclear weapon shall be deemed a warlike act, even if accidental." -- My homeowners insurance policy ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Thu Mar 6 17:06:58 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 6 Mar 2003 10:06:58 -0600 (CST) Subject: nagios + chroot (test on openbsd) In-Reply-To: <3E676898.1010504@lycos.com> References: <3E676898.1010504@lycos.com> Message-ID: <2236.192.168.1.9.1046966818.squirrel@xyzzy.homeip.net> Julien, I just finished successfully installing Nagios into a chroot'ed Apache on OpenBSD 3.2. My suggestion: Don't do it. Run Apache as non-chroot. It's just not worth it, because there are a TON of problems you have to overcome. It took me many many hours to solve them all. The security gained just isn't worth the time, IMHO. On another note, why are you running this on 3.3-current? Bad idea for a production system, my friend. Run 3.2-stable. Anyway, if you still insist on doing it, remember that you have TWO root file systems. One is under /var/www/, the other is under /. The stuff that runs from the daemon, such as the plugins, see / as the root. The CGIs see /var/www/ as the root. Part of my solution was to make a /var/www/var/www/ -> /var/www symbolic link. That helped fix a lot of the plugin problems. Also, use ldd to find out what shared libraries you need for anything that isn't fully static. It sounds like your CGIs are definitely not static. FWIW, I did not compile anything statically, all the shared libs are under /var/www/ HTH, - Mike > > on openbsd 3.3-beta, i'm trying to get nagios working with chroot apache > > as cgi-bin (normally in sbin) use same conf files as nagios daemon, i > must have same path in the two and also chroot nagios (maybe try to > duplicate conf files, idea ?) > > on openbsd, apache is in /var/www > i choose to install in /var/www/users/nagios for daemon/etc/... > and /var/www/htdocs/nagios for share/sbin/libexec > > i compile in static nagios/cgi-bin & plugins (mainly thanks to benny patch) > i need to change cgi/Makefile path (erase /var/www part) as path is hard > coded in for compile (and return normal for make install) and in > common/locations.h. > and few changes in cfg files > i can start nagios in chroot, but two problems i have not find solution > for the moment > > all plugins return in nagios.log > --- > [1046955533] Warning: Return code of 127 for check of service 'SSH' on > host 'toto' was out of bounds. > Make sure the plugin you're trying to run actually exists > --- > > path is good and when i chroot a root shell in /var/www, i can execute them > check_ssh need /etc/protocols: ok > check_dns: segmentation fault > check_tcp complains about /etc/protocols, but works > check_disk is no more > check_ups ok > others later. > > > second > tac.cgi return in browser binary data with > --- > Failure reading ld.so > Bad magic: ld.so > Cannot map ld.so > crt0: update /usr/libexec/ld.so > ld.so failed > --- > and some binary between and html code too > > nagios is static, nothing change when i add a ld.so in chroot and for > fun trying to ktrace it (always in chroot) gives a core with > 22023 ktrace RET ktrace 0 > 22023 ktrace CALL execve(0xcfbfdb0f,0xcfbfda98,0xcfbfdaa0) > 22023 ktrace NAMI "/usr/libexec/ld.so" > 22023 ld.so EMUL "native" > 22023 ld.so RET execve 0 > 22023 ld.so PSIG SIGSEGV SIG_DFL code 1 addr=0x20 trapno=1 > 22023 ld.so PSIG SIGSEGV SIG_DFL code 0 addr=0x0 trapno=0 > 22023 ld.so NAMI "ld.so.core" > > in chroot shell, normal response, but > Error: Could not open main config file '/opt/nagios/etc/nagios.cfg' > (before it doesn't find cgi.cfg, but correct with common/locations.h) > > /opt/nagios was the place were i install before testing chroot but which > is no more used > bash-2.05b$ grep "/opt" /tmp2/nagios/nagios-1.0/* > /tmp2/nagios/nagios-1.0/functions:PATH=/opt/gnu/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin > > so i don't know where it comes from. > > > Regards > > Julien > > Note: also, nagios, started with chroot -u nagios -g nagios $ChrootBase, > complains about it cannot change uid/gid, but doesn't matter a lot > > Note2: please cc. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFinn at studentadvantage.com Thu Mar 6 17:42:25 2003 From: DFinn at studentadvantage.com (Daniel Finn) Date: Thu, 6 Mar 2003 11:42:25 -0500 Subject: problems using check_snmp to monitor sendmail Message-ID: <80C364880EDAD511BE39009027B0DCB80434506A@RAINBOW2> I'm having issues trying to implement check_snmp to monitor the status of sendmail. Your first question is why am I not just using check_smtp, it's because all the mail servers that I need to implement this on only listen on 127.0.0.1:25. I've enabled the MIB or OID in snmpd.conf on the test box and that appears to be working fine: [root at sadqalx38 plugins]# snmpwalk -v 1 l52m-be sapublic .1.3.6.1.4.1.2021.2 enterprises.ucdavis.prTable.prEntry.prIndex.1 = 1 enterprises.ucdavis.prTable.prEntry.prNames.1 = sendmail enterprises.ucdavis.prTable.prEntry.prMin.1 = 1 enterprises.ucdavis.prTable.prEntry.prMax.1 = 10 enterprises.ucdavis.prTable.prEntry.prCount.1 = 2 enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 = 0 enterprises.ucdavis.prTable.prEntry.prErrMessage.1 = enterprises.ucdavis.prTable.prEntry.prErrFix.1 = 0 enterprises.ucdavis.prTable.prEntry.prErrFixCmd.1 = [root at sadqalx38 plugins]# snmpwalk -v 1 -On l52m-be sapublic .1.3.6.1.4.1.2021.2 .1.3.6.1.4.1.2021.2.1.1.1 = 1 .1.3.6.1.4.1.2021.2.1.2.1 = sendmail .1.3.6.1.4.1.2021.2.1.3.1 = 1 .1.3.6.1.4.1.2021.2.1.4.1 = 10 .1.3.6.1.4.1.2021.2.1.5.1 = 3 .1.3.6.1.4.1.2021.2.1.100.1 = 0 .1.3.6.1.4.1.2021.2.1.101.1 = .1.3.6.1.4.1.2021.2.1.102.1 = 0 .1.3.6.1.4.1.2021.2.1.103.1 = So, it appears I can either monitor enterprises.ucdavis.prTable.prEntry.prCount.1 which lists the number of sendmail processes running or enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 which is 0 when sendmail is running or 1 when it's either not running or there are more procs running than what you've specified acceptible (10 in this case). Here's the problem I'm having with the snmp_check program. It always reports back that it's either at a WARNING state or a CRITICAL state. [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic SNMP WARNING - 1 Am I doing something wrong. Shouldn't it return OK because the value it's returning is between 1 and 10? Now if I change the warning and critical threshholds to be outside of what it's returning I get : [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic SNMP CRITICAL - *1* I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this system and I still have the same problem. If anyone could help that would be great. Also, I'm not subscribed to this list so if you could reply to me via email that would be great. Thanks Dan Finn Unix Systems Administrator Student Advantage Inc dfinn at studentadvantage.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Mar 6 18:18:46 2003 From: benny at bennyvision.com (C. Bensend) Date: Thu, 6 Mar 2003 11:18:46 -0600 Subject: nagios + chroot (test on openbsd) In-Reply-To: <2236.192.168.1.9.1046966818.squirrel@xyzzy.homeip.net>; from mmcclure@pneservices.com on Thu, Mar 06, 2003 at 10:06:58AM -0600 References: <3E676898.1010504@lycos.com> <2236.192.168.1.9.1046966818.squirrel@xyzzy.homeip.net> Message-ID: <20030306111846.A5505@bennyvision.com> On Thu, Mar 06, 2003 at 10:06:58AM -0600, Mike McClure wrote: > > On another note, why are you running this on 3.3-current? Bad idea for a production > system, my friend. Run 3.2-stable. I'm guessing he's running -CURRENT (as I am) because we're working on ports. Porters _should_ be running -CURRENT. Benny ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Discharge of a nuclear weapon shall be deemed a warlike act, even if accidental." -- My homeowners insurance policy ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Thu Mar 6 18:36:46 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Thu, 6 Mar 2003 18:36:46 +0100 Subject: Help NRPE 1.8 won't work Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4508@serv-075.icon-germany.local> Hi all, I need a little help on nrpe 1.8 I Installed nrpe on a Linux Box running Nagios and a HP/UX Server with the nrpe daemon. On the HP/UX Server the nrpe exec is installed in /usr/sbin. Path is set correct. The config file is in /usr/local/nagios/etc/nrpe.cfg nrpe is loaded in inetd.conf nrpe stream tcp nowait daemon /usr/sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd If I open a telnet to the server on port 5666 I get a message back from nrpe. There is a entry in nrpe.cfg for following command command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 Running the plugin on the shell is OK $ /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 OK - load average: 0.06, 0.10, 0.20 But as soon as I try to use the check_nrpe plugin I get an error... me at mon:/usr/lib/nagios/plugins> ./check_nrpe -H 10.x.x.x -c check_load CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? What's wrong with it??? Regards, Hagen Deike ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Mar 6 18:43:56 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 6 Mar 2003 11:43:56 -0600 Subject: problems using check_snmp to monitor sendmail Message-ID: I can't comment on the SNMP approach, but I'm curious: Do you need to have sendmail listening on socket 127.0.0.1:25? I usually disable the listen functionality of sendmail for outbound-only hosts. Alternatively, if you're going to have sendmail listen on port 25 at all, you could permit connections from your Nagios server. (I know, it would mean tweaking all the hosts that you're interested in monitoring....) Food for thought. jc > -----Original Message----- > From: Daniel Finn [mailto:DFinn at studentadvantage.com] > Sent: Thursday, March 06, 2003 10:42 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] problems using check_snmp to monitor sendmail > > > I'm having issues trying to implement check_snmp to monitor > the status of > sendmail. Your first question is why am I not just using > check_smtp, it's > because all the mail servers that I need to implement this on > only listen on > 127.0.0.1:25. > > I've enabled the MIB or OID in snmpd.conf on the test box and > that appears > to be working fine: > > [root at sadqalx38 plugins]# snmpwalk -v 1 l52m-be sapublic > .1.3.6.1.4.1.2021.2 > > enterprises.ucdavis.prTable.prEntry.prIndex.1 = 1 > enterprises.ucdavis.prTable.prEntry.prNames.1 = sendmail > enterprises.ucdavis.prTable.prEntry.prMin.1 = 1 > enterprises.ucdavis.prTable.prEntry.prMax.1 = 10 > enterprises.ucdavis.prTable.prEntry.prCount.1 = 2 > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 = 0 > enterprises.ucdavis.prTable.prEntry.prErrMessage.1 = > enterprises.ucdavis.prTable.prEntry.prErrFix.1 = 0 > enterprises.ucdavis.prTable.prEntry.prErrFixCmd.1 = > > [root at sadqalx38 plugins]# snmpwalk -v 1 -On l52m-be sapublic > .1.3.6.1.4.1.2021.2 > .1.3.6.1.4.1.2021.2.1.1.1 = 1 > .1.3.6.1.4.1.2021.2.1.2.1 = sendmail > .1.3.6.1.4.1.2021.2.1.3.1 = 1 > .1.3.6.1.4.1.2021.2.1.4.1 = 10 > .1.3.6.1.4.1.2021.2.1.5.1 = 3 > .1.3.6.1.4.1.2021.2.1.100.1 = 0 > .1.3.6.1.4.1.2021.2.1.101.1 = > .1.3.6.1.4.1.2021.2.1.102.1 = 0 > .1.3.6.1.4.1.2021.2.1.103.1 = > > > So, it appears I can either monitor > enterprises.ucdavis.prTable.prEntry.prCount.1 which lists the > number of > sendmail processes running or > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 which is 0 > when sendmail > is running or 1 when it's either not running or there are > more procs running > than what you've specified acceptible (10 in this case). > > > Here's the problem I'm having with the snmp_check program. It always > reports back that it's either at a WARNING state or a CRITICAL state. > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > SNMP WARNING - 1 > > > Am I doing something wrong. Shouldn't it return OK because > the value it's > returning is between 1 and 10? Now if I change the warning > and critical > threshholds to be outside of what it's returning I get : > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > SNMP CRITICAL - *1* > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this > system and I still have the same problem. If anyone could > help that would > be great. Also, I'm not subscribed to this list so if you > could reply to me > via email that would be great. > > Thanks > Dan Finn > Unix Systems Administrator > Student Advantage Inc > dfinn at studentadvantage.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 6 18:48:07 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 06 Mar 2003 12:48:07 -0500 (EST) Subject: problems using check_snmp to monitor sendmail In-Reply-To: <80C364880EDAD511BE39009027B0DCB80434506A@RAINBOW2> References: <80C364880EDAD511BE39009027B0DCB80434506A@RAINBOW2> Message-ID: On Thu, 6 Mar 2003, Daniel Finn wrote: > > Here's the problem I'm having with the snmp_check program. It always > reports back that it's either at a WARNING state or a CRITICAL state. > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > SNMP WARNING - 1 > > > Am I doing something wrong. Shouldn't it return OK because the value it's > returning is between 1 and 10? Now if I change the warning and critical > threshholds to be outside of what it's returning I get : > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > SNMP CRITICAL - *1* > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this > system and I still have the same problem. If anyone could help that would > be great. Also, I'm not subscribed to this list so if you could reply to me > via email that would be great. > The WARNING in the first case may be due to output on the stderr. Try the command with with "-m : " to prevent loading the mibs. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at br.danzas.com Thu Mar 6 18:48:52 2003 From: hugo.rebello at br.danzas.com (Hugo Rebello) Date: Thu, 6 Mar 2003 14:48:52 -0300 Subject: Please - Notification by e-mail Message-ID: Please, anybody help me ? I can?t get to send notification by e-mail using "mail command" Some sugestion ? Thank you. Hugo Rebello ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Thu Mar 6 19:04:24 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Thu, 6 Mar 2003 13:04:24 -0500 Subject: check_cluster Message-ID: Has anyone successfully compiled the check_cluster plugin? If so, how? Thanks much, Lane ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramog at starcalif.com Thu Mar 6 19:10:43 2003 From: ramog at starcalif.com (Rochel Amog) Date: Thu, 6 Mar 2003 10:10:43 -0800 Subject: check_http Message-ID: <002a01c2e40b$b3fcaf50$0d1fa8c0@sysadmin.starcalif.com> I'm just checking the http service on my 3 remote linux machines and I got the following results: command: ./check_http -I results on one Red Hat Linux 7.2: HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003 results on two Red Hat Linux 8.0: HTTP warning: HTTP/1.1 403 Forbidden Can anybody tell me why it says "warning" on the two machines and how to check these machines to say "HTTP ok". I appreciate your help .. Thank You... Rochel Starcrest Products -------------- next part -------------- An HTML attachment was scrubbed... URL: From slebrun at muskoka.com Thu Mar 6 19:15:21 2003 From: slebrun at muskoka.com (Shayne Lebrun) Date: Thu, 6 Mar 2003 13:15:21 -0500 Subject: Help NRPE 1.8 won't work In-Reply-To: <7E47A0E20913514C8F4CD1BC241A37030A4508@serv-075.icon-germany.local> References: <7E47A0E20913514C8F4CD1BC241A37030A4508@serv-075.icon-germany.local> Message-ID: Have you thrown it into debugging mode and watched the errors in the syslog? Have you made sure that both the nrpe executable and the config file have the appropriate permissions? Have you done anything in the way of diagnosis? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Hagen > Deike > Sent: Thursday, March 06, 2003 12:37 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Help NRPE 1.8 won't work > > > Hi all, > > I need a little help on nrpe 1.8 > I Installed nrpe on a Linux Box running Nagios and a HP/UX Server with the > nrpe daemon. > > On the HP/UX Server the nrpe exec is installed in /usr/sbin. Path is set > correct. > The config file is in /usr/local/nagios/etc/nrpe.cfg > nrpe is loaded in inetd.conf > > nrpe stream tcp nowait daemon /usr/sbin/nrpe -c > /usr/local/nagios/etc/nrpe.cfg --inetd > > If I open a telnet to the server on port 5666 I get a message back from > nrpe. > There is a entry in nrpe.cfg for following command > > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 > > Running the plugin on the shell is OK > > $ /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 > OK - load average: 0.06, 0.10, 0.20 > > But as soon as I try to use the check_nrpe plugin I get an error... > > me at mon:/usr/lib/nagios/plugins> ./check_nrpe -H 10.x.x.x -c check_load > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > > What's wrong with it??? > > Regards, > Hagen Deike > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, > The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on > major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFinn at studentadvantage.com Thu Mar 6 19:14:14 2003 From: DFinn at studentadvantage.com (Daniel Finn) Date: Thu, 6 Mar 2003 13:14:14 -0500 Subject: problems using check_snmp to monitor sendmail Message-ID: <80C364880EDAD511BE39009027B0DCB80434506B@RAINBOW2> The way our mail app is setup we do need sendmail to listen on localhost:25 and only there. We've considered allowing the nagios server access to port 25 on each machine but it would mean tweaking the sendmail config on 50+ servers. At this point for ease of management it's much easier to have every server run the same sendmail.cf. -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, March 06, 2003 12:44 PM To: 'Daniel Finn'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] problems using check_snmp to monitor sendmail I can't comment on the SNMP approach, but I'm curious: Do you need to have sendmail listening on socket 127.0.0.1:25? I usually disable the listen functionality of sendmail for outbound-only hosts. Alternatively, if you're going to have sendmail listen on port 25 at all, you could permit connections from your Nagios server. (I know, it would mean tweaking all the hosts that you're interested in monitoring....) Food for thought. jc > -----Original Message----- > From: Daniel Finn [mailto:DFinn at studentadvantage.com] > Sent: Thursday, March 06, 2003 10:42 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] problems using check_snmp to monitor sendmail > > > I'm having issues trying to implement check_snmp to monitor > the status of > sendmail. Your first question is why am I not just using > check_smtp, it's > because all the mail servers that I need to implement this on > only listen on > 127.0.0.1:25. > > I've enabled the MIB or OID in snmpd.conf on the test box and > that appears > to be working fine: > > [root at sadqalx38 plugins]# snmpwalk -v 1 l52m-be sapublic > .1.3.6.1.4.1.2021.2 > > enterprises.ucdavis.prTable.prEntry.prIndex.1 = 1 > enterprises.ucdavis.prTable.prEntry.prNames.1 = sendmail > enterprises.ucdavis.prTable.prEntry.prMin.1 = 1 > enterprises.ucdavis.prTable.prEntry.prMax.1 = 10 > enterprises.ucdavis.prTable.prEntry.prCount.1 = 2 > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 = 0 > enterprises.ucdavis.prTable.prEntry.prErrMessage.1 = > enterprises.ucdavis.prTable.prEntry.prErrFix.1 = 0 > enterprises.ucdavis.prTable.prEntry.prErrFixCmd.1 = > > [root at sadqalx38 plugins]# snmpwalk -v 1 -On l52m-be sapublic > .1.3.6.1.4.1.2021.2 > .1.3.6.1.4.1.2021.2.1.1.1 = 1 > .1.3.6.1.4.1.2021.2.1.2.1 = sendmail > .1.3.6.1.4.1.2021.2.1.3.1 = 1 > .1.3.6.1.4.1.2021.2.1.4.1 = 10 > .1.3.6.1.4.1.2021.2.1.5.1 = 3 > .1.3.6.1.4.1.2021.2.1.100.1 = 0 > .1.3.6.1.4.1.2021.2.1.101.1 = > .1.3.6.1.4.1.2021.2.1.102.1 = 0 > .1.3.6.1.4.1.2021.2.1.103.1 = > > > So, it appears I can either monitor > enterprises.ucdavis.prTable.prEntry.prCount.1 which lists the > number of > sendmail processes running or > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 which is 0 > when sendmail > is running or 1 when it's either not running or there are > more procs running > than what you've specified acceptible (10 in this case). > > > Here's the problem I'm having with the snmp_check program. It always > reports back that it's either at a WARNING state or a CRITICAL state. > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > SNMP WARNING - 1 > > > Am I doing something wrong. Shouldn't it return OK because > the value it's > returning is between 1 and 10? Now if I change the warning > and critical > threshholds to be outside of what it's returning I get : > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > SNMP CRITICAL - *1* > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this > system and I still have the same problem. If anyone could > help that would > be great. Also, I'm not subscribed to this list so if you > could reply to me > via email that would be great. > > Thanks > Dan Finn > Unix Systems Administrator > Student Advantage Inc > dfinn at studentadvantage.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Thu Mar 6 19:11:55 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 7 Mar 2003 02:11:55 +0800 Subject: not seeing passive results Message-ID: <200303070211.57068.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, Just wanna know what can cause nagios not to write passive check results to the main nagios.log file when I could see connection established on both sides when i do a netstat grabbing for port 5667. I have checked the configuration again but nothing seems to be wrong. - --Warmest Regards, Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6802 Fax: 6441 5119 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+Z49rNgvTa7Hj2AURAg9yAJ9WKQykNpnQH58sbhpjwx5+D9YHdwCcC0d2 Txe0MFJGI+g0GmmRlzvl31Q= =hec5 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From briank at nacs.net Thu Mar 6 19:21:07 2003 From: briank at nacs.net (Brian Kosick) Date: Thu, 06 Mar 2003 13:21:07 -0500 Subject: Help NRPE 1.8 won't work In-Reply-To: <7E47A0E20913514C8F4CD1BC241A37030A4508@serv-075.icon-germany.local> References: <7E47A0E20913514C8F4CD1BC241A37030A4508@serv-075.icon-germany.local> Message-ID: <3E679193.20007@nacs.net> Make sure that you have edited the nrpe.cfg file correctly, it has a "Allow connections from this IP" variable. Hagen Deike wrote: >Hi all, > >I need a little help on nrpe 1.8 >I Installed nrpe on a Linux Box running Nagios and a HP/UX Server with the >nrpe daemon. > >On the HP/UX Server the nrpe exec is installed in /usr/sbin. Path is set >correct. >The config file is in /usr/local/nagios/etc/nrpe.cfg >nrpe is loaded in inetd.conf > > nrpe stream tcp nowait daemon /usr/sbin/nrpe -c >/usr/local/nagios/etc/nrpe.cfg --inetd > >If I open a telnet to the server on port 5666 I get a message back from >nrpe. >There is a entry in nrpe.cfg for following command > > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c >30,25,20 > >Running the plugin on the shell is OK > > $ /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 > OK - load average: 0.06, 0.10, 0.20 > >But as soon as I try to use the check_nrpe plugin I get an error... > > me at mon:/usr/lib/nagios/plugins> ./check_nrpe -H 10.x.x.x -c check_load > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > >What's wrong with it??? > >Regards, >Hagen Deike > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Thu Mar 6 19:15:19 2003 From: mark at woodstream.net (mark) Date: Thu, 6 Mar 2003 13:15:19 -0500 (EST) Subject: Distributed monitoring quirks Message-ID: Hi all, I'm setting up distributed monitoring and can't quite get the behavior I'm after. I'm guessing I just haven't hit on the right configuration but after a day of working on it I thought I'd ask the list. My environment uses a central server the recieves passive checks from a distributed server. The two servers are connected by a site-to-site VPN. This is important because it means the central monitor can not see the remote hosts being monitored. So host checks from the central monitor won't work if they are a ping. Now on with the problem description... I have the distributed monitoring server up and running fine. It is working as expected and sending updates to the central server fine. The problem I'm having is on the central server. If a remote service goes to hard critical, the distributed monitor picks it up fine. The central monitor recieves the event but the critical services shows up as "disabled". Further, if the remote host goes to hard critical (i.e. down), the distributed monitor also see's that fine. On the central server, I never see anything about the host being down .. not even a hint. Now, as for configurations. On the central monitor, a host looks like this # Generic host definition template define host{ name generic-host ; The name of this host template notifications_enabled 1 ;Host notifications are enabled event_handler_enabled 1 ;Host event handler is enabled flap_detection_enabled 1 ;Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information retain_nonstatus_information 1 ; Retain non-status info register 0 ; DONT REGISTER } # 'deathstar' host definition define host{ use generic-host ; Name of host template host_name deathstar alias deathstar.company.com address 10.1.1.1 max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Note there is NO check_command definition. Because the central monitor can not see the remote hosts, I had to remove the check_command entry. Otherwise, each time a service had a problem, the central monitor would try to ping the remote host, fail, and mark the host as being down incorrectly. I have a feeling the lack of a check_command is why I never see remote hosts go down... even when the distributed monitor sees them go down. A service entry on the central monitor looks like this: define service{ name passive-service ; Template name active_checks_enabled 0 ; Disable Active checks passive_checks_enabled 1 ; Enable Passive checks parallelize_check 1 ; parallelize checks obsess_over_service 1 ; obsess over this svc check_freshness 1 ; check service fresh freshness_threshold 900 ; Stale if over 15 min. notifications_enabled 1 ; enable notification event_handler_enabled 1 ; enable event handler flap_detection_enabled 1 ; enable flap detection process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status info retain_nonstatus_information 1 ; Retain non-status info check_command no-passive-update ; if stale run this cmd register 0 ; DONT REGISTER THIS } # Service definition define service{ use passive-service ;template host_name mx1,mx2,mximc1 service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups unix-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r } Note passive checks are enabled and active checks are disabled. I'm guessing a hard critical service shows up as "disabled" on the central server because the service definition has active checks disabled. The no-passive-update command simply echos a CRITICAL warning that the passive check is stale (as defined by freshness_threshold). So...does anyone have some ideas on how I can do distributed monitoring, in my situation where the central monitor can not see the remote hosts, have hard critical service events not show up as "disabled" and get critical host events to show up at all on the central monitor? Any and all input is greatly appreciated! Thanks, Mark ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ah43 at httpsite.com Thu Mar 6 19:39:49 2003 From: ah43 at httpsite.com (Andy Harrison) Date: Thu, 06 Mar 2003 13:39:49 -0500 (EST) Subject: check_http In-Reply-To: <002a01c2e40b$b3fcaf50$0d1fa8c0@sysadmin.starcalif.com> References: <002a01c2e40b$b3fcaf50$0d1fa8c0@sysadmin.starcalif.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- On 06-Mar-2003 Rochel Amog wrote: > Can anybody tell me why it says "warning" on the two machines and how to > check these machines to say "HTTP ok". Configure your web server so that your nagios machine is allowed to access it. - -- Andy Harrison ah##@httpsite.com ICQ: 123472 AIM/Y!: AHinMaine homepage: http://www.nachoz.com -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBPmeV9FPEkLgodAWVAQE2SAQAm7KaORJPoJ04k/cBVrlMz345hrcrNygr 7bNmuTpAIoclzsagIoLYZJ0BrXAstCo7IsdaJXgSk58S9JODtLpxawf29SmGHToF mVCErCeI8G5o/DQSQB4Sywq++I3qsU6t7i0zOZU9V4sdw/m2BurPuxmWSYMNJ+IF IaVWDQnlxuE= =rEA5 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Mar 6 19:22:43 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 6 Mar 2003 12:22:43 -0600 Subject: problems using check_snmp to monitor sendmail Message-ID: I'm not familiar with how sendmail manages the list of allowed connections, but if all the config files are identical, you could either push a single file to all your hosts from a trusted host (ie, 'gold server') using scp, or if you have a config server (rsync, cfengine) then you could change the file on the config server and let your machines update themselves. Managing large numbers of hosts has always been an issue. As always, I'll chant the mantra, and refer all to http://www.infrastructures.org . jc > -----Original Message----- > From: Daniel Finn [mailto:DFinn at studentadvantage.com] > Sent: Thursday, March 06, 2003 12:14 PM > To: Carroll, Jim P [Contractor]; Daniel Finn; > 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] problems using check_snmp to monitor > sendmail > > > The way our mail app is setup we do need sendmail to listen > on localhost:25 > and only there. We've considered allowing the nagios server > access to port > 25 on each machine but it would mean tweaking the sendmail > config on 50+ > servers. At this point for ease of management it's much > easier to have > every server run the same sendmail.cf. > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Thursday, March 06, 2003 12:44 PM > To: 'Daniel Finn'; 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] problems using check_snmp to monitor > sendmail > > > I can't comment on the SNMP approach, but I'm curious: Do > you need to have > sendmail listening on socket 127.0.0.1:25? I usually disable > the listen > functionality of sendmail for outbound-only hosts. > Alternatively, if you're > going to have sendmail listen on port 25 at all, you could permit > connections from your Nagios server. (I know, it would mean > tweaking all > the hosts that you're interested in monitoring....) > > Food for thought. > > jc > > > > -----Original Message----- > > From: Daniel Finn [mailto:DFinn at studentadvantage.com] > > Sent: Thursday, March 06, 2003 10:42 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] problems using check_snmp to > monitor sendmail > > > > > > I'm having issues trying to implement check_snmp to monitor > > the status of > > sendmail. Your first question is why am I not just using > > check_smtp, it's > > because all the mail servers that I need to implement this on > > only listen on > > 127.0.0.1:25. > > > > I've enabled the MIB or OID in snmpd.conf on the test box and > > that appears > > to be working fine: > > > > [root at sadqalx38 plugins]# snmpwalk -v 1 l52m-be sapublic > > .1.3.6.1.4.1.2021.2 > > > > enterprises.ucdavis.prTable.prEntry.prIndex.1 = 1 > > enterprises.ucdavis.prTable.prEntry.prNames.1 = sendmail > > enterprises.ucdavis.prTable.prEntry.prMin.1 = 1 > > enterprises.ucdavis.prTable.prEntry.prMax.1 = 10 > > enterprises.ucdavis.prTable.prEntry.prCount.1 = 2 > > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 = 0 > > enterprises.ucdavis.prTable.prEntry.prErrMessage.1 = > > enterprises.ucdavis.prTable.prEntry.prErrFix.1 = 0 > > enterprises.ucdavis.prTable.prEntry.prErrFixCmd.1 = > > > > [root at sadqalx38 plugins]# snmpwalk -v 1 -On l52m-be sapublic > > .1.3.6.1.4.1.2021.2 > > .1.3.6.1.4.1.2021.2.1.1.1 = 1 > > .1.3.6.1.4.1.2021.2.1.2.1 = sendmail > > .1.3.6.1.4.1.2021.2.1.3.1 = 1 > > .1.3.6.1.4.1.2021.2.1.4.1 = 10 > > .1.3.6.1.4.1.2021.2.1.5.1 = 3 > > .1.3.6.1.4.1.2021.2.1.100.1 = 0 > > .1.3.6.1.4.1.2021.2.1.101.1 = > > .1.3.6.1.4.1.2021.2.1.102.1 = 0 > > .1.3.6.1.4.1.2021.2.1.103.1 = > > > > > > So, it appears I can either monitor > > enterprises.ucdavis.prTable.prEntry.prCount.1 which lists the > > number of > > sendmail processes running or > > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 which is 0 > > when sendmail > > is running or 1 when it's either not running or there are > > more procs running > > than what you've specified acceptible (10 in this case). > > > > > > Here's the problem I'm having with the snmp_check program. > It always > > reports back that it's either at a WARNING state or a > CRITICAL state. > > > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > > SNMP WARNING - 1 > > > > > > Am I doing something wrong. Shouldn't it return OK because > > the value it's > > returning is between 1 and 10? Now if I change the warning > > and critical > > threshholds to be outside of what it's returning I get : > > > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > > SNMP CRITICAL - *1* > > > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled > them for this > > system and I still have the same problem. If anyone could > > help that would > > be great. Also, I'm not subscribed to this list so if you > > could reply to me > > via email that would be great. > > > > Thanks > > Dan Finn > > Unix Systems Administrator > > Student Advantage Inc > > dfinn at studentadvantage.com > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of > > TotalView, The debugger > > for complex code. Debugging C/C++ programs can leave you > > feeling lost and > > disoriented. TotalView can help you find your way. Available > > on major UNIX > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phouse at ig.com.br Thu Mar 6 19:44:49 2003 From: phouse at ig.com.br (Renato) Date: Thu, 6 Mar 2003 15:44:49 -0300 Subject: nsca plugin example Message-ID: <005601c2e410$78cff720$020aa8c0@credicomm.com.br> Some person here of this list ja use plugin nsca If yes, it can pass an explanation of the functioning of this plugin. If possivel as to make this configuration with details. I used nrpe to monitor remote equipment, but I am needing to know as to use nsca, for the reason of the same one encryption the data. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From DFinn at studentadvantage.com Thu Mar 6 19:24:37 2003 From: DFinn at studentadvantage.com (Daniel Finn) Date: Thu, 6 Mar 2003 13:24:37 -0500 Subject: problems using check_snmp to monitor sendmail Message-ID: <80C364880EDAD511BE39009027B0DCB80434506E@RAINBOW2> I just upgraded to 1.3beta1 of nagiosplug and I'm still seeing the same problem. Am I doing something wrong? I found an old email where someone was having the same problem I was and had to get the most latest version from cvs but I would think a fix like this would quickly make it's way into what I'm building. -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, March 06, 2003 12:44 PM To: 'Daniel Finn'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] problems using check_snmp to monitor sendmail I can't comment on the SNMP approach, but I'm curious: Do you need to have sendmail listening on socket 127.0.0.1:25? I usually disable the listen functionality of sendmail for outbound-only hosts. Alternatively, if you're going to have sendmail listen on port 25 at all, you could permit connections from your Nagios server. (I know, it would mean tweaking all the hosts that you're interested in monitoring....) Food for thought. jc > -----Original Message----- > From: Daniel Finn [mailto:DFinn at studentadvantage.com] > Sent: Thursday, March 06, 2003 10:42 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] problems using check_snmp to monitor sendmail > > > I'm having issues trying to implement check_snmp to monitor > the status of > sendmail. Your first question is why am I not just using > check_smtp, it's > because all the mail servers that I need to implement this on > only listen on > 127.0.0.1:25. > > I've enabled the MIB or OID in snmpd.conf on the test box and > that appears > to be working fine: > > [root at sadqalx38 plugins]# snmpwalk -v 1 l52m-be sapublic > .1.3.6.1.4.1.2021.2 > > enterprises.ucdavis.prTable.prEntry.prIndex.1 = 1 > enterprises.ucdavis.prTable.prEntry.prNames.1 = sendmail > enterprises.ucdavis.prTable.prEntry.prMin.1 = 1 > enterprises.ucdavis.prTable.prEntry.prMax.1 = 10 > enterprises.ucdavis.prTable.prEntry.prCount.1 = 2 > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 = 0 > enterprises.ucdavis.prTable.prEntry.prErrMessage.1 = > enterprises.ucdavis.prTable.prEntry.prErrFix.1 = 0 > enterprises.ucdavis.prTable.prEntry.prErrFixCmd.1 = > > [root at sadqalx38 plugins]# snmpwalk -v 1 -On l52m-be sapublic > .1.3.6.1.4.1.2021.2 > .1.3.6.1.4.1.2021.2.1.1.1 = 1 > .1.3.6.1.4.1.2021.2.1.2.1 = sendmail > .1.3.6.1.4.1.2021.2.1.3.1 = 1 > .1.3.6.1.4.1.2021.2.1.4.1 = 10 > .1.3.6.1.4.1.2021.2.1.5.1 = 3 > .1.3.6.1.4.1.2021.2.1.100.1 = 0 > .1.3.6.1.4.1.2021.2.1.101.1 = > .1.3.6.1.4.1.2021.2.1.102.1 = 0 > .1.3.6.1.4.1.2021.2.1.103.1 = > > > So, it appears I can either monitor > enterprises.ucdavis.prTable.prEntry.prCount.1 which lists the > number of > sendmail processes running or > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 which is 0 > when sendmail > is running or 1 when it's either not running or there are > more procs running > than what you've specified acceptible (10 in this case). > > > Here's the problem I'm having with the snmp_check program. It always > reports back that it's either at a WARNING state or a CRITICAL state. > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > SNMP WARNING - 1 > > > Am I doing something wrong. Shouldn't it return OK because > the value it's > returning is between 1 and 10? Now if I change the warning > and critical > threshholds to be outside of what it's returning I get : > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > SNMP CRITICAL - *1* > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this > system and I still have the same problem. If anyone could > help that would > be great. Also, I'm not subscribed to this list so if you > could reply to me > via email that would be great. > > Thanks > Dan Finn > Unix Systems Administrator > Student Advantage Inc > dfinn at studentadvantage.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Thu Mar 6 19:44:43 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Thu, 6 Mar 2003 19:44:43 +0100 Subject: Help NRPE 1.8 won't work Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A4509@serv-075.icon-germany.local> > -----Original Message----- > From: Brian Kosick [mailto:briank at nacs.net] > Sent: Donnerstag, 6. M?rz 2003 19:21 > To: Hagen Deike > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Help NRPE 1.8 won't work > > Make sure that you have edited the nrpe.cfg file correctly, it has a > "Allow connections from this IP" variable. Don't belive that's the problem. I run it from inetd # NOTE: This option is ignored if NRPE is running under either inetd or xinetd regards, Hagen Deike ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slebrun at muskoka.com Thu Mar 6 19:55:19 2003 From: slebrun at muskoka.com (Shayne Lebrun) Date: Thu, 6 Mar 2003 13:55:19 -0500 Subject: Help NRPE 1.8 won't work In-Reply-To: <3E679193.20007@nacs.net> References: <3E679193.20007@nacs.net> Message-ID: > Make sure that you have edited the nrpe.cfg file correctly, it has a > "Allow connections from this IP" variable. Which is handily ignored if you're running in inetd mode. Your /etc/hosts.allow file, on the other hand, aye. But he's not using tcpd. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Thu Mar 6 11:25:17 2003 From: twelsh at square-box.com (Tom Welsh) Date: Thu, 6 Mar 2003 10:25:17 -0000 Subject: Please - Notification by e-mail In-Reply-To: References: Message-ID: <000b01c2e3ca$aec8f660$0400a8c0@squarebox.com> Firstly can you mail from the command line to another account, If this doesn't work then you have a problem with the mail system and not nagios. My mail command for nagios is as follows. This is from my debian machine (wrapped for readability) # 'notify-by-email' command definition (ORIGINAL) define command{ name notify-by-email ; The name of this command definition - can be used for template recursion/resolution command_name notify-by-email ; The name of this command, as used/recognized by Nagios command_line /usr/bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/bin/mail -s ' $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ' $CONTACTEMAIL$ Hope this helps Tom Welsh twelsh at square-box.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hugo Rebello Sent: 06 March 2003 17:49 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Please - Notification by e-mail Please, anybody help me ? I can?t get to send notification by e-mail using "mail command" Some sugestion ? Thank you. Hugo Rebello ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at br.danzas.com Thu Mar 6 20:24:30 2003 From: hugo.rebello at br.danzas.com (Hugo Rebello) Date: Thu, 6 Mar 2003 16:24:30 -0300 Subject: Please - Notification by e-mail In-Reply-To: <000b01c2e3ca$aec8f660$0400a8c0@squarebox.com> References: <000b01c2e3ca$aec8f660$0400a8c0@squarebox.com> Message-ID: Are you using this command to send smtp e-mail ? What smtp server are you using ? Thank you. Hugo -----Original Message----- From: Tom Welsh [mailto:twelsh at square-box.com] Sent: quinta-feira, 6 de mar?o de 2003 07:25 To: 'Hugo Rebello'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Please - Notification by e-mail Firstly can you mail from the command line to another account, If this doesn't work then you have a problem with the mail system and not nagios. My mail command for nagios is as follows. This is from my debian machine (wrapped for readability) # 'notify-by-email' command definition (ORIGINAL) define command{ name notify-by-email ; The name of this command definition - can be used for template recursion/resolution command_name notify-by-email ; The name of this command, as used/recognized by Nagios command_line /usr/bin/echo -e 'Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/bin/mail -s ' $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ' $CONTACTEMAIL$ Hope this helps Tom Welsh twelsh at square-box.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hugo Rebello Sent: 06 March 2003 17:49 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Please - Notification by e-mail Please, anybody help me ? I can?t get to send notification by e-mail using "mail command" Some sugestion ? Thank you. Hugo Rebello ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JSnodgrass at sourcerefrigeration.com Thu Mar 6 22:33:24 2003 From: JSnodgrass at sourcerefrigeration.com (JSnodgrass at sourcerefrigeration.com) Date: Thu, 6 Mar 2003 13:33:24 -0800 Subject: Some Minor Issues Message-ID: I am missing the following files for Nagios 1.0 running on Red Hat 8.0 - Statusmap.cgi - Histogram.cgi - Trends.cgi I wanted to know if someone could send them to me. Also I seem to have a problem with the notification alerts. They seem to be a couple hours behind the actual event and when they are sent the system is sending way to many alerts through the pager feature. I am also unable to get the system to send the alerts via e-mail which is odd cause the system is essentially sending an e-mail to our phones when it is using the paging feature. Nay help would be greatly appreciated. Jason Snodgrass, A+, CCA, CLP Network Support Source Refrigeration & HVAC, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From twebster at daksoft.com Thu Mar 6 22:57:09 2003 From: twebster at daksoft.com (twebster at daksoft.com) Date: Thu, 6 Mar 2003 14:57:09 -0700 Subject: Distributed monitoring quirks Message-ID: Do you have "check for external commands" turned on"? do your other external commands run, like acknowledgments to a downed host? Also, when you say that the central server is receiving events, how are you verifying this? Are you watch a log or are you dumping on the interface? The only difference in my services config compared to your is I have, passive and active checks enabled in the global service definition at the top and at the local service definition for my passive services I have active_check_enabled set to 0. Tony ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From briank at nacs.net Fri Mar 7 00:13:21 2003 From: briank at nacs.net (Brian Kosick) Date: Thu, 06 Mar 2003 18:13:21 -0500 Subject: plugin problems.... Message-ID: <3E67D611.6060300@nacs.net> Hi all, I'm having some difficulty with two plugins.... specifically the check_ifstatus, and check_rpc When I run them from the command line as nagios, they work great sh-2.05a$ ./check_ifstatus -H XXX.XXX.XXX.XXX -C public Use of uninitialized value in sprintf at ./check_ifstatus line 194. CRITICAL: host 'XXX.XXX.XXX.XXX', interfaces up: 30, down: 1, dormant: 0
DS3 Controller B -- Standby: down ->
sh-2.05a$ ./check_rpc -H XXX.XXX.XXX.XXX -C nfs OK: RPC program nfs version 2 version 3 udp running when I try to run them within nagios, they show up as critical "No Output" here's my relevant checkcommands.cfg # check_nfs define command{ command_name check_nfs command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs } # snmp_intstatus define command{ command_name snmp_intstatus command_line $USER1$/check_ifstatus -H $HOSTADDRESS$ -C $ARG1$ } Here's my services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name ginger service_description NFS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nfs } # Service definition define service{ use generic-service ; Name of service template to use host_name cac-mux service_description Interface Status is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups switch-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command snmp_intstatus!public } Any ideas as to why they can run fine from the command line as the nagios user, but not produce any output? the check_ifstatus takes around 5-6 seconds to return, and the check_rpc 1-2 seconds. Any help would be greatly appreciated..... Thanks, Brian Kosick ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Fri Mar 7 00:23:43 2003 From: greg at intouch.ca (Greg Webster) Date: Thu, 6 Mar 2003 15:23:43 -0800 Subject: Some Minor Issues In-Reply-To: References: Message-ID: <20030306152343.28c3beb4.greg@intouch.ca> I'm having the same issue, which has been narrowed down to not having the GD (gif, png, jpeg) libraries (base, devel, headers/includes) installed. This isn't all that helpful for me due to Debian's silliness, but hopefully you have an easier time of it. Greg On Thu, 6 Mar 2003 13:33:24 -0800: JSnodgrass at sourcerefrigeration.com wrote: > I am missing the following files for Nagios 1.0 running on Red Hat 8.0 > - Statusmap.cgi > - Histogram.cgi > - Trends.cgi > > I wanted to know if someone could send them to me. > > Also I seem to have a problem with the notification alerts. They seem to > be a couple hours behind the actual event and when they are sent the > system is sending way to many alerts through the pager feature. > > I am also unable to get the system to send the alerts via e-mail which is > odd cause the system is essentially sending an e-mail to our phones when > it is using the paging feature. > > Nay help would be greatly appreciated. > > Jason Snodgrass, A+, CCA, CLP > Network Support > Source Refrigeration & HVAC, Inc. > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mbailey at empoweredsystems.com Fri Mar 7 06:02:32 2003 From: mbailey at empoweredsystems.com (Michael Bailey) Date: Fri, 7 Mar 2003 05:02:32 +0000 Subject: Notify by email when comment added Message-ID: <20030307050232.C1167@empoweredsystems.com> Is it possible to have nagios send an email to contact groups when someone adds a comment? When there is an alert and someone is looking at the problem it would be handy for others to be notified what someone is workign on it. thanks, Mike ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Fri Mar 7 06:20:43 2003 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 06 Mar 2003 23:20:43 -0600 Subject: Notify by email when comment added In-Reply-To: <20030307050232.C1167@empoweredsystems.com> References: <20030307050232.C1167@empoweredsystems.com> Message-ID: <3E67D7CB.13874.13C2320@localhost> You probably want to use the acknowledgement feature instead of just a comment. An ack will send out a notification (if you tell it to) and a comment will automatically be added to the host/service in question. On 7 Mar 2003 at 5:02, Michael Bailey wrote: > Is it possible to have nagios send an email to contact groups when > someone adds a comment? When there is an alert and someone is looking at > the problem it would be handy for others to be notified what someone > is workign on it. > > thanks, > > Mike Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Mar 7 06:44:18 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 7 Mar 2003 16:44:18 +1100 Subject: plugin problems.... In-Reply-To: <3E67D611.6060300@nacs.net>; from briank@nacs.net on Thu, Mar 06, 2003 at 06:13:21PM -0500 References: <3E67D611.6060300@nacs.net> Message-ID: <20030307164414.A39112@IPAustralia.Gov.AU> Dear Sir, I would guess that your Nagios has the embedded Perl intrepreter support (ePN). If that is not the case, then please ignore this noise. Thank you for reporting a bug in check_ifstatus: the uninitialised variable is a coding fault. The ePN requires that all plugins be squeaky clean. The warning in check_ifstatus will lead to the ePN throwing the plugin out: it won't be run and you will get the default plugin output 'No putput'. I am using check_rpc with ePN. What version of check_rpc is it (check_rpc -V) ? You could try it with the program number (100003) instead tsitc> /usr/local/nagios/libexec/check_rpc -H oradev -C 100003 RPC ok: program (version 2) is running tsitc> If it works, then there is also a coding error with check_rpc. 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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 7 07:53:17 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 07 Mar 2003 07:53:17 +0100 Subject: Modifications of right bar References: <3626546DC152134382A0A029C29365C6076A0A@net-mail.int.netways.de> Message-ID: <3E6841DD.7050903@datavis.se> It's a home-modified version.. I generate the group-list per user based on a small config file. /FredrikW nagios-users wrote: >Hi ! >As I discovered on the page of http://apan.sourceforge.net/ in the >screenshot -> there >Is a nice modification of the right bar in cgi; displaying > >Groups under the the service detail button.... Is this a patch or just a >modified version ? > >Thankx Nik > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Fri Mar 7 08:48:54 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Fri, 07 Mar 2003 08:48:54 +0100 Subject: Some Minor Issues In-Reply-To: <20030306152343.28c3beb4.greg@intouch.ca> References: <20030306152343.28c3beb4.greg@intouch.ca> Message-ID: <3E684EE6.6020002@etsetb.upc.es> Greg Webster wrote: > I'm having the same issue, which has been narrowed down to not having the GD (gif, png, jpeg) libraries (base, devel, headers/includes) installed. This are the packages I installed to make nagios compile: - gd-devel-1.8.4-9 - libjpeg-devel-6b-21 - libpng-devel-1.2.2-8 either from the redhat CDs or updates. > > This isn't all that helpful for me due to Debian's silliness, but hopefully you have an easier time of it. > > Greg > > On Thu, 6 Mar 2003 13:33:24 -0800: JSnodgrass at sourcerefrigeration.com wrote: > >>I am missing the following files for Nagios 1.0 running on Red Hat 8.0 >>- Statusmap.cgi >>- Histogram.cgi >>- Trends.cgi Maybe you need nagios-www rpm. I built mine first downloading nagios-1.0.1 src.rpm from: ftp://development.origix.net/pub/SRPMS/ then # rpm -Uhv nagios ..src.rpm # rpmbuild -ba /usr/src/redhat/SPECS/nagios.spec -- frankie ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Fri Mar 7 10:06:44 2003 From: lejert at hotmail.com (le jert) Date: Fri, 07 Mar 2003 10:06:44 +0100 Subject: no output on check_mrtgtraf Message-ID: Hello ! I've installed mrtg and it's working well. I can see the bandwidth for each port of my switches. When I use it in nagios, I get the message 'No output' in the status information.log file seems to be well specifiated Could you tell me what is the reason of this problem ? running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 _________________________________________________________________ Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Fri Mar 7 10:25:25 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Fri, 7 Mar 2003 14:55:25 +0530 (IST) Subject: no output on check_mrtgtraf In-Reply-To: References: Message-ID: Hello, You use the command /usr/local/nagios/libexec/check_mrtgtraf -F -e 30 -w 307200,51200 -c 409600,614400 I think that this will solve your problem. Better you go for check_traffic Regards, Atul Shrivastava On Fri, 7 Mar 2003, le jert wrote: > > Hello ! > > > I've installed mrtg and it's working well. I can see the bandwidth for each > port of my switches. When I use it in nagios, I get the message 'No output' > in the status information.log file seems to be well specifiated > Could you tell me what is the reason of this problem ? > > > running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 > > _________________________________________________________________ > Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri Mar 7 10:59:50 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 7 Mar 2003 09:59:50 -0000 Subject: Help NRPE 1.8 won't work Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909EC8B@netfinity-1.foundation-it.local> From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] > > I need a little help on nrpe 1.8 > I Installed nrpe on a Linux Box running Nagios and a HP/UX > Server with the nrpe daemon. > > On the HP/UX Server the nrpe exec is installed in /usr/sbin. > Path is set correct. The config file is in > /usr/local/nagios/etc/nrpe.cfg nrpe is loaded in inetd.conf > > nrpe stream tcp nowait daemon /usr/sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd > [snip] > But as soon as I try to use the check_nrpe plugin I get an error... > > me at mon:/usr/lib/nagios/plugins> ./check_nrpe -H 10.x.x.x -c > check_load > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > What's wrong with it??? Second time this week this problem has come up, and it's really a problem with the documentation which only gives an inetd.conf example for tcpwrapper-ed systems (course all systems should be :). Here's the format for inetd.conf entries (taken from Solaris 8) # Syntax for socket-based Internet services: # is /usr/sbin/nrpe (in this case) but must also include argument 0, i.e. the server program again. So the correct inetd.conf entry is : nrpe stream tcp nowait daemon /usr/sbin/nrpe /usr/sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --inetd I'll submit a documentation patch as soon as I get the chance. Phil ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Fri Mar 7 12:13:37 2003 From: lejert at hotmail.com (le jert) Date: Fri, 07 Mar 2003 12:13:37 +0100 Subject: no output on check_mrtgtraf Message-ID: that's better : before I got critical for for the service, now I get a warning maybe I could adapt the parameters for -c and -w ... what do you think ??? >From: Atul Shrivastava >To: le jert >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] no output on check_mrtgtraf >Date: Fri, 7 Mar 2003 14:55:25 +0530 (IST) > >Hello, > >You use the command > >/usr/local/nagios/libexec/check_mrtgtraf -F -e 30 -w >307200,51200 -c 409600,614400 > >I think that this will solve your problem. Better you go for check_traffic > >Regards, > >Atul Shrivastava > > > >On Fri, 7 Mar 2003, le jert wrote: > > > > > Hello ! > > > > > > I've installed mrtg and it's working well. I can see the bandwidth for >each > > port of my switches. When I use it in nagios, I get the message 'No >output' > > in the status information.log file seems to be well specifiated > > Could you tell me what is the reason of this problem ? > > > > > > running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 > > > > _________________________________________________________________ > > Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The >debugger > > for complex code. Debugging C/C++ programs can leave you feeling lost >and > > disoriented. TotalView can help you find your way. Available on major >UNIX > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > >-- > >Regards and have a nice day, > Atul Shrivastava > Info Structure Services > HCL INFOSYSTEMS LTD. > E - 4,5,6 Sector XI, > Noida - 201301 > Tel: 91-120-2526910,2443013 > > > > > > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at alienn.net Fri Mar 7 12:36:32 2003 From: nagios-users at alienn.net (Nicki Messerschmidt, Linksystem Muenchen GmbH) Date: Fri, 7 Mar 2003 12:36:32 +0100 Subject: Debian Packages Message-ID: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi List, does anyone of you know, where to get recent debian packages for nagios, or even better a server, which I can put into my apt/sources.list...? Thanks in advance, Cheers Nicki - -- Linksystem Muenchen GmbH info at link-m.de Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use Comment: Keys at: https://www.link-m.de/pgp iQA/AwUBPmh2MOs1nPm17iBDEQL2VQCg614KS6D5shyjrQe7rTEaqjLXGt4AnAu6 GkhzkSQkAJa8S60J3x8kCEa4 =JJR3 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Fri Mar 7 14:20:02 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Fri, 07 Mar 2003 14:20:02 +0100 Subject: check_nagios Message-ID: <3E689C82.8090009@mobilcom.de> Hi, I couldn't find a solution for the following problem with google, so maybe someone has experienced this before ... check_nagios gives out the following ... nagios at monitor1-lx:~> /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios Nagios problem: located 80 processes, status log updated 1047042679 seconds ago though status.log is only some minutes old ... nagios at monitor1-lx:~> l var/status.log -rw-r--r-- 1 nagios nagios 0 M?r 7 13:50 var/status.log And the actual date is ok as well ... :-) nagios at monitor1-lx:~> date Fre M?r 7 14:14:28 MET 2003 Any hints where/what to look/check for? TIA, Jens -- Mit freundlichen Gr??en Jens Kruse Linux Systemadministration MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lou at ece.cmu.edu Fri Mar 7 14:29:49 2003 From: lou at ece.cmu.edu (Lou Anschuetz) Date: Fri, 07 Mar 2003 08:29:49 -0500 Subject: Scheduled downtime author Message-ID: <578901055.1047025789@beeblebrox.ece.cmu.edu> I seem to be unable to find any references to this in the documentation, FAQ, etc. but it wouldn't be the first time I failed to see the obvious. When someone writes the comments for a scheduled downtime it does create the file properly with that users name. The comments all show and work properly, but the author (on the web page) is always listed as "nagios process" rather than the authenticated user. Is there somewhere to get this information on the web page or can this field be somehow set to use the information in the file? TIA! Lou Anschuetz, lou at ece.cmu.edu Network Manager, ECE Department, CMU 412-512-6052 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Mar 7 15:06:57 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 7 Mar 2003 22:06:57 +0800 Subject: status log Message-ID: <200303072207.01589.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, Can someone explained this? I have checked nagios seems to be ok but I am having this error in checking nagios. Nagios problem: located 2 processes, status log updated 1047045905 seconds ago - --Warmest Regards, Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6802 Fax: 6441 5119 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+aKeENgvTa7Hj2AURAvOJAKCvVrZOW9J9yuFTPKlu2NfY+0FvpgCggXlN 4hjs3u+9MZ2ZmwlSeovT0is= =njkK -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Mar 7 15:13:10 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 7 Mar 2003 22:13:10 +0800 Subject: Fwd: check_nagios In-Reply-To: <3E689C82.8090009@mobilcom.de> References: <3E689C82.8090009@mobilcom.de> Message-ID: <200303072213.11254.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I have the same problem too. And, would like to know hows its being solved. - -rw-r--r-- 1 root root 0 Mar 7 22:05 status.log Time on checking: Fri Mar 7 22:12:44 SGT 2003 On Friday 07 March 2003 21:20, Jens Kruse wrote: > Hi, > > I couldn't find a solution for the following problem with google, so > maybe someone has experienced this before ... > > check_nagios gives out the following ... > > nagios at monitor1-lx:~> /usr/local/nagios/libexec/check_nagios -F > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios > Nagios problem: located 80 processes, status log updated 1047042679 > seconds ago > > though status.log is only some minutes old ... > > nagios at monitor1-lx:~> l var/status.log > -rw-r--r-- 1 nagios nagios 0 M?r 7 13:50 var/status.log > > And the actual date is ok as well ... :-) > > nagios at monitor1-lx:~> date > Fre M?r 7 14:14:28 MET 2003 > > Any hints where/what to look/check for? > > TIA, Jens - -- Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6802 Fax: 6441 5119 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+aKj2NgvTa7Hj2AURAsBnAJ9Tw4btczYNe65WHFfvnamMSeqioACglf0I 2RjhlDlw36f444omuDsijG8= =h1BP -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Fri Mar 7 15:27:39 2003 From: lejert at hotmail.com (le jert) Date: Fri, 07 Mar 2003 15:27:39 +0100 Subject: [Res]: no output on check_mrtgtraf Message-ID: Ok things look goog now Thanks >From: Atul Shrivastava >To: le jert >Subject: Re: [Nagios-users] no output on check_mrtgtraf >Date: Fri, 7 Mar 2003 17:16:13 +0530 (IST) > >Yes, then you have to change the parameters for the critical annd warning >values. > >Atul Shrivastava > > >On Fri, 7 Mar 2003, le jert wrote: > > > > > > > that's better : before I got critical for for the service, now I get a > > warning > > maybe I could adapt the parameters for -c and -w ... what do you think >??? > > > > > > > > > > > > >From: Atul Shrivastava > > >To: le jert > > >CC: nagios-users at lists.sourceforge.net > > >Subject: Re: [Nagios-users] no output on check_mrtgtraf > > >Date: Fri, 7 Mar 2003 14:55:25 +0530 (IST) > > > > > >Hello, > > > > > >You use the command > > > > > >/usr/local/nagios/libexec/check_mrtgtraf -F -e 30 -w > > >307200,51200 -c 409600,614400 > > > > > >I think that this will solve your problem. Better you go for >check_traffic > > > > > >Regards, > > > > > >Atul Shrivastava > > > > > > > > > > > >On Fri, 7 Mar 2003, le jert wrote: > > > > > > > > > > > Hello ! > > > > > > > > > > > > I've installed mrtg and it's working well. I can see the bandwidth >for > > >each > > > > port of my switches. When I use it in nagios, I get the message 'No > > >output' > > > > in the status information.log file seems to be well specifiated > > > > Could you tell me what is the reason of this problem ? > > > > > > > > > > > > running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0 > > > > > > > > _________________________________________________________________ > > > > Hotmail: votre e-mail gratuit ! http://www.fr.msn.be/hotmail > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > >debugger > > > > for complex code. Debugging C/C++ programs can leave you feeling >lost > > >and > > > > disoriented. TotalView can help you find your way. Available on >major > > >UNIX > > > > and Linux platforms. Try it free. www.etnus.com > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > >reporting any issue. > > > > ::: Messages without supporting info will risk being sent to >/dev/null > > > > > > > > > >-- > > > > > >Regards and have a nice day, > > > Atul Shrivastava > > > Info Structure Services > > > HCL INFOSYSTEMS LTD. > > > E - 4,5,6 Sector XI, > > > Noida - 201301 > > > Tel: 91-120-2526910,2443013 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > >This SF.net email is sponsored by: Etnus, makers of TotalView, The >debugger > > >for complex code. Debugging C/C++ programs can leave you feeling lost >and > > >disoriented. TotalView can help you find your way. Available on major >UNIX > > >and Linux platforms. Try it free. www.etnus.com > > >_______________________________________________ > > >Nagios-users mailing list > > >Nagios-users at lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >::: Please include Nagios version, plugin version (-v) and OS when > > >reporting any issue. > > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > _________________________________________________________________ > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The >debugger > > for complex code. Debugging C/C++ programs can leave you feeling lost >and > > disoriented. TotalView can help you find your way. Available on major >UNIX > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > >-- > >Regards and have a nice day, > Atul Shrivastava > Info Structure Services > HCL INFOSYSTEMS LTD. > E - 4,5,6 Sector XI, > Noida - 201301 > Tel: 91-120-2526910,2443013 > > > > > > _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Fri Mar 7 15:28:46 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Fri, 7 Mar 2003 06:28:46 -0800 Subject: Debian Packages In-Reply-To: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> References: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> Message-ID: <20030307142846.GA16833@UnderGrid.net> You can add the following to get the nagios package on your machine: deb http://http.us.debian.org/debian unstable main contrib non-free Then you would 'apt-get install' either nagios-text, nagios-mysql or nagios-pgsql... Although nagios-text would be the build most like the older netsaint package... It is maintained by Turbo Fredriksson who also maintained the netsaint packages. Jeremy On Fri, Mar 07, 2003 at 12:36:32PM +0100, Nicki Messerschmidt, Linksystem Muenchen GmbH wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi List, > does anyone of you know, where to get recent debian packages for > nagios, or even better a server, which I can put into my > apt/sources.list...? > > > Thanks in advance, > Cheers > Nicki > > - -- > Linksystem Muenchen GmbH info at link-m.de > Schloerstrasse 10 http://www.link-m.de > 80634 Muenchen Tel. 089 / 890 518-0 > We make the Net work. Fax 089 / 890 518-77 > > -----BEGIN PGP SIGNATURE----- > Version: PGPfreeware 6.5.3 for non-commercial use > Comment: Keys at: https://www.link-m.de/pgp > > iQA/AwUBPmh2MOs1nPm17iBDEQL2VQCg614KS6D5shyjrQe7rTEaqjLXGt4AnAu6 > GkhzkSQkAJa8S60J3x8kCEa4 > =JJR3 > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Mar 7 15:37:14 2003 From: ric at nkn.net (Ric Moseley) Date: Fri, 7 Mar 2003 08:37:14 -0600 Subject: trouble tickets into nagios In-Reply-To: <200303072213.11254.jasmine.chua@securecirt.com> References: <200303072213.11254.jasmine.chua@securecirt.com> Message-ID: <004b01c2e4b7$0c967410$1bd010ac@theplanet.com> Does anyone know how to insert trouble tickets (or the like) into the nagios web interface to look like a server that is down? I would like if someone starts a ticket though our trouble ticket system that a message is sent to nagios and then an event pops up in the web interface to reboot a server or something? Thanks. Ric. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesus_navarro at undominio.net Fri Mar 7 15:42:06 2003 From: jesus_navarro at undominio.net (=?ISO-8859-1?Q?Jes=FAs?= M. NAVARRO) Date: 07 Mar 2003 15:42:06 +0100 Subject: Debian Packages In-Reply-To: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> References: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> Message-ID: <1047048126.25517.2.camel@mithrandir> Hi: On Fri, 2003-03-07 at 12:36, Nicki Messerschmidt, Linksystem Muenchen GmbH wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi List, > does anyone of you know, where to get recent debian packages for > nagios, or even better a server, which I can put into my > apt/sources.list...? > http://apt-get.org/search.php -- SALUD, Jes?s *** jesus_navarro at undominio.net *** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prisoner at addventure.com Fri Mar 7 13:20:25 2003 From: prisoner at addventure.com (Allen S. Firstenberg) Date: Fri, 07 Mar 2003 07:20:25 -0500 Subject: notification_period and service escalation Message-ID: <20030307072025.30103@addventure.com> We have a situation that I'm having trouble finding a good solution for. For some of our services, we do email notifications. If the problem isn't resolved after 30 minutes, we start paging people every 30 minutes. Service escalations are ideal for this. We wish to change it so that if it is outside certain hours, the pages occur every hour instead. A "notification_interval" field for service escalation doesn't seem to exist (I'm using an older version, but the latest documentation doesn't seem to indicate it has been added.) I've tried the following in a test (reducing the test intervals to 5 and 10 minutes): I have two timeperiods defined "time-even" and "time-odd" which define the even and odd hours of the day respectively. They're long, so I won't reprint them. define contact{ contact_name prisoner-1 alias Allen "Prisoner" Firstenberg email prisoner-1 at nagios.addventure.com service_notification_period time-even service_notification_options w,u,c,r service_notification_commands notify-by-email host_notification_period time-even host_notification_options d,u,r host_notification_commands host-notify-by-email } define contact{ contact_name prisoner-2 alias Allen "Prisoner" Firstenberg email prisoner-2 at nagios.addventure.com service_notification_period time-odd service_notification_options w,u,c,r service_notification_commands notify-by-email host_notification_period time-odd host_notification_options d,u,r host_notification_commands host-notify-by-email } define contactgroup{ contactgroup_name contact-1 alias All Administrators members prisoner-1 } define contactgroup{ contactgroup_name contact-2 alias All Administrators members prisoner-2 } define service{ name service-generic active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r register 0 ; DONT REGISTER THIS DEFINITION } define service{ host_name radar service_description test notification_interval 5 use service-generic contact_groups all-users check_command check-test } define serviceescalation{ host_name radar service_description test contact_groups contact-1 first_notification 2 last_notification 0 notification_interval 5 } define serviceescalation{ host_name radar service_description test contact_groups contact-2 first_notification 2 last_notification 0 notification_interval 10 } What I expected was that the contact-2 group would receive notifications no more frequently than once every 10 minutes since its the only group valid during the odd hours. Instead, both groups get notifications every 5 minutes during their hour ranges (so the user notification periods work, the mail works, and the test itself works). The documentation _does_ say that it uses the lowest notification_interval for overlapping escalations, so this is not entirely unexpected, just a little odd since one of the escalations is ultimately never used half the time. I know I can implement this as separate _services_ that nave their own notification_periods, but this would double the number of services we have on the display page, which would be undesirable. Other thoughts about how to implement this or suggestions for where to start looking in the code to implement escalation notification_periods would be appreciated. I've been testing this using Nagios 1.0b5, but didn't see anything in later documentation to indicate this has changed. Thanks for your thoughts on this, your help, and this great system. Allen ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JTorres at abnamroprime.com Fri Mar 7 15:39:07 2003 From: JTorres at abnamroprime.com (Torres, Joe) Date: Fri, 7 Mar 2003 09:39:07 -0500 Subject: (no subject) Message-ID: <9F6689758D87D51191180002A55CB988067FF37C@pb350exc.ingprime.com> Help Question Once you setup your nrpe daemon on your remote host how do you setup the service for this? Do you setup the check_nrpe command on the nagios server under the services.cfg file and how because the doc is not to clear For example if I am checking PING on the remote server do I setup the services.cfg file on nagios With the following command Check_nrpe!check_ping -w 30 -c 20 ? Thanks for your help Joe Torres Prime Brokerage I.T. ABN AMRO Incorporated 350 Park Ave. New York,N.Y.10022 Phone-212 251-3924 Fax-212 251-3950 Email-jtorres at abnamroprime.com This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. ABN AMRO Bank N.V. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesus_navarro at undominio.net Fri Mar 7 15:50:05 2003 From: jesus_navarro at undominio.net (=?ISO-8859-1?Q?Jes=FAs?= M. NAVARRO) Date: 07 Mar 2003 15:50:05 +0100 Subject: Fwd: check_nagios In-Reply-To: <200303072213.11254.jasmine.chua@securecirt.com> References: <3E689C82.8090009@mobilcom.de> <200303072213.11254.jasmine.chua@securecirt.com> Message-ID: <1047048605.23108.6.camel@mithrandir> Hi: On Fri, 2003-03-07 at 15:13, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi I have the same problem too. And, would like to know hows its being solved. > - -rw-r--r-- 1 root root 0 Mar 7 22:05 status.log > Time on checking: Fri Mar 7 22:12:44 SGT 2003 > Hummm... it's a 0 length file owned by root (and only root can write to it). > On Friday 07 March 2003 21:20, Jens Kruse wrote: > > Hi, > > > > I couldn't find a solution for the following problem with google, so > > maybe someone has experienced this before ... > > > > check_nagios gives out the following ... > > > > nagios at monitor1-lx:~> /usr/local/nagios/libexec/check_nagios -F > > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios > > Nagios problem: located 80 processes, status log updated 1047042679 > > seconds ago > > > > though status.log is only some minutes old ... > > > > nagios at monitor1-lx:~> l var/status.log > > -rw-r--r-- 1 nagios nagios 0 M?r 7 13:50 var/status.log > > Well... here it's zero length too but owned by nagios user... Anyway, can the user agent write to the given file? (maybe it's neither root nor nagios). -- SALUD, Jes?s *** jesus_navarro at undominio.net *** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Fri Mar 7 15:54:35 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Fri, 7 Mar 2003 15:54:35 +0100 Subject: Fwd: check_nagios In-Reply-To: <200303072213.11254.jasmine.chua@securecirt.com>; from jasmine.chua@securecirt.com on Fri, Mar 07, 2003 at 10:13:10PM +0800 References: <3E689C82.8090009@mobilcom.de> <200303072213.11254.jasmine.chua@securecirt.com> Message-ID: <20030307155435.E1444@hpce.nec.com> On Fri, Mar 07, 2003 at 10:13:10PM +0800, Jasmine wrote: > On Friday 07 March 2003 21:20, Jens Kruse wrote: > > > > I couldn't find a solution for the following problem with google, so > > maybe someone has experienced this before ... > > > > check_nagios gives out the following ... > > > > nagios at monitor1-lx:~> /usr/local/nagios/libexec/check_nagios -F > > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios > > Nagios problem: located 80 processes, status log updated 1047042679 > > seconds ago > > > > though status.log is only some minutes old ... > > > > nagios at monitor1-lx:~> l var/status.log > > -rw-r--r-- 1 nagios nagios 0 M?r 7 13:50 var/status.log > > Hi I have the same problem too. And, would like to know hows its > being solved. > - -rw-r--r-- 1 root root 0 Mar 7 22:05 status.log > Time on checking: Fri Mar 7 22:12:44 SGT 2003 Simple: By making use of the file. You will notice that both your files are empty, and if you had looked into the plugin source you could have noticed the line: /* get the date/time of the last item updated in the log */ I didn't have a closer look at the source (but it works for me with: -rw-rw-r-- 1 user group 49078 Mar 7 15:51 status.log and a "Nagios ok: located 167 processes, status log updated 9 seconds ago" returned from the plugin). But I would think the guess is pretty obvious. Rasmus ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFinn at studentadvantage.com Fri Mar 7 15:49:08 2003 From: DFinn at studentadvantage.com (Daniel Finn) Date: Fri, 7 Mar 2003 09:49:08 -0500 Subject: Nagios mailing list (check_snmp) .... Message-ID: <80C364880EDAD511BE39009027B0DCB80434507A@RAINBOW2> No, I downloaded and compiled the most recent version they offer on thier site and it's still broken. Unfortunately I wasn't getting much help from people on here so I wrote my own simple script that uses snmpget and either returns OK or CRITICAL and why. -----Original Message----- From: Rookwell at t-online.de [mailto:Rookwell at t-online.de] Sent: Friday, March 07, 2003 1:46 AM To: DFinn at studentadvantage.com Subject: Nagios mailing list (check_snmp) .... Hi, do you fix the check_snmp problem? I want to check the netbios-sessions on a w2k-server, but it always return "Warning....". Rookwell (Germany) Sorry, my english is not so good! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bas.vanderveen at kahuna.nl Fri Mar 7 16:04:18 2003 From: bas.vanderveen at kahuna.nl (Bas van der Veen) Date: Fri, 7 Mar 2003 16:04:18 +0100 Subject: After svc recovery, host still down | Svc warning results in host down Message-ID: Hi, I got Nagios up and running just fine on FreeBSD. It pings around for 92 hosts, everything is working fine as long as everything is ok :) I am experiencing trouble with 2 things: 1) I have defined a ping service (with check_ping) for each host (apart from the check-host-alive host command). If the service fails and the state becomes critical, both the 'Hosts' and 'Services' pane (tactical overview) show the critical state. However, if the service state becomes OK again, the host state doesn't change. When I look at the hosts via the 'Hosts'pane (tac. overview), all the critical hosts are shown including the host for which the state changed to OK. The state is even printed in green! What am I doing wrong here? I looked at the manual, especially the part on state changes, but couldn't find the answer :( 2) With check ping, you can define a warning level and a critical level. If the ping results in a value that triggers a warning, the service is being marked 'warning', the host is being marked down. This surprises me, as this is only a warning about packet loss or a high RTA value. My question: a ping warning result equals host down? Thanks in advance, Bas sample host and svc definition: ------------ # nl_test host definition define host { use generic-host host_name nl_test alias alias address 62.177.182.x check_command check-host-alive max_check_attempts 10 notification_interval 0 notification_period 5x12 notification_options d } # # Service definition # define service{ use generic-service host_name nl_test service_description hst_ping_24x7_5x12 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups on_call_support notification_interval 0 notification_period 5x12 notification_options c check_command check_ping!4000.0,50%!5000.0,60% } --------------- -----Original Message----- From: Daniel Finn [mailto:DFinn at studentadvantage.com] Sent: donderdag 6 maart 2003 19:14 To: 'Carroll, Jim P [Contractor]'; Daniel Finn; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] problems using check_snmp to monitor sendmail The way our mail app is setup we do need sendmail to listen on localhost:25 and only there. We've considered allowing the nagios server access to port 25 on each machine but it would mean tweaking the sendmail config on 50+ servers. At this point for ease of management it's much easier to have every server run the same sendmail.cf. -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Thursday, March 06, 2003 12:44 PM To: 'Daniel Finn'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] problems using check_snmp to monitor sendmail I can't comment on the SNMP approach, but I'm curious: Do you need to have sendmail listening on socket 127.0.0.1:25? I usually disable the listen functionality of sendmail for outbound-only hosts. Alternatively, if you're going to have sendmail listen on port 25 at all, you could permit connections from your Nagios server. (I know, it would mean tweaking all the hosts that you're interested in monitoring....) Food for thought. jc > -----Original Message----- > From: Daniel Finn [mailto:DFinn at studentadvantage.com] > Sent: Thursday, March 06, 2003 10:42 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] problems using check_snmp to monitor sendmail > > > I'm having issues trying to implement check_snmp to monitor > the status of > sendmail. Your first question is why am I not just using > check_smtp, it's > because all the mail servers that I need to implement this on > only listen on > 127.0.0.1:25. > > I've enabled the MIB or OID in snmpd.conf on the test box and > that appears > to be working fine: > > [root at sadqalx38 plugins]# snmpwalk -v 1 l52m-be sapublic > .1.3.6.1.4.1.2021.2 > > enterprises.ucdavis.prTable.prEntry.prIndex.1 = 1 > enterprises.ucdavis.prTable.prEntry.prNames.1 = sendmail > enterprises.ucdavis.prTable.prEntry.prMin.1 = 1 > enterprises.ucdavis.prTable.prEntry.prMax.1 = 10 > enterprises.ucdavis.prTable.prEntry.prCount.1 = 2 > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 = 0 > enterprises.ucdavis.prTable.prEntry.prErrMessage.1 = > enterprises.ucdavis.prTable.prEntry.prErrFix.1 = 0 > enterprises.ucdavis.prTable.prEntry.prErrFixCmd.1 = > > [root at sadqalx38 plugins]# snmpwalk -v 1 -On l52m-be sapublic > .1.3.6.1.4.1.2021.2 > .1.3.6.1.4.1.2021.2.1.1.1 = 1 > .1.3.6.1.4.1.2021.2.1.2.1 = sendmail > .1.3.6.1.4.1.2021.2.1.3.1 = 1 > .1.3.6.1.4.1.2021.2.1.4.1 = 10 > .1.3.6.1.4.1.2021.2.1.5.1 = 3 > .1.3.6.1.4.1.2021.2.1.100.1 = 0 > .1.3.6.1.4.1.2021.2.1.101.1 = > .1.3.6.1.4.1.2021.2.1.102.1 = 0 > .1.3.6.1.4.1.2021.2.1.103.1 = > > > So, it appears I can either monitor > enterprises.ucdavis.prTable.prEntry.prCount.1 which lists the > number of > sendmail processes running or > enterprises.ucdavis.prTable.prEntry.prErrorFlag.1 which is 0 > when sendmail > is running or 1 when it's either not running or there are > more procs running > than what you've specified acceptible (10 in this case). > > > Here's the problem I'm having with the snmp_check program. It always > reports back that it's either at a WARNING state or a CRITICAL state. > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > SNMP WARNING - 1 > > > Am I doing something wrong. Shouldn't it return OK because > the value it's > returning is between 1 and 10? Now if I change the warning > and critical > threshholds to be outside of what it's returning I get : > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > SNMP CRITICAL - *1* > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this > system and I still have the same problem. If anyone could > help that would > be great. Also, I'm not subscribed to this list so if you > could reply to me > via email that would be great. > > Thanks > Dan Finn > Unix Systems Administrator > Student Advantage Inc > dfinn at studentadvantage.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ****************************************************************** This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. ****************************************************************** http://www.kahuna.nl ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Fri Mar 7 16:02:16 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Fri, 7 Mar 2003 16:02:16 +0100 Subject: status log In-Reply-To: <200303072207.01589.jasmine.chua@securecirt.com>; from jasmine.chua@securecirt.com on Fri, Mar 07, 2003 at 10:06:57PM +0800 References: <200303072207.01589.jasmine.chua@securecirt.com> Message-ID: <20030307160216.F1444@hpce.nec.com> On Fri, Mar 07, 2003 at 10:06:57PM +0800, Jasmine wrote: > > Can someone explained this? I have checked nagios seems to be ok but I am > having this error in checking nagios. > Nagios problem: located 2 processes, status log updated 1047045905 > seconds ago Just out of curiosity: Do you expect a higher chance for a reply if you send the same question twice in different threads? And does it work? Because I'm still looking for a reliable method to make people answer/help me... Rasmus ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cian at logic.bm Fri Mar 7 16:07:00 2003 From: Cian at logic.bm (Cian O'Sullivan) Date: Fri, 7 Mar 2003 11:07:00 -0400 Subject: Graphing service check results with cricket? Message-ID: I have a comprehensive cricket setup, and a very big Netsaint setup. I will be moving to nagios shortly. Before I do that, what is the best way to graph the service check results via cricket? Are there any scripts that can read the service check logs, parse the info into a form I can import with ease to RRD? Has anyone worked on anything like this? Thanks very much. cian ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jstuart at edenpr.k12.mn.us Fri Mar 7 16:09:41 2003 From: jstuart at edenpr.k12.mn.us (Joe Stuart) Date: Fri, 07 Mar 2003 09:09:41 -0600 Subject: Services disappear Message-ID: Hi, I have a slight problem with services not showing up in the web interface. I have about 84 entries with 44 of them being hosts. It will consistently show 55 of the entries and randomly display all 84 at once. Then after the next refresh it will revert back to showing only 55 entries and there doesnt seem to be any ryme or reason to it. I'm running nagios version 1.0 on redhat 7.3. Any help would be appreciated. Thanks, Joe ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rburnson at cps.k12.il.us Fri Mar 7 16:30:18 2003 From: rburnson at cps.k12.il.us (Burnson, Richard) Date: Fri, 7 Mar 2003 09:30:18 -0600 Subject: Services disappear Message-ID: Typically this indicates that you have multiple instances of Nagios running. With RedHat you can run "service Nagios stop", to stop the process, and then run "ps -ef | grep Nagios" to see if any rogue Nagios processes are running. Richard -----Original Message----- From: Joe Stuart [mailto:jstuart at edenpr.k12.mn.us] Sent: Friday, March 07, 2003 9:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Services disappear Hi, I have a slight problem with services not showing up in the web interface. I have about 84 entries with 44 of them being hosts. It will consistently show 55 of the entries and randomly display all 84 at once. Then after the next refresh it will revert back to showing only 55 entries and there doesnt seem to be any ryme or reason to it. I'm running nagios version 1.0 on redhat 7.3. Any help would be appreciated. Thanks, Joe ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jstuart at edenpr.k12.mn.us Fri Mar 7 16:35:45 2003 From: jstuart at edenpr.k12.mn.us (Joe Stuart) Date: Fri, 07 Mar 2003 09:35:45 -0600 Subject: Services disappear Message-ID: Thank you very much. I was breaking my back over the config files and never thought of that. >>> "Burnson, Richard" 03/07/03 07:30AM >>> Typically this indicates that you have multiple instances of Nagios running. With RedHat you can run "service Nagios stop", to stop the process, and then run "ps -ef | grep Nagios" to see if any rogue Nagios processes are running. Richard -----Original Message----- From: Joe Stuart [mailto:jstuart at edenpr.k12.mn.us] Sent: Friday, March 07, 2003 9:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Services disappear Hi, I have a slight problem with services not showing up in the web interface. I have about 84 entries with 44 of them being hosts. It will consistently show 55 of the entries and randomly display all 84 at once. Then after the next refresh it will revert back to showing only 55 entries and there doesnt seem to be any ryme or reason to it. I'm running nagios version 1.0 on redhat 7.3. Any help would be appreciated. Thanks, Joe ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 16:34:45 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 07 Mar 2003 10:34:45 -0500 (EST) Subject: Nagios mailing list (check_snmp) .... In-Reply-To: <80C364880EDAD511BE39009027B0DCB80434507A@RAINBOW2> References: <80C364880EDAD511BE39009027B0DCB80434507A@RAINBOW2> Message-ID: >From my message on thursday.. ---------- Forwarded message ---------- Date: Thu, 6 Mar 2003 12:48:07 -0500 (EST) From: Subhendu Ghosh To: "'nagios-users at lists.sourceforge.net'" Subject: Re: [Nagios-users] problems using check_snmp to monitor sendmail On Thu, 6 Mar 2003, Daniel Finn wrote: > > Here's the problem I'm having with the snmp_check program. It always > reports back that it's either at a WARNING state or a CRITICAL state. > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > SNMP WARNING - 1 > > > Am I doing something wrong. Shouldn't it return OK because the value it's > returning is between 1 and 10? Now if I change the warning and critical > threshholds to be outside of what it's returning I get : > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > SNMP CRITICAL - *1* > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this > system and I still have the same problem. If anyone could help that would > be great. Also, I'm not subscribed to this list so if you could reply to me > via email that would be great. > The WARNING in the first case may be due to output on the stderr. Try the command with with "-m : " to prevent loading the mibs. On Fri, 7 Mar 2003, Daniel Finn wrote: > No, I downloaded and compiled the most recent version they offer on thier > site and it's still broken. Unfortunately I wasn't getting much help from > people on here so I wrote my own simple script that uses snmpget and either > returns OK or CRITICAL and why. > > -----Original Message----- > From: Rookwell at t-online.de [mailto:Rookwell at t-online.de] > Sent: Friday, March 07, 2003 1:46 AM > To: DFinn at studentadvantage.com > Subject: Nagios mailing list (check_snmp) .... > > > Hi, > > do you fix the check_snmp problem? > I want to check the netbios-sessions on a w2k-server, but it always return > "Warning....". > > Rookwell (Germany) > > Sorry, my english is not so good! > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jay.pike at corecomm.com Fri Mar 7 16:25:10 2003 From: jay.pike at corecomm.com (Jay Pike) Date: Fri, 7 Mar 2003 10:25:10 -0500 Subject: Issue with downtime reporting. Message-ID: <20030307152509.GK14102@net-link.net> Hello all, I seem to be having an issue with Nagios Availability reporting functionality. Anytime a outage occurs during a scheduled downtime, Nagios reports that as unscheduled downtime (see attached image). Information about what I'm running: Debian Linux Unstable (only distro carrying Nagios) Nagios version 1.0 (nagios-mysql 1.0-6) The Nagios installation is mysql based (which I'm worried is the reason this is happening). jp -- __________________________________________________________________ / \ | James J. Pike Jr. Phone: 888.747.4638 | | Systems Engineer Direct Phone: 517-664-8610 | | CoreComm Inc. Http: http://www.core.com/ | | EMail: jay.pike at corecomm.com | | PGPKey: http://my.voyager.net/jaypike/pgpkey.txt | \ / ------------------------------------------------------------------ -------------- next part -------------- A non-text attachment was scrubbed... Name: screencap1.jpg Type: image/jpeg Size: 221535 bytes Desc: not available URL: From drich at employees.org Fri Mar 7 16:28:54 2003 From: drich at employees.org (Dan Rich) Date: Fri, 7 Mar 2003 07:28:54 -0800 (PST) Subject: Services disappear In-Reply-To: References: Message-ID: <38954.63.237.201.12.1047050934.squirrel@www.lapseofthought.com> Joe Stuart said: > I have a slight problem with services not showing up in the web > interface. I have about 84 entries with 44 of them being hosts. It will > consistently show 55 of the entries and randomly display all 84 at once. > Then after the next refresh it will revert back to showing only 55 > entries and there doesnt seem to be any ryme or reason to it. I'm > running nagios version 1.0 on redhat 7.3. Any help would be > appreciated. Make sure you do not have multiple copies of nagios running. I have seen things like this happen multiple times when a restart doesn't kill off the old copy of nagios. You end up with one copy running against your new config file and one copy running against an older version of the config. When you connect to the web interface, sometimes you get information from one, sometimes from the other. -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFinn at studentadvantage.com Fri Mar 7 16:51:46 2003 From: DFinn at studentadvantage.com (Daniel Finn) Date: Fri, 7 Mar 2003 10:51:46 -0500 Subject: Nagios mailing list (check_snmp) .... Message-ID: <80C364880EDAD511BE39009027B0DCB80434507B@RAINBOW2> I don't remember seeing that email from you but that doesn't fix the problem. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, March 07, 2003 10:35 AM To: Daniel Finn Cc: 'Rookwell at t-online.de'; 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] RE: Nagios mailing list (check_snmp) .... >From my message on thursday.. ---------- Forwarded message ---------- Date: Thu, 6 Mar 2003 12:48:07 -0500 (EST) From: Subhendu Ghosh To: "'nagios-users at lists.sourceforge.net'" Subject: Re: [Nagios-users] problems using check_snmp to monitor sendmail On Thu, 6 Mar 2003, Daniel Finn wrote: > > Here's the problem I'm having with the snmp_check program. It always > reports back that it's either at a WARNING state or a CRITICAL state. > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > SNMP WARNING - 1 > > > Am I doing something wrong. Shouldn't it return OK because the value it's > returning is between 1 and 10? Now if I change the warning and critical > threshholds to be outside of what it's returning I get : > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > SNMP CRITICAL - *1* > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this > system and I still have the same problem. If anyone could help that would > be great. Also, I'm not subscribed to this list so if you could reply to me > via email that would be great. > The WARNING in the first case may be due to output on the stderr. Try the command with with "-m : " to prevent loading the mibs. On Fri, 7 Mar 2003, Daniel Finn wrote: > No, I downloaded and compiled the most recent version they offer on thier > site and it's still broken. Unfortunately I wasn't getting much help from > people on here so I wrote my own simple script that uses snmpget and either > returns OK or CRITICAL and why. > > -----Original Message----- > From: Rookwell at t-online.de [mailto:Rookwell at t-online.de] > Sent: Friday, March 07, 2003 1:46 AM > To: DFinn at studentadvantage.com > Subject: Nagios mailing list (check_snmp) .... > > > Hi, > > do you fix the check_snmp problem? > I want to check the netbios-sessions on a w2k-server, but it always return > "Warning....". > > Rookwell (Germany) > > Sorry, my english is not so good! > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Mar 7 17:08:47 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 7 Mar 2003 10:08:47 -0600 Subject: Graphing service check results with cricket? Message-ID: http://apan.sourceforge.net/ > -----Original Message----- > From: Cian O'Sullivan [mailto:Cian at logic.bm] > Sent: Friday, March 07, 2003 9:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Graphing service check results with cricket? > > > I have a comprehensive cricket setup, and a very big Netsaint > setup. I will be moving to nagios shortly. Before I do > that, what is the best way to graph the service check results > via cricket? Are there any scripts that can read the service > check logs, parse the info into a form I can import with ease > to RRD? Has anyone worked on anything like this? > > Thanks very much. > > cian > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Fri Mar 7 17:33:26 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Fri, 7 Mar 2003 11:33:26 -0500 Subject: SMB Pop-up Message-ID: <880E60DA7286AB4CBEECB01B169A63BD02867679@NJ-2K-Email1.delphi-tech.com> Just to let you know, we've been using the smb pop-up for a few days now. The smb-tng smbclient didn't like the usernames as much, so I dropped back to putting in just host names that I know of. As a third tier to this, we'll be adding cell text messages, so smb pop-ups won't be the last line of defense. Thanks so much for your help -Dave -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, March 05, 2003 12:40 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMB Pop-up Steve, Just to let you know, and all others, I followed your directions exactly and everything worked perfectly the first time! Also, I too am interested in this non-standard notification that you use ;-) -----Original Message----- From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] Sent: Wednesday, March 05, 2003 10:30 AM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] SMB Pop-up Hi Steve, Could you post the script to the list? I'm interested... :-D Thanks & Regards, Hagen Deike > -----Original Message----- > From: Steve Freegard [mailto:steve.freegard at lbsltd.co.uk] > Sent: Mittwoch, 5. M?rz 2003 15:52 > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] SMB Pop-up > > - > the general consensus was that you could put multiple entries entries into > the e-mail or pager variables as no checking is done on the Nagios end, > and > that you could delimit them and use a notification script that strips the > values out and does the different notifications to both. > > I do something similar to what you are proposing and use two contacts - > one > for working hours, and one for out-of-hours support with the working hours > receiving the winpopup's, and the out-of-hours getting a SMS using > sendpage > and this works pretty well for me. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From briank at nacs.net Fri Mar 7 17:52:25 2003 From: briank at nacs.net (Brian Kosick) Date: Fri, 07 Mar 2003 11:52:25 -0500 Subject: plugin problems.... In-Reply-To: <20030307164414.A39112@IPAustralia.Gov.AU> References: <3E67D611.6060300@nacs.net> <20030307164414.A39112@IPAustralia.Gov.AU> Message-ID: <3E68CE49.6040400@nacs.net> Thanks for the reply, No I did not even have epn compiled, which I promptly did. nagios -m Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL External Data I/O ----------------- Object Data: TEMPLATE Status Data: DATABASE (MySQL) Retention Data: DATABASE (MySQL) Comment Data: DATABASE (MySQL) Downtime Data: DATABASE (MySQL) Performance Data: FILE Options ------- * Embedded Perl compiler (With caching) BTW, I've been building RPM's from the tar files, and whoever is in charge of the rpm specs may like to know that p1.pl is not in the rpm. I had to manually copy it over to /usr/sbin. I also got the mini_epn (which also is not in the rpm) Here's my results from the command line and via mini_epn ./check_ifstatus -H XXX.XXX.XXX.XXX.X Use of uninitialized value in sprintf at ./check_ifstatus line 194. CRITICAL: host 'XXX.XXX.XXX.X', interfaces up: 30, down: 1, dormant: 0
DS3 Controller B -- Standby: down ->
./mini_epn Enter file name: check_ifstatus -H XXX.XXX.XXX.X embedded perl plugin output was -2,CRITICAL: host 'XXX.XXX.XXX.X', interfaces up: 30, down: 1, dormant: 0
DS3 Controller B -- Standby: down ->
Enter file name: ERROR: No snmp response from XXX.XXX.XXX.X (alarm timeout) ExitTrap: 3 (Embed::check_5fifstatus) at (eval 1) line 4. ^^^^And after about 10 seconds this pops up and mini_epm exits ^^^^ Here's the check_rpc stuff ./check_rpc -H ginger -C nfs OK: RPC program nfs version 2 version 3 udp running ./mini_epn Enter file name: check_rpc -H ginger -C nfs embedded perl plugin output was -2,OK: RPC program nfs version 2 version 3 udp running Enter file name: ERROR: No response from RPC server (alarm) ExitTrap: 3 (Embed::check_5frpc) at (eval 1) line 4. Again the Error from the perl script/mini_epn comes approx 10 seconds after the check successfully runs... Stanley Hopcroft wrote: >Dear Sir, > >I would guess that your Nagios has the embedded Perl intrepreter support >(ePN). > >If that is not the case, then please ignore this noise. > >Thank you for reporting a bug in check_ifstatus: the uninitialised >variable is a coding fault. > > > >The ePN requires that all plugins be squeaky clean. > >The warning in check_ifstatus will lead to the ePN throwing the plugin >out: it won't be run and you will get the default plugin output 'No >putput'. > >I am using check_rpc with ePN. > >What version of check_rpc is it (check_rpc -V) ? >You could try it with the program number (100003) instead > >tsitc> /usr/local/nagios/libexec/check_rpc -H oradev -C 100003 >RPC ok: program (version 2) is running >tsitc> > >If it works, then there is also a coding error with check_rpc. > > > >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: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 17:41:04 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 07 Mar 2003 11:41:04 -0500 (EST) Subject: Fwd: check_nagios In-Reply-To: <200303072213.11254.jasmine.chua@securecirt.com> References: <200303072213.11254.jasmine.chua@securecirt.com> Message-ID: If nagios is using a database for status then status.log is never updated - use plugins/contrib/check_nagios_db instead. -sg On Fri, 7 Mar 2003, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi I have the same problem too. And, would like to know hows its being solved. > - -rw-r--r-- 1 root root 0 Mar 7 22:05 status.log > Time on checking: Fri Mar 7 22:12:44 SGT 2003 > > On Friday 07 March 2003 21:20, Jens Kruse wrote: > > Hi, > > > > I couldn't find a solution for the following problem with google, so > > maybe someone has experienced this before ... > > > > check_nagios gives out the following ... > > > > nagios at monitor1-lx:~> /usr/local/nagios/libexec/check_nagios -F > > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios > > Nagios problem: located 80 processes, status log updated 1047042679 > > seconds ago > > > > though status.log is only some minutes old ... > > > > nagios at monitor1-lx:~> l var/status.log > > -rw-r--r-- 1 nagios nagios 0 M?r 7 13:50 var/status.log > > > > And the actual date is ok as well ... :-) > > > > nagios at monitor1-lx:~> date > > Fre M?r 7 14:14:28 MET 2003 > > > > Any hints where/what to look/check for? > > > > TIA, Jens > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From briank at nacs.net Fri Mar 7 17:56:04 2003 From: briank at nacs.net (Brian Kosick) Date: Fri, 07 Mar 2003 11:56:04 -0500 Subject: plugin problems.... In-Reply-To: <20030307164414.A39112@IPAustralia.Gov.AU> References: <3E67D611.6060300@nacs.net> <20030307164414.A39112@IPAustralia.Gov.AU> Message-ID: <3E68CF24.7070307@nacs.net> Opps I forgot a few things... ./check_rpc -V check_rpc (nagios-plugins 1.3.0) 1.7 and I tried with the 100003 rather than nfs, they both worked. ./check_rpc -H ginger -C nfs OK: RPC program nfs version 2 version 3 udp running ./check_rpc -H ginger -C 100003 OK: RPC program 100003 version 2 version 3 udp running Stanley Hopcroft wrote: >Dear Sir, > >I would guess that your Nagios has the embedded Perl intrepreter support >(ePN). > >If that is not the case, then please ignore this noise. > >Thank you for reporting a bug in check_ifstatus: the uninitialised >variable is a coding fault. > > > >The ePN requires that all plugins be squeaky clean. > >The warning in check_ifstatus will lead to the ePN throwing the plugin >out: it won't be run and you will get the default plugin output 'No >putput'. > >I am using check_rpc with ePN. > >What version of check_rpc is it (check_rpc -V) ? >You could try it with the program number (100003) instead > >tsitc> /usr/local/nagios/libexec/check_rpc -H oradev -C 100003 >RPC ok: program (version 2) is running >tsitc> > >If it works, then there is also a coding error with check_rpc. > > > >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: Etnus, makers of TotalView, The debugger >for complex code. Debugging C/C++ programs can leave you feeling lost and >disoriented. TotalView can help you find your way. Available on major UNIX >and Linux platforms. Try it free. www.etnus.com >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 18:35:41 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 07 Mar 2003 12:35:41 -0500 (EST) Subject: plugin problems.... In-Reply-To: <3E68CE49.6040400@nacs.net> References: <3E68CE49.6040400@nacs.net> Message-ID: plugins version ?? > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ah43 at httpsite.com Fri Mar 7 17:47:00 2003 From: ah43 at httpsite.com (Andy Harrison) Date: Fri, 07 Mar 2003 11:47:00 -0500 (EST) Subject: Graphing service check results with cricket? In-Reply-To: References: Message-ID: On 07-Mar-2003 Carroll, Jim P [Contractor] wrote: > http://apan.sourceforge.net/ Don't bother. It doesn't work and they don't answer anything but the easiest questions in the mailing list. -- Andy Harrison ah##@httpsite.com ICQ: 123472 AIM/Y!: AHinMaine homepage: http://www.nachoz.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFinn at studentadvantage.com Fri Mar 7 18:45:22 2003 From: DFinn at studentadvantage.com (Daniel Finn) Date: Fri, 7 Mar 2003 12:45:22 -0500 Subject: Nagios mailing list (check_snmp) .... Message-ID: <80C364880EDAD511BE39009027B0DCB804345086@RAINBOW2> Sure. Here's the output using version 1.3-beta1: [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -v -H 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : /tmp/nagiosplug-1.3-beta1/plugins/check_snmp: invalid option -- v check_snmp: Unknown argument: (null) Usage: check_snmp -H -o [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-l label] [-u units] [-d delimiter] [-D output-delimiter] check_snmp --help check_snmp --version [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -H 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : SNMP WARNING - 0 [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -H 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -d : SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -m ALL -v 1 10.209.68.92 sapublic .1.3.6.1.4.1.2021.2.1.100.1 and here's netsaint-plugins version 1.2.9-4: [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp --version check_snmp (netsaint-plugins 1.2.9-4) 1.21.2.5 The netsaint 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. [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp -H 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : SNMP WARNING - 0 [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp -H 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -d : SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -m ALL -v 1 10.209.68.92 sapublic .1.3.6.1.4.1.2021.2.1.100.1 it doesn't appear that either of these like verbose mode or the -m flag. Should I be using a different version? -----Original Message----- From: Subhendu Ghosh To: Daniel Finn Sent: 3/7/03 11:39 AM Subject: RE: [Nagios-users] RE: Nagios mailing list (check_snmp) .... Can you post the results running it with -v (verbose) output? -sg On Fri, 7 Mar 2003, Daniel Finn wrote: > I don't remember seeing that email from you but that doesn't fix the > problem. > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, March 07, 2003 10:35 AM > To: Daniel Finn > Cc: 'Rookwell at t-online.de'; 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] RE: Nagios mailing list (check_snmp) .... > > > >From my message on thursday.. > > > ---------- Forwarded message ---------- > Date: Thu, 6 Mar 2003 12:48:07 -0500 (EST) > From: Subhendu Ghosh > To: "'nagios-users at lists.sourceforge.net'" > > Subject: Re: [Nagios-users] problems using check_snmp to monitor sendmail > > On Thu, 6 Mar 2003, Daniel Finn wrote: > > > > > > Here's the problem I'm having with the snmp_check program. It always > > reports back that it's either at a WARNING state or a CRITICAL state. > > > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > > SNMP WARNING - 1 > > > > > > Am I doing something wrong. Shouldn't it return OK because the value > it's > > returning is between 1 and 10? Now if I change the warning and critical > > threshholds to be outside of what it's returning I get : > > > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > > SNMP CRITICAL - *1* > > > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for this > > system and I still have the same problem. If anyone could help that > would > > be great. Also, I'm not subscribed to this list so if you could reply > to me > > via email that would be great. > > > > The WARNING in the first case may be due to output on the stderr. > > Try the command with with "-m : " to prevent loading the mibs. > > > > > On Fri, 7 Mar 2003, Daniel Finn wrote: > > > No, I downloaded and compiled the most recent version they offer on thier > > site and it's still broken. Unfortunately I wasn't getting much help from > > people on here so I wrote my own simple script that uses snmpget and > either > > returns OK or CRITICAL and why. > > > > -----Original Message----- > > From: Rookwell at t-online.de [mailto:Rookwell at t-online.de] > > Sent: Friday, March 07, 2003 1:46 AM > > To: DFinn at studentadvantage.com > > Subject: Nagios mailing list (check_snmp) .... > > > > > > Hi, > > > > do you fix the check_snmp problem? > > I want to check the netbios-sessions on a w2k-server, but it always return > > "Warning....". > > > > Rookwell (Germany) > > > > Sorry, my english is not so good! > > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From briank at nacs.net Fri Mar 7 18:50:15 2003 From: briank at nacs.net (Brian Kosick) Date: Fri, 07 Mar 2003 12:50:15 -0500 Subject: plugin problems.... In-Reply-To: <3E68CE49.6040400@nacs.net> References: <3E67D611.6060300@nacs.net> <20030307164414.A39112@IPAustralia.Gov.AU> <3E68CE49.6040400@nacs.net> Message-ID: <3E68DBD7.6060000@nacs.net> I'm replying to myself here, I took a look at the spec file, and the rpm maintainers can ignore my comment about p1.pl not being in the rpm, I did not compile it with rpmbuild -ba nagios.spec --define'EMBPERL 1' , I had instead edited the configure lines in the spec. Doh! p1.pl and mini_epn are included when you do it right. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From briank at nacs.net Fri Mar 7 18:56:40 2003 From: briank at nacs.net (Brian Kosick) Date: Fri, 07 Mar 2003 12:56:40 -0500 Subject: plugin problems.... In-Reply-To: References: Message-ID: <3E68DD58.6040807@nacs.net> Redhat 7.3 (fully updated) Perl 5.6.1 Nagios 1.0 Nagios Plugins 1.3 stable/released Subhendu Ghosh wrote: >plugins version ?? > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sproba1 at llnl.gov Fri Mar 7 18:43:15 2003 From: sproba1 at llnl.gov (Judd Sproba) Date: Fri, 7 Mar 2003 09:43:15 -0800 Subject: Strange Directories Message-ID: <031201c2e4d1$085ee610$26dc7380@aisntx009> Every so often, I'll take a look around the structure of my nagios directory tree and I've been noticing that strange random directories seem to keep popping up and never disappear (even when I restart the nagios service). All of the directories are created within my base nagios root (/usr/local/nagios). I'm not sure if this is something I've done wrong on my part of if others have noticed similar behavior. If you've seen something similar to this, please enlighten me. Almost looks like a `mktemp -d`kind of output, but I don't have any scripts that call mktemp. Thanks, - Judd Here is just a sample of them: 4 drwx------ 2 nagios nagios 4096 Feb 21 05:44 y0hI9H 4 drwx------ 2 nagios nagios 4096 Mar 5 18:32 y4PXB7 4 drwx------ 2 nagios nagios 4096 Mar 5 18:49 y6rbEV 4 drwx------ 2 nagios nagios 4096 Mar 5 19:38 yFFaFN 4 drwx------ 2 nagios nagios 4096 Feb 21 05:42 ykN9gG 4 drwx------ 2 nagios nagios 4096 Feb 19 20:00 yp3JzA 4 drwx------ 2 nagios nagios 4096 Feb 19 18:18 yuZrYW 4 drwx------ 2 nagios nagios 4096 Feb 21 05:11 yuaBOb 4 drwx------ 2 nagios nagios 4096 Feb 28 17:50 yzKv21 4 drwx------ 2 nagios nagios 4096 Feb 28 17:47 z1DxoV 4 drwx------ 2 nagios nagios 4096 Feb 21 05:18 z26rQ3 4 drwx------ 2 nagios nagios 4096 Feb 19 19:50 z429ZZ 4 drwx------ 2 nagios nagios 4096 Feb 28 18:31 z5jJtl 4 drwx------ 2 nagios nagios 4096 Feb 28 17:16 z7xkui 4 drwx------ 2 nagios nagios 4096 Feb 21 05:37 zDnT6R 4 drwx------ 2 nagios nagios 4096 Feb 22 05:05 zG0wlb 4 drwx------ 2 nagios nagios 4096 Feb 19 20:03 zHP1G1 4 drwx------ 2 nagios nagios 4096 Feb 21 05:34 zJ58eJ 4 drwx------ 2 nagios nagios 4096 Feb 28 17:36 zJGbi1 4 drwx------ 2 nagios nagios 4096 Feb 26 05:10 zb0XjO 4 drwx------ 2 nagios nagios 4096 Feb 19 19:49 zm7pOB 4 drwx------ 2 nagios nagios 4096 Feb 19 19:24 zyaoKX -------------- next part -------------- An HTML attachment was scrubbed... URL: From Cian at logic.bm Fri Mar 7 19:25:57 2003 From: Cian at logic.bm (Cian O'Sullivan) Date: Fri, 7 Mar 2003 14:25:57 -0400 Subject: Solaris 8 package available? Message-ID: Just wondering if anyone has a Solaris 8 package of nagios compiled and ready to go. Dont want to re-invent the wheel Cheers Cian ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Fri Mar 7 19:33:39 2003 From: christian.masopust at siemens.com (Masopust Christian) Date: Fri, 7 Mar 2003 19:33:39 +0100 Subject: AW: SMB Pop-up Message-ID: hi dave, i did it all like steve described and it works fine! i first tried it with old smbclient and hostname because i couldn't reach webpage of samba-tng. after talking to steve, he sent me the actual samba-tng and smbclient works fine at my site... but.... tng isn't really neccessary, as i found out also the old smbclient (2.2.7a) is sending messages to usernames!! you simply have to replace the hostname with the username! regards, chris -----Originalnachricht----- Von: DTerrell at Delphi-Tech.com An: nagios-users at lists.sourceforge.net Gesendet: 07.03.03 17:33 Betreff: RE: [Nagios-users] SMB Pop-up Just to let you know, we've been using the smb pop-up for a few days now. The smb-tng smbclient didn't like the usernames as much, so I dropped back to putting in just host names that I know of. As a third tier to this, we'll be adding cell text messages, so smb pop-ups won't be the last line of defense. Thanks so much for your help -Dave -----Original Message----- From: DTerrell at Delphi-Tech.com [mailto:DTerrell at Delphi-Tech.com] Sent: Wednesday, March 05, 2003 12:40 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMB Pop-up Steve, Just to let you know, and all others, I followed your directions exactly and everything worked perfectly the first time! Also, I too am interested in this non-standard notification that you use ;-) -----Original Message----- From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] Sent: Wednesday, March 05, 2003 10:30 AM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] SMB Pop-up Hi Steve, Could you post the script to the list? I'm interested... :-D Thanks & Regards, Hagen Deike > -----Original Message----- > From: Steve Freegard [mailto:steve.freegard at lbsltd.co.uk] > Sent: Mittwoch, 5. M?rz 2003 15:52 > To: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] SMB Pop-up > > - > the general consensus was that you could put multiple entries entries into > the e-mail or pager variables as no checking is done on the Nagios end, > and > that you could delimit them and use a notification script that strips the > values out and does the different notifications to both. > > I do something similar to what you are proposing and use two contacts - > one > for working hours, and one for out-of-hours support with the working hours > receiving the winpopup's, and the out-of-hours getting a SMS using > sendpage > and this works pretty well for me. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From drich at employees.org Fri Mar 7 19:58:16 2003 From: drich at employees.org (Dan Rich) Date: Fri, 7 Mar 2003 10:58:16 -0800 (PST) Subject: Config file parsing/reporting Message-ID: <51748.63.237.201.12.1047063496.squirrel@www.lapseofthought.com> Does anyone have any tools for parsing the config files? I am almost looking for a reporting/summary tool that will let me say things like "list all of the monitored hosts", or more importantly at this point "what are all of the services and who gets paged/e-mail when each one goes down"? -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Fri Mar 7 19:57:15 2003 From: drich at employees.org (Dan Rich) Date: Fri, 7 Mar 2003 10:57:15 -0800 (PST) Subject: Nagios pronunciation Message-ID: <51333.63.237.201.12.1047063435.squirrel@www.lapseofthought.com> We have been having a discussion about what the proper pronunciation of Nagios is so I figured I would ask the source. :) I'm leaning towards something that almost sounds Russian -- nog-e-os. We have a few people that seem to think it's more American -- nag-e-os (which might be correct, since it is constantly nagging us about systems :). There are a few other interpretations, but those are the two major ones. So, how does everyone else pronounce it, and to the authors, which one is correct? -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hidden at invalid Fri Mar 7 20:46:06 2003 From: hidden at invalid (Anonymous Writer) Date: Fri, 7 Mar 2003 20:46:06 +0100 (CET) Subject: How to configure check_http on port 81? Message-ID: <63304.80.133.98.98.1047066366.squirrel@vhost1.gh-online.net> Hi there, how must a template in services.cfg look like to use check_html on an other port then port 80? In some cases our servers run the apache daemon on port 81... Any ideas? thanks Anonymous Writer ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brampling at methanex.com Fri Mar 7 20:42:35 2003 From: brampling at methanex.com (Blair Rampling) Date: Fri, 07 Mar 2003 11:42:35 -0800 Subject: Nagios pronunciation Message-ID: You could have checked the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=true - -- Blair Rampling >>> "Dan Rich" 03/07/03 10:57am >>> We have been having a discussion about what the proper pronunciation of Nagios is so I figured I would ask the source. :) I'm leaning towards something that almost sounds Russian -- nog-e-os. We have a few people that seem to think it's more American -- nag-e-os (which might be correct, since it is constantly nagging us about systems :). There are a few other interpretations, but those are the two major ones. So, how does everyone else pronounce it, and to the authors, which one is correct? -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at bolthole.com Fri Mar 7 20:43:09 2003 From: phil at bolthole.com (Philip Brown) Date: Fri, 7 Mar 2003 11:43:09 -0800 Subject: Solaris 8 package available? In-Reply-To: ; from Cian@logic.bm on Fri, Mar 07, 2003 at 02:25:57PM -0400 References: Message-ID: <20030307114309.A54704@bolthole.com> On Fri, Mar 07, 2003 at 02:25:57PM -0400, Cian O'Sullivan wrote: > > Just wondering if anyone has a Solaris 8 package of nagios compiled and ready to go. > > Dont want to re-invent the wheel not yet. I was considering adding it to the packages available from www.blastwave.org but I'm already maintaining many many packages. it would be great if someone else in this mailing list would like to step up and volunteer. Build machines, and packaging help, are all available through blastwave.org I hope some folks will check it out. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Mar 7 20:46:19 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 7 Mar 2003 13:46:19 -0600 Subject: Nagios pronunciation Message-ID: I pronounce it "This ROCKS!" ;) In fact, this is in the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=true jc > -----Original Message----- > From: Dan Rich [mailto:drich at employees.org] > Sent: Friday, March 07, 2003 12:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios pronunciation > > > > We have been having a discussion about what the proper > pronunciation of Nagios > is so I figured I would ask the source. :) > > I'm leaning towards something that almost sounds Russian -- > nog-e-os. We have > a few people that seem to think it's more American -- > nag-e-os (which might be > correct, since it is constantly nagging us about systems :). > There are a few > other interpretations, but those are the two major ones. > > So, how does everyone else pronounce it, and to the authors, > which one is > correct? > > -- > Dan Rich | http://www.employees.org/~drich/ > | "Step up to red alert!" > "Are you sure, sir? > | It means changing the bulb > in the sign..." > | - Red Dwarf (BBC) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.knox at sbcglobal.net Fri Mar 7 21:01:33 2003 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 07 Mar 2003 12:01:33 -0800 Subject: How to configure check_http on port 81? In-Reply-To: <63304.80.133.98.98.1047066366.squirrel@vhost1.gh-online.net> References: <63304.80.133.98.98.1047066366.squirrel@vhost1.gh-online.net> Message-ID: <3E68FA9D.9060507@sbcglobal.net> Anonymous Writer wrote: >Hi there, > >how must a template in services.cfg look like to use check_html on an >other port then port 80? In some cases our servers run the apache daemon >on port 81... Any ideas? > >thanks > >Anonymous Writer > > > > Depends on what your checkcommands.cfg looks like. The default looks like this: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ -w 4 -c 6 } You can either add a "-p 81" above or add it in services.cfg: #services.cfg check_command check_http -p 81 -Sean ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Fri Mar 7 21:01:41 2003 From: drich at employees.org (Dan Rich) Date: Fri, 7 Mar 2003 12:01:41 -0800 (PST) Subject: Nagios pronunciation In-Reply-To: References: Message-ID: <38090.63.237.201.12.1047067301.squirrel@www.lapseofthought.com> Blair Rampling said: > You could have checked the FAQ: > > http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=true Argh!! We had two different people look at the FAQ and neither of us saw that page. Thanks! (admittedly, I just tried searching the FAQ for both pronounce and pronunciation -- neither returned any pages). >>>> "Dan Rich" 03/07/03 10:57am >>> > > We have been having a discussion about what the proper pronunciation of Nagios > is so I figured I would ask the source. :) > > I'm leaning towards something that almost sounds Russian -- nog-e-os. We have > a few people that seem to think it's more American -- nag-e-os (which might be > correct, since it is constantly nagging us about systems :). There are a few > other interpretations, but those are the two major ones. > > So, how does everyone else pronounce it, and to the authors, which one is > correct? > > -- > Dan Rich | http://www.employees.org/~drich/ > | "Step up to red alert!" "Are you sure, sir? > | It means changing the bulb in the sign..." > | - Red Dwarf (BBC) > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Gaumond at cum.qc.ca Fri Mar 7 21:10:50 2003 From: Marc.Gaumond at cum.qc.ca (Gaumond Marc) Date: Fri, 7 Mar 2003 15:10:50 -0500 Subject: install Nagios on Solaris 9 Message-ID: I tried to install Nagios on Solaris 9 for Intel pc. We want to implement on sparc station with over 6000 users. I went through all F.A.Q. RTFM and so on. I have installed-it under red hat Linux and every thing works just fine.(including most of the package and add-on) I went thought all the configuration files and all. Even GCC doesn't want to compile. Can you tell me before I start again under witch version of Solaris nagios will work? Clevermind dgti -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2074 bytes Desc: not available URL: From jay.pike at corecomm.com Fri Mar 7 21:43:33 2003 From: jay.pike at corecomm.com (Jay Pike) Date: Fri, 7 Mar 2003 15:43:33 -0500 Subject: Availability reporting functionality issue Message-ID: <20030307204333.GB27920@net-link.net> Hello all, I seem to be having an issue with Nagios Availability reporting functionality. Anytime a outage occurs during a scheduled downtime, Nagios reports that as unscheduled downtime (see http://jinx.jinxed.net/~jaypike/screencap1.jpg ). Information about what I'm running: Debian Linux Unstable (only distro carrying Nagios) Nagios version 1.0 (nagios-mysql 1.0-6) Intel based hardware MySQL 3.23.55 (mysql-server) The Nagios installation is mysql based (which I'm worried is the reason this is happening). jp -- __________________________________________________________________ / \ | James J. Pike Jr. Phone: 888.747.4638 | | Systems Engineer Direct Phone: 517-664-8610 | | CoreComm Inc. Http: http://www.core.com/ | | EMail: jay.pike at corecomm.com | | PGPKey: http://my.voyager.net/jaypike/pgpkey.txt | \ / ------------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.knox at sbcglobal.net Fri Mar 7 20:57:15 2003 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 07 Mar 2003 11:57:15 -0800 Subject: Debian Packages In-Reply-To: <1047048126.25517.2.camel@mithrandir> References: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> <1047048126.25517.2.camel@mithrandir> Message-ID: <3E68F99B.3080705@sbcglobal.net> > > >Hi List, >does anyone of you know, where to get recent debian packages for >nagios, or even better a server, which I can put into my >apt/sources.list...? > > > > >http://apt-get.org/search.php > > Be careful when using unofficial apt repositories such as that one. While you can often get the latest and greatest package, you lose the quality control provided by the Debian testing process and can easily screw up your system. Use apt-setup to configure your official, Debian apt repositories, and use unofficials ones to find cool stuff like KDE3. Also, to find the fastest apt mirror, use the netselect-apt package. http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-netselect Sean ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ah43 at httpsite.com Fri Mar 7 21:38:57 2003 From: ah43 at httpsite.com (Andy Harrison) Date: Fri, 07 Mar 2003 15:38:57 -0500 (EST) Subject: install Nagios on Solaris 9 In-Reply-To: References: Message-ID: On 07-Mar-2003 Gaumond Marc wrote: > I tried to install Nagios on Solaris 9 for Intel pc. We want to implement > on sparc station with over 6000 users. I went through all F.A.Q. RTFM and > so on. I have installed-it under red hat Linux and every thing works just > fine.(including most of the package and add-on) I went thought all the > configuration files and all. Even GCC doesn't want to compile. Can you > tell me before I start again under witch version of Solaris nagios will > work? How about an error message or something... -- Andy Harrison ah##@httpsite.com ICQ: 123472 AIM/Y!: AHinMaine homepage: http://www.nachoz.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcolby at enterasys.com Fri Mar 7 21:10:36 2003 From: jcolby at enterasys.com (Colby, James) Date: Fri, 7 Mar 2003 15:10:36 -0500 Subject: statusmap.cgi question Message-ID: All - I'm having a problem accessing my statusmap.cgi and trends.cgi. I have successfully compiled all of the CGIs, but I am still getting this error when I try to view them in nagios: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at damascus.ctron.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ------------------------------------------------------------------------ ---- Apache/1.3.20 Server at Port 80 And in the the server error log I have the following message [Fri Mar 7 14:50:50 2003] [error] [client 134.141.1.61] script not found or unable to stat: /usr/local/nagios /sbin/statusmap.cgi ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or directory [Fri Mar 7 14:52:03 2003] [error] [client 134.141.1.61] Premature end of script headers: /usr/local/nagios/sb in/statusmap.cgi If I log into my nagios server, and try to execute the statusmap.cgi as the nagios user I get the following output: getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. In order to do that, you need to set the REQUEST_METHOD environment variable to either "GET", "HEAD", or "POST". When using the GET and HEAD methods, arguments can be passed to the CGI by setting the "QUERY_STRING" environment variable. If you're using the POST method, data is read from standard input. Also of note: if you've enabled authentication in the CGIs, you must set the "REMOTE_USER" environment variable to be the name of the user you're "authenticated" as. I am running nagios version 1.0 on a soloris 2.7 server running apache 1.3.20 Thanks in advance for all of your help James ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.knox at sbcglobal.net Fri Mar 7 20:56:57 2003 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 07 Mar 2003 11:56:57 -0800 Subject: Debian Packages In-Reply-To: <20030307142846.GA16833@UnderGrid.net> References: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> <20030307142846.GA16833@UnderGrid.net> Message-ID: <3E68F989.3000206@sbcglobal.net> Jeremy T. Bouse wrote: > You can add the following to get the nagios package on your machine: > > deb http://http.us.debian.org/debian unstable main contrib non-free > > Then you would 'apt-get install' either nagios-text, nagios-mysql or >nagios-pgsql... Although nagios-text would be the build most like the older >netsaint package... It is maintained by Turbo Fredriksson who also maintained >the netsaint packages. > > Jeremy > > I highly recommend staying away from the nagios deb package for the moment and just build from source to a single location. The nagios packages just aren't ready to use yet. This is a pretty good guide: http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html Nicki wrote: >Hi List, >does anyone of you know, where to get recent debian packages for >nagios, or even better a server, which I can put into my >apt/sources.list...? Use apt-cache search to find packages. venus:/home/sknox/nagios-1.0# apt-cache search nagios nagios-mysql - A host/service/network monitoring and management system. nagios-pgsql - A host/service/network monitoring and management system. nagios-text - A host/service/network monitoring and management system. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Fri Mar 7 22:10:16 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Fri, 7 Mar 2003 13:10:16 -0800 Subject: [OT] Re: Debian Packages In-Reply-To: <3E68F99B.3080705@sbcglobal.net> References: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> <1047048126.25517.2.camel@mithrandir> <3E68F99B.3080705@sbcglobal.net> Message-ID: <20030307211016.GA18108@UnderGrid.net> On Fri, Mar 07, 2003 at 11:57:15AM -0800, Sean Knox wrote: > Be careful when using unofficial apt repositories such as that one. > While you can often get the latest and greatest package, you lose the A > quality control provided by the Debian testing process and can easily > screw up your system. Use apt-setup to configure your official, Debian > apt repositories, and use unofficials ones to find cool stuff like KDE3. > You obviously either run stable(Woody) or testing(Sarge) as unstable(Sid) has KDE3.1 already... ii kdebase 3.1.0-2 KDE Base metapackage ii kdebase-bin 3.1.0-2 KDE Base (binaries) ii kdebase-data 3.1.0-2 KDE Base (shared data) ii kdebase-kio-pl 3.1.0-2 KDE I/O Slaves ii kdelibs-bin 3.1.0-2 KDE core binaries ii kdelibs-data 3.1.0-2 KDE core shared data ii kdelibs4 3.1.0-2 KDE core libraries ii kdepasswd 3.1.0-1 KDE password changer ii kdeprint 3.1.0-2 KDE Print ii kdesktop 3.1.0-2 KDE Desktop ii kdf 3.1.0-1 KDE disk free ii kdm 3.1.0-2 KDE Display Manager Jeremy ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 7 22:24:08 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 7 Mar 2003 16:24:08 -0500 Subject: Running Checks To Remote Hosts Over SSH Message-ID: <5593DA408212D511B0910002A513501F01D28917@phsexch20.mgh.harvard.edu> Hi there, We have a server which has only port 22 (ssh) open for remote connection. Isn't there a way to run checks to the nrpe client on the remote server over ssh? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Fri Mar 7 22:28:36 2003 From: greg at intouch.ca (Greg Webster) Date: Fri, 7 Mar 2003 13:28:36 -0800 Subject: Differences between Nagios and Netsaint Message-ID: <20030307132836.2331b925.greg@intouch.ca> I'm trying to explain why I would prefer to use Nagios over Netsaint to my co-administrator and would like to get a bit better list than just "Netsaint is no longer being developed". Is there a resource that explains the differences/features? Are the bugs that have been found since the name change been fixed in Netsaint as well? This is only an issue since only the unstable release of Debian's apt-get lists Nagios. Thanks, Greg Webster ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Mar 7 22:28:18 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 7 Mar 2003 15:28:18 -0600 Subject: statusmap.cgi question Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED531@mismail.ena.com> > -----Original Message----- > From: Colby, James [mailto:jcolby at enterasys.com] > Sent: Friday, March 07, 2003 2:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap.cgi question > [Fri Mar 7 14:50:50 2003] [error] [client 134.141.1.61] script not > found or unable to stat: /usr/local/nagios > /sbin/statusmap.cgi > ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or > directory Do you have GD installed? If so, where is libgd.so.2 located? I'm not really familiar with lib paths under solaris but you may need to add the location of libgd.so.2 to that path (it's /etc/ld.so.conf under linux, maybe it's the same under solaris). You could also symlink it under /lib but that's messy. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Mar 7 22:31:23 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 7 Mar 2003 15:31:23 -0600 Subject: Running Checks To Remote Hosts Over SSH Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED532@mismail.ena.com> check_by_ssh plugin. [mpowell at oscar mpowell]$ ~nagios/libexec/check_by_ssh --help check_by_ssh (nagios-plugins 1.3.0-alpha1) 1.1.1.1 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 1999 Karl DeBisschop (kdebisschop at alum.mit.edu) This plugin will execute a command on a remote host using SSH Usage: check_by_ssh [-f] [-t timeout] [-i identity] [-l user] -H [-n name] [-s servicelist] [-O outputfile] [-P port] check_by_ssh -V prints version info check_by_ssh -h prints more detailed help Options: -H, --hostname=HOST name or IP address of remote host -C, --command='COMMAND STRING' command to execute on the remote machine -f tells ssh to fork rather than create a tty -t, --timeout=INTEGER specify timeout (default: 10 seconds) [optional] -l, --logname=USERNAME SSH user name on remote host [optional] -i, --identity=KEYFILE identity of an authorized key [optional] -O, --output=FILE external command file for nagios [optional] -s, --services=LIST list of nagios service names, separated by ':' [optional] -n, --name=NAME short name of host in nagios configuration [optional] The most common mode of use is to refer to a local identity file with the '-i' option. In this mode, the identity pair should have a null passphrase and the public key should be listed in the authorized_keys file of the remote host. Usually the key will be restricted to running only one command on the remote server. If the remote SSH server tracks invocation agruments, the one remote program may be an agent that can execute additional commands as proxy To use passive mode, provide multiple '-C' options, and provide all of -O, -s, and -n options (servicelist order must match '-C' options) -- Marc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Friday, March 07, 2003 3:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Running Checks To Remote Hosts Over SSH > > Hi there, > > We have a server which has only port 22 (ssh) open for remote connection. > Isn't > there a way to > run checks to the nrpe client on the remote server over ssh? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The > debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcolby at enterasys.com Fri Mar 7 22:31:27 2003 From: jcolby at enterasys.com (Colby, James) Date: Fri, 7 Mar 2003 16:31:27 -0500 Subject: statusmap.cgi question Message-ID: Marc - Yes I do have the libraries installed. The library is installed in /usr/local/lib and the headers in /usr/local/include Thanks, James > -----Original Message----- > From: Colby, James [mailto:jcolby at enterasys.com] > Sent: Friday, March 07, 2003 2:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap.cgi question > [Fri Mar 7 14:50:50 2003] [error] [client 134.141.1.61] script not > found or unable to stat: /usr/local/nagios > /sbin/statusmap.cgi > ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or > directory Do you have GD installed? If so, where is libgd.so.2 located? I'm not really familiar with lib paths under solaris but you may need to add the location of libgd.so.2 to that path (it's /etc/ld.so.conf under linux, maybe it's the same under solaris). You could also symlink it under /lib but that's messy. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Mar 7 22:48:34 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 7 Mar 2003 15:48:34 -0600 Subject: Differences between Nagios and Netsaint Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED533@mismail.ena.com> More/Better reporting. Netsaint is no longer being maintained... Many Bug Fixes Netsaint is no longer being maintained... Template based config files. Netsaint is no longer being maintained... http://www.nagios.org/changelog.php Netsaint is no longer being maintained... You get the picture... Bug fixes have not been backported to Netsaint that I am aware of. I don't see anything in the Netsaint CVS that has been touched in the last 12 months and most of it is much longer than that. It makes no sense to install a program that is no longer being maintained when a compatible, newer version is, IMHO. -- Marc > -----Original Message----- > From: Greg Webster [mailto:greg at intouch.ca] > Sent: Friday, March 07, 2003 3:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Differences between Nagios and Netsaint > > > I'm trying to explain why I would prefer to use Nagios over Netsaint to my > co-administrator and would like to get a bit better list than just > "Netsaint is no longer being developed". > > Is there a resource that explains the differences/features? Are the bugs > that have been found since the name change been fixed in Netsaint as well? > > This is only an issue since only the unstable release of Debian's apt-get > lists Nagios. > > Thanks, > > Greg Webster > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The > debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.knox at sbcglobal.net Fri Mar 7 22:54:13 2003 From: sean.knox at sbcglobal.net (Sean Knox) Date: Fri, 07 Mar 2003 13:54:13 -0800 Subject: [OT] Re: Debian Packages In-Reply-To: <20030307211016.GA18108@UnderGrid.net> References: <010701c2e49d$ce6c7d10$d0551ec3@linkm.de> <1047048126.25517.2.camel@mithrandir> <3E68F99B.3080705@sbcglobal.net> <20030307211016.GA18108@UnderGrid.net> Message-ID: <3E691505.8030200@sbcglobal.net> Jeremy T. Bouse wrote: > > You obviously either run stable(Woody) or testing(Sarge) as >unstable(Sid) has KDE3.1 already... > > > It's been a while since I checked KDE3's status on the official apt sites. I run Debian on servers and don't install things like X or KDE, so I wouldn't know. The point I was trying to make was to be cautious of non-official Debian apt repositories. Things break. Sean ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whiatt at upstanding.com Fri Mar 7 23:09:15 2003 From: whiatt at upstanding.com (Hiatt, William) Date: Fri, 7 Mar 2003 14:09:15 -0800 Subject: Passive Service Checks from E-mail? Message-ID: <71520D1F83A0C6408D99155D4CCAE0AA26C3@exch-be-01.upstanding.com> I need to monitor some backup jobs from Veritas BackupEXEC. Unfortunately, BackupEXEC doesn't send SNMP traps when a job is successful (Figure that out!). But, it can send an e-mail out when a job has failed or is successful. Does anyone know the best way to parse this e-mail, or is anybody doing something like this already? Just thought I'd check-in before I spent the time to write one myself. Thanks william ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Mar 7 23:16:25 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 7 Mar 2003 16:16:25 -0600 Subject: Running Checks To Remote Hosts Over SSH Message-ID: You would use check_by_ssh, but you wouldn't need NRPE in that case. Caveat: If you're planning to do a *lot* of checks, SSH doesn't scale well. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Friday, March 07, 2003 3:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Running Checks To Remote Hosts Over SSH > > > Hi there, > > We have a server which has only port 22 (ssh) open for remote > connection. Isn't > there a way to > run checks to the nrpe client on the remote server over ssh? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Mar 7 23:37:57 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 7 Mar 2003 16:37:57 -0600 Subject: Differences between Nagios and Netsaint Message-ID: There is also the other side of the coin: If it ain't broke, don't fix it. This might be where the other SA is coming from. *However*, the problem with that approach is, "you can pay now, or you can pay later." Meaning, you can work now on making the migration, or you can wait till you absolutely need to solve a problem (or add in a feature) and work like a frightened monkey trying to implement it. As a point of reference, just look at any environment where they don't keep their operating systems up to a supported level. One word: Legacy. Food for thought. jc > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Friday, March 07, 2003 3:49 PM > To: Greg Webster; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Differences between Nagios and Netsaint > > > More/Better reporting. > Netsaint is no longer being maintained... > Many Bug Fixes > Netsaint is no longer being maintained... > Template based config files. > Netsaint is no longer being maintained... > http://www.nagios.org/changelog.php > Netsaint is no longer being maintained... > > You get the picture... Bug fixes have not been backported to Netsaint > that I am aware of. I don't see anything in the Netsaint CVS that has > been touched in the last 12 months and most of it is much longer than > that. It makes no sense to install a program that is no longer being > maintained when a compatible, newer version is, IMHO. > > -- > Marc > > > -----Original Message----- > > From: Greg Webster [mailto:greg at intouch.ca] > > Sent: Friday, March 07, 2003 3:29 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Differences between Nagios and Netsaint > > > > > > I'm trying to explain why I would prefer to use Nagios over Netsaint > to my > > co-administrator and would like to get a bit better list than just > > "Netsaint is no longer being developed". > > > > Is there a resource that explains the differences/features? Are the > bugs > > that have been found since the name change been fixed in Netsaint as > well? > > > > This is only an issue since only the unstable release of Debian's > apt-get > > lists Nagios. > > > > Thanks, > > > > Greg Webster > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > debugger > > for complex code. Debugging C/C++ programs can leave you > feeling lost > and > > disoriented. TotalView can help you find your way. > Available on major > UNIX > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Mar 7 23:38:36 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 8 Mar 2003 09:38:36 +1100 Subject: SMB Pop-up In-Reply-To: ; from christian.masopust@siemens.com on Fri, Mar 07, 2003 at 07:33:39PM +0100 References: Message-ID: <20030308093832.A233@IPAustralia.Gov.AU> Dear Gentlemen, On Fri, Mar 07, 2003 at 07:33:39PM +0100, Masopust Christian wrote: > > hi dave, > > i did it all like steve described and it works fine! > i first tried it with old smbclient and hostname because i couldn't > reach webpage of samba-tng. > after talking to steve, he sent me the actual samba-tng and smbclient > works fine at my site... > > but.... tng isn't really neccessary, as i found out also the old > smbclient (2.2.7a) is sending messages to usernames!! you simply have > to replace the hostname with the username! I think smbclient has always had this capability; that is what NetBIOS names and winpopup is all about. If you don't have a broadcast network - ie all NetBIOS names are resolved by broadcast (shame) - you need a functioning WINS to accept the username 'name registrations' from the clients and return the IP Address to smbclient. > > regards, > chris > my understanding of the TNG branch of Samba is that it is a code fork designed to provide viable domaain controllers. AFAIK, the client tools in TNG - except the rpcclient - do not receive much of any emphasis. I think you will find, as the TNG developers say, that smbclient in HEAD (ie the release Samba branch [2.2.x]) is the most stable and accurate way of interacting with an SMB file server. OTOH, if you want to replace NT/2K domain controllers and save on CALs and OS licenses, and you are _not_ afraid of code and work, TNG is a proven alternative. 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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JSnodgrass at sourcerefrigeration.com Sat Mar 8 00:48:04 2003 From: JSnodgrass at sourcerefrigeration.com (JSnodgrass at sourcerefrigeration.com) Date: Fri, 7 Mar 2003 15:48:04 -0800 Subject: Late Notifications Message-ID: I have my configuration set-up to send alerts to out phones but they are falling about 2 hours behind reality. Is there some time delay setting that I am missing? Also if someone has copies of the following files please send them to me? Statusmap.cgi Histogram.cgi Trends.cgi Jason Snodgrass, A+, CCA, CLP Network Support Source Refrigeration & HVAC, Inc. (714) 578-2327 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Sat Mar 8 01:10:35 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 8 Mar 2003 11:10:35 +1100 Subject: Passive Service Checks from E-mail? In-Reply-To: <71520D1F83A0C6408D99155D4CCAE0AA26C3@exch-be-01.upstanding.com>; from whiatt@upstanding.com on Fri, Mar 07, 2003 at 02:09:15PM -0800 References: <71520D1F83A0C6408D99155D4CCAE0AA26C3@exch-be-01.upstanding.com> Message-ID: <20030308111025.B233@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say I think you facre two probelms in having an email produce a passive service check result, On Fri, Mar 07, 2003 at 02:09:15PM -0800, Hiatt, William wrote: > I need to monitor some backup jobs from Veritas BackupEXEC. > Unfortunately, BackupEXEC doesn't send SNMP traps when a job is > successful (Figure that out!). But, it can send an e-mail out when a job > has failed or is successful. Does anyone know the best way to parse this > e-mail, or is anybody doing something like this already? Just thought > I'd check-in before I spent the time to write one myself. 1 Having your MTA recognise that the letter (from Veritas) needs special handling ie programmatic handling If you are using Sendmail this requires some customisation (local rule 0) to recognise the letter and a 'mailer' to invoke the program that parses the letter and formats the passive service check result (appending it to the command queue) 2 Writing the program that slurps the letter, spits out the headers, and extracts the backup status from what's left, and submitting the properly formatted check result. Here's what I use for an SMS email gateway (same concept) to have letters addressed to .page delivered via an SMS gateway implemented in mail2sms.pl. LOCAL_RULE_0 R$+.page $#sms $: $1 R$+.page<@$=w>$* $#sms $: $1 R$+.page<@$=w.>$* $#sms $: $1 and here is the mailer (sms.m4) ifdef(`SMS_MAILER_ARGS',, `define(`SMS_MAILER_ARGS', mail2sms.pl $u )') ifdef(`SMS_MAILER_PATH',, `define(`SMS_MAILER_PATH', /usr/local/sms/bin/mail2sms.pl)') ifdef(`SMS_MAILER_MAX',, `define(`SMS_MAILER_MAX', 1000)') POPDIVERT #################################### ### SMS Mailer specification ### #################################### VERSIONID(`@(#)sms.m4 1.00 (Berkeley) 6/15/2000') Msms, P=SMS_MAILER_PATH, F=lms, M=SMS_MAILER_MAX, A=SMS_MAILER_ARGS This is simply standard Sendmail (m4) stuff. Nothing fancy. The Sendmail cognoscenti will probably do it a lot more simply. Both items 1 and 2 (vi) I think are quite managable and tractable Anyone experienced in Sendmail could do 1 in 0.5 - 1 hour (maybe two with testing) Item 2 is pretty straight forward in Perl (<= 50 lines unless you want to process the headers to check for forgeries etc). > > Thanks > william > This is a _good_ idea. I was suprised to see that some backup products don't generate traps that one might expect. In fact, you could allow email from anything to submit Nag service check results if you wanted. 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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdunlap_z at yahoo.com Sat Mar 8 01:32:29 2003 From: tdunlap_z at yahoo.com (Tom Dunlap) Date: Fri, 7 Mar 2003 16:32:29 -0800 (PST) Subject: Statusmap background and icons not loading Message-ID: <20030308003229.47577.qmail@web14107.mail.yahoo.com> I have the following defined in cgi.cfg but I do not see the background map or the icons. I have double-checked the paths for the map and the icons. Any ideas? Thank you Tom Dunlap # STATUSMAP BACKGROUND IMAGE # This option allows you to specify an image to be used as a # background in the statusmap CGI. It is assumed that the image # resides in the HTML images path (i.e. /usr/local/nagios/share/images). # This path is automatically determined by appending "/images" # to the path specified by the 'physical_html_path' directive. # Note: The image file may be in GIF, PNG, JPEG, or GD2 format. # However, I recommend that you convert your image to GD2 format # (uncompressed), as this will cause less CPU load when the CGI # generates the image. #statusmap_background_image=smbackground.gd2 statusmap_background_image=ME-Map-800.jpeg # EXTENDED HOST INFORMATION # Note: All images must be placed in the /logos subdirectory under # the HTML images path (i.e. /usr/local/nagios/share/images/logos/). # This path is automatically determined by appending "/images/logos" # to the path specified by the 'physical_html_path' directive. #hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2;NT Server 4.0;;; hostextinfo[hnlfs1]=;win40.png;win40.png;win40.gd2;Windows 2000 Server;;; hostextinfo[hnlfs2]=;win40.png;win40.png;win40.gd2;Windows 2000 Server;;; __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adalle at ncf.ca Sat Mar 8 02:10:33 2003 From: adalle at ncf.ca (Andre Dalle) Date: Fri, 07 Mar 2003 20:10:33 -0500 Subject: Solaris 8 package available? In-Reply-To: <20030307114309.A54704@bolthole.com> References: <20030307114309.A54704@bolthole.com> Message-ID: <20030308011033.GB14974@ncf.ca> What should a Nagios package use as a base? "/usr/local/nagios" or directly into "/usr/local" like most Solaris pkgs? In the /usr/local case I'd suggest HTML and CGI content would live in /usr/local/share/nagios/{html,cgi} It looks like the blastwave site uses /opt/csw/ for packages? I try to avoid too much stuff in /opt mysql. Any opinions on where to install nagios for Solaris? Perhaps I should stick with the default /usr/local/nagios/ if the Nagios guys will host the package. On Fri, Mar 07, 2003 at 11:43:09AM -0800, Philip Brown wrote: > On Fri, Mar 07, 2003 at 02:25:57PM -0400, Cian O'Sullivan wrote: > > > > Just wondering if anyone has a Solaris 8 package of nagios compiled and ready to go. > > > > Dont want to re-invent the wheel > > not yet. I was considering adding it to the packages available from > www.blastwave.org > > but I'm already maintaining many many packages. it would be great if > someone else in this mailing list would like to step up and volunteer. > > Build machines, and packaging help, are all available through blastwave.org > I hope some folks will check it out. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Sat Mar 8 02:44:00 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Fri, 7 Mar 2003 17:44:00 -0800 Subject: Solaris 8 package available? In-Reply-To: <20030308011033.GB14974@ncf.ca> References: <20030307114309.A54704@bolthole.com> <20030308011033.GB14974@ncf.ca> Message-ID: <20030308014400.GA4909@UnderGrid.net> On Fri, Mar 07, 2003 at 08:10:33PM -0500, Andre Dalle wrote: > It looks like the blastwave site uses /opt/csw/ for packages? I try to > avoid too much stuff in /opt mysql. Actually it's quite common for third-party software to install itself within the /opt directory tree... Even the Solaris 8 SPARC machines in the SourceForge compile farm use /opt/csw for the third-party software... In that case I wouldn't think a pre-built package would be off by using /opt/csw for it just as *BSD ports usually use /usr/local as their base... Jeremy ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ben.Farris at key3media.com Sat Mar 8 02:56:21 2003 From: Ben.Farris at key3media.com (Ben.Farris at key3media.com) Date: Fri, 7 Mar 2003 17:56:21 -0800 Subject: nagios and Solaris 8 problem Message-ID: I have Solaris with the Jan 2003 patchcluster installed. Everything appears to compile properly. However if I try to call the nagios binary i get an error: root at barbrady # ./nagios -v /opt/nagios/etc/nagios.cfg nagios: Cannot find ELF Killed If I do an ldd on nagios and get ldd: nagios: file has insecure interpreter ELF Does anyone have any ideas what is wrong?? Thanks, Ben ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cian at logic.bm Sat Mar 8 03:08:17 2003 From: Cian at logic.bm (Cian O'Sullivan) Date: Fri, 7 Mar 2003 22:08:17 -0400 Subject: Solaris 8 package available? Message-ID: I agree to put the stuff in /opt I however dont put stuff in /opt/csw as having packages all over can get confusing. Whats wrong with... /opt/nagios binaries /etc/nagios configs /var/nagios logs ? -----Original Message----- From: Jeremy T. Bouse [mailto:jeremy+nagios at undergrid.net] Sent: Friday, March 07, 2003 9:44 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Solaris 8 package available? On Fri, Mar 07, 2003 at 08:10:33PM -0500, Andre Dalle wrote: > It looks like the blastwave site uses /opt/csw/ for packages? I try to > avoid too much stuff in /opt mysql. Actually it's quite common for third-party software to install itself within the /opt directory tree... Even the Solaris 8 SPARC machines in the SourceForge compile farm use /opt/csw for the third-party software... In that case I wouldn't think a pre-built package would be off by using /opt/csw for it just as *BSD ports usually use /usr/local as their base... Jeremy ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Sat Mar 8 04:12:32 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 07 Mar 2003 22:12:32 -0500 Subject: Differences between Nagios and Netsaint In-Reply-To: <20030307132836.2331b925.greg@intouch.ca> References: <20030307132836.2331b925.greg@intouch.ca> Message-ID: <1047093151.1116.5.camel@miles.debisschop.net> On Fri, 2003-03-07 at 16:28, Greg Webster wrote: > I'm trying to explain why I would prefer to use Nagios over Netsaint to my co-administrator and would like to get a bit better list than just "Netsaint is no longer being developed". > > Is there a resource that explains the differences/features? Are the bugs that have been found since the name change been fixed in Netsaint as well? > > This is only an issue since only the unstable release of Debian's apt-get lists Nagios. I would completely ignore the name change. As plugin developers, we do. To ask "should I use nagios or netsaint is the same as to ask should I use the current release of mozilla, or should I stop accepting source code updates for as of a year ago, even though they are released by the devlopers. They are the same program. The only thing that changed was the name. Netsaint is exaclty eqaul to Nagios of more than a year ago. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 8 05:45:44 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 07 Mar 2003 23:45:44 -0500 (EST) Subject: Nagios mailing list (check_snmp) .... In-Reply-To: <80C364880EDAD511BE39009027B0DCB804345086@RAINBOW2> References: <80C364880EDAD511BE39009027B0DCB804345086@RAINBOW2> Message-ID: plugins version 1.3.0 has a verbose mode. (not the betas) -sg On Fri, 7 Mar 2003, Daniel Finn wrote: > Sure. Here's the output using version 1.3-beta1: > > [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -v -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : > /tmp/nagiosplug-1.3-beta1/plugins/check_snmp: invalid option -- v > check_snmp: Unknown argument: (null) > > Usage: check_snmp -H -o [-w warn_range] [-c crit_range] > [-C community] [-s string] [-r regex] [-R regexi] [-t > timeout] > [-l label] [-u units] [-d delimiter] [-D output-delimiter] > check_snmp --help > check_snmp --version > [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : > SNMP WARNING - 0 > [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -d : > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -m ALL -v 1 10.209.68.92 sapublic > .1.3.6.1.4.1.2021.2.1.100.1 > > > and here's netsaint-plugins version 1.2.9-4: > > [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp --version > check_snmp (netsaint-plugins 1.2.9-4) 1.21.2.5 > The netsaint 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. > [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : > SNMP WARNING - 0 > [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -d : > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -m ALL -v 1 10.209.68.92 sapublic > .1.3.6.1.4.1.2021.2.1.100.1 > > > it doesn't appear that either of these like verbose mode or the -m flag. > Should I be using a different version? > -----Original Message----- > From: Subhendu Ghosh > To: Daniel Finn > Sent: 3/7/03 11:39 AM > Subject: RE: [Nagios-users] RE: Nagios mailing list (check_snmp) .... > > Can you post the results running it with -v (verbose) output? > > -sg > > On Fri, 7 Mar 2003, Daniel Finn wrote: > > > I don't remember seeing that email from you but that doesn't fix the > > problem. > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Friday, March 07, 2003 10:35 AM > > To: Daniel Finn > > Cc: 'Rookwell at t-online.de'; 'nagios-users at lists.sourceforge.net' > > Subject: Re: [Nagios-users] RE: Nagios mailing list (check_snmp) .... > > > > > > >From my message on thursday.. > > > > > > ---------- Forwarded message ---------- > > Date: Thu, 6 Mar 2003 12:48:07 -0500 (EST) > > From: Subhendu Ghosh > > To: "'nagios-users at lists.sourceforge.net'" > > > > Subject: Re: [Nagios-users] problems using check_snmp to monitor > sendmail > > > > On Thu, 6 Mar 2003, Daniel Finn wrote: > > > > > > > > > > Here's the problem I'm having with the snmp_check program. It > always > > > reports back that it's either at a WARNING state or a CRITICAL > state. > > > > > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > > > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > > > SNMP WARNING - 1 > > > > > > > > > Am I doing something wrong. Shouldn't it return OK because the > value > > it's > > > returning is between 1 and 10? Now if I change the warning and > critical > > > threshholds to be outside of what it's returning I get : > > > > > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > > > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > > > SNMP CRITICAL - *1* > > > > > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for > this > > > system and I still have the same problem. If anyone could help that > > > would > > > be great. Also, I'm not subscribed to this list so if you could > reply > > to me > > > via email that would be great. > > > > > > > The WARNING in the first case may be due to output on the stderr. > > > > Try the command with with "-m : " to prevent loading the mibs. > > > > > > > > > > On Fri, 7 Mar 2003, Daniel Finn wrote: > > > > > No, I downloaded and compiled the most recent version they offer on > thier > > > site and it's still broken. Unfortunately I wasn't getting much > help from > > > people on here so I wrote my own simple script that uses snmpget and > > either > > > returns OK or CRITICAL and why. > > > > > > -----Original Message----- > > > From: Rookwell at t-online.de [mailto:Rookwell at t-online.de] > > > Sent: Friday, March 07, 2003 1:46 AM > > > To: DFinn at studentadvantage.com > > > Subject: Nagios mailing list (check_snmp) .... > > > > > > > > > Hi, > > > > > > do you fix the check_snmp problem? > > > I want to check the netbios-sessions on a w2k-server, but it always > return > > > "Warning....". > > > > > > Rookwell (Germany) > > > > > > Sorry, my english is not so good! > > > > > > > > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Mar 8 05:42:32 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 07 Mar 2003 23:42:32 -0500 (EST) Subject: (no subject) In-Reply-To: <9F6689758D87D51191180002A55CB988067FF37C@pb350exc.ingprime.com> References: <9F6689758D87D51191180002A55CB988067FF37C@pb350exc.ingprime.com> Message-ID: you need to define the commands in nrpe.cfg on the machine running the nrpe daemon. On the nagios machine - call check_nrpe with the command name defined in nrpe.cfg -sg On Fri, 7 Mar 2003, Torres, Joe wrote: > Help > > > Question > > Once you setup your nrpe daemon on your remote host how do you setup the > service for this? > > Do you setup the check_nrpe command on the nagios server under the > services.cfg file and how because the doc is not to clear > > For example if I am checking PING on the remote server do I setup the > services.cfg file on nagios > With the following command > > Check_nrpe!check_ping -w 30 -c 20 ? > > Thanks for your help > > > Joe Torres > Prime Brokerage I.T. > ABN AMRO Incorporated > 350 Park Ave. > New York,N.Y.10022 > Phone-212 251-3924 > Fax-212 251-3950 > Email-jtorres at abnamroprime.com > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at bolthole.com Sat Mar 8 07:11:38 2003 From: phil at bolthole.com (Philip Brown) Date: Fri, 7 Mar 2003 22:11:38 -0800 Subject: Solaris 8 package available? In-Reply-To: ; from Cian@logic.bm on Fri, Mar 07, 2003 at 10:08:17PM -0400 References: Message-ID: <20030307221138.A5801@bolthole.com> On Fri, Mar 07, 2003 at 10:08:17PM -0400, Cian O'Sullivan wrote: > I agree to put the stuff in /opt I however dont put stuff in /opt/csw as > having packages all over can get confusing. Packages arent "all over". Setting your PATH to include /opt/csw/bin, gets you use of all normal packages distributed by blastwave. > > Whats wrong with... > > /opt/nagios binaries > /etc/nagios configs > /var/nagios logs /usr/local is best viewed as "locally compiled stuff". By definition, anything compiled by other people is not "locally compiled". Therefore, people making solaris packages for others, should not put them in /usr/local. The Solaris/SysV standard is to put those things under /opt. Standards are good. The advantage to blastwave's /opt/csw approach is that if the sysadmin CHOOSES to, they can either symlink, or lofs-mount, /opt/csw, to be /usr/local It then will look like a "normal" default compile. You can't do that with your suggestion. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Sat Mar 8 07:44:57 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Sat, 8 Mar 2003 07:44:57 +0100 Subject: Passive Service Checks from E-mail? In-Reply-To: <20030308111025.B233@IPAustralia.Gov.AU>; from Stanley.Hopcroft@IPAustralia.Gov.AU on Sat, Mar 08, 2003 at 11:10:35AM +1100 References: <71520D1F83A0C6408D99155D4CCAE0AA26C3@exch-be-01.upstanding.com> <20030308111025.B233@IPAustralia.Gov.AU> Message-ID: <20030308074457.F1450@hpce.nec.com> On Sat, Mar 08, 2003 at 11:10:35AM +1100, Stanley Hopcroft wrote: > On Fri, Mar 07, 2003 at 02:09:15PM -0800, Hiatt, William wrote: > > > I need to monitor some backup jobs from Veritas BackupEXEC. > > Unfortunately, BackupEXEC doesn't send SNMP traps when a job is > > successful (Figure that out!). But, it can send an e-mail out when a job > > has failed or is successful. Does anyone know the best way to parse this > > e-mail, or is anybody doing something like this already? Just thought > > I'd check-in before I spent the time to write one myself. > > 1 Having your MTA recognise that the letter (from Veritas) needs special > handling ie programmatic handling > > 2 Writing the program that slurps the letter, spits out the headers, and > extracts the backup status from what's left, and submitting the properly > formatted check result. Hmm, what are the disadvantages of simply using check_log(2.pl) on the mail file? Rasmus ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Sat Mar 8 10:52:37 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 8 Mar 2003 20:52:37 +1100 Subject: Passive Service Checks from E-mail? In-Reply-To: <20030308074457.F1450@hpce.nec.com>; from rplewe@hpce.nec.com on Sat, Mar 08, 2003 at 07:44:57AM +0100 References: <71520D1F83A0C6408D99155D4CCAE0AA26C3@exch-be-01.upstanding.com> <20030308111025.B233@IPAustralia.Gov.AU> <20030308074457.F1450@hpce.nec.com> Message-ID: <20030308205232.A262@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Sat, Mar 08, 2003 at 07:44:57AM +0100, Rasmus Plewe wrote: > On Sat, Mar 08, 2003 at 11:10:35AM +1100, Stanley Hopcroft wrote: > > On Fri, Mar 07, 2003 at 02:09:15PM -0800, Hiatt, William wrote: > > > > > I need to monitor some backup jobs from Veritas BackupEXEC. > > > Unfortunately, BackupEXEC doesn't send SNMP traps when a job is > > > successful (Figure that out!). But, it can send an e-mail out when a job > > > has failed or is successful. Does anyone know the best way to parse this > > > e-mail, or is anybody doing something like this already? Just thought > > > I'd check-in before I spent the time to write one myself. > > > > 1 Having your MTA recognise that the letter (from Veritas) needs special > > handling ie programmatic handling > > > > 2 Writing the program that slurps the letter, spits out the headers, and > > extracts the backup status from what's left, and submitting the properly > > formatted check result. > > Hmm, what are the disadvantages of simply using check_log(2.pl) on the > mail file? > None whatever apart from, 1 =:) spoiling a good story 2 (I think) that the information provided by the mail log is <= 1 bit ie mail has arrived or not. Even traps (some of them) carry more information than that. However, if you only want to act on the receipt of a letter - without any more interpretation - your suggestion is much simpler and more maintainable. > > Rasmus > 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: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rossi at ntlworld.com Sat Mar 8 17:06:38 2003 From: jamie.rossi at ntlworld.com (Jamie Rossi) Date: Sat, 8 Mar 2003 16:06:38 -0000 Subject: Help!!!! Message-ID: <000601c2e58c$b7273f60$fd470050@homeworkstation> Hi I recently installed Nagios on a RedHat 7.3 box. The install went fine, the web interface went fine also and can now be accessed via authentication. The libexec contains the plugins which work from the command line fine. I tested check http -I www.whatever.com and it returned the results fine. When I add services and hosts in the cfg files they are as the sample files. However, the monitoring doesn't work with the Status Information reading as "(Return code of 126 is out of bounds - plugin may be missing) " Its almost as if the services file or hosts file doesn't know where the libexec directory is...but I can't find where to set that. I have rub ./nagios restart which checks the config and it tells me everything is OK. What am I doing wrong? Kind Regards Jamie Rossi jamie.rossi at ntlworld.com Tel: +44(0)20 83301128 Mobile: +44(0)7773 427252 Fax: +44(0)7973 232745 MSN: jamesrossi at hotmail.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dylan at packetbell.com Sat Mar 8 17:25:42 2003 From: dylan at packetbell.com (Dylan VanHerpen) Date: Sat, 08 Mar 2003 09:25:42 -0700 Subject: Install did not create /usr/local/nagios/etc Message-ID: <3E6A1986.2010408@packetbell.com> I just started installing Nagios. I closely followed the instructions, but when I list the contents of /usr/local/nagios, I only have: bin sbin share var The etc directory is not there. I also looked in /etc and searched for nagios.cfg. Thanks, Dylan. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Mar 8 19:59:06 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 08 Mar 2003 13:59:06 -0500 Subject: Nagios and event correlation: plugging in sec simple event correlator Message-ID: <200303081859.NAA10073@cs.umb.edu> Hi all: I get a number of problems that are expected. E.G. high bandwidth usage when jumpstarting a system, or that I want additional thresholding (more than 5 passive events received in a given time) etc.. I would like to add sec (simple event correlator) http://www.estpak.ee/~risto/sec/ to the filtering chain in nagios. Does anybody have any ideas on how to integrate these tools? For purely passive events, I can try using sec to transfer passive events from a sec input pipe to the nagios command pipe. However I also want to suppress events that come from active polls based on other occurrences on the network. I am guessing that I can do something with event triggers, but I am not quite sure how to start, so I thought I would ask here. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Mar 8 20:03:06 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 08 Mar 2003 14:03:06 -0500 Subject: Differentiating traps and dynamic alerts. Message-ID: <200303081903.OAA10189@cs.umb.edu> I have nagios collecting traps. Currently I have all traps combing into a single "snmp_trap" event. What I would like to do is have different trap events for each interface on my switches. Some of these switches run to 96 interfaces. I really don't like the prospect of configuring hundreds of events that are different only for the interface index number. How do people deal with multiple sub-cases of a given event, so that instances of a problem aren't hidden. Is the only way to manually configure every possible permutation? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Sat Mar 8 17:49:21 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Sat, 8 Mar 2003 10:49:21 -0600 (CST) Subject: Install did not create /usr/local/nagios/etc In-Reply-To: <3E6A1986.2010408@packetbell.com> References: <3E6A1986.2010408@packetbell.com> Message-ID: <2933.192.168.1.9.1047142161.squirrel@xyzzy.homeip.net> Did you search the FAQ? http://www.nagios.org/faqs/viewfaq.php?faq_id=49 > I just started installing Nagios. I closely followed the instructions, > but when I list the contents of /usr/local/nagios, I only have: > > bin sbin share var > > The etc directory is not there. I also looked in /etc and searched for > nagios.cfg. > > Thanks, Dylan. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure at pneservices.com mobile: 913-636-5590 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jb at bw-networx.net Sun Mar 9 12:49:34 2003 From: jb at bw-networx.net (Joern Bredereck) Date: Sun, 9 Mar 2003 12:49:34 +0100 (CET) Subject: Plugins Crash with NetBSD 1.5.3/PPC Message-ID: Hi, has anyone testet the currently available plugins (nagiosplug-1.3-beta1.tar.gz) with NetBSD 1.5.3 for PowerPC? bash-2.05# uname -a NetBSD apfel1 1.5.3 NetBSD 1.5.3 (GENERIC) #5: Mon Jul 1 20:45:48 PDT 2002 briggs at cheetah:/usr/src/sys/arch/macppc/compile/GENERIC macppc I compiled them without any errors with bash-2.05# gcc -v Reading specs from /usr/pkg/gcc-2.95.3/lib/gcc-lib/powerpc--netbsd/2.95.3/specs gcc version 2.95.3 20010315 (release) (NetBSD nb3) But, when I try to run them, they crash like: bash-2.05# /usr/local/nagios/libexec/check_users -w 20 -c 25 Illegal instruction The binary itself seems to be ok, because without any parameters I get the syntax instructions without crash: bash-2.05# /usr/local/nagios/libexec/check_users Usage: check_users -w -c It seems to me, that the plugins crash when they try to gather any information from the system. Any hints, or even workarounds? Are there precompiled plugins for NetBSD 1.5.x/PPC available? TIA, J?rn Bredereck PGP-Key available: http://www.bw-networx.net/public-key.asc ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bernd.Bartmann at sohanet.de Sun Mar 9 14:07:34 2003 From: Bernd.Bartmann at sohanet.de (Bernd Bartmann) Date: Sun, 09 Mar 2003 14:07:34 +0100 Subject: Looking for IPSEC VPN check plugin Message-ID: <3E6B3C96.7060509@sohanet.de> Does anybody know if there is a plugin available to check if a remote IPSEC VPN service is still running (UDP port 500 and IP protocol 50)? Thanks in advance! -- Dipl.-Ing. (FH) Bernd Bartmann SoHaNet Technology GmbH / Kaiserin-Augusta-Allee 10-11 / 10553 Berlin Software / Hardware / Netzwerke * Entwicklung / Verkauf / Wartung Fon: +49 30 214783-44 / Fax: +49 30 214783-46 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Sun Mar 9 18:50:05 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Sun, 9 Mar 2003 09:50:05 -0800 Subject: Looking for IPSEC VPN check plugin In-Reply-To: <3E6B3C96.7060509@sohanet.de> References: <3E6B3C96.7060509@sohanet.de> Message-ID: <20030309175005.GA19418@UnderGrid.net> From my understanding of how most IKE implimentations work the check_udp plugin is not capable of doing this. There would need to be a check_ike plugin crafted and it would need to understand and utilize the IKE protocol to actually verify it is operational. Just merely connecting to 500/udp is not enough... As for checking for ESP (protocol 50), GRE (protocol 47) and AH (protocol 51) which are commonly used in IPSEC VPN services you can't really check for that in any manner I can think of as there is no real way I can think of to confirm without having a security association (SA) established with the VPN gateway server... So in essence to test for them you'd have to bring up a VPN tunnel to test this... These are just my observations and personal testing of check_udp against my already running and operational IPSEC IKE server and not getting anything back to verify it as up.. Jeremy On Sun, Mar 09, 2003 at 02:07:34PM +0100, Bernd Bartmann wrote: > Does anybody know if there is a plugin available to check if a remote > IPSEC VPN service is still running (UDP port 500 and IP protocol 50)? > > Thanks in advance! > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From df at dune.org Mon Mar 10 04:09:28 2003 From: df at dune.org (df at dune.org) Date: Mon, 10 Mar 2003 04:09:28 +0100 Subject: Statusmap, Internet routers, and blocked PINGs Message-ID: <001401c2e6b2$767a7820$6901a8c0@arrakis> Hello I am actually testing a few nagios configs for my setup.. My question mostly concerns routers of the internet. Some of my ISP's are blocking traceroute/pings on their net, causing the check_ping utility to fail. Here is an exemple of what a ping to those servers return: 36 bytes from somerouter.someisp.com (xxx.xxx.xxx.xxx): Communication prohibited by filter Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 e788 0 0000 34 01 d323 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx At the moment, i only declare those routers without any default checks (in hosts.cfg), nor services checks (services.cfg).. It results that on my statusmaps, those hosts are shown RED/FAULTY.. I also disabled the notification for those hosts so i'm not anoyed by messages telling me the hosts are down.. My question is the following, would their be a way to make those hosts i cannot ping nor access any open ports, to be shown as GREEN/OK hosts on my statusmaps ? Maybe another plugin that would recognize those messages, and make the routers status as OK ? I know it's a little fancy but.. :) Thank you for the help ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From securityguy at ikano.com Mon Mar 10 06:09:40 2003 From: securityguy at ikano.com (Robert Galloway) Date: Sun, 9 Mar 2003 22:09:40 -0700 Subject: Statusmap, Internet routers, and blocked PINGs Message-ID: <200303092209.AA1333068068@mail.ikano.com> Use "check_dummy" for your host and service check. Thanks, Robert S. Galloway Chief Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 securityguy at ikano.com 801-415-8089 ---------- Original Message ---------------------------------- From: Date: Mon, 10 Mar 2003 04:09:28 +0100 >Hello > >I am actually testing a few nagios configs for my setup.. >My question mostly concerns routers of the internet. > >Some of my ISP's are blocking traceroute/pings on their net, causing the check_ping utility to fail. > >Here is an exemple of what a ping to those servers return: >36 bytes from somerouter.someisp.com (xxx.xxx.xxx.xxx): Communication prohibited by filter >Vr HL TOS Len ID Flg off TTL Pro cks Src Dst > 4 5 00 5400 e788 0 0000 34 01 d323 xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx > >At the moment, i only declare those routers without any default checks (in hosts.cfg), nor services checks (services.cfg).. >It results that on my statusmaps, those hosts are shown RED/FAULTY.. >I also disabled the notification for those hosts so i'm not anoyed by messages telling me the hosts are down.. > >My question is the following, would their be a way to make those hosts i cannot ping nor access any open ports, >to be shown as GREEN/OK hosts on my statusmaps ? >Maybe another plugin that would recognize those messages, and make the routers status as OK ? > >I know it's a little fancy but.. :) > >Thank you for the help ! > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parmy at WSSPL.com Mon Mar 10 08:21:13 2003 From: parmy at WSSPL.com (Parameshwar) Date: Mon, 10 Mar 2003 12:51:13 +0530 Subject: Return Code of 127 Message-ID: <30BFDEA66FF4D41191EB00D0B765BC6F813BBF@medha.wsspl.com> Hi, This is my very first question to the mailing list. Hope this mailing list helps me to solve the problems which I am facing at present. I have installed and configured nagios-1.0 with the nagiosplug-1.3. Looks like the basic plugin "check_ping" is not working for me. It works fine from the command prompt but not from the services.cfg file due to which I am not able to proceed further. The status of the host is displayed as "Down" even when it can be pinged. The status information states some thing like this "Return code of 127 is out of bounds - plugin may be missing". Please help me how to go about it. Thanks in Advance, -Parmy -------------- next part -------------- An HTML attachment was scrubbed... URL: From Brad at pretzel.com.au Mon Mar 10 08:39:21 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Mon, 10 Mar 2003 15:39:21 +0800 Subject: Check_dns Message-ID: <131A385F21AAD311BD6400902763781D01DB2560@Z8> Just a quick question, is there anyway I can obtain a copy of the file (normally in /usr/local/nagios/libexec/) check_dns? The exsisting file I had became corrupt and I was just hoping I might be able to download them individually incase it happens again. thanks brad ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From info at exsilia.net Mon Mar 10 09:34:04 2003 From: info at exsilia.net (Exsilia Internet Services) Date: Mon, 10 Mar 2003 09:34:04 +0100 (CET) Subject: Return Code of 127 In-Reply-To: <30BFDEA66FF4D41191EB00D0B765BC6F813BBF@medha.wsspl.com> References: <30BFDEA66FF4D41191EB00D0B765BC6F813BBF@medha.wsspl.com> Message-ID: <33923.212.178.7.53.1047285244.squirrel@embrace.selwerd.nl> Hello, > This is my very first question to the mailing list. Hope this mailing > list helps me to solve the problems which I am facing at present. I have > installed and configured nagios-1.0 with the nagiosplug-1.3. Looks like > the basic plugin "check_ping" is not working for me. It works fine from > the command prompt but not from the services.cfg file due to which I am > not able to proceed further. The status of the host is displayed as > "Down" even when it can be pinged. The status information states some > thing like this "Return code of 127 is out of bounds - plugin may be > missing". Please help me how to go about it. I had this problem with the notification tools I use (sms_client). If everything is alright nagios runs as a non-root user, ie. 'nagios'. Could you verify if the check_ping plugin can be ran by the nagios user? Also, if you have added/removed/changed any subgroups the Nagios user is in, you have to restart Nagios! Hope this helps. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Mon Mar 10 11:08:31 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Mon, 10 Mar 2003 10:08:31 -0000 Subject: Plugins Crash with NetBSD 1.5.3/PPC Message-ID: <53104E20A25CD411B556009027E50636064D5410@pnnemp02.pn.egg.com> Joern, Please can you try with the final v1.3 of nagiosplug. There have been lots of fixes in the build process since beta1. I don't think we've had anyone reported successes with NetBSD on PowerPC - please let us know how you get on. Ton > -----Original Message----- > From: Joern Bredereck [SMTP:jb at bw-networx.net] > Sent: Sunday, March 09, 2003 11:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugins Crash with NetBSD 1.5.3/PPC > > Hi, > > has anyone testet the currently available plugins > (nagiosplug-1.3-beta1.tar.gz) with NetBSD 1.5.3 for PowerPC? > > bash-2.05# uname -a > NetBSD apfel1 1.5.3 NetBSD 1.5.3 (GENERIC) #5: Mon Jul 1 20:45:48 PDT > 2002 briggs at cheetah:/usr/src/sys/arch/macppc/compile/GENERIC macppc > > I compiled them without any errors with > > bash-2.05# gcc -v > Reading specs from > /usr/pkg/gcc-2.95.3/lib/gcc-lib/powerpc--netbsd/2.95.3/specs > gcc version 2.95.3 20010315 (release) (NetBSD nb3) > > But, when I try to run them, they crash like: > > bash-2.05# /usr/local/nagios/libexec/check_users -w 20 -c 25 > Illegal instruction > > The binary itself seems to be ok, because without any parameters I get the > syntax instructions without crash: > > bash-2.05# /usr/local/nagios/libexec/check_users > > Usage: check_users -w -c > > It seems to me, that the plugins crash when they try to gather any > information from the system. Any hints, or even workarounds? > > Are there precompiled plugins for NetBSD 1.5.x/PPC available? > > TIA, > > J?rn Bredereck > > PGP-Key available: http://www.bw-networx.net/public-key.asc > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The > debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiel at ksan.de Mon Mar 10 11:11:26 2003 From: thiel at ksan.de (Florian Thiel) Date: Mon, 10 Mar 2003 11:11:26 +0100 Subject: weird problems with hostgroups/services/inheritance Message-ID: <20030310101126.GO6944@grok.noroute.de> Hi! For all our local servers I have a setup with explicit host definitions for each one of them. They all inherit a standard template and services are specified with multiple entries in the host_name line, if applicable. This part of the setup works fine. I have another group of servers spread throughout the city. They are all similiar, so I have set them up like this. -One template including all the relevant settings. -specific host entries containing host_name, Alias and address -one hostgroup which contains all these hosts -service entries for these hosts are referenced not through host_name but through hostgroup_name nagios -v CONFFILE gives no errors, it detects all hosts. The Status Map (2D) is also working correctly all the time. Nearly all the other views behave strange. -In the "Tactical Overview" the services appaear as disabled. -In "Service Details" the services seem to appear only a few minutes after I reloaded nagios. Everytime I reload it, they disappear again. -In "Host Details" they appear only very seldom. -"Status Summary" shows the hostgroup but most of the time shows "no matching hosts/services" -"Status Grid" is the same What could that be? May I not have services which only specify hostgroup_name? Florian -- Florian Thiel - Medienzentrum Kassel Systembetreuung Internet- und Kommunikationstechnik Kasseler Schulen am Netz - http://www.medienzentrum-kassel.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Kraus.hp at sysde.eads.net Mon Mar 10 12:14:32 2003 From: Markus.Kraus.hp at sysde.eads.net (Kraus, Markus) Date: Mon, 10 Mar 2003 12:14:32 +0100 Subject: Tip how to compile (nagios whith) histogram.cgi,statusmap.cgi, tr ends.cgi Message-ID: Hello @, I often read about problems in compiling these special cgis. Besides I had the same problems. Now I have maybe found the reason (for me it works). # After installing everything recommended in particular: ######################################################## rpm -qa | grep gd #gd-devel-1.8.4-9 #gd-1.8.4-9 rpm -qa | grep jpeg #libjpeg-6b-21 #libjpeg-devel-6b-21 rpm -qa | grep png #libpng-1.2.2-6 #libpng10-1.0.13-5 #libpng10-devel-1.0.13-5 # Test the following: ##################### find /usr -name "libgd.so*" #/usr/lib/libgd.so.1 #/usr/lib/libgd.so.1.8 #/usr/lib/libgd.so.1.8.4 #/usr/lib/libgd.so find /usr -name "libjpeg.so*" #/usr/lib/libjpeg.so.62 #/usr/lib/libjpeg.so.62.0.0 #/usr/lib/libjpeg.so find /usr -name "libpng.so*" #/usr/lib/libpng.so.3.1.2.2 #/usr/lib/libpng.so.3 #/usr/lib/libpng.so.2.1.0.13 #/usr/lib/libpng.so.2 # So far so good. Everything is in place besides "/usr/lib/libpng.so", so create a link: ############################################################################ ############ cd /usr/lib/ ln -s libpng12.so.0.1.2.2 libpng.so # Add the Libraries path to "/etc/ld.so.conf" and update: ######################################################### echo "/usr/lib" >> /etc/ld.so.conf ldconfig # configure/make: ################# make clean # if you make already a ./configure that doesn't work ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include make all # you don't need to 'make install' if you have an running nagios installation # just copy the missing cgis from .../cgi/ That's it! On my RedHat 8.0 Server everything works fine with this workaround. Best regards Markus _____________________________________________________________ Markus Kraus UNIX Service Operations _____________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Mon Mar 10 12:41:04 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Mon, 10 Mar 2003 11:41:04 +0000 Subject: Nagios & database support In-Reply-To: <001401c2e6b2$767a7820$6901a8c0@arrakis> References: <001401c2e6b2$767a7820$6901a8c0@arrakis> Message-ID: Dear All, I was wondering if somebody could clarify to me how Nagios can support logging status data, ie the results of all service and host checks to a database file. We have been running Nagios for almost a year now and the log files are rather large, plus we wish to manipulate the data to perform trending etc. Therefore in order to do this what do we have to do. I can see two choice here : 1. Global event handlers to manually copy the data into a mysql database of my choosing - however this would be messy as all data would have to go into one table. 2. Re-compile Nagios for database support - but does this store the service and hosts results or just the configuration ? Any help and pearls of wisdom would be very gratefully received !!! Thanks Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Mon Mar 10 13:49:07 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 10 Mar 2003 07:49:07 -0500 Subject: Running Checks To Remote Hosts Over SSH Message-ID: <5593DA408212D511B0910002A513501F01D2891A@phsexch20.mgh.harvard.edu> Hi Jim, Having the nrpe daemon on the client system won't interfere with the check_by_ssh operation will it? -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, March 07, 2003 5:16 PM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Running Checks To Remote Hosts Over SSH You would use check_by_ssh, but you wouldn't need NRPE in that case. Caveat: If you're planning to do a *lot* of checks, SSH doesn't scale well. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Friday, March 07, 2003 3:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Running Checks To Remote Hosts Over SSH > > > Hi there, > > We have a server which has only port 22 (ssh) open for remote > connection. Isn't > there a way to > run checks to the nrpe client on the remote server over ssh? > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loek at amaze.nl Mon Mar 10 14:18:44 2003 From: loek at amaze.nl (loek at amaze.nl) Date: Mon, 10 Mar 2003 14:18:44 +0100 Subject: notifications from single host. Message-ID: <20030310141844.D9309@amaze.nl> hi all, I've got a question about the notificatios which get send out by nagios, Is it possible to send notifications from a single host to different contact groups? A customer wants to get notifications from his machine, but we dont want to get him notifications from other machines. Is it possible to configure hosts.cfg with 'contact_group customername' ? Or how should I configure nagios, so it will send notifications from a single host, to a contactgroup? thanks in advance, Loek van der Linden ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henrik at lewander.com Mon Mar 10 14:54:30 2003 From: henrik at lewander.com (Henrik Lewander) Date: Mon, 10 Mar 2003 14:54:30 +0100 Subject: Plugins timeout Message-ID: <01dc01c2e70c$93900bf0$05c6a8c0@europe.ad.flextronics.com> Hi! Sometimes one of my servers are heavily loaded and I get a "CRITICAL - Plugin timed out after 10 seconds" message from Nagios. I would like to increase this timeout, but have been unable to find a setting for this. Does one exist? Regards, Henrik ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanislaw.szczygiel at amerbank.pl Mon Mar 10 16:04:53 2003 From: stanislaw.szczygiel at amerbank.pl (=?iso-8859-2?Q?Stanis=B3aw_Szczygie=B3?=) Date: Mon, 10 Mar 2003 16:04:53 +0100 Subject: how to compile check_cluster? Message-ID: <14B0262CF202D311A9B10008C7FA43E3016B4393@ACO_NT_I> Hello, Please help... Im not programmer, Im just user. Can anyone help me how to compile check_cluster? I found the source in CVS, what I should do now? There is no help in docs, or on mailing lists... Stanis?aw Szczygie? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralf.Schreg at telemarkt-ag.de Mon Mar 10 15:32:05 2003 From: Ralf.Schreg at telemarkt-ag.de (Schreg, Ralf) Date: Mon, 10 Mar 2003 15:32:05 +0100 Subject: AW: statusmap.cgi question Message-ID: <755175A1CAD8CD419B42E8F9FAFA709B2E60@mail.telemarkt.netz> I have nearly the same problem - but only with the Layout Method "User-supplied coords": Viewing statusmaps with "User-supplied coords" can't be viewed because of an "internal error". In the appache-log there's only a line "Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi" But: All other Layout-Methods are working. What's going wrong? Ralf Schreg Manager IT Teamleiter Systemadministration TELEMARKT AG Telefon: +49.(0)7121.344.178 -----Urspr?ngliche Nachricht----- Von: Colby, James [mailto:jcolby at enterasys.com] Gesendet: Freitag, 7. M?rz 2003 21:11 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] statusmap.cgi question All - I'm having a problem accessing my statusmap.cgi and trends.cgi. I have successfully compiled all of the CGIs, but I am still getting this error when I try to view them in nagios: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root at damascus.ctron.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. ------------------------------------------------------------------------ ---- Apache/1.3.20 Server at Port 80 And in the the server error log I have the following message [Fri Mar 7 14:50:50 2003] [error] [client 134.141.1.61] script not found or unable to stat: /usr/local/nagios /sbin/statusmap.cgi ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or directory [Fri Mar 7 14:52:03 2003] [error] [client 134.141.1.61] Premature end of script headers: /usr/local/nagios/sb in/statusmap.cgi If I log into my nagios server, and try to execute the statusmap.cgi as the nagios user I get the following output: getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. In order to do that, you need to set the REQUEST_METHOD environment variable to either "GET", "HEAD", or "POST". When using the GET and HEAD methods, arguments can be passed to the CGI by setting the "QUERY_STRING" environment variable. If you're using the POST method, data is read from standard input. Also of note: if you've enabled authentication in the CGIs, you must set the "REMOTE_USER" environment variable to be the name of the user you're "authenticated" as. I am running nagios version 1.0 on a soloris 2.7 server running apache 1.3.20 Thanks in advance for all of your help James ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Mar 10 16:22:10 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 10 Mar 2003 09:22:10 -0600 Subject: Running Checks To Remote Hosts Over SSH Message-ID: It shouldn't. Unless you feel the overwhelming urge to set the NRPE daemon to run on port 22. ;) jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Monday, March 10, 2003 6:49 AM > To: Carroll, Jim P [Contractor] > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Running Checks To Remote Hosts Over SSH > > > Hi Jim, > > Having the nrpe daemon on the client system won't interfere with the > check_by_ssh operation will it? > > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Friday, March 07, 2003 5:16 PM > To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Running Checks To Remote Hosts Over SSH > > > You would use check_by_ssh, but you wouldn't need NRPE in that case. > > Caveat: If you're planning to do a *lot* of checks, SSH > doesn't scale well. > > jc > > > > -----Original Message----- > > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > > Sent: Friday, March 07, 2003 3:24 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Running Checks To Remote Hosts Over SSH > > > > > > Hi there, > > > > We have a server which has only port 22 (ssh) open for remote > > connection. Isn't > > there a way to > > run checks to the nrpe client on the remote server over ssh? > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of > > TotalView, The debugger > > for complex code. Debugging C/C++ programs can leave you > > feeling lost and > > disoriented. TotalView can help you find your way. Available > > on major UNIX > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sheken at top-consulting.net Mon Mar 10 16:48:45 2003 From: sheken at top-consulting.net (George Breahna) Date: Mon, 10 Mar 2003 10:48:45 -0500 Subject: FreeBSD & Nagios - revisited Message-ID: <001701c2e71c$884b1e00$2700a8c0@pulsar> Hey guys, before I start let me tell you that I did read the previous messages and it has not solved my problems. Here's what I have done so far on FreeBSD 4.6-Release. configured & installed libjpeg in /usr/local/libjpg configured & installed libpng in /usr/local/libpng configured & installed gd-2.0.11 in /usr/local/gd ( it has found all the libraries, png, jpg, etc, etc ) I updated my ld searchpath and it sees all the libs in jpg/png/gd dirs I configure nagios using with-gd-lib and with-gd-inc set to the proper directories, yet I still get that dreaded message checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no What am I doing wrong ? I tried using the default libs that come with the system ( from the ports collection ), and I used --with-gd-lib and --with-gd-inc as another user mentioned here but that also failed. My only guess right now is that I am missing gd-devel-1.8.44 ?? I did some research and I think it's only available in RPM form for RedHat.. Any clues are more than welcome! Cheers, George -------------- next part -------------- An HTML attachment was scrubbed... URL: From DFinn at studentadvantage.com Mon Mar 10 17:06:23 2003 From: DFinn at studentadvantage.com (Daniel Finn) Date: Mon, 10 Mar 2003 11:06:23 -0500 Subject: Nagios mailing list (check_snmp) .... Message-ID: <80C364880EDAD511BE39009027B0DCB804345089@RAINBOW2> Ok... I'll see if I can get time to download that and give it a try. But I can't immagine just running it in verbose mode is going to tell you what's wrong. All that does is tell you the snmpget command that it's running doesn't it? Do you have any other ideas? -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Friday, March 07, 2003 11:46 PM To: Daniel Finn Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] RE: Nagios mailing list (check_snmp) .... plugins version 1.3.0 has a verbose mode. (not the betas) -sg On Fri, 7 Mar 2003, Daniel Finn wrote: > Sure. Here's the output using version 1.3-beta1: > > [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -v -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : > /tmp/nagiosplug-1.3-beta1/plugins/check_snmp: invalid option -- v > check_snmp: Unknown argument: (null) > > Usage: check_snmp -H -o [-w warn_range] [-c crit_range] > [-C community] [-s string] [-r regex] [-R regexi] [-t > timeout] > [-l label] [-u units] [-d delimiter] [-D output-delimiter] > check_snmp --help > check_snmp --version > [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : > SNMP WARNING - 0 > [dfinn at sadqalx38 dfinn]$ /tmp/nagiosplug-1.3-beta1/plugins/check_snmp -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -d : > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -m ALL -v 1 10.209.68.92 sapublic > .1.3.6.1.4.1.2021.2.1.100.1 > > > and here's netsaint-plugins version 1.2.9-4: > > [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp --version > check_snmp (netsaint-plugins 1.2.9-4) 1.21.2.5 > The netsaint 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. > [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -D : > SNMP WARNING - 0 > [dfinn at sadqalx38 dfinn]$ /usr/lib/netsaint/plugins/check_snmp -H > 10.209.68.92 -o .1.3.6.1.4.1.2021.2.1.100.1 -w 0 -c 0 -C sapublic -d : > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -m ALL -v 1 10.209.68.92 sapublic > .1.3.6.1.4.1.2021.2.1.100.1 > > > it doesn't appear that either of these like verbose mode or the -m flag. > Should I be using a different version? > -----Original Message----- > From: Subhendu Ghosh > To: Daniel Finn > Sent: 3/7/03 11:39 AM > Subject: RE: [Nagios-users] RE: Nagios mailing list (check_snmp) .... > > Can you post the results running it with -v (verbose) output? > > -sg > > On Fri, 7 Mar 2003, Daniel Finn wrote: > > > I don't remember seeing that email from you but that doesn't fix the > > problem. > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Friday, March 07, 2003 10:35 AM > > To: Daniel Finn > > Cc: 'Rookwell at t-online.de'; 'nagios-users at lists.sourceforge.net' > > Subject: Re: [Nagios-users] RE: Nagios mailing list (check_snmp) .... > > > > > > >From my message on thursday.. > > > > > > ---------- Forwarded message ---------- > > Date: Thu, 6 Mar 2003 12:48:07 -0500 (EST) > > From: Subhendu Ghosh > > To: "'nagios-users at lists.sourceforge.net'" > > > > Subject: Re: [Nagios-users] problems using check_snmp to monitor > sendmail > > > > On Thu, 6 Mar 2003, Daniel Finn wrote: > > > > > > > > > > Here's the problem I'm having with the snmp_check program. It > always > > > reports back that it's either at a WARNING state or a CRITICAL > state. > > > > > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > > > .1.3.6.1.4.1.2021.2.1.5.1 -w '1:10' -c '1:10' -C sapublic > > > SNMP WARNING - 1 > > > > > > > > > Am I doing something wrong. Shouldn't it return OK because the > value > > it's > > > returning is between 1 and 10? Now if I change the warning and > critical > > > threshholds to be outside of what it's returning I get : > > > > > > [root at sadqalx38 plugins]# ./check_snmp -H 10.209.68.92 -o > > > .1.3.6.1.4.1.2021.2.1.5.1 -w '3:10' -c '3:10' -C sapublic > > > SNMP CRITICAL - *1* > > > > > > I've downloaded nagios-plugins-1.3.0.tar.gz and compiled them for > this > > > system and I still have the same problem. If anyone could help that > > > would > > > be great. Also, I'm not subscribed to this list so if you could > reply > > to me > > > via email that would be great. > > > > > > > The WARNING in the first case may be due to output on the stderr. > > > > Try the command with with "-m : " to prevent loading the mibs. > > > > > > > > > > On Fri, 7 Mar 2003, Daniel Finn wrote: > > > > > No, I downloaded and compiled the most recent version they offer on > thier > > > site and it's still broken. Unfortunately I wasn't getting much > help from > > > people on here so I wrote my own simple script that uses snmpget and > > either > > > returns OK or CRITICAL and why. > > > > > > -----Original Message----- > > > From: Rookwell at t-online.de [mailto:Rookwell at t-online.de] > > > Sent: Friday, March 07, 2003 1:46 AM > > > To: DFinn at studentadvantage.com > > > Subject: Nagios mailing list (check_snmp) .... > > > > > > > > > Hi, > > > > > > do you fix the check_snmp problem? > > > I want to check the netbios-sessions on a w2k-server, but it always > return > > > "Warning....". > > > > > > Rookwell (Germany) > > > > > > Sorry, my english is not so good! > > > > > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Mon Mar 10 17:08:34 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 10 Mar 2003 08:08:34 -0800 (PST) Subject: FreeBSD & Nagios - revisited In-Reply-To: <001701c2e71c$884b1e00$2700a8c0@pulsar> References: <001701c2e71c$884b1e00$2700a8c0@pulsar> Message-ID: <20030310160834.91531.qmail@web21509.mail.yahoo.com> Did you use the nagios port? Just do make install....Worked on 4.7, try downloading an updated version of the ports collection. George Breahna wrote:Hey guys, before I start let me tell you that I did read the previous messages and it has not solved my problems. Here's what I have done so far on FreeBSD 4.6-Release. configured & installed libjpeg in /usr/local/libjpgconfigured & installed libpng in /usr/local/libpngconfigured & installed gd-2.0.11 in /usr/local/gd ( it has found all the libraries, png, jpg, etc, etc ) I updated my ld searchpath and it sees all the libs in jpg/png/gd dirs I configure nagios using with-gd-lib and with-gd-inc set to the proper directories, yet I still get that dreaded message checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no What am I doing wrong ? I tried using the default libs that come with the system ( from the ports collection ), and I used --with-gd-lib and --with-gd-inc as another user mentioned here but that also failed.My only guess right now is that I am missing gd-devel-1.8.44 ?? I did some research and I think it's only available in RPM form for RedHat.. Any clues are more than welcome! Cheers,George --------------------------------- Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From sheken at top-consulting.net Mon Mar 10 17:28:34 2003 From: sheken at top-consulting.net (George Breahna) Date: Mon, 10 Mar 2003 11:28:34 -0500 Subject: FreeBSD & Nagios - revisited In-Reply-To: <20030310160834.91531.qmail@web21509.mail.yahoo.com> References: <20030310160834.91531.qmail@web21509.mail.yahoo.com> Message-ID: <002a01c2e722$18bda020$2700a8c0@pulsar> I tried, and although I'd rather not use the ports, here's what it tells me ===> Configuring for nagios-1.0 ===> nagios-1.0 depends on shared library: gd.2 - found ===> nagios-1.0 depends on shared library: gnugetopt.1 - found loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for gcc... cc checking whether the C compiler (cc -O -pipe -I/usr/local/include ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. ===> Script "configure" failed unexpectedly. Please report the problem to blaz at si.FreeBSD.org [maintainer] and attach the "/usr/ports/net/nagios/work/nagios-1.0/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/net/nagios. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jon Lyons Sent: Monday, March 10, 2003 11:09 AM To: George Breahna; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FreeBSD & Nagios - revisited Did you use the nagios port? Just do make install....Worked on 4.7, try downloading an updated version of the ports collection. George Breahna wrote: Hey guys, before I start let me tell you that I did read the previous messages and it has not solved my problems. Here's what I have done so far on FreeBSD 4.6-Release. configured & installed libjpeg in /usr/local/libjpg configured & installed libpng in /usr/local/libpng configured & installed gd-2.0.11 in /usr/local/gd ( it has found all the libraries, png, jpg, etc, etc ) I updated my ld searchpath and it sees all the libs in jpg/png/gd dirs I configure nagios using with-gd-lib and with-gd-inc set to the proper directories, yet I still get that dreaded message checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no What am I doing wrong ? I tried using the default libs that come with the system ( from the ports collection ), and I used --with-gd-lib and --with-gd-inc as another user mentioned here but that also failed. My only guess right now is that I am missing gd-devel-1.8.44 ?? I did some research and I think it's only available in RPM form for RedHat.. Any clues are more than welcome! Cheers, George _____ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From sripley at chiaro.com Mon Mar 10 17:58:03 2003 From: sripley at chiaro.com (Scott Ripley) Date: Mon, 10 Mar 2003 10:58:03 -0600 Subject: FreeBSD & Nagios - revisited Message-ID: <668C5EBD23862F459CF63DAFFCA6268C322695@rchst006.cus.chiaro.com> I have the following gd lib installed from the ports collection, and it works with Nagios compiled from the ports. gd-1.8.4_5 A graphics library for fast PNG creation I'm sure you have your reasons for not using the ports collection, but it worked well for me. I am running on FreeBSD4.2 w/ a selectively updated ports tree. Scott. -----Original Message----- From: George Breahna [mailto:sheken at top-consulting.net] Sent: Monday, March 10, 2003 10:29 AM To: 'Jon Lyons'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] FreeBSD & Nagios - revisited I tried, and although I'd rather not use the ports, here's what it tells me ===> Configuring for nagios-1.0 ===> nagios-1.0 depends on shared library: gd.2 - found ===> nagios-1.0 depends on shared library: gnugetopt.1 - found loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for gcc... cc checking whether the C compiler (cc -O -pipe -I/usr/local/include ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. ===> Script "configure" failed unexpectedly. Please report the problem to blaz at si.FreeBSD.org [maintainer] and attach the "/usr/ports/net/nagios/work/nagios-1.0/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/net/nagios. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jon Lyons Sent: Monday, March 10, 2003 11:09 AM To: George Breahna; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FreeBSD & Nagios - revisited Did you use the nagios port? Just do make install....Worked on 4.7, try downloading an updated version of the ports collection. George Breahna wrote: Hey guys, before I start let me tell you that I did read the previous messages and it has not solved my problems. Here's what I have done so far on FreeBSD 4.6-Release. configured & installed libjpeg in /usr/local/libjpg configured & installed libpng in /usr/local/libpng configured & installed gd-2.0.11 in /usr/local/gd ( it has found all the libraries, png, jpg, etc, etc ) I updated my ld searchpath and it sees all the libs in jpg/png/gd dirs I configure nagios using with-gd-lib and with-gd-inc set to the proper directories, yet I still get that dreaded message checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no What am I doing wrong ? I tried using the default libs that come with the system ( from the ports collection ), and I used --with-gd-lib and --with-gd-inc as another user mentioned here but that also failed. My only guess right now is that I am missing gd-devel-1.8.44 ?? I did some research and I think it's only available in RPM form for RedHat.. Any clues are more than welcome! Cheers, George _____ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ----------------------------------------- (on rchss001) This e-mail and any files transmitted with it are the property of Chiaro Networks, Ltd., and may contain confidential and privileged material for the sole use of the intended recipient(s) to whom this e-mail is addressed. If you are not one of the named recipient(s), or otherwise have reason to believe that you have received this message in error, please notify the sender and delete all copies from your system. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. --------------------------------------------------------- From jlyons30 at yahoo.com Mon Mar 10 18:17:53 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Mon, 10 Mar 2003 09:17:53 -0800 (PST) Subject: FreeBSD & Nagios - revisited In-Reply-To: <668C5EBD23862F459CF63DAFFCA6268C322695@rchst006.cus.chiaro.com> References: <668C5EBD23862F459CF63DAFFCA6268C322695@rchst006.cus.chiaro.com> Message-ID: <20030310171753.14573.qmail@web21512.mail.yahoo.com> Permissions error or something? Does /usr/local/include exist? checking whether the C compiler (cc -O -pipe -I/usr/local/include ) works... no Scott Ripley wrote:I have the following gd lib installed from the ports collection, and it works with Nagios compiled from the ports. gd-1.8.4_5 A graphics library for fast PNG creation I'm sure you have your reasons for not using the ports collection, but it worked well for me. I am running on FreeBSD4.2 w/ a selectively updated ports tree. Scott.-----Original Message----- From: George Breahna [mailto:sheken at top-consulting.net] Sent: Monday, March 10, 2003 10:29 AM To: 'Jon Lyons'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] FreeBSD & Nagios - revisited I tried, and although I'd rather not use the ports, here's what it tells me ===> Configuring for nagios-1.0 ===> nagios-1.0 depends on shared library: gd.2 - found ===> nagios-1.0 depends on shared library: gnugetopt.1 - found loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for gcc... cc checking whether the C compiler (cc -O -pipe -I/usr/local/include ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. ===> Script "configure" failed unexpectedly. Please report the problem to blaz at si.FreeBSD.org [maintainer] and attach the "/usr/ports/net/nagios/work/nagios-1.0/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/net/nagios. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jon Lyons Sent: Monday, March 10, 2003 11:09 AM To: George Breahna; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FreeBSD & Nagios - revisited Did you use the nagios port? Just do make install....Worked on 4.7, try downloading an updated version of the ports collection. George Breahna wrote: Hey guys, before I start let me tell you that I did read the previous messages and it has not solved my problems. Here's what I have done so far on FreeBSD 4.6-Release. configured & installed libjpeg in /usr/local/libjpgconfigured & installed libpng in /usr/local/libpngconfigured & installed gd-2.0.11 in /usr/local/gd ( it has found all the libraries, png, jpg, etc, etc ) I updated my ld searchpath and it sees all the libs in jpg/png/gd dirs I configure nagios using with-gd-lib and with-gd-inc set to the proper directories, yet I still get that dreaded message checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no What am I doing wrong ? I tried using the default libs that come with the system ( from the ports collection ), and I used --with-gd-lib and --with-gd-inc as another user mentioned here but that also failed.My only guess right now is that I am missing gd-devel-1.8.44 ?? I did some research and I think it's only available in RPM form for RedHat.. Any clues are more than welcome! Cheers,George --------------------------------- Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more----------------------------------------- (on rchss001) This e-mail and any files transmitted with it are the property of Chiaro Networks, Ltd., and may contain confidential and privileged material for the sole use of the intended recipient(s) to whom this e-mail is addressed. If you are not one of the named recipient(s), or otherwise have reason to believe that you have received this message in error, please notify the sender and delete all copies from your system. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. --------------------------------------------------------- --------------------------------- Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From df at dune.org Mon Mar 10 19:10:50 2003 From: df at dune.org (df at dune.org) Date: Mon, 10 Mar 2003 19:10:50 +0100 Subject: FreeBSD & Nagios - revisited References: <20030310171753.14573.qmail@web21512.mail.yahoo.com> Message-ID: <006401c2e730$621bc9f0$6901a8c0@arrakis> Ok, got the idea "check_dummy 0" would fit me One last question: Should i rather use check_dummy in services.cfg ? Or in the hosts.cfg as default check ? Or in both ? Thanks. ----- Original Message ----- From: Jon Lyons To: Scott Ripley ; 'George Breahna' ; 'nagios-users at lists.sourceforge.net' Sent: Monday, March 10, 2003 6:17 PM Subject: RE: [Nagios-users] FreeBSD & Nagios - revisited Permissions error or something? Does /usr/local/include exist? checking whether the C compiler (cc -O -pipe -I/usr/local/include ) works... no Scott Ripley wrote: I have the following gd lib installed from the ports collection, and it works with Nagios compiled from the ports. gd-1.8.4_5 A graphics library for fast PNG creation I'm sure you have your reasons for not using the ports collection, but it worked well for me. I am running on FreeBSD4.2 w/ a selectively updated ports tree. Scott. -----Original Message----- From: George Breahna [mailto:sheken at top-consulting.net] Sent: Monday, March 10, 2003 10:29 AM To: 'Jon Lyons'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] FreeBSD & Nagios - revisited I tried, and although I'd rather not use the ports, here's what it tells me ===> Configuring for nagios-1.0 ===> nagios-1.0 depends on shared library: gd.2 - found ===> nagios-1.0 depends on shared library: gnugetopt.1 - found loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for gcc... cc checking whether the C compiler (cc -O -pipe -I/usr/local/include ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. ===> Script "configure" failed unexpectedly. Please report the problem to blaz at si.FreeBSD.org [maintainer] and attach the "/usr/ports/net/nagios/work/nagios-1.0/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/net/nagios. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jon Lyons Sent: Monday, March 10, 2003 11:09 AM To: George Breahna; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FreeBSD & Nagios - revisited Did you use the nagios port? Just do make install....Worked on 4.7, try downloading an updated version of the ports collection. George Breahna wrote: Hey guys, before I start let me tell you that I did read the previous messages and it has not solved my problems. Here's what I have done so far on FreeBSD 4.6-Release. configured & installed libjpeg in /usr/local/libjpg configured & installed libpng in /usr/local/libpng configured & installed gd-2.0.11 in /usr/local/gd ( it has found all the libraries, png, jpg, etc, etc ) I updated my ld searchpath and it sees all the libs in jpg/png/gd dirs I configure nagios using with-gd-lib and with-gd-inc set to the proper directories, yet I still get that dreaded message checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no What am I doing wrong ? I tried using the default libs that come with the system ( from the ports collection ), and I used --with-gd-lib and --with-gd-inc as another user mentioned here but that also failed. My only guess right now is that I am missing gd-devel-1.8.44 ?? I did some research and I think it's only available in RPM form for RedHat.. Any clues are more than welcome! Cheers, George ------------------------------------------------------------------------ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more ----------------------------------------- (on rchss001) This e-mail and any files transmitted with it are the property of Chiaro Networks, Ltd., and may contain confidential and privileged material for the sole use of the intended recipient(s) to whom this e-mail is addressed. If you are not one of the named recipient(s), or otherwise have reason to believe that you have received this message in error, please notify the sender and delete all copies from your system. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. --------------------------------------------------------- ------------------------------------------------------------------------------ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From briank at nacs.net Mon Mar 10 21:01:27 2003 From: briank at nacs.net (Brian Kosick) Date: Mon, 10 Mar 2003 15:01:27 -0500 Subject: plugin problems.... In-Reply-To: <3E68DD58.6040807@nacs.net> References: <3E68DD58.6040807@nacs.net> Message-ID: <3E6CEF17.6070502@nacs.net> Alright, I fixed my my problems with the perl plugins... I had to modify where it was looking for nagios/plugins to /usr/lib/nagios/plugins Brian Kosick wrote: > Redhat 7.3 (fully updated) > Perl 5.6.1 > Nagios 1.0 > Nagios Plugins 1.3 stable/released > > Subhendu Ghosh wrote: > >> plugins version ?? >> >> >> > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The > debugger for complex code. Debugging C/C++ programs can leave you > feeling lost and disoriented. TotalView can help you find your way. > Available on major UNIX and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jb at bw-networx.net Mon Mar 10 21:11:19 2003 From: jb at bw-networx.net (Joern Bredereck) Date: Mon, 10 Mar 2003 21:11:19 +0100 (CET) Subject: Plugins Crash with NetBSD 1.5.3/PPC In-Reply-To: <53104E20A25CD411B556009027E50636064D5410@pnnemp02.pn.egg.com> References: <53104E20A25CD411B556009027E50636064D5410@pnnemp02.pn.egg.com> Message-ID: On Mon, 10 Mar 2003, Voon, Ton wrote: > Please can you try with the final v1.3 of nagiosplug. There have been lots > of fixes in the build process since beta1. v1.3 crashes, too. :-( ---- bash-2.05# ./check_load --help check_load (nagios-plugins 1.3.0) 1.6 Trace/BPT trap (core dumped) bash-2.05# ./check_users -w 10 -c 15 Illegal instruction ---- I can send you the core-dump of the check_load crash, if you are interested. > I don't think we've had anyone reported successes with NetBSD on PowerPC - > please let us know how you get on. As for now, I'm pretty much stuck. :-( Any further ideas? Thanks, anyway! Joern > > -----Original Message----- > > From: Joern Bredereck [SMTP:jb at bw-networx.net] > > Sent: Sunday, March 09, 2003 11:50 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Plugins Crash with NetBSD 1.5.3/PPC > > > > Hi, > > > > has anyone testet the currently available plugins > > (nagiosplug-1.3-beta1.tar.gz) with NetBSD 1.5.3 for PowerPC? > > > > bash-2.05# uname -a > > NetBSD apfel1 1.5.3 NetBSD 1.5.3 (GENERIC) #5: Mon Jul 1 20:45:48 PDT > > 2002 briggs at cheetah:/usr/src/sys/arch/macppc/compile/GENERIC macppc > > > > I compiled them without any errors with > > > > bash-2.05# gcc -v > > Reading specs from > > /usr/pkg/gcc-2.95.3/lib/gcc-lib/powerpc--netbsd/2.95.3/specs > > gcc version 2.95.3 20010315 (release) (NetBSD nb3) > > > > But, when I try to run them, they crash like: > > > > bash-2.05# /usr/local/nagios/libexec/check_users -w 20 -c 25 > > Illegal instruction > > > > The binary itself seems to be ok, because without any parameters I get the > > syntax instructions without crash: > > > > bash-2.05# /usr/local/nagios/libexec/check_users > > > > Usage: check_users -w -c > > > > It seems to me, that the plugins crash when they try to gather any > > information from the system. Any hints, or even workarounds? > > > > Are there precompiled plugins for NetBSD 1.5.x/PPC available? > > > > TIA, > > > > J?rn Bredereck > > > > PGP-Key available: http://www.bw-networx.net/public-key.asc > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The > > debugger > > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > > > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From briank at nacs.net Mon Mar 10 21:34:23 2003 From: briank at nacs.net (Brian Kosick) Date: Mon, 10 Mar 2003 15:34:23 -0500 Subject: chsck_ifstatus Message-ID: <3E6CF6CF.3020405@nacs.net> Hi All, Is there a way to give different warning levels to the check_ifstatus plugin? I have a Wide Bank DS3, that has 32 interfaces on it, 1,2 are the DS3 interfaces and the rest are DS1 interfaces. The second DS2 (interface 2) is configured as a hot standby to the first one. when I run check_ifstatus, here's what I get. CRITICAL: host 'XXX.XXX.XXX.X', interfaces up: 30, down: 1, dormant: 0 DS3 Controller B -- Standby: down -> As you can see it is reporting it as critical, though this is the way it's supposed to be. the help included with the plugin does not specify whether or not you can do this. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwest at kwcorp.com Mon Mar 10 21:29:00 2003 From: jwest at kwcorp.com (Jay West) Date: Mon, 10 Mar 2003 14:29:00 -0600 Subject: Very general question on nagios setup (host check vs. services) Message-ID: <004601c2e743$af366d40$033310ac@kwcorp.com> I'll forgo the specific platform and release information, as I suspect this is a very general overiew type question. I have nagios set up and it is working, but I feel there is something I "just don't get". I have read the manual and faq, they didn't seem to address this at least in terms that made sense to me. I also tried searching the archives but my question is so general I couldn't find anything specific. I'll ask a few questions, but I have a feeling that a single answer will allow me to figure out all of them. First, when you set up a given host to be monitored, you tell it what test to use.. check_host_alive I believe it is. This seems to just call a ping test. By default I think, this check is "passive", and from the status screen it would appear that this test only happens once when nagios is started up. Sooo if a host goes down, when will it catch it if the test is only done when nagios starts? >From some of the sample config files and my own reading, it seems not uncommon to define a host (and the check-host-alive), and then define a single service for it called "ping". This seems odd to me. If the host will already be pinged via check-host-alive in the host definition, then why the need to define a ping service for it? In my case, there are a group of hosts where all I care about is if the host is up or not. But if I just define the hosts with check-host-alive, nagios complains bitterly that I don't have any services defined. So, I guess to sum up... if one defines a host and it gets pinged via the host definition of check-host-alive, what is the difference between that ping, and one you add to that host as a service check? There seems to be something obvious I'm missing conceptually. Any help is most appreciated! Jay West --- [This E-mail scanned for viruses by Declude Virus] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fes at users.sourceforge.net Mon Mar 10 21:41:19 2003 From: fes at users.sourceforge.net (Frank Sweetser) Date: Mon, 10 Mar 2003 15:41:19 -0500 Subject: chsck_ifstatus In-Reply-To: <3E6CF6CF.3020405@nacs.net> References: <3E6CF6CF.3020405@nacs.net> Message-ID: <20030310204119.GA9724@erwin.wpi.edu> On Mon, Mar 10, 2003 at 03:34:23PM -0500, Brian Kosick wrote: > Hi All, > Is there a way to give different warning levels to the > check_ifstatus plugin? > I have a Wide Bank DS3, that has 32 interfaces on it, 1,2 are the DS3 > interfaces and the rest are DS1 interfaces. > The second DS2 (interface 2) is configured as a hot standby to the first > one. > > when I run check_ifstatus, here's what I get. > CRITICAL: host 'XXX.XXX.XXX.X', interfaces up: 30, down: 1, dormant: 0 > DS3 Controller B -- Standby: down -> > > As you can see it is reporting it as critical, though this is the way > it's supposed to be. Try the 'negate' plugin wrapper in your service definition. -- Frank Sweetser fs at wpi.edu WPI Network Engineer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Mon Mar 10 21:52:36 2003 From: mark at woodstream.net (mark) Date: Mon, 10 Mar 2003 15:52:36 -0500 (EST) Subject: Passive service color question In-Reply-To: References: Message-ID: I have a question about the color of passive services on the web interface. I have a distributed environment setup and the central host is recieving passive updates from the distributed host fine. My problem is that on the "tactical overview" web page, all the passive services I have defined show up as "disabled". For example, if I have 3 passive services defined, I see a "3 disabled" in white under the OK services column. If one service goes critical, I see "1 disabled" in white under the "critical" services column. First, is this normal? I've re-installed Nagios twice from the source up to make sure it wasn't my setup. Second, if it is normal, is there anyway I can get passive services to NOT be displayed as "disabled". I especially need them to be RED when the service becomes critical so my operations guys can see it quickly. I'm running Nagios 1.0, plugins 1.3, and NSCA 2.3 on FreeBSD 4.7, Apache 2.044. Any and all help is very much appreciated ... I'm about out of ideas on how to make this work like I need. Thanks!! Mark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johnmc at johnmc.org Mon Mar 10 21:53:40 2003 From: johnmc at johnmc.org (John McDonnell) Date: Mon, 10 Mar 2003 12:53:40 -0800 (PST) Subject: Mail from address changed. Message-ID: afternoon all, I removed a box from our Nagios setup and all of a sudden the notifications are coming from me (johnmc@ instead of anonymous@ as it used to be). Googling has been of no use and I can't find anything in the docs or faq. Anyone able to shed some light? johnmc. -- . johnmc@ | bucketchild.net - +1-408-985-7992 (home) . . http:// | johnmc.org - +1-408-386-3549 (cell) . -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Mar 10 22:04:14 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 10 Mar 2003 15:04:14 -0600 Subject: Very general question on nagios setup (host check vs. services) Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED54A@mismail.ena.com> > -----Original Message----- > From: Jay West [mailto:jwest at kwcorp.com] > Sent: Monday, March 10, 2003 2:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Very general question on nagios setup (host check > vs. services) [snip] > So, I guess to sum up... if one defines a host and it gets pinged via the > host definition of check-host-alive, what is the difference between that > ping, and one you add to that host as a service check? There seems to be > something obvious I'm missing conceptually. > http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=false&showdesc=t rue -- marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Mar 10 22:08:42 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 10 Mar 2003 15:08:42 -0600 Subject: Mail from address changed. Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED54B@mismail.ena.com> What are your host/service-notify-by-email command definitions? Is nagios running as user johnmc now that it's been restarted? Your email could be read a number of ways and I am assuming that your removed a monitored machine from the nagios configuration files and not a distributed nagios monitoring server entirely. -- Marc > -----Original Message----- > From: John McDonnell [mailto:johnmc at johnmc.org] > Sent: Monday, March 10, 2003 2:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mail from address changed. > > afternoon all, > > I removed a box from our Nagios setup and all of a sudden the > notifications are coming from me (johnmc@ instead of anonymous@ as it > used to be). Googling has been of no use and I can't find anything in the > docs or faq. > > Anyone able to shed some light? > > johnmc. > -- > . johnmc@ | bucketchild.net - +1-408-985-7992 (home) . > . http:// | johnmc.org - +1-408-386-3549 (cell) . > -- > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Mar 10 22:21:09 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 10 Mar 2003 14:21:09 -0700 Subject: Very general question on nagios setup (host check vs. services) Message-ID: http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=true&showdesc=tr ue Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Jay West [mailto:jwest at kwcorp.com] > Sent: Monday, March 10, 2003 1:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Very general question on nagios setup > (host check vs. services) > > > I'll forgo the specific platform and release information, as > I suspect this is a very general overiew type question. I > have nagios set up and it is working, but I feel there is > something I "just don't get". I have read the manual and faq, > they didn't seem to address this at least in terms that made > sense to me. I also tried searching the archives but my > question is so general I couldn't find anything specific. > I'll ask a few questions, but I have a feeling that a single > answer will allow me to figure out all of them. > > First, when you set up a given host to be monitored, you tell > it what test to use.. check_host_alive I believe it is. This > seems to just call a ping test. By default I think, this > check is "passive", and from the status screen it would > appear that this test only happens once when nagios is > started up. Sooo if a host goes down, when will it catch it > if the test is only done when nagios starts? > > >From some of the sample config files and my own reading, it seems not > uncommon to define a host (and the check-host-alive), and > then define a single service for it called "ping". This seems > odd to me. If the host will already be pinged via > check-host-alive in the host definition, then why the need to > define a ping service for it? > > In my case, there are a group of hosts where all I care about > is if the host is up or not. But if I just define the hosts > with check-host-alive, nagios complains bitterly that I don't > have any services defined. > > So, I guess to sum up... if one defines a host and it gets > pinged via the host definition of check-host-alive, what is > the difference between that ping, and one you add to that > host as a service check? There seems to be something obvious > I'm missing conceptually. > > Any help is most appreciated! > > Jay West > > > --- > [This E-mail scanned for viruses by Declude Virus] > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adalle at ncf.ca Mon Mar 10 22:47:54 2003 From: adalle at ncf.ca (Andre Dalle) Date: Mon, 10 Mar 2003 16:47:54 -0500 Subject: Solaris 8 package available? In-Reply-To: <20030307221138.A5801@bolthole.com> References: <20030307221138.A5801@bolthole.com> Message-ID: <20030310214754.GA6220@ncf.ca> OK, sounds like folks are happy about software in /opt and the blastwave stuff, so I will use that. The package is a convenience for those not interested in compiling and installing themselves; so I think this is perfectly reasonable. You can always extract the package and rebuild it if you really want to stuff stuff in a custom location but don't want to compile... I don't have time to put this together right away, but if noone else is interested I'll compile a package compatible with Blastwave's requirements in a couple weeks time. My devel platform is 5.8 sparc SUNW,Sun-Fire-280R, using all GNU tools (cc, make, sed/awk/grep, etc.). I guess I should build nagios, nagios-plug, and perhaps nrpe as well. On Fri, Mar 07, 2003 at 10:11:38PM -0800, Philip Brown wrote: > On Fri, Mar 07, 2003 at 10:08:17PM -0400, Cian O'Sullivan wrote: > > I agree to put the stuff in /opt I however dont put stuff in /opt/csw as > > having packages all over can get confusing. > > Packages arent "all over". Setting your PATH to include /opt/csw/bin, > gets you use of all normal packages distributed by blastwave. > > > > > Whats wrong with... > > > > /opt/nagios binaries > > /etc/nagios configs > > /var/nagios logs > > /usr/local is best viewed as "locally compiled stuff". > > By definition, anything compiled by other people is not "locally compiled". > Therefore, people making solaris packages for others, should not put them > in /usr/local. > The Solaris/SysV standard is to put those things under /opt. > Standards are good. > > The advantage to blastwave's /opt/csw approach is that if the sysadmin > CHOOSES to, they can either symlink, or lofs-mount, /opt/csw, to be > /usr/local > It then will look like a "normal" default compile. > > You can't do that with your suggestion. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwichman at zantaz.com Mon Mar 10 23:55:47 2003 From: gwichman at zantaz.com (Gerald Wichmann) Date: Mon, 10 Mar 2003 14:55:47 -0800 Subject: Solaris Plugins Needed Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB042F25AF@zanexch.zantaz.com> My check_procs plugin segfaults when I try to check # of procs.. Anyone got one that works? Gerald This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasonm at kelman.com Tue Mar 11 00:03:01 2003 From: jasonm at kelman.com (Jason Marshall) Date: Mon, 10 Mar 2003 16:03:01 -0700 (MST) Subject: Solaris 8 package available? In-Reply-To: References: Message-ID: > Whats wrong with... > > /opt/nagios binaries > /etc/nagios configs > /var/nagios logs I did /opt/nagios/{bin,libexec,etc} and it works good for me -- easy to zap copies of it around the network when it's all self-contained like that (with a few exceptions, like /etc/init.d/ stuff)... --- Jason Marshall, Unix Geek, Kelman Technologies, Inc., Calgary, AB, Canada. From a Sun Microsystems bug report (#4102680): "Workaround: don't pound on the mouse like a wild monkey." "I have great faith in fools: Self confidence my friends call it." -Edgar Allan Poe ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johnmc at johnmc.org Tue Mar 11 00:12:09 2003 From: johnmc at johnmc.org (John McDonnell) Date: Mon, 10 Mar 2003 15:12:09 -0800 (PST) Subject: Mail from address changed. (fwd) Message-ID: On the 10th day of March, Marc Powell said to me: > What are your host/service-notify-by-email command definitions? # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } no service-notify-by-email > Is nagios running as user johnmc now that it's been restarted? nope: # ps aux | grep nagios nagios 12764 0.0 0.0 2308 1288 ? S Mar03 9:03 /usr/local/nagios root 30807 0.0 0.0 1736 588 pts/0 R 13:14 0:00 grep nagios # ps aux | grep johnmc johnmc 27097 0.0 0.0 2444 1252 pts/0 S 12:51 0:00 -bash root 31279 0.0 0.0 1740 596 pts/0 R 13:18 0:00 grep johnmc > Your email could be read a number of ways and I am assuming that your > removed a monitored machine from the nagios configuration files and not > a distributed nagios monitoring server entirely. umm, yeah... your assumption is correct - the simplest case :) john. -- . johnmc@ | bucketchild.net - +1-408-985-7992 (home) . . http:// | johnmc.org - +1-408-386-3549 (cell) . -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whiatt at upstanding.com Tue Mar 11 01:08:07 2003 From: whiatt at upstanding.com (Hiatt, William) Date: Mon, 10 Mar 2003 16:08:07 -0800 Subject: Pulling trap strings out of traps and feeding to nagios Message-ID: <71520D1F83A0C6408D99155D4CCAE0AA26D4@exch-be-01.upstanding.com> I'm trying to figure out the best way to have snmptrapd give a nagios event handler the trap string from a trap that my monitoring host receives? In detail, what I'm wanting to do is tie all notifications into NAGIOS. Right now, everything works great, except some remaining services (like Symantec Antivirus for Microsoft Exchange). Instead of having SAVFMSE e-mail me directly, I'm having the notifications sent to my AMS server, which in turn sends a trap to NAGIOS. BUT, I need to use & parse information out of the trap string. Any ideas?? Thanks william ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sheken at top-consulting.net Tue Mar 11 01:47:18 2003 From: sheken at top-consulting.net (George Breahna) Date: Mon, 10 Mar 2003 19:47:18 -0500 Subject: Nagios & MySQL & Extended infos Message-ID: <000d01c2e767$c4a39da0$2700a8c0@pulsar> I configured Nagios with MySQL and everything works perfect. I was now trying to configure apan in order to enhance. Now, apan recommends to put the extended infos in the services file...but Nagios doc says that if DB support is on it will ignore those objects. My next question now is, is there an easy way to insert information into the Extended Infos table ? Please don't tell me that I have to do : insert into lallala :) Thanks, George -------------- next part -------------- An HTML attachment was scrubbed... URL: From marek.dohojda at linksys.com Tue Mar 11 02:22:41 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Mon, 10 Mar 2003 17:22:41 -0800 Subject: TempTrax Message-ID: <202FFF2E883FC640B0E12B88EA98FD37036704@mail2.hq.linksys.com> Hello Everyone I recently (Ok today) installed the TempTrax hardware to monitor my temperature. Everything went very smoothly, and works like a champ. However I have one question. When I send an e-mail to my verizon text messaging I do not get the current temperature. Does anybody know how to force Verizon thingy to display the whole message? Thank you everyone! Marek Dohojda Sr. Network Admin linksys group inc. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lambert at lambertfam.org Tue Mar 11 03:32:14 2003 From: lambert at lambertfam.org (Scott Lambert) Date: Mon, 10 Mar 2003 21:32:14 -0500 Subject: TempTrax In-Reply-To: <202FFF2E883FC640B0E12B88EA98FD37036704@mail2.hq.linksys.com> References: <202FFF2E883FC640B0E12B88EA98FD37036704@mail2.hq.linksys.com> Message-ID: <20030311023213.GB7774@laptop.lambertfam.org> On Mon, Mar 10, 2003 at 05:22:41PM -0800, Marek Dohojda wrote: > Hello Everyone > > I recently (Ok today) installed the TempTrax hardware to monitor my > temperature. > > Everything went very smoothly, and works like a champ. However I have > one question. When I send an e-mail to my verizon text messaging I > do not get the current temperature. Does anybody know how to force > Verizon thingy to display the whole message? AFAICT, Verizon limits the text messages to 70something characters. Annoying. But they should be splitting it into smaller messages for you so that they can charge you more, rather than throwing the excess away. Could your paging software be truncating the message? Using qpage I can send an unlimited length message. It just shows up in multiple messages. I configured qpage to break it up for me. Sprint allows messages to be about twice as long. Most of my notifications fit in a single text message. Perhaps the paging services do eventually truncate pages if you send it all as one message. -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SRich at apiatech.com Tue Mar 11 03:32:51 2003 From: SRich at apiatech.com (Scott Rich) Date: Mon, 10 Mar 2003 19:32:51 -0700 Subject: Compiling for use with PostgreSQL Message-ID: HELP!! creating Makefile creating subst creating pkginfo creating base/Makefile creating common/Makefile creating contrib/Makefile creating cgi/Makefile creating html/Makefile creating xdata/Makefile creating daemon-init creating html/index.html creating html/side.html creating common/config.h creating common/snprintf.h creating base/nagios.h creating cgi/cgiutils.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 1.0 11-24-2002 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /home/apps/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/cgi-bin/nagios/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Database (PostgreSQL) Object data: Template-based (text file) Comment data: Database (PostgreSQL) Downtime data: Database (PostgreSQL) Retention data: Database (PostgreSQL) Peformance data: Default (external commands) Extended info data: Database (PostgreSQL) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. [root at aitcorpux01 nagios-1.0]# make all cd ./base && make make[1]: Entering directory `/home/temp/nagios-1.0/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -lpq nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios ../xdata/xrddb.c:46:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xrddb.c:63: parse error before '*' token ../xdata/xrddb.c:63: warning: data definition has no type or storage class ../xdata/xrddb.c:64: parse error before '*' token ../xdata/xrddb.c:64: warning: data definition has no type or storage class ../xdata/xrddb.c: In function `xrddb_connect': ../xdata/xrddb.c:268: warning: assignment makes pointer from integer without a cast ../xdata/xrddb.c:270: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xrddb.c:270: (Each undeclared identifier is reported only once ../xdata/xrddb.c:270: for each function it appears in.) ../xdata/xrddb.c: In function `xrddb_disconnect': ../xdata/xrddb.c:304: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xrddb.c: In function `xrddb_query': ../xdata/xrddb.c:334: warning: assignment makes pointer from integer without a cast ../xdata/xrddb.c:335: `PGRES_FATAL_ERROR' undeclared (first use in this function) ../xdata/xrddb.c:335: `PGRES_BAD_RESPONSE' undeclared (first use in this function) ../xdata/xrddb.c: In function `xrddb_read_program_information': ../xdata/xrddb.c:876: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:877: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:878: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:879: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:880: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:881: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:882: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:883: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c: In function `xrddb_read_host_information': ../xdata/xrddb.c:1016: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1019: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1022: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1025: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1026: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1027: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1030: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1033: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1036: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1039: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1042: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1045: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1048: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1051: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1054: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1057: warning: passing arg 1 of `set_host_state_information' makes pointer from integer without a cast ../xdata/xrddb.c:1057: warning: passing arg 3 of `set_host_state_information' makes pointer from integer without a cast ../xdata/xrddb.c: In function `xrddb_read_service_information': ../xdata/xrddb.c:1207: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1214: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1217: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1220: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1221: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1222: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1223: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1226: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1229: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1232: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1235: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1238: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1241: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1244: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1247: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1250: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1253: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1256: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1259: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1262: warning: passing arg 1 of `set_service_state_information' makes pointer from integer without a cast ../xdata/xrddb.c:1262: warning: passing arg 2 of `set_service_state_information' makes pointer from integer without a cast ../xdata/xrddb.c:1262: warning: passing arg 4 of `set_service_state_information' makes pointer from integer without a cast ../xdata/xcddb.c:54:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xcddb.c:70: parse error before '*' token ../xdata/xcddb.c:70: warning: data definition has no type or storage class ../xdata/xcddb.c:71: parse error before '*' token ../xdata/xcddb.c:71: warning: data definition has no type or storage class ../xdata/xcddb.c: In function `xcddb_connect': ../xdata/xcddb.c:278: warning: assignment makes pointer from integer without a cast ../xdata/xcddb.c:280: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xcddb.c:280: (Each undeclared identifier is reported only once ../xdata/xcddb.c:280: for each function it appears in.) ../xdata/xcddb.c: In function `xcddb_disconnect': ../xdata/xcddb.c:308: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xcddb.c: In function `xcddb_query': ../xdata/xcddb.c:334: warning: assignment makes pointer from integer without a cast ../xdata/xcddb.c:335: `PGRES_FATAL_ERROR' undeclared (first use in this function) ../xdata/xcddb.c:335: `PGRES_BAD_RESPONSE' undeclared (first use in this function) ../xdata/xcddb.c: In function `xcddb_validate_host_comments': ../xdata/xcddb.c:508: warning: passing arg 1 of `find_host' makes pointer from integer without a cast ../xdata/xcddb.c:512: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xcddb.c: In function `xcddb_validate_service_comments': ../xdata/xcddb.c:597: warning: passing arg 1 of `find_service' makes pointer from integer without a cast ../xdata/xcddb.c:597: warning: passing arg 2 of `find_service' makes pointer from integer without a cast ../xdata/xcddb.c:601: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xcddb.c: In function `xcddb_save_host_comment': ../xdata/xcddb.c:761: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xcddb.c: In function `xcddb_save_service_comment': ../xdata/xcddb.c:860: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xsddb.c:51:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xsddb.c:66: parse error before '*' token ../xdata/xsddb.c:66: warning: data definition has no type or storage class ../xdata/xsddb.c:67: parse error before '*' token ../xdata/xsddb.c:67: warning: data definition has no type or storage class ../xdata/xsddb.c: In function `xsddb_connect': ../xdata/xsddb.c:307: warning: assignment makes pointer from integer without a cast ../xdata/xsddb.c:309: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xsddb.c:309: (Each undeclared identifier is reported only once ../xdata/xsddb.c:309: for each function it appears in.) ../xdata/xsddb.c: In function `xsddb_disconnect': ../xdata/xsddb.c:340: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xsddb.c: In function `xsddb_check_connection': ../xdata/xsddb.c:378: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xsddb.c: In function `xsddb_query': ../xdata/xsddb.c:468: warning: assignment makes pointer from integer without a cast ../xdata/xsddb.c:469: `PGRES_FATAL_ERROR' undeclared (first use in this function) ../xdata/xsddb.c:469: `PGRES_BAD_RESPONSE' undeclared (first use in this function) ../xdata/xdddb.c:54:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xdddb.c:70: parse error before '*' token ../xdata/xdddb.c:70: warning: data definition has no type or storage class ../xdata/xdddb.c:71: parse error before '*' token ../xdata/xdddb.c:71: warning: data definition has no type or storage class ../xdata/xdddb.c: In function `xdddb_connect': ../xdata/xdddb.c:278: warning: assignment makes pointer from integer without a cast ../xdata/xdddb.c:280: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xdddb.c:280: (Each undeclared identifier is reported only once ../xdata/xdddb.c:280: for each function it appears in.) ../xdata/xdddb.c: In function `xdddb_disconnect': ../xdata/xdddb.c:308: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_query': ../xdata/xdddb.c:334: warning: assignment makes pointer from integer without a cast ../xdata/xdddb.c:335: `PGRES_FATAL_ERROR' undeclared (first use in this function) ../xdata/xdddb.c:335: `PGRES_BAD_RESPONSE' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:513: warning: passing arg 1 of `find_host' makes pointer from integer without a cast ../xdata/xdddb.c:517: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:522: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:526: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:627: warning: passing arg 1 of `find_service' makes pointer from integer without a cast ../xdata/xdddb.c:627: warning: passing arg 2 of `find_service' makes pointer from integer without a cast ../xdata/xdddb.c:631: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:636: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:640: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_save_host_downtime': ../xdata/xdddb.c:801: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_save_service_downtime': ../xdata/xdddb.c:900: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1161: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1164: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1167: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1170: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1173: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1176: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1179: warning: passing arg 1 of `add_host_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1179: warning: passing arg 3 of `add_host_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1179: warning: passing arg 4 of `add_host_downtime' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1292: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1295: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1298: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1301: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1304: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1307: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 1 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 2 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 4 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 5 of `add_service_downtime' makes pointer from integer without a cast make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/temp/nagios-1.0/base' make: *** [all] Error 2 [root at aitcorpux01 nagios-1.0]# ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdunlap_z at yahoo.com Tue Mar 11 07:42:30 2003 From: tdunlap_z at yahoo.com (Tom Dunlap) Date: Mon, 10 Mar 2003 22:42:30 -0800 (PST) Subject: Statusmap backgrounds and Avaya icon Message-ID: <20030311064230.34362.qmail@web14102.mail.yahoo.com> I am looking for some gd2 maps and a gd2 Avaya icon. Does anyone have a source for these? Thank you Tom Dunlap __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rauno.lind at mfa.ee Tue Mar 11 09:54:45 2003 From: rauno.lind at mfa.ee (Rauno Lind) Date: Tue, 11 Mar 2003 10:54:45 +0200 Subject: 3d statusmap shows nothing... Message-ID: Hello, I am using Nagios ver. 1.0b5 It is working fine. But I can't get 3d statusmap working. On Nagios, cgi.cgi conf I use default layout option: default_statuswrl_layout=4 I have installed Cortona VRML client and JavaScript on my browser is also enabled. Cortona console gives me the following output: name expected File: http://twix.mfa.ee/nagios/cgi-bin/statuswrl.cgi?host=all Line: 409 Column: 14 Any help would be appreciated! Regards, Rauno Lind ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bliwanag at yahoo.com Tue Mar 11 12:16:14 2003 From: bliwanag at yahoo.com (bernie liwanag) Date: Tue, 11 Mar 2003 03:16:14 -0800 (PST) Subject: oracle plugins Message-ID: <20030311111614.71123.qmail@web40612.mail.yahoo.com> Anyone can help me on how to check oracle server status? What are the pre-requisites for using check_oracle plugins? What is check_ora_table_space.pl and check_oracle_instance.pl? Thanks a lot! Bernie __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Tue Mar 11 13:53:55 2003 From: lejert at hotmail.com (le jert) Date: Tue, 11 Mar 2003 13:53:55 +0100 Subject: nrpe : 'unable to read output' Message-ID: when checking disk space on remote hosts using nrpe, I get the message : 'unable to read output' here is my config : #'check_nrpe' command definition define command { command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } #Service definition for checking free disk space on /dev/hda1 define service{ use generic-service host_name salluste service_description /dev/hda1 Free Space is_volatile 0 check_period 24x7 contact_groups intern-servers-contactgroup notification_options c,w,r check_command check_nrpe!check_disk1 } the config file on the client contains that line : command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/hda1 according to the client the disk is 8% full and I don't plan to use TCP Wrapper. Could you help me ? (running on redHat 7.3 // nagios-1.0 with pluggin 1.3.0) _________________________________________________________________ Utilisez votre MSN Messenger via votre GSM ! http://www.fr.msn.be/gsm/servicesms/messengerparsms ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdeblend at gcc.dhl.com Tue Mar 11 13:59:18 2003 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Tue, 11 Mar 2003 13:59:18 +0100 Subject: The trouble some people would go to... Message-ID: <3E6DDDA6.646ACFE1@gcc.dhl.com> ..not to have to search the FAQ's before posting to the list! Come on, who has nicked the FAQ's? http://www.nagios.org/faqs/ FAQ Database (0) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rico at noris.net Tue Mar 11 14:54:52 2003 From: rico at noris.net (Rico Gloeckner) Date: Tue, 11 Mar 2003 14:54:52 +0100 Subject: max_check_attempts Message-ID: <20030311145452.R19395@noris.de> Hi, Ive been running in a pitfall in netsaint 0.0.7, where Netsaint would rerun a HOSTcheck max_check_attempts without using any Intervals (in the concrete Case, the Check ran every 12 seconds - the timeout for the Plugin is 10 seconds). I however was under the Impression that the Interval is not zero, but interval_length (from netsaint.cfg). I re-read Documentation and couldnt find any Hint on interval_length for max_check_attempts for Hosts (neither for netsaint nor for nagios). So my Question is, has this Behaviour changed in Nagios or is it still the same? (Which would be bad IMHO) -rg ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarquart at planalytics.com Tue Mar 11 14:46:18 2003 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Tue, 11 Mar 2003 08:46:18 -0500 Subject: oracle plugins Message-ID: <85256CE6.004BA69E.00@mailhost.planalytics.com> The pre-reqs for check_oracle are an installation of the oracle client (if you want to use the tnsping functionality) if you just want to check for an instance (--db option) - you can fake it by setting the ORACLE_* env vars. All it does is a ps -ef | grpe pmon (more or less) the check_ora_table_space.pl and check_oracle_instance.pl are later perl scripts that check tablespace availabilities and check the "upness" of an instance. Depending on what you want to check any/all will work for you. The latest CVS of the check_oracle script also has the ability to check cache hit ratios and individual tablespace utilizations. -j bernie liwanag on 03/11/2003 06:16:14 AM To: nagios-users at lists.sourceforge.net cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: [Nagios-users] oracle plugins Anyone can help me on how to check oracle server status? What are the pre-requisites for using check_oracle plugins? What is check_ora_table_space.pl and check_oracle_instance.pl? Thanks a lot! Bernie __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Tue Mar 11 15:08:23 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Tue, 11 Mar 2003 16:08:23 +0200 Subject: cgi sound before max_check_attempts Message-ID: Hi Is it possible to configure the cgi's to not play the critical (etc) sound until the max_check_attempts have completed? If not then max_check_attemps is pointless for the sound, right? :\ fred -------------- next part -------------- An HTML attachment was scrubbed... URL: From jwest at kwcorp.com Tue Mar 11 15:22:10 2003 From: jwest at kwcorp.com (Jay West) Date: Tue, 11 Mar 2003 08:22:10 -0600 Subject: RTFF? re: Very general question on nagios setup (host check vs. services) Message-ID: <003101c2e7d9$9ac338c0$033310ac@kwcorp.com> Thanks to all who replied to my query with a link to the FAQ. As I said, I had already read the FAQ, and had already seen that exact portion, and it didn't explain what I was looking for, that's why I asked. One of the list members did actually take the time to explain what I was looking for without assuming the "ivory tower" mentality and really explain it. As an instructive example, I'll list his response below as an education (obviously sorely needed) to the people who so quickly responded with RTFF: ---------------------- check-host-alive (or more specifically the default command for a host check) isn't called until a service on a target host fails its service check. As soon a service check fails, the host is checked via the host check command (check-host-alive) for the number of times you specify (one right after another, i.e. no other service checks are performed until the host is determined up or down). For example, if you have configured max_check_attempts for 3 on the host with the failed service, the host will be checked up to 3 times to determine if it is alive. If the host check determines the host is alive, the service check for the failed service continues on the specified intervals until max_check_attempts are reached for the service or the service becomes available. If service max_check_attempts is reached, a service down notification is sent. If the host check determines the host is down, a host down notification is sent and no further service checks are performed. If the host is down, you will never be notified about services on the host being unavailable. ---------------------- This explanation was NOT in the portion of the FAQ that so many pointed me to. At least, not as directly. Perhaps it is available in bits and pieces throughout the FAQ, but one would have to understand the answer to piece it together. I certainly understand the ire generated by people who post a simple question that is clearly answered in the FAQ. But I would humbly suggest that the person who did answer this question off-list is more responsible for growth in Nagios users than the rest. Thanks for the help. --- [This E-mail scanned for viruses by Declude Virus] ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gero.waldhausen at inveos.com Tue Mar 11 15:28:24 2003 From: gero.waldhausen at inveos.com (FORESTHUS) Date: 11 Mar 2003 14:28:24 -0000 Subject: nrpe as inetd service In-Reply-To: <20030114124428.64917.qmail@web12608.mail.yahoo.com> References: <20030114124428.64917.qmail@web12608.mail.yahoo.com> Message-ID: <20030311142824.31931.qmail@pod-163.dolphin-server.co.uk> hi, look under solaris8 /usr/local/bin/ there should be tcpd. for quick find under solaris try http://sunfreeware.com there u can find findutils. install them and updatdb. than locate tcpd. than you will find tcpd. cu FORESTHUS ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akshaysalkar at indiatimes.com Tue Mar 11 15:49:34 2003 From: akshaysalkar at indiatimes.com (akshaysalkar) Date: Tue, 11 Mar 2003 20:19:34 +0530 Subject: test mail plz. ignore Message-ID: <200303111434.UAA23602@WS0005.indiatimes.com> test mail plz ignore. Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy the best in Movies at http://www.videos.indiatimes.com Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now! ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loek at amaze.nl Tue Mar 11 16:15:09 2003 From: loek at amaze.nl (loek at amaze.nl) Date: Tue, 11 Mar 2003 16:15:09 +0100 Subject: notifications from single host. Message-ID: <20030311161509.F3085@amaze.nl> On Mon, Mar 10, 2003 at 02:18:44PM +0100, loek at amaze.nl wrote: > hi all, > > I've got a question about the notificatios which get send out by nagios, > Is it possible to send notifications from a single host to different contact > groups? -snip- > Or how should I configure nagios, so it will send notifications from a single host, to a contactgroup? ok, I should have RTFM, solution: 1. RTFM :) 2. check the escalations.cfg file and read: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#hostescalation thank you anyway, and I will read the manual good, for next time... cheers Loek van der Linden ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Mar 11 16:19:02 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 11 Mar 2003 08:19:02 -0700 Subject: Statusmap backgrounds and Avaya icon Message-ID: I've created an Avaya icon in .gif, .png, .jpg, and .gd2 format. Enjoy! Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Tom Dunlap [mailto:tdunlap_z at yahoo.com] > Sent: Monday, March 10, 2003 11:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Statusmap backgrounds and Avaya icon > > > I am looking for some gd2 maps and a gd2 Avaya icon. > Does anyone have a source for these? > > Thank you > Tom Dunlap > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: avaya.tar.gz Type: application/x-gzip Size: 3505 bytes Desc: avaya.tar.gz URL: From gillespie at iomega.com Tue Mar 11 17:18:58 2003 From: gillespie at iomega.com (Brandon Gillespie) Date: Tue, 11 Mar 2003 09:18:58 -0700 Subject: http+ssl monitor? Message-ID: <3E6E0C72.8090502@iomega.com> I have hacked a simple script to test the SSL side of the house, but I'm curious if anybody else has one? I just pipe it through openssl s_client. It would be nice if check_http could do this itself... -Brandon Gillespie ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mandrade at sao-co.br.dhl.com Tue Mar 11 18:04:27 2003 From: mandrade at sao-co.br.dhl.com (Marcel Thimm Andrade) Date: Tue, 11 Mar 2003 14:04:27 -0300 Subject: NRPE Message-ID: <5.1.0.14.0.20030311135905.00aac660@saoco> Hello, I am a beginner with Nagios. I downloaded the core program, plugins, documentation, addons ... I need to install NRPE in a HP-UX v10.20 system, but 'configure' does not finish its process with success. Is ther someone to help me ? Thank you very much. Marcel Thimm Andrade ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Tue Mar 11 18:10:29 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Tue, 11 Mar 2003 09:10:29 -0800 Subject: http+ssl monitor? In-Reply-To: <3E6E0C72.8090502@iomega.com> References: <3E6E0C72.8090502@iomega.com> Message-ID: <20030311171029.GB14433@UnderGrid.net> I will look into this but unless the SSL portion was rip'd from the check_http code it should work as I have the following entries in my commands config file: command[check_https]=$USER1$/check_http -H $ARG1$ --ssl -I $HOSTADDRESS$ -w $ARG2$ -c $ARG3$ command[check_https_cert]=$USER1$/check_http -H $ARG1$ --ssl -I $HOSTADDRESS$ -C $ARG2$ For both ARG1 is the hostname you're checking... For check_https ARG2 and ARG3 are your warning and critical values and for check_https_cert it's the number of days prior to expiration to return a WARNING state and returns a CRITICAL when it expires... I had this with the old Netsaint plugins check_http (netsaint-plugins 1.2.9-4) 1.32.2.6 but I'm checking into the current CVS version check_http (nagios-plugins 1.3.0) 1.25 right now... It does still have the SSL code and it does work... You do have to have the openssl library header files available when it's compiled in order for the SSL support to be compiled in... jeremy at neo:~/cvs/nagiosplug$ plugins/check_http -w 5 -c 10 --ssl -H www.verisign.com HTTP ok: HTTP/1.1 200 OK - 0.328 second response time |time= 0.328 jeremy at neo:~/cvs/nagiosplug$ plugins/check_http -H www.verisign.com --ssl -C 14 Certificate will expire on 06/09/2003 23:5. That run was from the CVS version but I don't recall any code changes being made in CVS to check_http since 1.3.0 released... Jeremy On Tue, Mar 11, 2003 at 09:18:58AM -0700, Brandon Gillespie wrote: > I have hacked a simple script to test the SSL side of the house, but I'm > curious if anybody else has one? I just pipe it through openssl > s_client. It would be nice if check_http could do this itself... > > -Brandon Gillespie > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cramer at dolphins.ch Tue Mar 11 18:56:59 2003 From: cramer at dolphins.ch (Matthias Cramer) Date: Tue, 11 Mar 2003 18:56:59 +0100 Subject: http+ssl monitor? In-Reply-To: <3E6E0C72.8090502@iomega.com> References: <3E6E0C72.8090502@iomega.com> Message-ID: <20030311185659.774a541e.cramer@dolphins.ch> On Tue, 11 Mar 2003 09:18:58 -0700 Brandon Gillespie wrote: > I have hacked a simple script to test the SSL side of the house, but I'm > > curious if anybody else has one? I just pipe it through openssl > s_client. It would be nice if check_http could do this itself... As far as I can see from the documentation of check_http, it can ... Here it comes: /usr/lib/nagios/plugins/check_http --help check_http (netsaint-plugins 1.2.9-4) 1.32.2.6 The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 1999 Ethan Galstad (netsaint at linuxbox.com) This plugin tests the HTTP service on the specified host. It can test normal (http) and secure (https) servers, follow redirects, search for strings and regular expressions, check connection times, and report on certificate expiration times. Options: -S, --ssl Connect via SSL -C, --certificate=INTEGER Minimum number of days a certificate has to be valid. (when this option is used the url is not checked.) Hope that helps ... Cheers Matthias -- _;\_ Matthias Cramer System & Network Manager /_. \ Dolphins Network Systems AG Phone +41-1-847'45'45 |/ -\ .) Libernstrasse 24 Fax +41-1-847'45'49 -'^`- \; CH-8112 Otelfingen http://www.dolphins.ch/ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GIT d- s+: a- C+++ UL++++ P+++ L+++ E- W+++ N++ o K- w--- O- M+ V+++ PS PE++ Y+ PGP++ t++ 5- X+ R tv+ b+ DI++ D+ G++ e h r- y+ ------END GEEK CODE BLOCK------ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From mandrade at sao-co.br.dhl.com Tue Mar 11 19:04:05 2003 From: mandrade at sao-co.br.dhl.com (Marcel Thimm Andrade) Date: Tue, 11 Mar 2003 15:04:05 -0300 Subject: NRPE In-Reply-To: <000601c2e7f2$5ee59000$b201a8c0@unirez.com> References: <5.1.0.14.0.20030311135905.00aac660@saoco> Message-ID: <5.1.0.14.0.20030311150259.00a4d040@saoco> Ok, I am sending the files config.status and config.log. tks At 11:19 11/03/03 -0600, you wrote: >Why not run configure, then copy the output to the list so we can see what >went wrong. > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marcel Thimm >Andrade >Sent: Tuesday, March 11, 2003 11:04 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] NRPE > >Hello, > >I am a beginner with Nagios. >I downloaded the core program, plugins, documentation, addons ... >I need to install NRPE in a HP-UX v10.20 system, but 'configure' does not >finish its process with success. >Is ther someone to help me ? > >Thank you very much. > >Marcel Thimm Andrade > > > >------------------------------------------------------- >This SF.net email is sponsored by:Crypto Challenge is now open! >Get cracking and register here for some mind boggling fun and >the chance of winning an Apple iPod: >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 -------------- #! /bin/sh # Generated automatically by configure. # Run this file to recreate the current configuration. # This directory was configured as follows, # on host ursa: # # ./configure # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" for ac_option do case "$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion" exec ${CONFIG_SHELL-/bin/sh} ./configure --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "./config.status generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "$ac_cs_usage"; exit 0 ;; *) echo "$ac_cs_usage"; exit 1 ;; esac done ac_given_srcdir=. ac_given_INSTALL="./install-sh -c" trap 'rm -fr Makefile src/Makefile subst common/config.h conftest*; exit 1' 1 2 15 # Protect against being on the right side of a sed subst in config.status. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF /^[ ]*VPATH[ ]*=[^:]*$/d s%@SHELL@%/bin/sh%g s%@CFLAGS@%%g s%@CPPFLAGS@%%g s%@CXXFLAGS@%%g s%@FFLAGS@%%g s%@DEFS@%-DHAVE_CONFIG_H%g s%@LDFLAGS@%%g s%@LIBS@%%g s%@exec_prefix@%${prefix}%g s%@prefix@%/usr/local/nagios%g s%@program_transform_name@%s,x,x,%g s%@bindir@%${exec_prefix}/bin%g s%@sbindir@%${exec_prefix}/sbin%g s%@libexecdir@%${exec_prefix}/libexec%g s%@datadir@%${prefix}/share%g s%@sysconfdir@%${prefix}/etc%g s%@sharedstatedir@%${prefix}/com%g s%@localstatedir@%${prefix}/var%g s%@libdir@%${exec_prefix}/lib%g s%@includedir@%${prefix}/include%g s%@oldincludedir@%/usr/include%g s%@infodir@%${prefix}/info%g s%@mandir@%${prefix}/man%g s%@INSTALL_PROGRAM@%${INSTALL}%g s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g s%@INSTALL_DATA@%${INSTALL} -m 644%g s%@INSTALL@%./install-sh -c%g s%@CC@%cc%g s%@SET_MAKE@%%g s%@CPP@%cc -E%g s%@SOCKETLIBS@%%g s%@nrpe_user@%nagios%g s%@nrpe_grp@%nagios%g s%@nrpe_port@%5666%g s%@PERL@%/usr/contrib/bin/perl%g CEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. ac_file=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_cmds # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file else sed "${ac_end}q" conftest.subs > conftest.s$ac_file fi if test ! -s conftest.s$ac_file; then ac_more_lines=false rm -f conftest.s$ac_file else if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f conftest.s$ac_file" else ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi ac_file=`expr $ac_file + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_cmds` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi CONFIG_FILES=${CONFIG_FILES-"Makefile src/Makefile subst"} for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." case "$ac_file" in *Makefile*) ac_comsub="1i\\ # $configure_input" ;; *) ac_comsub= ;; esac ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsub s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g s%@top_srcdir@%$top_srcdir%g s%@INSTALL@%$INSTALL%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' ac_dC='\3' ac_dD='%g' # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='\([ ]\)%\1#\2define\3' ac_uC=' ' ac_uD='\4%g' # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_eB='$%\1#\2define\3' ac_eC=' ' ac_eD='%g' if test "${CONFIG_HEADERS+set}" != set; then CONFIG_HEADERS="common/config.h" fi for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac echo creating $ac_file rm -f conftest.frag conftest.in conftest.out ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` cat $ac_file_inputs > conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in rm -f conftest.frag conftest.h echo "/* $ac_file. Generated automatically by configure. */" > conftest.h cat conftest.in >> conftest.h rm -f conftest.in if cmp -s $ac_file conftest.h 2>/dev/null; then echo "$ac_file is unchanged" rm -f conftest.h else # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" fi rm -f $ac_file mv conftest.h $ac_file fi fi; done exit 0 -------------- next part -------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:565: checking for a BSD compatible install configure:622: checking for gcc configure:652: checking for cc configure:735: checking whether the C compiler (cc ) works configure:751: cc -o conftest conftest.c 1>&5 configure:777: checking whether the C compiler (cc ) is a cross-compiler configure:782: checking whether we are using GNU C configure:791: cc -E conftest.c configure:810: checking whether cc accepts -g configure:842: checking whether make sets ${MAKE} configure:870: checking how to run the C preprocessor configure:891: cc -E conftest.c >/dev/null 2>conftest.out configure:950: checking for ANSI C header files configure:963: cc -E conftest.c >/dev/null 2>conftest.out configure:1030: cc -o conftest conftest.c 1>&5 configure:1054: checking whether time.h and sys/time.h may both be included configure:1068: cc -c conftest.c 1>&5 configure:1089: checking for sys/wait.h that is POSIX.1 compatible configure:1110: cc -c conftest.c 1>&5 configure:1134: checking for ctype.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for errno.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for fcntl.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for grp.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for netdb.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for pwd.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for signal.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for strings.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for string.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for syslog.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for unistd.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for arpa/inet.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for netinet/in.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for sys/types.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for sys/time.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for sys/resource.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for sys/wait.h configure:1134: checking for sys/socket.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1134: checking for sys/stat.h configure:1144: cc -E conftest.c >/dev/null 2>conftest.out configure:1172: checking for working const configure:1226: cc -c conftest.c 1>&5 (Bundled) cc: "configure", line 1182: warning 5: "const" will become a keyword. (Bundled) cc: "configure", line 1182: error 1000: Unexpected symbol: "charset". (Bundled) cc: "configure", line 1184: warning 5: "const" will become a keyword. (Bundled) cc: "configure", line 1184: warning 5: "const" will become a keyword. (Bundled) cc: "configure", line 1184: error 1000: Unexpected symbol: "*". (Bundled) cc: "configure", line 1188: warning 5: "const" will become a keyword. (Bundled) cc: "configure", line 1188: error 1000: Unexpected symbol: "zero". (Bundled) cc: "configure", line 1192: warning 5: "const" will become a keyword. (Bundled) cc: "configure", line 1192: error 1000: Unexpected symbol: "char". (Bundled) cc: "configure", line 1197: warning 5: "const" will become a keyword. (Bundled) cc: "configure", line 1197: error 1000: Unexpected symbol: "const". (Bundled) cc: "configure", line 1197: warning 5: "const" will become a keyword. (Bundled) cc: "configure", line 1200: warning 5: "const" will become a keyword. (Bundled) cc: "configure", line 1197: error 1000: Unexpected symbol: ")". (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating. configure: failed program was: #line 1177 "configure" #include "confdefs.h" int main() { /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset x; /* SunOS 4.1.1 cc rejects this. */ char const *const *ccp; char **p; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; ccp = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++ccp; p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; } ; return 0; } configure:1247: checking whether struct tm is in sys/time.h or time.h configure:1260: cc -c conftest.c 1>&5 configure:1281: checking for mode_t configure:1314: checking for pid_t configure:1347: checking for size_t configure:1380: checking return type of signal handlers configure:1402: cc -c conftest.c 1>&5 configure:1421: checking for uid_t in sys/types.h configure:1455: checking type of array argument to getgroups configure:1488: cc -o conftest conftest.c 1>&5 configure:1527: checking for main in -lnsl configure:1542: cc -o conftest conftest.c -lnsl 1>&5 /usr/ccs/bin/ld: Can't find library for -lnsl configure: failed program was: #line 1535 "configure" #include "confdefs.h" int main() { main() ; return 0; } configure:1563: checking for socket in -lsocket configure:1582: cc -o conftest conftest.c -lsocket 1>&5 /usr/ccs/bin/ld: Can't find library for -lsocket configure: failed program was: #line 1571 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket(); int main() { socket() ; return 0; } configure:1606: checking for strdup configure:1634: cc -o conftest conftest.c 1>&5 configure:1606: checking for strstr configure:1634: cc -o conftest conftest.c 1>&5 configure:1606: checking for strtoul configure:1634: cc -o conftest conftest.c 1>&5 configure:1606: checking for initgroups configure:1634: cc -o conftest conftest.c 1>&5 configure:1660: checking for type of socket size configure:1672: cc -c conftest.c 1>&5 configure:1726: checking for perl From philc at foundation-it.com Tue Mar 11 19:16:22 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 11 Mar 2003 18:16:22 -0000 Subject: http+ssl monitor? Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909E7CC@netfinity-1.foundation-it.local> > From: Brandon Gillespie [mailto:gillespie at iomega.com] > > I have hacked a simple script to test the SSL side of the > house, but I'm > curious if anybody else has one? I just pipe it through openssl > s_client. It would be nice if check_http could do this itself... If you point configure at your openssl installation, https support is compiled in. Run 'check_http -h' and see if the -S/--ssl option appears in the list. Phil ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ah43 at httpsite.com Tue Mar 11 19:39:38 2003 From: ah43 at httpsite.com (Andy Harrison) Date: Tue, 11 Mar 2003 13:39:38 -0500 (EST) Subject: NRPE In-Reply-To: <5.1.0.14.0.20030311135905.00aac660@saoco> References: <5.1.0.14.0.20030311135905.00aac660@saoco> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- On 11-Mar-2003 Marcel Thimm Andrade wrote: > Hello, > > I am a beginner with Nagios. > I downloaded the core program, plugins, documentation, addons ... > I need to install NRPE in a HP-UX v10.20 system, but 'configure' does not > finish its process with success. > Is ther someone to help me ? Providing help without so much as an error message is going to be difficult... - -- Andy Harrison ah##@httpsite.com ICQ: 123472 AIM/Y!: AHinMaine homepage: http://www.nachoz.com -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBPm4taVPEkLgodAWVAQFCSwP/ch1ZSiZ5tK5Y0BiYkbWz/18D4rcWwQMG PvPmFCgtlYuiCz1Ox6ZGQI1q8TnKa8w1qjuzj93S4twMu2hggt/+o4i6k47yBE1J EVSfIHTJ+15yiApUmjrGQYNUgi323sno7y+jCeDQq/avzLERxEyMP0A8ON1rT69X N/WPxR/YwW4= =fl8y -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Tue Mar 11 19:57:40 2003 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 11 Mar 2003 13:57:40 -0500 Subject: FAQ and empty status.log Message-ID: <3E6E31A4.2010207@quadrix.com> I was trying to look at the FAQ to see if my problem was in there, but the FAQ seems to be empty now. Anyone know what happened? Also, has anyone had the behavior and when Nagios starts, the status.log is empty and never gets written to? I've checked all my paths in nagios.log, and they are correct. This instance is set up to only accept passive checks and not actively check anything. Any ideas? Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Tue Mar 11 20:01:40 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Tue, 11 Mar 2003 13:01:40 -0600 Subject: Separate warning and critical notification Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444A8006A@gsmail.govst.edu> I've searched through the faq (which took me 0.0 seconds today, but I don't remember anything similar to this in the past) and searched through the mail archives and on google, but not found anything similar to what I'm looking for. I would like to send our warning notifications by e-mail and critical notifications by e-mail and pager. My only thought on this so far is to create separate contacts, one with the e-mail address and one with the pager of an individual and then limit each of their notification_options with the w,r or c,r. Anyone have a suggestion on this? Tim Van Zee ITS Network Specialist Governors State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell at quadrix.com Tue Mar 11 20:26:49 2003 From: russell at quadrix.com (Russell Scibetti) Date: Tue, 11 Mar 2003 14:26:49 -0500 Subject: FAQ and empty status.log References: <3E6E31A4.2010207@quadrix.com> Message-ID: <3E6E3879.90903@quadrix.com> Nevermind the status.log question. It was a diskspace issue. Russell Russell Scibetti wrote: > I was trying to look at the FAQ to see if my problem was in there, but > the FAQ seems to be empty now. Anyone know what happened? > > Also, has anyone had the behavior and when Nagios starts, the > status.log is empty and never gets written to? I've checked all my > paths in nagios.log, and they are correct. This instance is set up to > only accept passive checks and not actively check anything. Any ideas? > > Russell Scibetti > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at br.danzas.com Tue Mar 11 21:30:02 2003 From: hugo.rebello at br.danzas.com (Hugo Rebello) Date: Tue, 11 Mar 2003 17:30:02 -0300 Subject: Notification by Winpopup Message-ID: How to receive notification by Winpopup ? Thank's Hugo ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Mar 11 21:49:50 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 11 Mar 2003 14:49:50 -0600 Subject: Notification by Winpopup Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED565@mismail.ena.com> There's a FAQ on it but the FAQ appears to be down. It was discussed quite extensively on the mailing list though. A search of the mailing list should provide you with the information you seek. I'll even provide the link: http://sourceforge.net/search/?type=mlists&exact=&q=winpopup&offset=0&gr oup_id=26589&forum_id=1873 -- Marc > -----Original Message----- > From: Hugo Rebello [mailto:hugo.rebello at br.danzas.com] > Sent: Tuesday, March 11, 2003 2:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification by Winpopup > > How to receive notification by Winpopup ? > > Thank's > Hugo > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atonns at mail.ivillage.com Tue Mar 11 21:56:56 2003 From: atonns at mail.ivillage.com (atonns at mail.ivillage.com) Date: Tue, 11 Mar 2003 15:56:56 -0500 Subject: Separate warning and critical notification Message-ID: I've been trying to do this, but it doesn't work for me. If a service is in a WARNING state, and then becomes CRITICAL, the contacts (ie: the pager) are not re-notified. However, it does send two recover messages when it becomes OK. The same goes for a state that is immediately CRITICAL (like cpu%) and then becomes WARNING. No email is sent until recovery, when both are notfied. Of course, I only want one email sent when the state change occurs because the Skytel system back-logs pages for me (ie: they aren't lost when I'm in the subway). I'm not complaining because this is how Nagios is spec'd. I'm just chiming in that I haven't found a way around these issues. -- "Computer science is as much about computers as astronomy is about telescopes" -- Edsger Dijkstra --------------------------------------------------------- Anthony Tonns, UNIX Administrator - atonns at mail.ivillage.com -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Tuesday, March 11, 2003 2:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Separate warning and critical notification I've searched through the faq (which took me 0.0 seconds today, but I don't remember anything similar to this in the past) and searched through the mail archives and on google, but not found anything similar to what I'm looking for. I would like to send our warning notifications by e-mail and critical notifications by e-mail and pager. My only thought on this so far is to create separate contacts, one with the e-mail address and one with the pager of an individual and then limit each of their notification_options with the w,r or c,r. Anyone have a suggestion on this? Tim Van Zee ITS Network Specialist Governors State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.baddeley at bclnz.com Tue Mar 11 22:39:44 2003 From: jamie.baddeley at bclnz.com (Jamie Baddeley) Date: Wed, 12 Mar 2003 10:39:44 +1300 Subject: Notification by Winpopup Message-ID: banana? >>> "Hugo Rebello" 03/12 9:30 AM >>> How to receive notification by Winpopup ? Thank's Hugo ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smahieux at wanadoo.fr Wed Mar 12 00:28:54 2003 From: smahieux at wanadoo.fr (Sebastien MAHIEUX) Date: Wed, 12 Mar 2003 00:28:54 +0100 (MET) Subject: oracle plugins Message-ID: <25010.2953556508$1047427201@news.gmane.org> Whats kind of server do you use ? NT, UNIX ? ----- Original Message ----- From: "bernie liwanag" To: Sent: Tuesday, March 11, 2003 12:16 PM Subject: [Nagios-users] oracle plugins > Anyone can help me on how to check oracle server > status? > > What are the pre-requisites for using check_oracle > plugins? > > What is check_ora_table_space.pl and > check_oracle_instance.pl? > > Thanks a lot! > Bernie > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - establish your business online > http://webhosting.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakkerl at lamp.xs4all.nl Wed Mar 12 01:00:45 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 12 Mar 2003 01:00:45 +0100 Subject: IPv6 support Message-ID: <1047427243.17931.8.camel@peitha> Hi, Are there plugins that support ipv6? I only can find some ipv6 support for checks that uses ssh (check_ssh and check_by_ssh). For example no check_ping with ipv6 support... Thanx, Lennard ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Wed Mar 12 03:17:00 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Tue, 11 Mar 2003 18:17:00 -0800 Subject: IPv6 support In-Reply-To: <1047427243.17931.8.camel@peitha> References: <1047427243.17931.8.camel@peitha> Message-ID: <20030312021700.GB11428@UnderGrid.net> This is being worked on mainly by me at this time... It is being developed in the CVS version at this time and will be in the next stable release of the plugins... Currently the network connection code is AF independent and supports both IPv4 and IPv6 but not all of the plugins are operational at this point... Right now check_ping is one of them that needs work but things like check_ssh, check_tcp, etc that merely make network connections will work... Jeremy On Wed, Mar 12, 2003 at 01:00:45AM +0100, Lennard Bakker wrote: > Hi, > > Are there plugins that support ipv6? > I only can find some ipv6 support for checks that uses ssh (check_ssh > and check_by_ssh). > For example no check_ping with ipv6 support... > > Thanx, > > Lennard > ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 bclnz.com Wed Mar 12 05:03:03 2003 From: jamie.baddeley at bclnz.com (Jamie Baddeley) Date: Wed, 12 Mar 2003 17:03:03 +1300 Subject: http://www.linpro.no/projects/lrrd/ Message-ID: Has anyone tried using this plus NSCA? Jamie ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Wed Mar 12 08:53:25 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Wed, 12 Mar 2003 09:53:25 +0200 Subject: Odd host displays Message-ID: <9290BC9741D67F43BDAAC84144FF870DB691E6@intecserver007.intec.co.za> Gurus, Still in the process of configuring agios, but have picked up an oddity. When selecting the "Host Detail", I do not always get the full listing, of say 30 hosts and only after a number of refreshes, I might get the correct display. Any ideas why this may be happening, or is this normal. Regards Unix like TeePee no windows, no gates, Apache inside. Paul Clayton Global Unix Co-ordinator Intec Telecom Systems Ph +27 (0) 21 4309000 Fax +27 (0) 21 4309025 Mobile +27(0) 832853403 ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Mar 12 09:12:43 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 12 Mar 2003 09:12:43 +0100 Subject: Is anyone else working on DB-support for Nagios-config?? References: Message-ID: <3E6EEBFB.2030203@datavis.se> I am.. I have this right now; - a working database-model and a script that creates the tables - scripts to import objects from the config-files - scripts to export some or all data back to the files - a simple text-base UI to add/remove/edit objects in the DB, export the config to files and restart/reload Nagios Not all types of object are supported yet, and the syntax-checking in the UI is not finished yet. /FredrikW ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atul at mindsw.com Wed Mar 12 08:58:23 2003 From: atul at mindsw.com (Atul Gosain) Date: Wed, 12 Mar 2003 13:28:23 +0530 Subject: Dialogic D480SC monitoring Message-ID: <3E6EE89F.4090407@mindsw.com> hi Has anyone done monitoring/management of Dialogic D480SC monitoring through Nagios before. Also can anyone tell me from where i can get the MIB for Cisco 5300. Thanks Atul Gosain -- --------------------------------------- Mindframe Software & Services Pvt. Ltd. A-50, Sector-39, NOIDA, U.P. - 201301 Ph.: +91-120-4500369, 4575991, 4576970 http://www.mindsw.com --------------------------------------- Who does not trust enough will not be trusted. -- Lao Tsu ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anders.x.karlsson at songnetworks.se Wed Mar 12 10:43:48 2003 From: anders.x.karlsson at songnetworks.se (Anders Karlsson) Date: Wed, 12 Mar 2003 09:43:48 +0000 Subject: [Nagios-devel] Is anyone else working on DB-support for Nagios-config?? In-Reply-To: <3E6EEBFB.2030203@datavis.se> References: <3E6EEBFB.2030203@datavis.se> Message-ID: <200303120943.51323.anders.x.karlsson@songnetworks.se> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I made a small hack some time ago for Nagios, that let's nagios read the configuration directly from mysql DB instead of config files, if there's any interest I can try to find the code again. /Anders onsdagen den 12 mars 2003 08.12 skrev Fredrik W?nglund: > I am.. > > I have this right now; > - a working database-model and a script that creates the tables > - scripts to import objects from the config-files > - scripts to export some or all data back to the files > - a simple text-base UI to add/remove/edit objects in the DB, export the > config to files and restart/reload Nagios > > Not all types of object are supported yet, and the syntax-checking in > the UI is not finished yet. > > > /FredrikW > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel - -- SongNetworks anders.x.karlsson at songnetworks.se Have you hugged your firewall today? No spam, thanks. - -------------------------------------------------------- Are you the police? . . . . No ma'am, we're sysadmins -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+bwFXtC1yigtSyRkRAgsTAJsFtws2JEd8t0G1t0EzRliYPCfCggCgpVVa 9+VQ/6HP2v2xDnnKG5GrGlQ= =MF99 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From laurent.vaills at dms.at Wed Mar 12 09:56:43 2003 From: laurent.vaills at dms.at (Laurent Vaills) Date: 12 Mar 2003 09:56:43 +0100 Subject: Is anyone else working on DB-support for Nagios-config?? In-Reply-To: <3E6EEBFB.2030203@datavis.se> References: <3E6EEBFB.2030203@datavis.se> Message-ID: <1047459404.14196.12.camel@neo.sophia.dms.at> Hello. Which database are you using ? Which programming language are you using for your text based UI ? Have you already taken a look to this mail : http://sourceforge.net/mailarchive/message.php?msg_id=3671081 Regards, Laurent On Wed, 2003-03-12 at 09:12, Fredrik W?nglund wrote: > I am.. > > I have this right now; > - a working database-model and a script that creates the tables > - scripts to import objects from the config-files > - scripts to export some or all data back to the files > - a simple text-base UI to add/remove/edit objects in the DB, export the > config to files and restart/reload Nagios > > Not all types of object are supported yet, and the syntax-checking in > the UI is not finished yet. > > > /FredrikW > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed Mar 12 10:05:40 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 12 Mar 2003 11:05:40 +0200 Subject: Is anyone else working on DB-support for Nagios-config?? Message-ID: Please please please could I have a copy. My object files are HUGE and are starting to become unmanageable. PLEASE PLEASE :) fred > -----Original Message----- > From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] > Sent: 12 March 2003 10:13 AM > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-users] Is anyone else working on DB-support for > Nagios-config?? > > > I am.. > > I have this right now; > - a working database-model and a script that creates the tables > - scripts to import objects from the config-files > - scripts to export some or all data back to the files > - a simple text-base UI to add/remove/edit objects in the DB, > export the > config to files and restart/reload Nagios > > Not all types of object are supported yet, and the syntax-checking in > the UI is not finished yet. > > > /FredrikW > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian at dnet.net.id Wed Mar 12 10:02:52 2003 From: christian at dnet.net.id (Chris) Date: Wed, 12 Mar 2003 16:02:52 +0700 Subject: Odd host displays In-Reply-To: <9290BC9741D67F43BDAAC84144FF870DB691E6@intecserver007.intec.co.za> References: <9290BC9741D67F43BDAAC84144FF870DB691E6@intecserver007.intec.co.za> Message-ID: <200303121602.52495.christian@dnet.net.id> maybe you have more than one nagios running, check with ps -ax |grep nagios regards, chris On Wednesday 12 March 2003 14:53, Paul Clayton wrote: > Gurus, > > Still in the process of configuring agios, but have picked up an oddity. > When selecting the "Host Detail", I do not always get the full listing, of > say 30 hosts and only after a number of refreshes, I might get the correct > display. > > Any ideas why this may be happening, or is this normal. > > Regards > > Unix like TeePee no windows, no gates, Apache inside. > Paul Clayton > Global Unix Co-ordinator > Intec Telecom Systems > Ph +27 (0) 21 4309000 > Fax +27 (0) 21 4309025 > Mobile +27(0) 832853403 > > > > > *************************************************************************** >**************** > > This e-mail and any attachments are confidential and may also be privileged > and/or copyright material of Independent Technology Systems Limited > (or its affiliated companies). If you are not the intended or authorised > recipient of this email or have received it in error, please delete it > immediately and notify the sender by e-mail. In such a case reading, > reproducing, printing or further dissemination of this e-mail is strictly > prohibited and may be unlawful. > > Independent Technology Systems Limited does not represent or warrant that > an attachment hereto is free from computer viruses or other defects. > > The opinions expressed in this e-mail and any of the attachments may > be those of the author and are not necessarily those of Independent > Technology Systems Limited. > *************************************************************************** >*************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Wed Mar 12 10:14:14 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Wed, 12 Mar 2003 11:14:14 +0200 Subject: Odd host displays Message-ID: <9290BC9741D67F43BDAAC84144FF870DB691E9@intecserver007.intec.co.za> Chris, Thank you. Well spotted. That was the problem. I did not think to look at the process table. Seems to be a defeciency in the nagios shutdown scripts. regards -----Original Message----- From: Chris [mailto:christian at dnet.net.id] Sent: Wednesday, March 12, 2003 11:03 AM To: Paul Clayton; Nagios Users (E-mail) Subject: Re: [Nagios-users] Odd host displays maybe you have more than one nagios running, check with ps -ax |grep nagios regards, chris On Wednesday 12 March 2003 14:53, Paul Clayton wrote: > Gurus, > > Still in the process of configuring agios, but have picked up an oddity. > When selecting the "Host Detail", I do not always get the full listing, of > say 30 hosts and only after a number of refreshes, I might get the correct > display. > > Any ideas why this may be happening, or is this normal. > > Regards > > Unix like TeePee no windows, no gates, Apache inside. > Paul Clayton > Global Unix Co-ordinator > Intec Telecom Systems > Ph +27 (0) 21 4309000 > Fax +27 (0) 21 4309025 > Mobile +27(0) 832853403 > > > > > *************************************************************************** >**************** > > This e-mail and any attachments are confidential and may also be privileged > and/or copyright material of Independent Technology Systems Limited > (or its affiliated companies). If you are not the intended or authorised > recipient of this email or have received it in error, please delete it > immediately and notify the sender by e-mail. In such a case reading, > reproducing, printing or further dissemination of this e-mail is strictly > prohibited and may be unlawful. > > Independent Technology Systems Limited does not represent or warrant that > an attachment hereto is free from computer viruses or other defects. > > The opinions expressed in this e-mail and any of the attachments may > be those of the author and are not necessarily those of Independent > Technology Systems Limited. > *************************************************************************** >*************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tridentadm at netscape.net Wed Mar 12 10:25:23 2003 From: tridentadm at netscape.net (tridentadm at netscape.net) Date: Wed, 12 Mar 2003 04:25:23 -0500 Subject: test mail Message-ID: <2888E791.5740BBDE.10C3B4E4@netscape.net> test mail __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Mar 12 10:59:57 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 12 Mar 2003 10:59:57 +0100 Subject: Is anyone else working on DB-support for Nagios-config?? References: <3E6EEBFB.2030203@datavis.se> <1047459404.14196.12.camel@neo.sophia.dms.at> Message-ID: <3E6F051D.8040700@datavis.se> Laurent Vaills wrote: >Hello. > >Which database are you using ? > Mysql >Which programming language are you using for your text based UI ? > TCL (and maybe TK in the future, but at leas a web-frontend). > >Have you already taken a look to this mail : >http://sourceforge.net/mailarchive/message.php?msg_id=3671081 > Yes, Nagios have DB-support for status-data, not the configuration. > >Regards, >Laurent > >On Wed, 2003-03-12 at 09:12, Fredrik W?nglund wrote: > > >>I am.. >> >>I have this right now; >>- a working database-model and a script that creates the tables >>- scripts to import objects from the config-files >>- scripts to export some or all data back to the files >>- a simple text-base UI to add/remove/edit objects in the DB, export the >>config to files and restart/reload Nagios >> >>Not all types of object are supported yet, and the syntax-checking in >>the UI is not finished yet. >> >> >>/FredrikW >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by:Crypto Challenge is now open! >>Get cracking and register here for some mind boggling fun and >>the chance of winning an Apple iPod: >>http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> > > > > ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Mar 12 11:04:03 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 12 Mar 2003 11:04:03 +0100 Subject: [Nagios-devel] Is anyone else working on DB-support for Nagios-config?? References: <3E6EEBFB.2030203@datavis.se> <200303120943.51323.anders.x.karlsson@songnetworks.se> Message-ID: <3E6F0613.7060101@datavis.se> That's interresting. In my aproach, the config-changes needs to be 'committed', which means that config files are generated from the database and Nagios is restarted. The advantage of this is that you dont need to change something in Nagios. The disadvantage is that you still need the files (and have the possibility that someone is changing the files instead of the database) Anders Karlsson wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >I made a small hack some time ago for Nagios, that let's nagios read the >configuration directly from mysql DB instead of config files, if there's any >interest I can try to find the code again. > >/Anders > >onsdagen den 12 mars 2003 08.12 skrev Fredrik W?nglund: > > >>I am.. >> >>I have this right now; >>- a working database-model and a script that creates the tables >>- scripts to import objects from the config-files >>- scripts to export some or all data back to the files >>- a simple text-base UI to add/remove/edit objects in the DB, export the >>config to files and restart/reload Nagios >> >>Not all types of object are supported yet, and the syntax-checking in >>the UI is not finished yet. >> >> >>/FredrikW >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by:Crypto Challenge is now open! >>Get cracking and register here for some mind boggling fun and >>the chance of winning an Apple iPod: >>http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >>_______________________________________________ >>Nagios-devel mailing list >>Nagios-devel at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-devel >> >> > >- -- >SongNetworks >anders.x.karlsson at songnetworks.se >Have you hugged your firewall today? No spam, thanks. >- -------------------------------------------------------- >Are you the police? . . . . No ma'am, we're sysadmins >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.0.7 (GNU/Linux) > >iD8DBQE+bwFXtC1yigtSyRkRAgsTAJsFtws2JEd8t0G1t0EzRliYPCfCggCgpVVa >9+VQ/6HP2v2xDnnKG5GrGlQ= >=MF99 >-----END PGP SIGNATURE----- > > > ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tridentadm at netscape.net Wed Mar 12 11:24:55 2003 From: tridentadm at netscape.net (tridentadm at netscape.net) Date: Wed, 12 Mar 2003 05:24:55 -0500 Subject: nagios maps not showing. Message-ID: <69487C03.3D495C68.10C3B4E4@netscape.net> please let me know why i cannot get the maps. ie. the images dont show up. (as if the browser doesnt support images) my nagios rpms are installed fine along with nagios, nagios-www, and nagios-cgi __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdeblend at gcc.dhl.com Wed Mar 12 10:56:19 2003 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 12 Mar 2003 10:56:19 +0100 Subject: Odd host displays References: <9290BC9741D67F43BDAAC84144FF870DB691E6@intecserver007.intec.co.za> Message-ID: <3E6F0443.4503C411@gcc.dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=true Paul Clayton wrote: > > Gurus, > > Still in the process of configuring agios, but have picked up an oddity. > When selecting the "Host Detail", I do not always get the full listing, of > say 30 hosts and only after a number of refreshes, I might get the correct > display. > > Any ideas why this may be happening, or is this normal. > > Regards > > Unix like TeePee no windows, no gates, Apache inside. > Paul Clayton > Global Unix Co-ordinator > Intec Telecom Systems > Ph +27 (0) 21 4309000 > Fax +27 (0) 21 4309025 > Mobile +27(0) 832853403 > > ******************************************************************************************* > > > This e-mail and any attachments are confidential and may also be privileged > and/or copyright material of Independent Technology Systems Limited > (or its affiliated companies). If you are not the intended or authorised recipient > of this email or have received it in error, please delete it immediately and > notify the sender by e-mail. In such a case reading, reproducing, printing or > further dissemination of this e-mail is strictly prohibited and may be unlawful. > > Independent Technology Systems Limited does not represent or warrant that > an attachment hereto is free from computer viruses or other defects. > > The opinions expressed in this e-mail and any of the attachments may > be those of the author and are not necessarily those of Independent > Technology Systems Limited. > ****************************************************************************************** > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Mar 12 11:20:29 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 12 Mar 2003 21:20:29 +1100 Subject: Check_dns In-Reply-To: <131A385F21AAD311BD6400902763781D01DB2560@Z8>; from Brad@pretzel.com.au on Mon, Mar 10, 2003 at 03:39:21PM +0800 References: <131A385F21AAD311BD6400902763781D01DB2560@Z8> Message-ID: <20030312211906.A443@IPAustralia.Gov.AU> Dear Sir, On Mon, Mar 10, 2003 at 03:39:21PM +0800, Brad Dunn wrote: > Just a quick question, is there anyway I can obtain a copy of the file > (normally in /usr/local/nagios/libexec/) check_dns? No one can send you a binary (check_dns in the path you quote is a binary) unless they (the sender) has the same OS as you. I think your options are 1 rebuild from the source (about a 10 minute go-to-woe job) 2 extract check_dns from an RPM/Package > The exsisting file I had became corrupt and I was just hoping I might be > able to download them individually incase it happens again. > > thanks > > brad 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:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Hanssen at baerum.kommune.no Wed Mar 12 12:09:13 2003 From: Stefan.Hanssen at baerum.kommune.no (Stefan Hanssen) Date: Wed, 12 Mar 2003 12:09:13 +0100 Subject: Information on stalking configuration Message-ID: It seems to me that stalking is a topic which is not widely covered. I am trying to enable staking for one host, with no success. Veryfing the following host configuration, define host { host_name fw-ic-n2 alias FW Indre Cluster Node 2 address 193.161.42.132 register 1 max_check_attempts 5 notification_interval 0 notification_period 24x7 notification_options d,u,r stalking_options d,u parents fw-ic } gives me the following error: [root at monitor01 etc]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Reading configuration data... Error: Invalid stalk_warning value for host 'fw-ic-n2' Error: Could not register host (config file '/usr/local/nagios/etc/hosts.cfg', line 375) ***> One or more problems was encountered while processing the config files... I figured that i need to use a stalk_warning parameter in the config file, but i cant find information on configuration options for this vareiable. Does anyone know where i can find more information on stalking ? __________________________________________ Vennlig hilsen Stefan Hanssen Datakontoret, B?rum Kommune e-post stefan.hanssen at baerum.kommune.no ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Wed Mar 12 12:22:02 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Wed, 12 Mar 2003 12:22:02 +0100 Subject: cgi displayed, not executed Message-ID: <3E6F185A.1030109@etsetb.upc.es> Hi. First of all thank you for this great tool. I've been using it in a test box and I love it. Now I have to install it in another server that has an apache server with mod_perl and HTML::Mason. When I request a nagios page from /nagios/cgi-bin/, it returns me the source ELF32 file, it isn't executed by the server. I installed the same version than the test box and I've been checking the conf very carefully. I also added more directives trying to force this execution. I check that mod_perl nor HTML::Mason were rendering the files. I added warns in the mason handler and set SetHandler default-handler directives in the nagios directories and locations. I haven't find more tips googling nor searching the nagios mailing list archives. Here are the details: version: I installed nagios from rpm nagios-www-1.0-1 nagios-1.0-1 nagios-plugins-1.0b4-2 apache-1.3.23-11 This is the config: AddType application/x-httpd-cgi .cgi ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ AllowOverride AuthConfig Options ExecCGI order deny,allow deny from all allow from ip_removed Alias /nagios/ /usr/share/nagios/ AllowOverride AuthConfig Options None order deny,allow deny from all allow from ip_removed PerlModule Apache::AuthDBI Thank you for your time. -- frankie ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tridentadm at netscape.net Wed Mar 12 13:36:32 2003 From: tridentadm at netscape.net (tridentadm at netscape.net) Date: Wed, 12 Mar 2003 07:36:32 -0500 Subject: test mail . plz . ignore Message-ID: <46308836.5099ECE8.10C3B4E4@netscape.net> test __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tridentadm at netscape.net Wed Mar 12 13:50:12 2003 From: tridentadm at netscape.net (tridentadm at netscape.net) Date: Wed, 12 Mar 2003 07:50:12 -0500 Subject: why cant i email to your mailing list?? Message-ID: <4D9992C8.326A9912.10C3B4E4@netscape.net> i cant send emails to your mailing list even though i have been subscribed .. why?? whats wrong? i did receive a first few emails but after that i dont seem to receiving any new emails, or neither can i send emails to your mailing list. why?? __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdeblend at gcc.dhl.com Wed Mar 12 13:59:43 2003 From: tdeblend at gcc.dhl.com (Tom DE BLENDE) Date: Wed, 12 Mar 2003 13:59:43 +0100 Subject: test mail . plz . ignore References: <46308836.5099ECE8.10C3B4E4@netscape.net> Message-ID: <3E6F2F3F.217A4789@gcc.dhl.com> This is becoming an annoying trend lately... tridentadm at netscape.net wrote: > > test > > __________________________________________________________________ > Try AOL and get 1045 hours FREE for 45 days! > http://free.aol.com/tryaolfree/index.adp?375380 > > Get AOL Instant Messenger 5.1 for FREE! Download Now! > http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Wed Mar 12 14:41:07 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 12 Mar 2003 14:41:07 +0100 Subject: test mail . plz . ignore In-Reply-To: <3E6F2F3F.217A4789@gcc.dhl.com>; from tdeblend@gcc.dhl.com on Wed, Mar 12, 2003 at 01:59:43PM +0100 References: <46308836.5099ECE8.10C3B4E4@netscape.net> <3E6F2F3F.217A4789@gcc.dhl.com> Message-ID: <20030312144107.G1458@hpce.nec.com> On Wed, Mar 12, 2003 at 01:59:43PM +0100, Tom DE BLENDE wrote: > This is becoming an annoying trend lately... > > tridentadm at netscape.net wrote: > > > > test Be grateful that he at least didn't send it as HTML. Now Mr. Tridentadm just has to persuade his parents to give him a proper name, and Everything Will Be Fine. Rasmus ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Wed Mar 12 14:45:56 2003 From: lejert at hotmail.com (le jert) Date: Wed, 12 Mar 2003 14:45:56 +0100 Subject: problem with "negate " Message-ID: Hi ! In order to check firewall security, I would like to know how I can check if certain ports are closed (and not open, as usually). I mean writing 'ok' for the service if ports 23,... are closed. I use the negate command, but I don't know exactly where I am wrong : $USER1$/negate $USER1$/check_tcp -H -p 22 here's my config : # 'check_tcp_closed' command definition define command{ command_name check_tcp_closed command_line $USER1$/negate $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ } # Service definition for checking if SSh port 22 is closed define service{ use generic-service host_name xxx service_description Check SSH closed is_volatile 0 check_period 24x7 contact_groups xxx notification_options c,r,w check_command check_tcp_closed!22 } Could you help me finding what's wrong ??? thanks Note : I'm running nagios-1.0 with pluggin 1.3.0 beta2 on a redhat 7.3 _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Wed Mar 12 15:10:29 2003 From: David at feedroom.com (David Gitman) Date: Wed, 12 Mar 2003 09:10:29 -0500 Subject: Script Alias Error Message-ID: I'm seeing the following error in my apache error log when trying to access a Nagios script. [Wed Mar 12 08:54:49 2003] [error] [client 10.0.12.31] File does not exist: /local/project/nagios/share/cgi-bin/tac.cgi Any ideas why it's going to /local/project/nagios/share/cgi-bin/ instead of /local/project/nagios/sbin ? My apache Aliases section is below. # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # Alias /icons/ "/local/project/apache/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # This Alias will project the on-line documentation tree under /manual/ # even if you change the DocumentRoot. Comment it if you don't want to # provide access to the on-line documentation. # Alias /manual/ "/local/project/apache/htdocs/default/manual/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all Alias /nagios/ "/local/project/nagios/share/" Options None AllowOverride AuthConfig Order allow,deny Allow from all # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/local/project/apache/cgi-bin/" # # "/local/project/apache/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ "/local/project/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all # End of aliases. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan at bryann.ath.cx Wed Mar 12 15:23:42 2003 From: bryan at bryann.ath.cx (Bryan Nolen) Date: Thu, 13 Mar 2003 01:23:42 +1100 Subject: test mail . plz . ignore In-Reply-To: <3E6F2F3F.217A4789@gcc.dhl.com> References: <46308836.5099ECE8.10C3B4E4@netscape.net> <3E6F2F3F.217A4789@gcc.dhl.com> Message-ID: the test messages or the endless footers? :) (footers kept for impact) On Wed, 12 Mar 2003 23:59, Tom DE BLENDE wrote: > This is becoming an annoying trend lately... > > tridentadm at netscape.net wrote: > > test > > > > __________________________________________________________________ > > Try AOL and get 1045 hours FREE for 45 days! > > http://free.aol.com/tryaolfree/index.adp?375380 > > > > Get AOL Instant Messenger 5.1 for FREE! Download Now! > > http://aim.aol.com/aimnew/Aim/register.adp?promos=380455 > > > > ------------------------------------------------------- > > This SF.net email is sponsored by:Crypto Challenge is now open! > > Get cracking and register here for some mind boggling fun and > > the chance of winning an Apple iPod: > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- ================================================== Bryan Nolen bryan at bryann dot ath dot cx http://bryann.ath.cx/ ================================================== ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Wed Mar 12 15:30:16 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 12 Mar 2003 14:30:16 -0000 Subject: problem with "negate " Message-ID: <53104E20A25CD411B556009027E50636064D5441@pnnemp02.pn.egg.com> What is your result on the command line? I find that you need to place the command in quotes so ./negate ./check_http -H localhost will fail, but ./negate "./check_http -H localhost" will work. > -----Original Message----- > From: le jert [SMTP:lejert at hotmail.com] > Sent: Wednesday, March 12, 2003 1:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem with "negate " > > Hi ! > > In order to check firewall security, I would like to know how I can > check if certain ports are closed (and not open, as usually). I > mean > writing 'ok' for the service if ports 23,... are closed. > I use the negate command, but I don't know exactly where I am wrong : > > > $USER1$/negate $USER1$/check_tcp -H -p 22 > > here's my config : > > > # 'check_tcp_closed' command definition > define command{ > command_name check_tcp_closed > command_line $USER1$/negate $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > } > > > > # Service definition for checking if SSh port 22 is closed > define service{ > use generic-service > host_name xxx > service_description Check SSH closed > is_volatile 0 > check_period 24x7 > contact_groups xxx > notification_options c,r,w > check_command check_tcp_closed!22 > } > > > Could you help me finding what's wrong ??? > > thanks > > Note : I'm running nagios-1.0 with pluggin 1.3.0 beta2 on a redhat > 7.3 > > > > _________________________________________________________________ > > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Wed Mar 12 15:56:24 2003 From: lejert at hotmail.com (le jert) Date: Wed, 12 Mar 2003 15:56:24 +0100 Subject: problem with "negate " Message-ID: here's is the response : negate: Unknown argument - H >From: "Voon, Ton" >To: 'le jert' , nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] problem with "negate " >Date: Wed, 12 Mar 2003 14:30:16 -0000 > >What is your result on the command line? > >I find that you need to place the command in quotes so >./negate ./check_http -H localhost >will fail, but >./negate "./check_http -H localhost" >will work. > > > -----Original Message----- > > From: le jert [SMTP:lejert at hotmail.com] > > Sent: Wednesday, March 12, 2003 1:46 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] problem with "negate " > > > > Hi ! > > > > In order to check firewall security, I would like to know how I can > > check if certain ports are closed (and not open, as usually). I > > mean > > writing 'ok' for the service if ports 23,... are closed. > > I use the negate command, but I don't know exactly where I am wrong : > > > > > > $USER1$/negate $USER1$/check_tcp -H -p 22 > > > > here's my config : > > > > > > # 'check_tcp_closed' command definition > > define command{ > > command_name check_tcp_closed > > command_line $USER1$/negate $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > > } > > > > > > > > # Service definition for checking if SSh port 22 is closed > > define service{ > > use generic-service > > host_name xxx > > service_description Check SSH closed > > is_volatile 0 > > check_period 24x7 > > contact_groups xxx > > notification_options c,r,w > > check_command check_tcp_closed!22 > > } > > > > > > Could you help me finding what's wrong ??? > > > > thanks > > > > Note : I'm running nagios-1.0 with pluggin 1.3.0 beta2 on a redhat > > 7.3 > > > > > > > > _________________________________________________________________ > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by:Crypto Challenge is now open! > > Get cracking and register here for some mind boggling fun and > > the chance of winning an Apple iPod: > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > >This private and confidential e-mail has been sent to you by Egg. >The Egg group of companies includes Egg Banking plc >(registered no. 2999842), Egg Financial Products Ltd (registered >no. 3319027) and Egg Investments Ltd (registered no. 3403963) which >carries out investment business on behalf of Egg and is regulated >by the Financial Services Authority. >Registered in England and Wales. Registered offices: 1 Waterhouse Square, >138-142 Holborn, London EC1N 2NA. >If you are not the intended recipient of this e-mail and have >received it in error, please notify the sender by replying with >'received in error' as the subject and then delete it from your >mailbox. _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Wed Mar 12 15:59:04 2003 From: lejert at hotmail.com (le jert) Date: Wed, 12 Mar 2003 15:59:04 +0100 Subject: problem with "negate " Message-ID: sorry, I forgot something ... here's is the responses : negate: Unknown argument - H TCP OK - 0.008 second response time on port 22 (critical) >From: "Voon, Ton" >To: 'le jert' , nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] problem with "negate " >Date: Wed, 12 Mar 2003 14:30:16 -0000 > >What is your result on the command line? > >I find that you need to place the command in quotes so >./negate ./check_http -H localhost >will fail, but >./negate "./check_http -H localhost" >will work. > > > -----Original Message----- > > From: le jert [SMTP:lejert at hotmail.com] > > Sent: Wednesday, March 12, 2003 1:46 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] problem with "negate " > > > > Hi ! > > > > In order to check firewall security, I would like to know how I can > > check if certain ports are closed (and not open, as usually). I > > mean > > writing 'ok' for the service if ports 23,... are closed. > > I use the negate command, but I don't know exactly where I am wrong : > > > > > > $USER1$/negate $USER1$/check_tcp -H -p 22 > > > > here's my config : > > > > > > # 'check_tcp_closed' command definition > > define command{ > > command_name check_tcp_closed > > command_line $USER1$/negate $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > > } > > > > > > > > # Service definition for checking if SSh port 22 is closed > > define service{ > > use generic-service > > host_name xxx > > service_description Check SSH closed > > is_volatile 0 > > check_period 24x7 > > contact_groups xxx > > notification_options c,r,w > > check_command check_tcp_closed!22 > > } > > > > > > Could you help me finding what's wrong ??? > > > > thanks > > > > Note : I'm running nagios-1.0 with pluggin 1.3.0 beta2 on a redhat > > 7.3 > > > > > > > > _________________________________________________________________ > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by:Crypto Challenge is now open! > > Get cracking and register here for some mind boggling fun and > > the chance of winning an Apple iPod: > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > >This private and confidential e-mail has been sent to you by Egg. >The Egg group of companies includes Egg Banking plc >(registered no. 2999842), Egg Financial Products Ltd (registered >no. 3319027) and Egg Investments Ltd (registered no. 3403963) which >carries out investment business on behalf of Egg and is regulated >by the Financial Services Authority. >Registered in England and Wales. Registered offices: 1 Waterhouse Square, >138-142 Holborn, London EC1N 2NA. >If you are not the intended recipient of this e-mail and have >received it in error, please notify the sender by replying with >'received in error' as the subject and then delete it from your >mailbox. _________________________________________________________________ ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David.Stacy at evenflo.com Wed Mar 12 15:59:37 2003 From: David.Stacy at evenflo.com (Stacy, David) Date: Wed, 12 Mar 2003 09:59:37 -0500 Subject: Monitoring Baan Message-ID: <49482AB0C282D5119A3C0090273AD98D03A26133@evvan1exc2.evenflo.com> Hi I've just installed Nagios within the last month and am very impressed with all of the functionality and architecture. I think its going to fit in very nicely here. Does anyone have experience using Nagios to monitor a production BAAN environment? thanks, Dave ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scud at sparta.com Wed Mar 12 16:11:51 2003 From: scud at sparta.com (Scudamore, Mike) Date: Wed, 12 Mar 2003 09:11:51 -0600 Subject: why cant i email to your mailing list?? Message-ID: <7C8A4FFB090B9E4E9C56F963D53733972952B9@lal.sparta.com> If he's having this much trouble with e-mail, I can't wait for his first question about Nagios. scud -----Original Message----- From: tridentadm at netscape.net [mailto:tridentadm at netscape.net] Sent: Wednesday, March 12, 2003 6:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] why cant i email to your mailing list?? i cant send emails to your mailing list even though i have been subscribed .. why?? whats wrong? i did receive a first few emails but after that i dont seem to receiving any new emails, or neither can i send emails to your mailing list. why?? ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at ichilton.co.uk Wed Mar 12 16:31:24 2003 From: mailinglist at ichilton.co.uk (Ian Chilton) Date: Wed, 12 Mar 2003 15:31:24 +0000 Subject: why cant i email to your mailing list?? In-Reply-To: <4D9992C8.326A9912.10C3B4E4@netscape.net> References: <4D9992C8.326A9912.10C3B4E4@netscape.net> Message-ID: <20030312153124.GC28914@roadrunner.ichilton.net> Hello, > i cant send emails to your mailing list even though i have been subscribed .. Trust me, you can. If I was you, i'd stop though as some people have already expressed their annoyance at your test mails. --ian ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Mar 12 19:03:51 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 12 Mar 2003 12:03:51 -0600 Subject: Notification problems.. Message-ID: <352B04312822444A962714393AED8A4D11379D@ADAEVS01.int.chickasaw.net> Hey all, I have a small but weird problem.. Im using Nagios 1.0 and template based config.. I have the enable_notifications lines in my generic host and generic service templates.. I have disbled notifications and it seems to work for all but a few hosts that seem to still be sending email notifications. I don't have notifications enabled specifically for them as they get their notification config from the generic templates.. Has anyone had this happen before? Could it be a bug perhaps? Thanks in advance! jrmy ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mar 12 19:35:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 12 Mar 2003 13:35:36 -0500 (EST) Subject: Dialogic D480SC monitoring In-Reply-To: <3E6EE89F.4090407@mindsw.com> References: <3E6EE89F.4090407@mindsw.com> Message-ID: On Wed, 12 Mar 2003, Atul Gosain wrote: > hi > > Has anyone done monitoring/management of Dialogic D480SC monitoring > through Nagios before. Don't know about Dialogic. > > Also can anyone tell me from where i can get the MIB for Cisco 5300. All cisco mibs are at ftp.cisco.com/pub/mibs Either get everything or look in the supportlists dir for the as5300 and just download the supported mibs. both v1 and v2 dir contain a tar file that contain all the mibs in the v1 and v2 directories. > > Thanks > Atul Gosain > > -- -sg ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlevine at NACorporation.com Wed Mar 12 20:27:47 2003 From: dlevine at NACorporation.com (Levine, David) Date: Wed, 12 Mar 2003 13:27:47 -0600 Subject: AS/400 Message-ID: <59A694BBA946D311809100902798EDE2026577C6@MAIL> Hi all - just curious if anyone is monitoring an AS/400 or the lilke with nagios? (just moved to a new shop with one -) Thanks, David ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at br.danzas.com Wed Mar 12 21:12:44 2003 From: hugo.rebello at br.danzas.com (Hugo Rebello) Date: Wed, 12 Mar 2003 17:12:44 -0300 Subject: check_snmp Message-ID: Hi people, Could you help me ? I'm trying enable check_snmp to a server, but I receive the following error: **************************************************************************** ******************** Error: Service check command 'check_snmp -v -H 192.168.1.10 -C public' specified in service 'SNMP' for host 'sao41w' not defined anywhere! **************************************************************************** ******************** The strange that is I have enable check_ping to the server, and I don't have problem. I have defined the server in hosts.cfg file. Thank you. Regards, Hugo ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbestetti at opservices.com.br Wed Mar 12 21:31:05 2003 From: dbestetti at opservices.com.br (Dario B. Bestetti) Date: Wed, 12 Mar 2003 17:31:05 -0300 Subject: AS/400 In-Reply-To: <59A694BBA946D311809100902798EDE2026577C6@MAIL> References: <59A694BBA946D311809100902798EDE2026577C6@MAIL> Message-ID: <00c101c2e8d6$4e9e2e70$3c0aa8c0@dario> David, as long as you have a SNMP agent running on it, no problem. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Levine, David Sent: quarta-feira, 12 de mar?o de 2003 16:28 To: Nagios Users List (E-mail) Subject: [Nagios-users] AS/400 Hi all - just curious if anyone is monitoring an AS/400 or the lilke with nagios? (just moved to a new shop with one -) Thanks, David ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Mar 12 21:28:16 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 12 Mar 2003 14:28:16 -0600 Subject: check_snmp Message-ID: <352B04312822444A962714393AED8A4D11379F@ADAEVS01.int.chickasaw.net> It looks like its complaining about the service... Is this the old configuration style or template? -----Original Message----- From: Hugo Rebello [mailto:hugo.rebello at br.danzas.com] Sent: Wednesday, March 12, 2003 2:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp Hi people, Could you help me ? I'm trying enable check_snmp to a server, but I receive the following error: ************************************************************************ **** ******************** Error: Service check command 'check_snmp -v -H 192.168.1.10 -C public' specified in service 'SNMP' for host 'sao41w' not defined anywhere! ************************************************************************ **** ******************** The strange that is I have enable check_ping to the server, and I don't have problem. I have defined the server in hosts.cfg file. Thank you. Regards, Hugo ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mandrade at sao-co.br.dhl.com Wed Mar 12 21:35:25 2003 From: mandrade at sao-co.br.dhl.com (Marcel Thimm Andrade) Date: Wed, 12 Mar 2003 17:35:25 -0300 Subject: NRPE Message-ID: <5.1.0.14.0.20030312172705.00a83770@saoco> I made the following commands : saoco-root:/tmp/Nagios/nrpe-1.8> ./configure 1>>output.configure1 2>>output.configure2 saoco-root:/tmp/Nagios/nrpe-1.8> make all 1>> output.make_all1 2>>output.make2 And I am attaching the outputs. tks Marcel Thimm Andrade At 11:19 11/03/03 -0600, you wrote: >Why not run configure, then copy the output to the list so we can see what >went wrong. > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marcel Thimm >Andrade >Sent: Tuesday, March 11, 2003 11:04 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] NRPE > >Hello, > >I am a beginner with Nagios. >I downloaded the core program, plugins, documentation, addons ... >I need to install NRPE in a HP-UX v10.20 system, but 'configure' does not >finish its process with success. >Is ther someone to help me ? > >Thank you very much. > >Marcel Thimm Andrade > > > >------------------------------------------------------- >This SF.net email is sponsored by:Crypto Challenge is now open! >Get cracking and register here for some mind boggling fun and >the chance of winning an Apple iPod: >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 -------------- (Bundled) cc: "utils.h", line 37: warning 5: "const" will become a keyword. (Bundled) cc: "utils.h", line 37: error 1000: Unexpected symbol: "char". (Bundled) cc: "utils.h", line 34: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 35: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 37: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 39: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 41: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 42: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 44: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 30: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 32: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 33: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 34: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 35: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 36: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 37: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 38: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 39: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 40: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 42: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 43: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 66: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 187: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 304: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 328: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 341: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 375: warning 526: Pointer implicitly converted to integral value in assignment. (Bundled) cc: "nrpe.c", line 375: warning 563: Argument #1 is not the correct type. (Bundled) cc: "nrpe.c", line 513: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 652: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 670: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 685: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 704: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 865: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 874: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "nrpe.c", line 946: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 37: warning 5: "const" will become a keyword. (Bundled) cc: "utils.h", line 37: error 1000: Unexpected symbol: "char". (Bundled) cc: "utils.h", line 34: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 35: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 37: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 39: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 41: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 42: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.h", line 44: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.c", line 37: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "utils.c", line 61: warning 5: "const" will become a keyword. (Bundled) cc: "utils.c", line 61: error 1000: Unexpected symbol: "char". (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating. Stop. Stop. -------------- next part -------------- syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. -------------- next part -------------- cd ./src/; make ; cd .. cc -DHAVE_CONFIG_H nrpe.c utils.c -o nrpe nrpe.c: utils.c: *** Error exit code 2 *** Error exit code 1 -------------- next part -------------- checking for a BSD compatible install... ./install-sh -c checking for gcc... no checking for cc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cc accepts -g... no checking whether make sets ${MAKE}... yes checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for netdb.h... yes checking for pwd.h... yes checking for signal.h... yes checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/socket.h... yes checking for sys/stat.h... yes checking for working const... no checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for main in -lnsl... no checking for socket in -lsocket... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for perl... /usr/contrib/bin/perl creating ./config.status creating Makefile creating src/Makefile creating subst creating common/config.h common/config.h is unchanged *** Configuration summary for nrpe 1.8 01-16-2003 ***: General Options: ------------------------- NRPE port: 5666 NRPE user: nagios NRPE group: nagios Review the options above for accuracy. If they look okay, type 'make all' to compile the NRPE daemon and client. From gert.lindstrom at brevik.nu Wed Mar 12 21:47:02 2003 From: gert.lindstrom at brevik.nu (Gert) Date: 12 Mar 2003 20:47:02 -0000 Subject: NSClient Message-ID: <20030312204702.29965.qmail@pod-163.dolphin-server.co.uk> Hello. I hope you can help me out here. I am trying to use nsclient in Nagios. It works fine from the command line getting the data fr?n the W2K server but in Nagios i get an"Could not parse arguments" error. Here are my configs. >From checkcommands # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s $USER5$ -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } from services # Service definition for checking Disk C Free Disk Space on Windows 2000 system define service{ use generic-service host_name vanserv service_description Drive C Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,w,r check_command check_nt_disk!C!85!90 } Regards Gert ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vasil at cs.utk.edu Wed Mar 12 21:50:02 2003 From: vasil at cs.utk.edu (David Vasil) Date: Wed, 12 Mar 2003 15:50:02 -0500 Subject: nagios and Solaris 8 problem In-Reply-To: References: Message-ID: <20030312205001.GA32177@cs.utk.edu> It sounds as though your binary is being stripped by differing versions of strip. I have had issues in the past with the ccs version of strip while using gcc to compile my Sunos58 software. Try using the gnu strip instead during compilation/installation. On Fri, Mar 07, 2003 at 05:56:21PM -0800, Ben.Farris at key3media.com wrote: > I have Solaris with the Jan 2003 patchcluster installed. > > Everything appears to compile properly. > However if I try to call the nagios binary i get an error: > > root at barbrady # ./nagios -v /opt/nagios/etc/nagios.cfg > nagios: Cannot find ELF > Killed > > If I do an ldd on nagios and get ldd: nagios: file has insecure interpreter > ELF > > Does anyone have any ideas what is wrong?? > > Thanks, > Ben -- +------------------------------------------------------------+ | Dave Vasil vasil at cs.utk.edu | | University of Tennessee Computer Science Dept. | | UTKCS Systems Administrator 865-974-8364 | +------------------------------------------------------------+ ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jesus_navarro at undominio.net Wed Mar 12 22:02:42 2003 From: jesus_navarro at undominio.net (=?ISO-8859-1?Q?Jes=FAs?= M. NAVARRO) Date: 12 Mar 2003 22:02:42 +0100 Subject: check nagios and mysql error - where is check_nagios_db.pl script? Message-ID: <1047502961.1653.7.camel@mithrandir.intranet> Hi all: I'm using Nagios 1.0 with MySQL support and I found the "Warning: Monitoring process may not be running!" problem explained in the "F0131 - Checking the status of Nagios with MySQL or PostgreSQL DB support" FAQ (which, by the way, as per 12/MAR/2003 - 23:00GMT throws a "Sorry, but an error occurred... :-(" message when trying to get its content). Now, it says you should change the "check_nagios" plugin with the contributed "check_nagios_db.pl" but alas! I didn't find it neither within my sources (main program or plugins) nor anywhere in the download section of the nagios web. Is still that plugin the way to go or is there any other solution. If the plugin is the way, where can I get it? TIA -- SALUD, Jes?s *** jesus_navarro at undominio.net *** ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Wed Mar 12 22:11:03 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 12 Mar 2003 22:11:03 +0100 Subject: AS/400 In-Reply-To: <00c101c2e8d6$4e9e2e70$3c0aa8c0@dario> References: <59A694BBA946D311809100902798EDE2026577C6@MAIL> <00c101c2e8d6$4e9e2e70$3c0aa8c0@dario> Message-ID: <20030312211103.GA11546@hpce.nec.com> On Wed, Mar 12, 2003 at 05:31:05PM -0300, Dario B. Bestetti wrote: > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > To: Nagios Users List (E-mail) > Subject: [Nagios-users] AS/400 > > > just curious if anyone is monitoring an AS/400 or the lilke with nagios? > > David, as long as you have a SNMP agent running on it, no problem. (Most of ) the plugins compile on virtually any Unix system[1]. So, if you e.g. have ssh on your box - no problem (haven't played with nrpe yet). Rasmus [1] Even Super-UX. That is saying a lot, IMHO. ;-) ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlos at carlosguevara.com Wed Mar 12 22:21:57 2003 From: carlos at carlosguevara.com (Carlos Guevara) Date: Wed, 12 Mar 2003 16:21:57 -0500 Subject: NSClient In-Reply-To: <20030312204702.29965.qmail@pod-163.dolphin-server.co.uk> References: <20030312204702.29965.qmail@pod-163.dolphin-server.co.uk> Message-ID: <000401c2e8dd$6a8e43c0$3400000a@cjg4030cdt> Try double-checking the password. Is the password USER5, or are you trying to pass the password as an argument? -- Carlos Guevara A+, CCA, CCNA, CNE, Linux+, MCSE carlos at carlosguevara.com http://www.carlosguevara.com/ -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Gert Sent: Wednesday, March 12, 2003 3:47 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient Hello. I hope you can help me out here. I am trying to use nsclient in Nagios. It works fine from the command line getting the data fr?n the W2K server but in Nagios i get an"Could not parse arguments" error. Here are my configs. >From checkcommands # 'check_nt_disk' command definition define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s $USER5$ -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } from services # Service definition for checking Disk C Free Disk Space on Windows 2000 system define service{ use generic-service host_name vanserv service_description Drive C Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,w,r check_command check_nt_disk!C!85!90 } Regards Gert ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nicolas.deffayet at ndsoftware.net Wed Mar 12 23:03:38 2003 From: nicolas.deffayet at ndsoftware.net (Nicolas DEFFAYET) Date: 12 Mar 2003 23:03:38 +0100 Subject: IPv6 support In-Reply-To: <1047427243.17931.8.camel@peitha> References: <1047427243.17931.8.camel@peitha> Message-ID: <1047506618.14870.32.camel@w1-2-lev.fr.corp.ndsoftware.com> On Wed, 2003-03-12 at 01:00, Lennard Bakker wrote: Hi, > Are there plugins that support ipv6? > I only can find some ipv6 support for checks that uses ssh (check_ssh > and check_by_ssh). > For example no check_ping with ipv6 support... I created my patchs for have a IPv4/IPv6 support: http://www.openipv6.com/temp/nagios-plugins-1.3.0-ipv6.patch -> IPv6 support for many plugins TODO: IPv6 support for check_snmp http://www.openipv6.com/temp/nagios-1.0-ipv6.patch -> IPv4 and IPv6 support for the same host (using address and address6) -- Nicolas DEFFAYET, NDSoftware NDSoftware NOC: http://noc.ndsoftwarenet.com/ FNIX6 (French National Internet Exchange IPv6): http://www.fnix6.net/ EuroNOG: http://www.euronog.org/ ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Wed Mar 12 23:38:53 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Wed, 12 Mar 2003 14:38:53 -0800 Subject: IPv6 support In-Reply-To: <1047506618.14870.32.camel@w1-2-lev.fr.corp.ndsoftware.com> References: <1047427243.17931.8.camel@peitha> <1047506618.14870.32.camel@w1-2-lev.fr.corp.ndsoftware.com> Message-ID: <20030312223853.GB18292@UnderGrid.net> On Wed, Mar 12, 2003 at 11:03:38PM +0100, Nicolas DEFFAYET wrote: > I created my patchs for have a IPv4/IPv6 support: > > http://www.openipv6.com/temp/nagios-plugins-1.3.0-ipv6.patch > -> IPv6 support for many plugins > TODO: IPv6 support for check_snmp > I may have to take a look at this to see if there is anything I haven't already caught and put into the CVS repository for the nagios plugins to support IPv6... IPv6 support for SNMP might have to wait until more of the MIBs are updated to support IPv6 themselves... > http://www.openipv6.com/temp/nagios-1.0-ipv6.patch > -> IPv4 and IPv6 support for the same host (using address and address6) > Is there really anything that needs to be done to nagios itself to support IPv6? I haven't found anything I've need to modify except the plugins to get IPv6 support... Jeremy ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lambert at lambertfam.org Wed Mar 12 23:25:48 2003 From: lambert at lambertfam.org (Scott Lambert) Date: Wed, 12 Mar 2003 17:25:48 -0500 Subject: AS/400 In-Reply-To: <20030312211103.GA11546@hpce.nec.com> References: <59A694BBA946D311809100902798EDE2026577C6@MAIL> <00c101c2e8d6$4e9e2e70$3c0aa8c0@dario> <20030312211103.GA11546@hpce.nec.com> Message-ID: <20030312222548.GA2412@laptop.lambertfam.org> On Wed, Mar 12, 2003 at 10:11:03PM +0100, Rasmus Plewe wrote: > On Wed, Mar 12, 2003 at 05:31:05PM -0300, Dario B. Bestetti wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > To: Nagios Users List (E-mail) > > Subject: [Nagios-users] AS/400 > > > > > just curious if anyone is monitoring an AS/400 or the lilke with nagios? > > > > David, as long as you have a SNMP agent running on it, no problem. > > (Most of ) the plugins compile on virtually any Unix system[1]. So, if > you e.g. have ssh on your box - no problem (haven't played with nrpe > yet). OS/400 is not a Unix varient. -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chad.white at med.ge.com Wed Mar 12 23:36:00 2003 From: chad.white at med.ge.com (White, Chad (MED)) Date: Wed, 12 Mar 2003 14:36:00 -0800 Subject: No output! errors Message-ID: <0017DAB8-54DB-11D7-B3E5-000A95775192@med.ge.com> Hi all, I hope someone can help me with this problem that is absolutely driving me crazy. I have just installed Nagios 1.0 and I am attempting to get it configured. Everything that I am monitoring right now are Solaris 8 SPARC machines. I've read all the documentation and have everything compiled, installed and running. At first I was very happy with Nagios compared to Big Brother which is what we are using right now. However I have been fighting with this problem for 2 days now and I am no closer to figuring out the problem. What happens is that a number of my service checks will act appropriately 50% of the time, and 50% of the time return (No output!). What does (No output!) mean exactly? It doesn't seem to be the same as when the plugins time out, which I have seen a few times as well.. Any ideas on what could be causing this? Any kind of plugin I run gives me this problem eventually, even ones that just check things on the local monitoring services (like check_local_procs). Due to the sporadic nature, it feels like some kind of a resource limitation but I am only monitoring around 25 services. Any help would be appreciated at this point! thx, --Chad White Here are some relevant pieces of my config: #hq-service template define service{ name hq-service ; active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_period 24x7 normal_check_interval 30 max_check_attempts 10 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r register 0 } # router1 ping service definition define service{ use hq-service host_name router1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_command check_ping!100.0,20%!500.0,60% } # 'router1' host definition define host{ use generic-host host_name router1 alias Router #1 address x.x.x.x check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at easynet.fr Wed Mar 12 23:30:54 2003 From: barbereau at easynet.fr (Sebastien Barbereau) Date: Wed, 12 Mar 2003 23:30:54 +0100 Subject: Too many notifications => max_check_attempts useless? In-Reply-To: <20030302173719.GC11254@roadrunner.ichilton.net>; from mailinglist@ichilton.co.uk on Sun, Mar 02, 2003 at 05:37:19PM +0000 References: <155102933453.20030302162137@internetinfocenter.net> <20030302173719.GC11254@roadrunner.ichilton.net> Message-ID: <20030312233054.A858@ns3531.ovh.net> Hello, yes you're right but ... one may think that max_check_attempts works with the check_interval. For example, one would expect that if you set max_check_attemps to 5, nagios +would check the host 5 times with a one minute interval betwen the checks (like it is for services). This is not the case. Here is an example log file: [22:05:23] HOST ALERT: fw-ns-msi;DOWN;HARD;3;FPING CRITICAL - 2.1.4.238 (loss=100.000000%, rta=0.000000 ms) [22:05:23] HOST ALERT: fw-ns-msi;DOWN;SOFT;2;FPING CRITICAL - 2.1.4.238 (loss=100.000000%, rta=0.000000 ms) [22:05:22] HOST ALERT: fw-ns-msi;DOWN;SOFT;1;FPING CRITICAL - 2.1.4.238 (loss=100.000000%, rta=0.000000 ms) As you can see all checks are execute immetiatly without any consideration for check_interval and interval_length ... And the most surprising (at least for me) about this is that this is the "wanted" behaviour. If you look at the nagios source code you'll see that host checks are run without any delay or schedule time. This can be found around line 1452 of checks.c The only "delay" you could get in your host check is the delay or timeout of your host-check-command. I think this is a job for the developpers ... maybe some feature request?! hope this helps, On Sun, Mar 02, 2003 at 05:37:19PM +0000, Ian Chilton wrote: > Hello, > > > How can I set up nagio, so that notifications are ONLY sent out after > > a certain number of tests? > > > In hosts.cfg, when you setup the host, use something like this: > > max_check_attempts 5 > > This means, when the host is found down, it is only marked as "soft > down" - it needs to fail 5 checks to be marked as "hard down" and a > notification to be sent. Or, as the docs describe it: > > max_check_attempts: This directive is used to define the number of times > that Nagios will retry the host check command if it returns any state > other than an OK state. Setting this value to 1 will cause Nagios to > generate an alert without retrying the host check again. Note: If you do > not want to check the status of the host, you must still set this to a > minimum value of 1. To bypass the host check, just leave the > check_command option blank. > > > Hope this helps > > --ian > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at bolthole.com Wed Mar 12 23:59:51 2003 From: nagios at bolthole.com (Philip Brown) Date: Wed, 12 Mar 2003 14:59:51 -0800 Subject: nagios and Solaris 8 problem In-Reply-To: <20