From lshobbrook at fasttrack.net.au Tue Feb 1 01:56:25 2005 From: lshobbrook at fasttrack.net.au (Lewis Shobbrook) Date: Tue, 1 Feb 2005 11:56:25 +1100 Subject: nagios-mysql upgrade woes! Message-ID: <0C8098CA7F09CE419F0C2B68EB83587648B630@exchange.fasttrack.net.au> Hi All, I finally bit the bullet and upgraded from debian unstable release of nagios-mysql 1.2 release to 1.3. No complaints from the nagios init.d start, nor syslog, but I get persistent errors, of the following... Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' I've double checked the table permissions added the nagios user to the mysql group, even recereated the table and re-applied mysql permissions, lock tables rights etc. The mysql.log appears to show success... 050201 11:51:08 204 Query LOCK TABLES programstatus WRITE, hoststatus WRITE, servicestatus WRITE 204 Query DELETE FROM programstatus 204 Query DELETE FROM hoststatus 204 Query DELETE FROM servicestatus 204 Query INSERT INTO programstatus (last_update,program_start,nagios_pid,daemon_mode,last_command_check,las t_log_rotation,enable_notifications,execute_service_checks,accept_passiv e_service_checks,enable_event_handlers,obsess_over_services,enable_flap_ detection,enable_failure_prediction,process_performance_data) VALUES (FROM_UNIXTIME(1107219068),FROM_UNIXTIME(1107218543),'23373','0',FROM_UN IXTIME(1107219067),FROM_UNIXTIME(0),'1','1','1','1','0','0','1','0') Can't view anything via the web console just get ... Error: Could not read host and service status information! I am getting email alert notifications. Anyone have any ideas here? Thanks in advance. Lewis Shobbrook Ba.Appl.Sci (Hon's), MCSE IT Administrator FastTrack Pty. Ltd. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Feb 1 05:06:58 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 31 Jan 2005 23:06:58 -0500 (EST) Subject: Issue with check_disk when mounts exist on the server. In-Reply-To: <59B15593F41BD24591D59436E7226EAD015145F0@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD015145F0@Khiphx2.khimetrics.com> Message-ID: Can debug and see if there is any output on stderr from the df command being used? Also what platforms are these on? On Mon, 31 Jan 2005, Nathan Oyler wrote: > Yes, I'm using nrpe. > > Although the problem also occurs if you run the check locally. > > I'd like to know what the exact command it runs it so that I can look at > it, and take a guess to if it's parsing something wrong, or what's > happening. > >> -----Original Message----- >> From: Martijn Lievaart [mailto:m at rtij.nl] >> Sent: Monday, January 31, 2005 3:12 PM >> To: Nathan Oyler >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Issue with check_disk when mounts exist on > the >> server. >> >> Nathan Oyler wrote: >> >>> I find that I have had quite a few problems with check_disk with > mounts >>> on the machine. >>> >>> I have -x'd the mounts, so my checkdisk looks normal with -x > /mnt/blah >>> >>> And it doesn't show the mount on the check. However I am getting a >>> warning about something. >>> >>> DISK WARNING [33534504 kB (97%) free on /dev/hda3] [59017 kB (80%) > free >>> on /dev/hda1] [1290856 kB (100%) free on /dev/shm] >>> >>> Is what I get, although there are two mounts being -x'd, however they >>> more free than my limit for a warning on the check. >>> >>> 4 machines at once, all rh 8.0 mounting the same directories. Just >>> started happening. >>> >>> What is the exact command check disk calls so I can test that? >>> >>> [root at triad8 plugins]# ./check_nrpe -H 5b1.dc -c check_disk >>> DISK WARNING [33534500 kB (97%) free on /dev/hda3] [59017 kB (80%) > free >>> on /dev/ >>> hda1] [1290856 kB (100%) free on /dev/shm] >>> >>> >>> >> >> I'm having similar problems, but with check_disk called by check_nrpe. >> Do you use nrpe as well? >> >> M4 >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Tue Feb 1 08:54:55 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Mon, 31 Jan 2005 23:54:55 -0800 Subject: Help on alert ping In-Reply-To: <215C20B52BAEB9439EF08A32483AE9DC0151D107@suvxch02.govnet.local> References: <215C20B52BAEB9439EF08A32483AE9DC0151D107@suvxch02.govnet.local> Message-ID: <559e3cb60501312354330ae93e@mail.gmail.com> Dear, I have never had that requirement before hence never ventured into the same. Else i would have sent you a copy of script. Trevor On Tue, 1 Feb 2005 10:48:33 +1200, Jack A. Kanimea wrote: > Thanks Trevor, > U don't happen to have a example. I look in doc the closer I seem to get was on external commands in nagios documentation. If u have a example would be great. Otherwise thank heaps for direction > thanks in advance, > Jack K > > -----Original Message----- > From: Trevor Warren [mailto:trevorwarren at gmail.com] > Sent: Monday, January 31, 2005 2:21 P > To: Jack A. Kanimea > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help on alert ping > > Hiyee there Jack, > > Whether this is accomplishable via a NAGIOS default plugin i ain't > too sure but here's what i would do in your position. > > Write some shell/awk/perl which does a consistent ping, evaluates > the condition you want and then once the time and criteria of the same > are fulfilled return a 0/1/2/3 to the calling nagios Daemon towards > signifying the service state. > > For more info on return values please check the nagios documentations. > > Trevor > > -- > ___________________________________ > ( >- / Scaling FreeSoftware & OpenSource \ -< ) > /~\ / In the Enterprise \ /~\ > | \) \ | www.fsf.org | www.opensource.org | / (/ | > |_|_ \____________________________________/ _|_| > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Tue Feb 1 09:04:38 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Tue, 1 Feb 2005 00:04:38 -0800 Subject: check_memory In-Reply-To: References: Message-ID: <559e3cb605020100044eedecd4@mail.gmail.com> Fellas!!!, My script for check_mem on aix and gnu/linux. ########## bash-2.05a# cat /usr/local/nagios/libexec/check_mem.sh #!/usr/bin/bash avm=`vmstat | tail -n 1 | awk '{print $3}'` fre=`vmstat | tail -n 1 | awk '{print $4}'` avm1=`expr $avm \* 4` fre1=`expr $fre \* 4` echo "Total Memory is 8192MB while Active Memory is : "$avm1" KB and Free Memory is : "$fre1" KB" if [ $fre1 -le 800000 ] then { if [ $fre1 -le 400000 ] then exit 2; else exit 1; fi } else { exit 0; } fi ########## HTH. Trevor On Mon, 31 Jan 2005 15:58:51 -0600, Brian Erickson wrote: > > Hi everyone, > > Has anyone had using the check_memory plugin (written by Gary Danko) over > NRPE? I keep getting "CHECK_NRPE: Error receiving data from daemon." when I > try. > > TIA. > > Brian -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 1 10:09:52 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 01 Feb 2005 10:09:52 +0100 Subject: Nagios-User with only VIEW-Rights In-Reply-To: <200501311913.56374.technik@xtranet.at> References: <200501311913.56374.technik@xtranet.at> Message-ID: <41FF4760.3040909@op5.se> XTRANET Technik wrote: > Hello All! > > Is there any possibility to configure Nagios (2.0b1) to let an _authenticated_ > user to only view the hosts and services he is allowed to (like configuring > him as "contact") but NOT let him issue ANY host- or service-command? > > I'll need this for allowing customers to VIEW their hosts and services but NOT > to change anything..... > Not without modifying the code. I've long planned to something along those lines to cmd.cgi, but it keeps getting postponed. Join nagios-devel and suggest it if you like. If Ethan thinks it's a good idea I might get a bit more incentive. > > Best regards, > peter > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 1 10:10:53 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 01 Feb 2005 10:10:53 +0100 Subject: check_memory In-Reply-To: References: Message-ID: <41FF479D.6050706@op5.se> Brian Erickson wrote: > Hi everyone, > > Has anyone had using the check_memory plugin (written by Gary Danko) over > NRPE? I keep getting "CHECK_NRPE: Error receiving data from daemon." when I > try. > It probably prints something to stderr, which will fuck up NRPE's checksumming over SSL. > TIA. > > Brian > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 1 10:15:40 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 01 Feb 2005 10:15:40 +0100 Subject: Realtime 3d statusmap? In-Reply-To: <1107209631.4071.25.camel@seki.nac.uci.edu> References: <20050128202743.GK1574@zippy.toger.us> <41FB6D1C.1000906@op5.se> <1107209631.4071.25.camel@seki.nac.uci.edu> Message-ID: <41FF48BC.3060807@op5.se> Dan Stromberg wrote: > On Sat, 2005-01-29 at 12:01 +0100, Andreas Ericsson wrote: > >>Jason Martin wrote: >> >>>Has anyone seen any sort of project that could be used to >>>implement a realtime* 3d statusmap? I'm not expecting it to be >>>Nagios specific, but perhaps something that could be integrated. >>> >>>Thanks, >>>-Jason Martin >>> >>>* as realtime as Nagios performs its status checks, of course. >> >>This would be impossible without a proprietary client and server, since >>http is a stateless protocol and the server can't force the browser to >>reload when an event happens on the server side (it can set reload >>timers, but not force them prior to timer). > > > Actually, both cookies and ? URL's can be used to maintain state in run > of the mill http+html. Your can encode your data in either, or just > encode a database key in either and have the server look things up in a > database under the key. > > Also forcing frequent reloads works fine with your usual http+html, > though you could come up with a browser plugin that would be more > efficient. > > If you restrict access, and refresh every 5 minutes or something, I > doubt you'd have a load problem. > I believe the issue was to have the server force a page reload each time a state-change occurs which isn't doable in HTTP being a stateless passive-server protocol. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.kruse at econnex.de Tue Feb 1 12:19:13 2005 From: j.kruse at econnex.de (Jens Kruse) Date: Tue, 1 Feb 2005 12:19:13 +0100 Subject: Upgrade nagios-mysql (debian backports) problematic? Message-ID: <200502011119.j11BJC21009121@eclipse.econnex.de> Hi, I just did the nagios-mysql upgrade on one of my Nagios Servers (debian woody, nagios* from backports), but nagios doesn't restart anymore ... Here's my Preflight Check: # /usr/sbin/nagios -v /etc/nagios/nagios.cfg Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: There are no services defined! Checked 0 services. Checking hosts... Error: There are no hosts defined! Checked 0 hosts. Checking host groups... Error: There are no host groups defined! Checked 0 host groups. Checking contacts... Error: There are no contacts defined! Checked 0 contacts. Checking contact groups... Error: There are no contact groups defined! Checked 0 contact groups. Checking service escalations... Checked 0 service escalations. Checking host group escalations... Checked 0 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 0 commands. Checking time periods... Checked 0 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 5 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. It seems, that nagios can't find its config anymore, though the config files don't vary. Could it be a problem with the database? Thanks for your help, Jens From jens at kruse-kiel.de Tue Feb 1 14:14:41 2005 From: jens at kruse-kiel.de (Jens Kruse) Date: Tue, 1 Feb 2005 14:14:41 +0100 Subject: nagios-mysql upgrade problem In-Reply-To: <0C8098CA7F09CE419F0C2B68EB83587648B630@exchange.fasttrack.net.au> References: <0C8098CA7F09CE419F0C2B68EB83587648B630@exchange.fasttrack.net.au> Message-ID: <20050201131441.C8293C002E@fehmarn.kruse-kiel.de> Hi, I just did the nagios-mysql upgrade on one of my Nagios Servers (debian woody, nagios* from backports), but nagios doesn't restart anymore ... Here's my Preflight Check: # /usr/sbin/nagios -v /etc/nagios/nagios.cfg Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: There are no services defined! Checked 0 services. Checking hosts... Error: There are no hosts defined! Checked 0 hosts. Checking host groups... Error: There are no host groups defined! Checked 0 host groups. Checking contacts... Error: There are no contacts defined! Checked 0 contacts. Checking contact groups... Error: There are no contact groups defined! Checked 0 contact groups. Checking service escalations... Checked 0 service escalations. Checking host group escalations... Checked 0 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 0 commands. Checking time periods... Checked 0 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 5 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. It seems, that nagios can't find its config anymore, though the config files don't vary. Any hints? Thanks for your help, Jens ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue Feb 1 15:55:44 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 1 Feb 2005 07:55:44 -0700 Subject: Issue with check_disk when mounts exist on the server. Message-ID: <59B15593F41BD24591D59436E7226EAD015146EC@Khiphx2.khimetrics.com> RH8 are the machines I am having problems with. I had set -x for a mount. For some reason I've had this reoccurring issue I've never been to able to correct. It happens on RH8 and ES3 definitely. I get 1kb free on a mount point. The mount point will actually be a full mount point, and it looks like the df is listing 1kb free.. I have no idea why. Heh. I've just been -x'ing them for a lack of understanding. I wouldn't think that would still be the problem with the -x, but it's giving a warning with nothing the problem, so I have no idea. I don't know what the df command is being used. I do not know how to tell this. I could strace the check_disk, but I do not understand the output too well. I'm rather newbish. This has happened several times before to me (over 100 machines, all with mounts from other machines), and it always goes away for no particular reason, however I need to get this taken care of as the faith in Nagios is not high. The mount is an nfs mount from an aix machine. > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Monday, January 31, 2005 9:07 PM > To: Nathan Oyler > Cc: Martijn Lievaart; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Issue with check_disk when mounts exist on the > server. > > Can debug and see if there is any output on stderr from the df command > being used? > > Also what platforms are these on? > > On Mon, 31 Jan 2005, Nathan Oyler wrote: > > > Yes, I'm using nrpe. > > > > Although the problem also occurs if you run the check locally. > > > > I'd like to know what the exact command it runs it so that I can look at > > it, and take a guess to if it's parsing something wrong, or what's > > happening. > > > >> -----Original Message----- > >> From: Martijn Lievaart [mailto:m at rtij.nl] > >> Sent: Monday, January 31, 2005 3:12 PM > >> To: Nathan Oyler > >> Cc: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] Issue with check_disk when mounts exist on > > the > >> server. > >> > >> Nathan Oyler wrote: > >> > >>> I find that I have had quite a few problems with check_disk with > > mounts > >>> on the machine. > >>> > >>> I have -x'd the mounts, so my checkdisk looks normal with -x > > /mnt/blah > >>> > >>> And it doesn't show the mount on the check. However I am getting a > >>> warning about something. > >>> > >>> DISK WARNING [33534504 kB (97%) free on /dev/hda3] [59017 kB (80%) > > free > >>> on /dev/hda1] [1290856 kB (100%) free on /dev/shm] > >>> > >>> Is what I get, although there are two mounts being -x'd, however they > >>> more free than my limit for a warning on the check. > >>> > >>> 4 machines at once, all rh 8.0 mounting the same directories. Just > >>> started happening. > >>> > >>> What is the exact command check disk calls so I can test that? > >>> > >>> [root at triad8 plugins]# ./check_nrpe -H 5b1.dc -c check_disk > >>> DISK WARNING [33534500 kB (97%) free on /dev/hda3] [59017 kB (80%) > > free > >>> on /dev/ > >>> hda1] [1290856 kB (100%) free on /dev/shm] > >>> > >>> > >>> > >> > >> I'm having similar problems, but with check_disk called by check_nrpe. > >> Do you use nrpe as well? > >> > >> M4 > >> > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Feb 1 16:52:26 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 1 Feb 2005 16:52:26 +0100 Subject: Monitoring HP ProLiant Linux servers -- Nagios vs. OVO vs. SIM Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C963F@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, We're using Nagios + Insight Manager. Works fine for us. We use Nagios as our main monitoring Platform, and have integrated the HP Insight Manager into the Nagios. The Plugin we're using is based on snmp queries to get the status of the local insight manager client, and reports them to the nagios. When it detects an error, the status in nagios changes, we get a little Status info like "SCSI degraded" or something, and we connect to the insight manager and have a further look. All the other stuff like monitoring disk space, processes, memory, some handwritten stuff is beeing checked by nagios plugins. I think the HP Insight Manager is very good to monitor all the Hardware Issues, but Nagios is much more flexible with other checks. Regards, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Minkov, Ross > Sent: Monday, January 31, 2005 6:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring HP ProLiant Linux servers > -- Nagios vs. OVO vs. SIM > > > Hey guys, > > I need some feedback on this topic -- Monitoring HP ProLiant > Linux servers -- Nagios vs. OpenView Operations vs. Systems > Insight Manager. > > Let me know what worked best for you. I have a little > experience with each and I've seen things that I like in > every one of them. In the end I'd like to decide on one. I'd > like to be able to monitor ping, processes/services, hardware > failures, etc. (the usual stuff) I have ~200 ProLiant > servers, most of them running Red Hat (7.x, 2.1, 3) and just > few other distros. > > TIA, > Ross > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting Tool for open source databases. Create drag-&-drop > reports. Save time by over 75%! Publish reports on the web. > Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ----------------------------------------------------------------------------------------- Hilfe f?r Khao Lak. Eine Spendeninitiative der Otto Bock Stiftung. Unsere Spendenhotline: 0900 - 11 10 15 0 Mit jedem Anruf aus dem Festnetz spenden Sie 5,- Euro. Weitere Informationen unter www.ottobock.de . Spendenkonto: Konto: 40 44, Sparkasse Duderstadt BLZ:260 512 60 ----------------------------------------------------------------------------------------- Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Feb 1 17:02:47 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 1 Feb 2005 17:02:47 +0100 Subject: Nagios-User with only VIEW-Rights Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9641@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I think the only way to do it so far, is to use distributed monitoring, and to set up an Nagios Server for each customer (e.g. on VMWare). Regards, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Andreas Ericsson > Sent: Tuesday, February 01, 2005 10:10 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios-User with only VIEW-Rights > > XTRANET Technik wrote: > > Hello All! > > > > Is there any possibility to configure Nagios (2.0b1) to let an > > _authenticated_ user to only view the hosts and services he > is allowed > > to (like configuring him as "contact") but NOT let him > issue ANY host- or service-command? > > > > I'll need this for allowing customers to VIEW their hosts > and services > > but NOT to change anything..... > > > > Not without modifying the code. > > I've long planned to something along those lines to cmd.cgi, > but it keeps getting postponed. Join nagios-devel and suggest > it if you like. > If Ethan thinks it's a good idea I might get a bit more incentive. > > > > > Best regards, > > peter > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > > Reporting Tool for open source databases. Create > drag-&-drop reports. > > Save time by over 75%! Publish reports on the web. Export > to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting Tool for open source databases. Create drag-&-drop > reports. Save time by over 75%! Publish reports on the web. > Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ----------------------------------------------------------------------------------------- Hilfe f?r Khao Lak. Eine Spendeninitiative der Otto Bock Stiftung. Unsere Spendenhotline: 0900 - 11 10 15 0 Mit jedem Anruf aus dem Festnetz spenden Sie 5,- Euro. Weitere Informationen unter www.ottobock.de . Spendenkonto: Konto: 40 44, Sparkasse Duderstadt BLZ:260 512 60 ----------------------------------------------------------------------------------------- Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Feb 1 17:32:03 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 1 Feb 2005 08:32:03 -0800 Subject: check_memory In-Reply-To: <41FF479D.6050706@op5.se> References: <41FF479D.6050706@op5.se> Message-ID: <20050201163203.GF1574@zippy.toger.us> On Tue, Feb 01, 2005 at 10:10:53AM +0100, Andreas Ericsson wrote: > It probably prints something to stderr, which will fuck up NRPE's > checksumming over SSL. Not just SSL but normal operations as well. There is a trivial modification that can be made to NRPE such that it closes STDERR and can't be affected by errant output. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From eohimor at ipnxnigeria.net Tue Feb 1 18:37:22 2005 From: eohimor at ipnxnigeria.net (Efe Ohimor) Date: Tue, 1 Feb 2005 18:37:22 +0100 Subject: 3D-Status Map Message-ID: Hi Guys, I'm having problem viewing the 3D-Status Map of my Nagios config.I am running version 1.2 and each time try to view it using the Octaga application it gives the error: Loading file: 'http://10.50.3.220/nagios/cgi-bin/statuswrl.cgi?host=all' WARNING: Unable to load file: 'http://10.50.3.220/nagios/cgi-bin/statuswrl.cgi?host=all' But the status map is showing well. Can anyone help me? Efe Ohimor ipNX Nigeria Limited 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel:234-1-4619943-6 ext 1212 Fax:2614633 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Tue Feb 1 19:06:26 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 01 Feb 2005 10:06:26 -0800 Subject: Realtime 3d statusmap? In-Reply-To: <41FF48BC.3060807@op5.se> References: <20050128202743.GK1574@zippy.toger.us> <41FB6D1C.1000906@op5.se> <1107209631.4071.25.camel@seki.nac.uci.edu> <41FF48BC.3060807@op5.se> Message-ID: <1107281186.10571.18.camel@seki.nac.uci.edu> On Tue, 2005-02-01 at 10:15 +0100, Andreas Ericsson wrote: > > Also forcing frequent reloads works fine with your usual http+html, > > though you could come up with a browser plugin that would be more > > efficient. > > > > If you restrict access, and refresh every 5 minutes or something, I > > doubt you'd have a load problem. > > > > I believe the issue was to have the server force a page reload each time > a state-change occurs which isn't doable in HTTP being a stateless > passive-server protocol. You're arbitrarily defining the problem so that it won't have a conventional solution. But there is one. It may not be ideal, but it would work. There's a difference between "a bit kludgey" and "not possible". -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ae at op5.se Tue Feb 1 19:27:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 01 Feb 2005 19:27:38 +0100 Subject: Realtime 3d statusmap? In-Reply-To: <1107281186.10571.18.camel@seki.nac.uci.edu> References: <20050128202743.GK1574@zippy.toger.us> <41FB6D1C.1000906@op5.se> <1107209631.4071.25.camel@seki.nac.uci.edu> <41FF48BC.3060807@op5.se> <1107281186.10571.18.camel@seki.nac.uci.edu> Message-ID: <41FFCA1A.6090302@op5.se> Dan Stromberg wrote: > On Tue, 2005-02-01 at 10:15 +0100, Andreas Ericsson wrote: > > >>>Also forcing frequent reloads works fine with your usual http+html, >>>though you could come up with a browser plugin that would be more >>>efficient. >>> >>>If you restrict access, and refresh every 5 minutes or something, I >>>doubt you'd have a load problem. >>> >> >>I believe the issue was to have the server force a page reload each time >>a state-change occurs which isn't doable in HTTP being a stateless >>passive-server protocol. > > > You're arbitrarily defining the problem so that it won't have a > conventional solution. > Nah. Just saying what I thought [insert original poster] meant. I might have misread it though (it was some time ago). > But there is one. It may not be ideal, but it would work. There's a > difference between "a bit kludgey" and "not possible". > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Feb 1 19:47:07 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 1 Feb 2005 10:47:07 -0800 Subject: Realtime 3d statusmap? In-Reply-To: <41FFCA1A.6090302@op5.se> References: <20050128202743.GK1574@zippy.toger.us> <41FB6D1C.1000906@op5.se> <1107209631.4071.25.camel@seki.nac.uci.edu> <41FF48BC.3060807@op5.se> <1107281186.10571.18.camel@seki.nac.uci.edu> <41FFCA1A.6090302@op5.se> Message-ID: <20050201184707.GJ1574@zippy.toger.us> On Tue, Feb 01, 2005 at 07:27:38PM +0100, Andreas Ericsson wrote: > Nah. Just saying what I thought [insert original poster] meant. I might > have misread it though (it was some time ago). I was looking for a way to make a VRML-like environment real-time. I decided that I'd have to implement some sort of 3d engine (Ogre) and a client/server mechanism for doing it. -Jason Martin -- Right now I'm having amnesia and deja vu at the same time. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From JoeRegular at gov.nl.ca Tue Feb 1 20:09:23 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Tue, 01 Feb 2005 15:39:23 -0330 Subject: Nagios on Windows / IIS Message-ID: Does anyone have any documentation on how to run Nagios on a Windows 2003 / IIS server? Any help would be greatly appreciated, Joe Regular ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmosh at shaw.ca Tue Feb 1 20:29:31 2005 From: jmosh at shaw.ca (Joubin Moshrefzadeh) Date: Tue, 01 Feb 2005 11:29:31 -0800 Subject: check_ping -- how to get -i option ? Message-ID: <11a880c11a54f3.11a54f311a880c@shaw.ca> I occasionally get a host down alert, that is fixed on the next check cycle. In my opinion thats sort of a false positive, and I want to give the host test script a longer time-span before it decides a host is down/unreachable. Any way to incorporate the -i option of ping into the check_ping script? My workaround right now is to use "check_ping -t 10 -w 3000.0,80% -c 5000.0,100% -p 1", and to specify "max_check_attempts 30" so that i know that a host is definitely down for at least 5 minutes before I get a HOST DOWN alert. I know mon has a feature where you can specify the number of failures for a check before it sends out a notification. Anything similar in Nagios? Thanks, Joubin ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 1 21:22:43 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 01 Feb 2005 21:22:43 +0100 Subject: check_ping -- how to get -i option ? In-Reply-To: <11a880c11a54f3.11a54f311a880c@shaw.ca> References: <11a880c11a54f3.11a54f311a880c@shaw.ca> Message-ID: <41FFE513.9050102@op5.se> Joubin Moshrefzadeh wrote: > I occasionally get a host down alert, that is fixed on the next check > cycle. In my opinion thats sort of a false positive, and I want to > give the host test script a longer time-span before it decides a host > is down/unreachable. > > Any way to incorporate the -i option of ping into the > check_ping script? > You can use the check_icmp program and specify -i directly. Set it as high as you like. If it receives a response before it times out it will send another one, usually making the REAL interval shorter, while allowing the possibility of a long one. Just make sure you set a high enough timeout value. You can check that by adding -v twice on the command line. If your -t value is too low it will tell you "timeout must be at least x". max_completion_time is calculated as such packets * targets * (critical_rta + packet_interval + target_interval) + critical_rta (the last critical_rta is just to catch straggler). > My workaround right now is to use "check_ping -t 10 -w 3000.0,80% -c > 5000.0,100% -p 1", and to specify "max_check_attempts 30" so that i > know that a host is definitely down for at least 5 minutes before I > get a HOST DOWN alert. > That's not very smart, considering hostchecks are done in serial and without any kind of threading, so while one of your hosts are being checked this way nothing else is. > I know mon has a feature where you can specify the number of failures > for a check before it sends out a notification. Anything similar in > Nagios? > That would be the max_check_attempts variable. Perhaps you should read up on hard/soft states. I believe you could also accomplish the same thing with escalations, although I'm not sure since I don't use them myself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsandoval at achs.cl Tue Feb 1 23:37:19 2005 From: jsandoval at achs.cl (Sandoval, Julio) Date: Tue, 1 Feb 2005 18:37:19 -0400 Subject: log to database Message-ID: <706C33200E04994E9BB6EE3E21E4C15EE06EB0@ACHS-E2K01.achs.cl> Consider list, I need to tranform the log [nagios.log] to database...is this posible? I can?t lose any information of nagios.log.... I read the nagios documentation, but i don?t need compile new configuration else to turn my old configuration with database.. please, it?s is very important for my. thank, Julio Sandoval Schwartzmann "Este mensaje y cualquier archivo adjunto es confidencial y est? destinado a la persona o entidad a qui?n ha sido dirigido. Si usted no es el receptor individualizado en el mismo, le solicitamos notificar de ello al remitente de manera inmediata, estando prohibido y sancionado por la ley cualquier almacenamiento, divulgaci?n, distribuci?n o copia de su contenido." From ae at op5.se Tue Feb 1 22:53:57 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 01 Feb 2005 22:53:57 +0100 Subject: log to database In-Reply-To: <706C33200E04994E9BB6EE3E21E4C15EE06EB0@ACHS-E2K01.achs.cl> References: <706C33200E04994E9BB6EE3E21E4C15EE06EB0@ACHS-E2K01.achs.cl> Message-ID: <41FFFA75.1020605@op5.se> Sandoval, Julio wrote: > Consider list, > > I need to tranform the log [nagios.log] to database...is this > posible? I can??t lose any information of nagios.log.... > Ofcourse it's possible. Without checking the log format myself, I believe you would need something along the lines of three or four flat tables and a clever shell script. Start with sed 's/^.\([0123456789]*\)] /\1;/' nagios.log > clean.log and you're halfway there. Then you can simply grep the in-data for the different tables out of it and use a LOAD DATA INFILE in mysql (or something similar in postgresql, although I'm not equally familiar with that). > I read the nagios documentation, but i don??t need compile new > configuration else to turn my old configuration with database.. > That I don't understand. Sorry. If you meant configuration from the start (as opposed to logfile) you're out of luck as far as simplicity goes. It would take something more robust to do that. > please, it??s is very important for my. > Then pay someone to do it for you. It usually pays off if the guy/girl you're hiring knows what they're doing. > thank, Julio Sandoval Schwartzmann > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsandoval at achs.cl Wed Feb 2 00:19:56 2005 From: jsandoval at achs.cl (Sandoval, Julio) Date: Tue, 1 Feb 2005 19:19:56 -0400 Subject: log to database Message-ID: <706C33200E04994E9BB6EE3E21E4C15EE06EB1@ACHS-E2K01.achs.cl> Thank, I?m not familiarized with developer script, but i have been looking for documentation without success I really need to have availability of a hostgroup considering down when one or more host are down. For this i thought to turn logfile to database. Can you help me? Thank! Julio -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Andreas Ericsson Enviado el: Martes, 01 de Febrero de 2005 17:54 Para: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] log to database Sandoval, Julio wrote: > Consider list, > > I need to tranform the log [nagios.log] to database...is this > posible? I can??t lose any information of nagios.log.... > Ofcourse it's possible. Without checking the log format myself, I believe you would need something along the lines of three or four flat tables and a clever shell script. Start with sed 's/^.\([0123456789]*\)] /\1;/' nagios.log > clean.log and you're halfway there. Then you can simply grep the in-data for the different tables out of it and use a LOAD DATA INFILE in mysql (or something similar in postgresql, although I'm not equally familiar with that). > I read the nagios documentation, but i don??t need compile new > configuration else to turn my old configuration with database.. > That I don't understand. Sorry. If you meant configuration from the start (as opposed to logfile) you're out of luck as far as simplicity goes. It would take something more robust to do that. > please, it??s is very important for my. > Then pay someone to do it for you. It usually pays off if the guy/girl you're hiring knows what they're doing. > thank, Julio Sandoval Schwartzmann > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null "Este mensaje y cualquier archivo adjunto es confidencial y est? destinado a la persona o entidad a qui?n ha sido dirigido. Si usted no es el receptor individualizado en el mismo, le solicitamos notificar de ello al remitente de manera inmediata, estando prohibido y sancionado por la ley cualquier almacenamiento, divulgaci?n, distribuci?n o copia de su contenido." From ross.minkov at hp.com Wed Feb 2 00:57:38 2005 From: ross.minkov at hp.com (Minkov, Ross) Date: Tue, 1 Feb 2005 18:57:38 -0500 Subject: check_ping -- how to get -i option ? Message-ID: <192E38594ACFAF4EB4F40E1C4B60472306014C8F@tayexc13.americas.cpqcorp.net> > My workaround right now is to use "check_ping -t 10 -w 3000.0,80% -c > 5000.0,100% -p 1", and to specify "max_check_attempts 30" so that i > know that a host is definitely down for at least 5 minutes before I > get a HOST DOWN alert. The way I solved similar problem ( I'm not saying this is the right way ;-) ) was to modify the check-host-alive command definition as follows: # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 10 } This kind of achieves the same... Instead of sending one ping and waiting for 10 seconds for a response (-t 10) I send 10 pings... Not sure which way is better... Regards, Ross -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Tuesday, February 01, 2005 3:23 PM To: nagios_list Subject: Re: [Nagios-users] check_ping -- how to get -i option ? Joubin Moshrefzadeh wrote: > I occasionally get a host down alert, that is fixed on the next check > cycle. In my opinion thats sort of a false positive, and I want to > give the host test script a longer time-span before it decides a host > is down/unreachable. > > Any way to incorporate the -i option of ping into the > check_ping script? > You can use the check_icmp program and specify -i directly. Set it as high as you like. If it receives a response before it times out it will send another one, usually making the REAL interval shorter, while allowing the possibility of a long one. Just make sure you set a high enough timeout value. You can check that by adding -v twice on the command line. If your -t value is too low it will tell you "timeout must be at least x". max_completion_time is calculated as such packets * targets * (critical_rta + packet_interval + target_interval) + critical_rta (the last critical_rta is just to catch straggler). > My workaround right now is to use "check_ping -t 10 -w 3000.0,80% -c > 5000.0,100% -p 1", and to specify "max_check_attempts 30" so that i > know that a host is definitely down for at least 5 minutes before I > get a HOST DOWN alert. > That's not very smart, considering hostchecks are done in serial and without any kind of threading, so while one of your hosts are being checked this way nothing else is. > I know mon has a feature where you can specify the number of failures > for a check before it sends out a notification. Anything similar in > Nagios? > That would be the max_check_attempts variable. Perhaps you should read up on hard/soft states. I believe you could also accomplish the same thing with escalations, although I'm not sure since I don't use them myself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 01:19:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 01:19:38 +0100 Subject: log to database In-Reply-To: <706C33200E04994E9BB6EE3E21E4C15EE06EB1@ACHS-E2K01.achs.cl> References: <706C33200E04994E9BB6EE3E21E4C15EE06EB1@ACHS-E2K01.achs.cl> Message-ID: <42001C9A.5040005@op5.se> Sandoval, Julio wrote: > Thank, > I??m not familiarized with developer script, but i have been looking for documentation without success > > I really need to have availability of a hostgroup considering down when one or more host are down. > For this i thought to turn logfile to database. > I fail to see how that would help. > Can you help me? For a price, yes. Let me know (off-list) if you're interested and I'll get you in touch with our salespeople. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Wed Feb 2 01:23:54 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 01 Feb 2005 16:23:54 -0800 Subject: log to database In-Reply-To: <42001C9A.5040005@op5.se> References: <706C33200E04994E9BB6EE3E21E4C15EE06EB1@ACHS-E2K01.achs.cl> <42001C9A.5040005@op5.se> Message-ID: <1107303834.10571.72.camel@seki.nac.uci.edu> On Wed, 2005-02-02 at 01:19 +0100, Andreas Ericsson wrote: > Sandoval, Julio wrote: > > Thank, > > I??m not familiarized with developer script, but i have been looking for documentation without success > > > > I really need to have availability of a hostgroup considering down when one or more host are down. > > For this i thought to turn logfile to database. You're probably better off having one -host- (OK, a pseudo-host) for the group of hosts you want to consider, and aggregate them using check_cluster or check_cluster2. I prefer check_cluster2. I have a web page about how to set it up at: http://dcs.nac.uci.edu/~strombrg/nagios-check_cluster2.html HTH. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ae at op5.se Wed Feb 2 01:22:34 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 01:22:34 +0100 Subject: check_ping -- how to get -i option ? In-Reply-To: <192E38594ACFAF4EB4F40E1C4B60472306014C8F@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B60472306014C8F@tayexc13.americas.cpqcorp.net> Message-ID: <42001D4A.2080807@op5.se> Minkov, Ross wrote: > >>My workaround right now is to use "check_ping -t 10 -w 3000.0,80% -c >>5000.0,100% -p 1", and to specify "max_check_attempts 30" so that i >>know that a host is definitely down for at least 5 minutes before I >>get a HOST DOWN alert. > > > The way I solved similar problem ( I'm not saying this is the right way > ;-) ) was to modify the check-host-alive command definition as follows: > > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 10 > } > > This kind of achieves the same... Instead of sending one ping and > waiting for 10 seconds for a response (-t 10) I send 10 pings... Not > sure which way is better... > check_icmp is better, since it won't take as long when the host is up and will thus make your Nagios installation perform a whole lot better when service checks fail. > Regards, > Ross > Btw. I noticed you're a HP employee. Are you familiar with the HP Testdrive program? I'd like to get my hands on a HP-UX 11i running on PA-RISC 2 for NRPE development and testing. Would you be able to fix that? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 01:29:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 01:29:55 +0100 Subject: log to database In-Reply-To: <1107303834.10571.72.camel@seki.nac.uci.edu> References: <706C33200E04994E9BB6EE3E21E4C15EE06EB1@ACHS-E2K01.achs.cl> <42001C9A.5040005@op5.se> <1107303834.10571.72.camel@seki.nac.uci.edu> Message-ID: <42001F03.3040908@op5.se> Dan Stromberg wrote: > On Wed, 2005-02-02 at 01:19 +0100, Andreas Ericsson wrote: > >>Sandoval, Julio wrote: >> >>>Thank, >>>I??m not familiarized with developer script, but i have been looking for documentation without success >>> >>>I really need to have availability of a hostgroup considering down when one or more host are down. >>>For this i thought to turn logfile to database. > > > You're probably better off having one -host- (OK, a pseudo-host) for the > group of hosts you want to consider, and aggregate them using > check_cluster or check_cluster2. I prefer check_cluster2. > > I have a web page about how to set it up at: > > http://dcs.nac.uci.edu/~strombrg/nagios-check_cluster2.html > > HTH. > If you're using PING to determine host status you could also use check_icmp and simply specify all the IP's on the command line. Make sure to pump up your -t option accordingly. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 01:55:14 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 1 Feb 2005 19:55:14 -0500 (EST) Subject: Nagios-User with only VIEW-Rights In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C9641@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C9641@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: vmware is overkill - just need mutliple directories and vhosts. On Tue, 1 Feb 2005, Sand Philipp wrote: > Hi, > > I think the only way to do it so far, is to use distributed monitoring, > and to set up an Nagios Server for each customer (e.g. on VMWare). > > Regards, > Philipp > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >> Of Andreas Ericsson >> Sent: Tuesday, February 01, 2005 10:10 AM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Nagios-User with only VIEW-Rights >> >> XTRANET Technik wrote: >>> Hello All! >>> >>> Is there any possibility to configure Nagios (2.0b1) to let an >>> _authenticated_ user to only view the hosts and services he >> is allowed >>> to (like configuring him as "contact") but NOT let him >> issue ANY host- or service-command? >>> >>> I'll need this for allowing customers to VIEW their hosts >> and services >>> but NOT to change anything..... >>> >> >> Not without modifying the code. >> >> I've long planned to something along those lines to cmd.cgi, >> but it keeps getting postponed. Join nagios-devel and suggest >> it if you like. >> If Ethan thinks it's a good idea I might get a bit more incentive. >> >>> >>> Best regards, >>> peter >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>> Reporting Tool for open source databases. Create >> drag-&-drop reports. >>> Save time by over 75%! Publish reports on the web. Export >> to DOC, XLS, RTF, etc. >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and >> OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent >> to /dev/null >>> >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Lead Developer >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive >> Reporting Tool for open source databases. Create drag-&-drop >> reports. Save time by over 75%! Publish reports on the web. >> Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ----------------------------------------------------------------------------------------- > > Hilfe f?r Khao Lak. > > Eine Spendeninitiative der Otto Bock Stiftung. > > Unsere Spendenhotline: 0900 - 11 10 15 0 > Mit jedem Anruf aus dem Festnetz spenden Sie 5,- Euro. > Weitere Informationen unter www.ottobock.de . > Spendenkonto: Konto: 40 44, Sparkasse Duderstadt BLZ:260 512 60 > > ----------------------------------------------------------------------------------------- > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- From g.vickers at qut.edu.au Wed Feb 2 03:19:27 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 02 Feb 2005 12:19:27 +1000 Subject: check_cluster2 problem found - looking for a solution Message-ID: <420038AF.3050407@qut.edu.au> Hi all, I'm pretty sure that I know what the problem is with passing a massive list of service IDs to check_cluster2. This is my theory: When Nagios forks off a process to run check_cluster2 the list of service state ID numbers (converted by Nagios from on-demand macros) is passed on the command line. The numbers are many characters long and the environment that check_cluster2 runs in doesn't have enough space on the command line for all the numbers. Any characters that make up the 23rd ID number are truncated, hence 1 service always critical, that service ID isn't found. Does this sound like what is happening? Is there another clever way to pass the list of service state ID numbers to the forked process so that there is no truncation and you can pass as many service state ID numbers as you want? If you can help or have suggestions please email me or the list :) Thanks, -- Greg Vickers Lab Monitor Project Manager Teaching and Learning Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 8276 CIROS code: 00213J ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 05:12:50 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 1 Feb 2005 23:12:50 -0500 (EST) Subject: check_cluster2 problem found - looking for a solution In-Reply-To: <420038AF.3050407@qut.edu.au> References: <420038AF.3050407@qut.edu.au> Message-ID: shell wrapper around check_cluster with all the Service IDs hardcoded... -sg On Wed, 2 Feb 2005, Greg Vickers wrote: > Hi all, > > I'm pretty sure that I know what the problem is with passing a massive list > of service IDs to check_cluster2. > > This is my theory: When Nagios forks off a process to run check_cluster2 the > list of service state ID numbers (converted by Nagios from on-demand macros) > is passed on the command line. The numbers are many characters long and the > environment that check_cluster2 runs in doesn't have enough space on the > command line for all the numbers. Any characters that make up the 23rd ID > number are truncated, hence 1 service always critical, that service ID isn't > found. > > Does this sound like what is happening? Is there another clever way to pass > the list of service state ID numbers to the forked process so that there is > no truncation and you can pass as many service state ID numbers as you want? > > If you can help or have suggestions please email me or the list :) > > Thanks, > -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loebach at yahoo.com Wed Feb 2 05:31:38 2005 From: loebach at yahoo.com (Tom Loebach) Date: Tue, 1 Feb 2005 20:31:38 -0800 (PST) Subject: Configuring Nagios on Windows/IIS - cygwin In-Reply-To: <420038AF.3050407@qut.edu.au> References: <420038AF.3050407@qut.edu.au> Message-ID: <20050202043138.53819.qmail@web30701.mail.mud.yahoo.com> Running Nagios on Windows Here is a detailed guide on configuring Nagios to run on a Windows/IIS system. This guide is more about the "how" than the "why". ---- Required Software. ---- 1. Cygwin Cygwin is required to run Nagios. Install cygwin by using the installaller located at http://sources.redhat.com/cygwin/setup.exe. You will need to install the following cygwin packages and their dependencies: o apache o cygrunsrv o gcc o gd o jpeg o libgd-devel o libgd2 o libpng12-devel o libpng12 o make o perl 2. Nagios Download Nagios from http://www.nagios.org/download/. Use version 1.2. 3. Nagios Plugins Download Nagios Plugins from http://sourceforge.net/project/showfiles.php?group_id=29880. Use version 1.3.1 ---- Building Nagios ---- 1. Create a new user in windows with the username "nagios". Open a cygwin bash shell and run the commands: # mkpasswd -l > /etc/passwd # mkgroup -l > /etc/group to synchronize the windows user database with the cygwin /etc/passwd and /etc/groups file. 2. Build Nagios Open a cygwin bash shell and untar the Nagios packages: # tar xvzf nagios-1.2.tar.gz # tar xvzf nagios-plugins-1.3.1 Run the configure script in the nagios-1.2 directory: ./configure --enable-cygwin --with-nagios-grp=Administrators Build the software: # make all Install the software: # make install # make install-config 3. Build Nagios Plugins Run the configure script in the nagios-plugins-1.3.1 directory: ./configure Build the software. The "check_procs", "check_vsz", "check_dns", "check_by_ssh" and "check_swap" cannot be built in cygwin. The "-i" flag needs to be included to bypass the make errors. # make -i all Install the plugins: # make -i install ---- Configuring IIS for Nagios. ---- It is possible to run Nagios on IIS. It is a hack but it can be done. Here are the steps to get this to work: 1. Add cygwin dll's to Windows system path Add the e:\cygwin\bin and e:\cygwin\usr\X11R6\bin to your system path. My cygwin install lives on my e: drive under the \cygwin directory. IIS needs to be able to run the CGI's and the CGI's need the cygwin dll's. 2. Create a share to your cygwin install and mount it. Share your cygwin root as "cygwin". For example my e:\cygwin directory is shared as "cygwin". Locally mount the share. # net use T: \\localhost\cygwin /persistent:yes This will "chroot" the Windows cygwin structure. 3. Configure IIS Add a virtual directory called "nagios" with the local path "T:\usr\local\nagios\share". Under the "nagios" virtual directory, add another virtual directory called "cgi-bin" with the local path "T:\\usr\\local\\nagios\\sbin". Notice the "\\" syntax. This is very important, your cgi's will not run if you do not do this. Make sure your cgi-bin virtual directory can execute programs. ---- Configuring Apache for Nagios. ---- You can also configure Nagios to use apache rather than IIS as the web server. Follow the normal Nagios instructions for configuring an apache web server. Use cygwin's apache rather than the native Win32 apache. If you use the Win32 apache you will need to add the cywin dll's to the system path. ---- Test Nagios ---- Point your browser to "http://localhost/nagios/index.html". Your cgi's will not work yet, you will need to create your nagios.cfg, cgi.cfg and supporting config files. You may also need to restart IIS to get the cgi's to load. ---- Configure Nagios Hosts and Services ---- The sample config files in /usr/local/nagios/etc will need to be configured for your local environment. Follow the documented Nagios instructions to create a working configuration for your environement. ---- Configure Nagios to run as a service ---- These commands install Nagios as a windows service: # cygrunsrv --install nagios -p /usr/local/nagios/bin/nagios.exe -a /usr/local/nagios/etc/nagios.cfg # net start nagios ---- Problems with Nagios on WIndows ---- 1. The ping command on Windows does not provide suitable output for Nagios. The check_ping and check-host-alive commands will not work. There is a standalone ping package provided in the cygwin setup, but it hangs the Nagios configure script and also does not produce suitable output. The linux ping command is provided in the inetutils package but the cygwin build of inetutils left out the ping command. Also, the cygwin inetutils package is using a very old version. I was able to download inetutils-1.4.0.tar.gz and inetutils-1.4.2.tar.gz and build a usable ping.exe in cygwin. Unfortunately, it is not as simple as running configure and "make all". First, you need to copy the xmalloc.c from the 1.4.0 tree into the 1.4.2 tree. Then, you need to run make -i and then go into the ping directory and do a "make ping.exe". Copy the built ping.exe to /usr/bin. Rerun the nagios-plugins configure script, rebuild and reinstall to pick the new ping.exe. 2. I have only tested the check_http command and it seems to work fine. I have no idea how well the other check_* commands work. 3. Authentication. If you are using IIS, set use_authentication=0 in cgi.cfg. IIS authentication does not seem to work with the Nagios authentication mechanism. You can still authenticate the cgi-bin pages with IIS but the underlying security in Nagios will not be used. ---- nrpe and nsclient ---- Nsclient, nrpe_nt and nrpe work with Nagios on cygwin. ---------------------------- Good luck in setting this up. If you are monitoring mission critical systems, you may want to consider running Nagios on a Linux system rather than trying to run Nagios on Windows with cygwin. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Wed Feb 2 05:44:28 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 02 Feb 2005 14:44:28 +1000 Subject: check_cluster2 problem found - looking for a solution In-Reply-To: References: <420038AF.3050407@qut.edu.au> Message-ID: <42005AAC.8080606@qut.edu.au> Thanks for the info Subhendu - where can I find the service ID #'s? Subhendu Ghosh wrote: > shell wrapper around check_cluster with all the Service IDs hardcoded... > -sg > > On Wed, 2 Feb 2005, Greg Vickers wrote: > >> Hi all, >> >> I'm pretty sure that I know what the problem is with passing a massive >> list of service IDs to check_cluster2. >> >> This is my theory: When Nagios forks off a process to run >> check_cluster2 the list of service state ID numbers (converted by >> Nagios from on-demand macros) is passed on the command line. The >> numbers are many characters long and the environment that >> check_cluster2 runs in doesn't have enough space on the command line >> for all the numbers. Any characters that make up the 23rd ID number >> are truncated, hence 1 service always critical, that service ID isn't >> found. >> >> Does this sound like what is happening? Is there another clever way to >> pass the list of service state ID numbers to the forked process so >> that there is no truncation and you can pass as many service state ID >> numbers as you want? >> >> If you can help or have suggestions please email me or the list :) >> >> Thanks, >> > -- Greg Vickers Lab Monitor Project Manager Teaching and Learning Support Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 8276 mobile: 0416 001 674, SD #6 6147 CIROS code: 00213J ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.warburton at unsw.edu.au Wed Feb 2 07:46:57 2005 From: j.warburton at unsw.edu.au (John Warburton) Date: Wed, 02 Feb 2005 17:46:57 +1100 Subject: Monitoring in a Heterogeneous Environment [was Re: [Nagios-users] check_memory] In-Reply-To: <559e3cb605020100044eedecd4@mail.gmail.com> References: <559e3cb605020100044eedecd4@mail.gmail.com> Message-ID: <42007761.1070606@unsw.edu.au> Hi All I would like to point out that whilst Nagios is "designed to run under Linux" (http://www.nagios.org/about.php), that many people use Nagios to monitor other variants of Unix. I think I am like a few others here, who have come from a Big Brother monitoring background. The mind set of the plugin developers at BB is that the plugins would work under many different operating systems. OS specific stuff is flagged. I come over to Nagios to see mainly Linux specific stuff that is not flagged as being Linux specific. For example, the contrib memory checking plugins (contrib/check_mem.pl and contrib/tarballs/check_memory.tgz) are Linux specific. The C code is obvious and won't compile anywhere else, but the perl script and the script submitted by Trevor below have problems: 1. They ignore the man page for vmstat which says "The first report produced gives averages since the last reboot." i.e. You need to look at a second sample from vmstat (e.g. vmstat 1 2) to get a valid result. 2. Linux (2.4.26 for me http://www.rt.com/man/vmstat.8.html), AIX (http://eservercomputing.com/ibmunix/articles/index.asp?sid=19&id=847&pageID=914) and Solaris (http://bama.ua.edu/cgi-bin/man-cgi?vmstat+1M) all have differing outputs in columns from vmstat. So, Trevor's script below will work only on AIX. It will be wrong for Linux & Solaris. contrib/check_mem.pl will be wrong (idle & buffer memory). So, what am I trying to say? 1. File a bug report for contrib/check_mem.pl as it is wrong for Linux & Solaris (at least). 2. Request that *all* plugins have some sort of #ifdef OS in them, and try to work in multiple environments. check_disk.c is an excellent example here. 3. Look to Big Brother as a guide to heterogeneous monitoring. The memory script (http://www.deadcat.net/viewfile.php?fileid=804) is an excellent example. Question - these are released under the GPL. Can these be quickly hack for Nagios (with proper acknowledgment of the authors) of course? Comments? Constructive criticisms? Flames > /dev/null. John On 1/02/2005 7:04 PM, Trevor Warren wrote: > Fellas!!!, > > My script for check_mem on aix and gnu/linux. > > ########## > > bash-2.05a# cat /usr/local/nagios/libexec/check_mem.sh > #!/usr/bin/bash > > avm=`vmstat | tail -n 1 | awk '{print $3}'` > fre=`vmstat | tail -n 1 | awk '{print $4}'` > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Wed Feb 2 07:51:07 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 02 Feb 2005 16:51:07 +1000 Subject: Nagios SIGSEGVs Message-ID: <4200785B.40405@qut.edu.au> Hi all, I downloaded Nagios 2.0b1 onto a brand new install of RHEL3 and built it OK. It was working great, running as expected, web interface and everything. Then I rebooted the server to check that nagios started OK and that the iptables rules worked to allow NSCA passive service checks in, as I'm not overly familiar with RHEL3. Nagios didn't start - got a pretty red FAILED message on the console. So I log on and have a lookie - running "/etc/init.d/nagios start" reports no lock file found. Running "/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.etc" fails silently. Running "strace -f -o nagios.strace /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.etc" shows up a SEGSEGV as one of the last entries. I've tried reconfiguring and recompiling and the exe is the same size as the one that is installed and it does the same thing when I run that new exe... Am I missing something obvious or do I have a ghost in the machine? If you're interested, here is a copy of the strace output (only up for 2 weeks) at this URL: https://fileshare.qut.edu.au/public/vickersg/nagios.strace.gz TIA, -- Greg Vickers Lab Monitor Project Manager Teaching and Learning Support Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 8276 mobile: 0416 001 674, SD #6 6147 CIROS code: 00213J ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Wed Feb 2 09:03:28 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 2 Feb 2005 02:03:28 -0600 (CST) Subject: Monitoring in a Heterogeneous Environment [was Re: [Nagios-users] check_memory] In-Reply-To: <42007761.1070606@unsw.edu.au> References: <42007761.1070606@unsw.edu.au> Message-ID: I think you picked a really bad example to make your pitch. I think Big Brother ought to be called Little Sister. Keep any of their plugins far, far away from me. You're down with other, OSs, fine. They speak SSH then you are in business, cygwin or not. Go hog wild and create all the #ifdefs you like. And if I wasn't daydreaming I'd alsmost swear I saw someone post how to run Nagios under Windows. Kudos for leaving the why question wide open. Time to take out the garbage. On Wed, 2 Feb 2005, John Warburton wrote: > Hi All > > I would like to point out that whilst Nagios is "designed to run under > Linux" (http://www.nagios.org/about.php), that many people use Nagios to > monitor other variants of Unix. > > I think I am like a few others here, who have come from a Big Brother > monitoring background. The mind set of the plugin developers at BB is > that the plugins would work under many different operating systems. OS > specific stuff is flagged. > > I come over to Nagios to see mainly Linux specific stuff that is not > flagged as being Linux specific. For example, the contrib memory > checking plugins (contrib/check_mem.pl and > contrib/tarballs/check_memory.tgz) are Linux specific. The C code is > obvious and won't compile anywhere else, but the perl script and the > script submitted by Trevor below have problems: > > 1. They ignore the man page for vmstat which says "The first report > produced gives averages since the last reboot." i.e. You need to look at > a second sample from vmstat (e.g. vmstat 1 2) to get a valid result. > > 2. Linux (2.4.26 for me http://www.rt.com/man/vmstat.8.html), AIX > (http://eservercomputing.com/ibmunix/articles/index.asp?sid=19&id=847&pageID=914) > and Solaris (http://bama.ua.edu/cgi-bin/man-cgi?vmstat+1M) all have > differing outputs in columns from vmstat. > > So, Trevor's script below will work only on AIX. It will be wrong for > Linux & Solaris. contrib/check_mem.pl will be wrong (idle & buffer memory). > > So, what am I trying to say? > > 1. File a bug report for contrib/check_mem.pl as it is wrong for Linux & > Solaris (at least). > > 2. Request that *all* plugins have some sort of #ifdef OS in them, and > try to work in multiple environments. check_disk.c is an excellent > example here. > > 3. Look to Big Brother as a guide to heterogeneous monitoring. The > memory script (http://www.deadcat.net/viewfile.php?fileid=804) is an > excellent example. Question - these are released under the GPL. Can > these be quickly hack for Nagios (with proper acknowledgment of the > authors) of course? > > Comments? Constructive criticisms? Flames > /dev/null. > > John > > On 1/02/2005 7:04 PM, Trevor Warren wrote: > > > Fellas!!!, > > > > My script for check_mem on aix and gnu/linux. > > > > ########## > > > > bash-2.05a# cat /usr/local/nagios/libexec/check_mem.sh > > #!/usr/bin/bash > > > > avm=`vmstat | tail -n 1 | awk '{print $3}'` > > fre=`vmstat | tail -n 1 | awk '{print $4}'` > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Feb 2 09:17:36 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 2 Feb 2005 09:17:36 +0100 Subject: R: Help on alert ping In-Reply-To: <41FD724D.4040403@op5.se> References: <41FD724D.4040403@op5.se> Message-ID: I am testing check_icmp, but for many hosts (where normally I use check_ping) a receive a notification like following: "CRITICAL - 10.0.0.1: Time to live exceeded in transit @ 10.0.0.255. rta nan, lost 100%" Any idea? Marco ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.mortier at opensides.be Tue Feb 1 23:18:38 2005 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Tue, 1 Feb 2005 23:18:38 +0100 Subject: Monitoring HP ProLiant Linux servers -- Nagios vs. OVO vs. SIM In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C963F@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C963F@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <200502012318.40019.benoit.mortier@opensides.be> Le Mardi 1 F?vrier 2005 16:52, Sand Philipp a ?crit?: > Hi, > > We're using Nagios + Insight Manager. Works fine for us. > > We use Nagios as our main monitoring Platform, and have integrated the > HP Insight Manager into the Nagios. The Plugin we're using is based on > snmp queries to get the status of the local insight manager client, and > reports them to the nagios. When it detects an error, the status in > nagios changes, we get a little Status info like "SCSI degraded" or > something, and we connect to the insight manager and have a further > look. All the other stuff like monitoring disk space, processes, memory, > some handwritten stuff is beeing checked by nagios plugins. > I think the HP Insight Manager is very good to monitor all the Hardware > Issues, but Nagios is much more flexible with other checks. Hi, could you share the plugin with us ? is it gpl ? i yes could you upload it to nagiosplug project at sourceforge. Thanks -- Benoit Mortier Linux Engineer www.opensides.be ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Wed Feb 2 09:31:00 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Wed, 2 Feb 2005 00:31:00 -0800 Subject: Monitoring HP ProLiant Linux servers -- Nagios vs. OVO vs. SIM In-Reply-To: <192E38594ACFAF4EB4F40E1C4B60472306014C6F@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B60472306014C6F@tayexc13.americas.cpqcorp.net> Message-ID: <559e3cb605020200313165e831@mail.gmail.com> Guys, We have deployed Tivoli at a customers premises and spent crores on the same. Ultimately we had to deploy nagios to make thing "work" and get some meaningful information. Tivoli does wonderful trend reporting for various properietary/opensource components but stops short of instant alerting and reporting which is where nagios pitches in. Nagios we use to monitor : > OS (aix-gnu/linux-Ms) > DB2 > WebSphere Hp OpenView / BMC Patrol and the others i have no idea about. Would love to hear from someone on those fronts too. Trevor On Mon, 31 Jan 2005 12:07:51 -0500, Minkov, Ross wrote: > > Hey guys, > > I need some feedback on this topic -- Monitoring HP ProLiant Linux > servers -- Nagios vs. OpenView Operations vs. Systems Insight Manager. > > Let me know what worked best for you. I have a little experience with > each and I've seen things that I like in every one of them. In the end > I'd like to decide on one. I'd like to be able to monitor ping, > processes/services, hardware failures, etc. (the usual stuff) I have > ~200 ProLiant servers, most of them running Red Hat (7.x, 2.1, 3) and > just few other distros. > > TIA, > Ross > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 10:40:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 10:40:50 +0100 Subject: Monitoring in a Heterogeneous Environment [was Re: [Nagios-users] check_memory] In-Reply-To: <42007761.1070606@unsw.edu.au> References: <559e3cb605020100044eedecd4@mail.gmail.com> <42007761.1070606@unsw.edu.au> Message-ID: <4200A022.4090403@op5.se> John Warburton wrote: > Hi All > > I would like to point out that whilst Nagios is "designed to run under > Linux" (http://www.nagios.org/about.php), that many people use Nagios to > monitor other variants of Unix. > > I think I am like a few others here, who have come from a Big Brother > monitoring background. The mind set of the plugin developers at BB is > that the plugins would work under many different operating systems. OS > specific stuff is flagged. > > I come over to Nagios to see mainly Linux specific stuff that is not > flagged as being Linux specific. For example, the contrib memory > checking plugins (contrib/check_mem.pl and > contrib/tarballs/check_memory.tgz) are Linux specific. The C code is > obvious and won't compile anywhere else, but the perl script and the > script submitted by Trevor below have problems: > contrib is unchecked by the official developers and may have porting issues. This is understood by anyone who has ever seen a contrib dir before, as contrib is usually a place where users can upload their own stuff and have it included for other users benefit, if they can at all benefit from it. That said, I'll cut some cruft. > > 1. File a bug report for contrib/check_mem.pl as it is wrong for Linux & > Solaris (at least). > Feel free. > 2. Request that *all* plugins have some sort of #ifdef OS in them, and > try to work in multiple environments. check_disk.c is an excellent > example here. > check_disk is an official plugin. Maintainers have made sure it ports nicely to most OS's (Tru64, HPUX, Linux, *BSD, AIX, etc. etc.) > 3. Look to Big Brother as a guide to heterogeneous monitoring. The > memory script (http://www.deadcat.net/viewfile.php?fileid=804) is an > excellent example. Question - these are released under the GPL. Can > these be quickly hack for Nagios (with proper acknowledgment of the > authors) of course? > Naturally. You can upload it yourself on the tracker page (and have it included in the contrib dir) within a day or two. For the record, the question mark at the end of the sentence effectively marks it as a question, so no need to flag it in advance. > Comments? You are obviously deliriously happy with big brother. Use it. > Constructive criticisms? Flames > /dev/null. > Flames always come on stderr, so that would be flames >& /dev/null (or the more portable) flames > /dev/null 2>&1 ;) Cheers -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 10:43:23 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 10:43:23 +0100 Subject: Nagios SIGSEGVs In-Reply-To: <4200785B.40405@qut.edu.au> References: <4200785B.40405@qut.edu.au> Message-ID: <4200A0BB.60208@op5.se> Greg Vickers wrote: > Hi all, > > I downloaded Nagios 2.0b1 onto a brand new install of RHEL3 and built it > OK. It was working great, running as expected, web interface and > everything. Then I rebooted the server to check that nagios started OK > and that the iptables rules worked to allow NSCA passive service checks > in, as I'm not overly familiar with RHEL3. > > Nagios didn't start - got a pretty red FAILED message on the console. So > I log on and have a lookie - running "/etc/init.d/nagios start" reports > no lock file found. Running "/usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.etc" fails silently. > Running "strace -f -o nagios.strace /usr/local/nagios/bin/nagios -d > /usr/local/nagios/etc/nagios.etc" shows up a SEGSEGV as one of the last > entries. > > I've tried reconfiguring and recompiling and the exe is the same size as > the one that is installed and it does the same thing when I run that new > exe... > > Am I missing something obvious or do I have a ghost in the machine? > 2.0 is beta. If you're going to run it, you need to run the CVS code to make sure you've got the latest fixes. AFAICR there was an issue like this when the config was constructed in a certain way (segfault at load-time) a couple of months back. > If you're interested, here is a copy of the strace output (only up for 2 > weeks) at this URL: > https://fileshare.qut.edu.au/public/vickersg/nagios.strace.gz > > TIA, -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 10:52:24 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 10:52:24 +0100 Subject: R: Help on alert ping In-Reply-To: References: Message-ID: <4200A2D8.60304@op5.se> Marco Borsani wrote: > I am testing check_icmp, but for many hosts (where normally I use > check_ping) a receive a notification like following: > > "CRITICAL - 10.0.0.1: Time to live exceeded in transit @ 10.0.0.255. rta > nan, lost 100%" > > Any idea? > You can try using the -l flag to set ttl to a higher value on outgoing packets. The ttl decides the max number of hops/seconds a packet is allowed to live. The value reached first results in a ttl exceeded. "in transit" means the target host is more than outgoing_ttl hops away. "in packet reassembly" means fragments of the packet didn't arrive a maximum of remaining_ttl seconds after the IP-header on some router along the way. I've never seen the "in packet reassembly" happen on a modern network (not without making it, anyway). Also, check_icmp doesn't auto-increment it's ttl as normal ping may or may not do (system dependent). This is intentional, since it means it can be used to monitor the number of hops to a host and thus see if the normal or failover route is being used. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Feb 2 11:33:53 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 2 Feb 2005 11:33:53 +0100 Subject: R: R: Help on alert ping In-Reply-To: <4200A2D8.60304@op5.se> References: <4200A2D8.60304@op5.se> Message-ID: I tried to set the -l flag since 255, but nothing happened. I saw that, often, the hosts where check_icmp have this problem are unreachble with traceroute command, but still answer to ping command (and check_ping plugin). My target should be to find a good alternative to the check_ping because some time it looks like heavy and send wrong notifications (notify an host down when it is up). Marco -} -}You can try using the -l flag to set ttl to a higher value on outgoing -}packets. The ttl decides the max number of hops/seconds a packet is -}allowed to live. The value reached first results in a ttl exceeded. "in -}transit" means the target host is more than outgoing_ttl hops away. "in -}packet reassembly" means fragments of the packet didn't arrive a maximum -}of remaining_ttl seconds after the IP-header on some router along the -}way. I've never seen the "in packet reassembly" happen on a modern -}network (not without making it, anyway). -} -}Also, check_icmp doesn't auto-increment it's ttl as normal ping may or -}may not do (system dependent). This is intentional, since it means it -}can be used to monitor the number of hops to a host and thus see if the -}normal or failover route is being used. -} -}-- -}Andreas Ericsson andreas.ericsson at op5.se -}OP5 AB www.op5.se -}Lead Developer -} -} -}------------------------------------------------------- -}This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting -}Tool for open source databases. Create drag-&-drop reports. Save time -}by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. -}Download a FREE copy at http://www.intelliview.com/go/osdn_nl -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 12:16:19 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 2 Feb 2005 06:16:19 -0500 (EST) Subject: check_cluster2 problem found - looking for a solution In-Reply-To: <42005AAC.8080606@qut.edu.au> References: <420038AF.3050407@qut.edu.au> <42005AAC.8080606@qut.edu.au> Message-ID: I thought you already had the sevice IDs as they were being passed (not completely) to check_cluster2... On Wed, 2 Feb 2005, Greg Vickers wrote: > Thanks for the info Subhendu - where can I find the service ID #'s? > > Subhendu Ghosh wrote: >> shell wrapper around check_cluster with all the Service IDs hardcoded... >> -sg >> >> On Wed, 2 Feb 2005, Greg Vickers wrote: >> >>> Hi all, >>> >>> I'm pretty sure that I know what the problem is with passing a massive >>> list of service IDs to check_cluster2. >>> >>> This is my theory: When Nagios forks off a process to run check_cluster2 >>> the list of service state ID numbers (converted by Nagios from on-demand >>> macros) is passed on the command line. The numbers are many characters >>> long and the environment that check_cluster2 runs in doesn't have enough >>> space on the command line for all the numbers. Any characters that make up >>> the 23rd ID number are truncated, hence 1 service always critical, that >>> service ID isn't found. >>> >>> Does this sound like what is happening? Is there another clever way to >>> pass the list of service state ID numbers to the forked process so that >>> there is no truncation and you can pass as many service state ID numbers >>> as you want? >>> >>> If you can help or have suggestions please email me or the list :) >>> >>> Thanks, >>> >> > > -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Wed Feb 2 12:19:48 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Wed, 2 Feb 2005 03:19:48 -0800 Subject: nagios monitors db2 and websphere In-Reply-To: References: <51658.63.227.74.41.1107149751.squirrel@webmail.stinkweasel.net> Message-ID: <559e3cb605020203191db600f0@mail.gmail.com> Hey folks, A 10min howto on going about using Nagios to monitor DB2 and WAS. Please use this a very..very basic framework and modify/enhance the same to suit your needs. > Monitoring DB2 < > Deploy the NRPE daemon on DB2 host(My hosts all are AIX 5.2 risc boxen). > Write DB2 scripts to perform db2 snaps. This is in essence calling of a db2 snap application to create snapshots of the current instance. > Parse this file using bash-awk-sed-perl or whatever you see fit and generate a text file output consisting of a one liner like the following: "Buffer Pool Hit Ratio NA since no Active Applns : Buffer Pool is NA" "DB2 Locks and Lock Waits held OK DB2 Locks held Currently : 4 and DB2 Lock Waits : 18" "DB2 Max Connections CRITICAL : No of Current Connections is 155 " These are the output text files each line representing one file that is created in a heirarchical structure on the db2 node. Follow these steps towards getting alerts raised. > DB2 snap dumps o/p to a file > bash-awk-sed-perl to parse for relevant info and dumps it into another o/p file > third script to see the o/p of the previous step, print a one liner(Please ensure only a line) as shown in the example above and most importantly triggers of a alert in Nagios by providing a return value based on the crossing of a threshold. The return value can be "0-1-2-3" based on what state you want Nagios to report your service in based on the info you have just parsed. > Monitoring WAS < > Deploy the NRPE daemon on WAS host(My hosts all are AIX 5.2 risc boxen). > Write a simple java program to connect to WAS's PerfServelet(See Developerworks) over http and get a dump of the appropriate parameters you want to log for purposes of alerting. This is in essence calling of PerfServlet servlet to obtain snapshots of the current WAS instance. > Parse this file using bash-awk-sed-perl or whatever you see fit and generate a text file output consisting of a one liner like the following: "Free JVM Memory is : 42136.0 KB " "Total JVM Memory Allocated is : 135002.0 KB " "Used JVM Memory is : 93880.0 KB " "The No of Active threads in JDBC Thread Pool for DB tinprod is : 2.0 " These are the output text files each line representing one file that is created in a heirarchical structure on the was node. Follow these steps towards getting alerts raised. > Was PerfServlet snap dumps o/p to a file > bash-awk-sed-perl to parse for relevant info and dumps it into another o/p file > third script to see the o/p of the previous step, print a one liner(Please ensure only a line) as shown in the example above and most importantly triggers of a alert in Nagios by providing a return value based on the crossing of a threshold. The return value can be "0-1-2-3" based on what state you want Nagios to report your service in based on the info you have just parsed. HTH. Trevor -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 2 12:29:51 2005 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 2 Feb 2005 22:29:51 +1100 Subject: Potential bug in illegal character extraction from macros in 2.0b1 (no fix). Message-ID: <20050202112948.GB395@IPAustralia.Gov.AU> Dear Folks, I am writing to report a potential bug in macro processing in 2.0b1. Macros do not appear to have illegal chars stripped. Background: Notifications failed - occasionally - for a partic check. Enabled DEBUG4 on a test bed with these results SERVICE NOTIFICATION ATTEMPT: Service 'Patent Search' on host 'asterix' Type: 0 Current time: Wed Feb 2 22:07:01 2005 Current notification number: 1 Service notification will NOT be escalated Notify user unix Raw Command: /usr/bin/printf "%b" "$SERVICEDESC$ $HOSTNAME$ $SERVICESTATE$ $SHORTDATETIME$ $SERVICEOUTPUT$" | tee -a /usr/home/anwsmh/nagios-2.0b1/var/notify_prob.log | /usr/bin/head -c 160 | /usr/bin/mail $CONTACTPAGER$ Processed Command: /usr/bin/printf "%b" "Patent Search asterix CRITICAL 02-02-2005 22:07:01 Patent Searching. Error indication in response: "GET http://asterix:7003/searching/patsearch/search_page.jsp?keyNo=&name=SMITH&applicants=T" Transaction failed: fault indication in response. No records were found that matched your selection criteria " | tee -a /usr/home/anwsmh/nagios-2.0b1/var/notify_prob.log | /usr/bin/head -c 160 | /usr/bin/mail unix.page Notify user foo Raw Command: /usr/bin/printf "%b" "***** Nagios 2.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $SHORTDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | tee -a /usr/home/anwsmh/nagios-2.0b1/var/notify_prob.log | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ Processed Command: /usr/bin/printf "%b" "***** Nagios 2.0 *****\n\nNotification Type: PROBLEM\n\nService: Patent Search\nHost: asterix\nAddress: 10.0.100.202\nState: CRITICAL\n\nDate/Time: 02-02-2005 22:07:01\n\nAdditional Info:\n\nPatent Searching. Error indication in response: "GET http://asterix:7003/searching/patsearch/search_page.jsp?keyNo=&name=SMITH&applicants=T" Transaction failed: fault indication in response. No records were found that matched your selection criteria " | tee -a /usr/home/anwsmh/nagios-2.0b1/var/notify_prob.log | /usr/bin/mail -s "** PROBLEM alert - asterix/Patent Search is CRITICAL **" foo at IPAustralia.gov.au The $SERVICEOUTPUT$ macro contains HTML tags ( and friends ) that play merry hell with the shell commands that are forked to deliver the notification. But I would have thought these chars would have been stripped by # ILLEGAL MACRO OUTPUT CHARACTERS # This option allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $HOSTOUTPUT$ # $HOSTPERFDATA$ # $HOSTACKAUTHOR$ # $HOSTACKCOMMENT$ # $SERVICEOUTPUT$ # $SERVICEPERFDATA$ # $SERVICEACKAUTHOR$ # $SERVICEACKCOMMENT$ illegal_macro_output_chars=`~$&|'"<> Yours sincerely. -- Stanley Hopcroft IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From pete at stuff-done.co.uk Wed Feb 2 12:59:04 2005 From: pete at stuff-done.co.uk (Pete Dewell) Date: Wed, 02 Feb 2005 11:59:04 +0000 Subject: HTTPS authentication problem Message-ID: <4200C088.4010808@stuff-done.co.uk> I am trying to use check_http to check an HTTPS site with authentication. The password contains both "$" and "!". I can use the command from the command line and get an OK if I use check_http -H host -S -a user:pas\$word\! or by using ... -a user:'pas$word!' I have set up a command and tried both the \$ and the single quotes in the command, but all I get back is a "warning ..401 unauthorized" message from Nagios. I have other check_http -a with "!" in the passwords that work ok, so I am assuming that the problem is with the "$", and the way Nagios uses it as a delimiter for internal variables. Any ideas please? Pete Dewell ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timothy at icts.uct.ac.za Wed Feb 2 13:45:11 2005 From: timothy at icts.uct.ac.za (Timothy Carr) Date: Wed, 02 Feb 2005 14:45:11 +0200 Subject: Nagios + LDAP Authentication Message-ID: <4200CB57.5080304@icts.uct.ac.za> Hi All, Can nagios be setup to query an LDAP server for auth as opposed to using htaccess. -- Tim ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 14:22:42 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 14:22:42 +0100 Subject: R: R: Help on alert ping In-Reply-To: References: Message-ID: <4200D422.3070807@op5.se> Marco Borsani wrote: > I tried to set the -l flag since 255, but nothing happened. I saw that, > often, the hosts where check_icmp have this problem are unreachble with > traceroute command, but still answer to ping command (and check_ping > plugin). That's very weird. Could you please run it as such; check_icmp -v -v -v -v and send me the output? It appears there is something very odd in your network, but if regular ping can handle it then check_icmp should be able to as well. > My target should be to find a good alternative to the check_ping because > some time it looks like heavy and send wrong notifications (notify an host > down when it is up). > > Marco > > > -} > -}You can try using the -l flag to set ttl to a higher value on outgoing > -}packets. The ttl decides the max number of hops/seconds a packet is > -}allowed to live. The value reached first results in a ttl exceeded. "in > -}transit" means the target host is more than outgoing_ttl hops away. "in > -}packet reassembly" means fragments of the packet didn't arrive a maximum > -}of remaining_ttl seconds after the IP-header on some router along the > -}way. I've never seen the "in packet reassembly" happen on a modern > -}network (not without making it, anyway). > -} > -}Also, check_icmp doesn't auto-increment it's ttl as normal ping may or > -}may not do (system dependent). This is intentional, since it means it > -}can be used to monitor the number of hops to a host and thus see if the > -}normal or failover route is being used. > -} > -}-- > -}Andreas Ericsson andreas.ericsson at op5.se > -}OP5 AB www.op5.se > -}Lead Developer > -} > -} > -}------------------------------------------------------- > -}This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > -}Tool for open source databases. Create drag-&-drop reports. Save time > -}by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > -}Download a FREE copy at http://www.intelliview.com/go/osdn_nl > -}_______________________________________________ > -}Nagios-users mailing list > -}Nagios-users at lists.sourceforge.net > -}https://lists.sourceforge.net/lists/listinfo/nagios-users > -}::: Please include Nagios version, plugin version (-v) and OS > -}when reporting any issue. > -}::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 14:26:53 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 14:26:53 +0100 Subject: Potential bug in illegal character extraction from macros in 2.0b1 (no fix). In-Reply-To: <20050202112948.GB395@IPAustralia.Gov.AU> References: <20050202112948.GB395@IPAustralia.Gov.AU> Message-ID: <4200D51D.9030407@op5.se> Stanley Hopcroft wrote: > Dear Folks, > > I am writing to report a potential bug in macro processing in 2.0b1. > > Macros do not appear to have illegal chars stripped. > It seems to work nicely for us (using the check_traffic plugin). Temporary workaround would be to put single quotes around each argument. I suppose you'll post this to nagios-devel as well? > Background: > > Notifications failed - occasionally - for a partic check. > Enabled DEBUG4 on a test bed with these results > > SERVICE NOTIFICATION ATTEMPT: Service 'Patent Search' on host 'asterix' > Type: 0 > Current time: Wed Feb 2 22:07:01 2005 > Current notification number: 1 > Service notification will NOT be escalated > Notify user unix > > Raw Command: /usr/bin/printf "%b" "$SERVICEDESC$ > $HOSTNAME$ $SERVICESTATE$ $SHORTDATETIME$ $SERVICEOUTPUT$" | tee -a > /usr/home/anwsmh/nagios-2.0b1/var/notify_prob.log | /usr/bin/head -c 160 > | /usr/bin/mail $CONTACTPAGER$ > > Processed Command: /usr/bin/printf "%b" "Patent Search asterix > CRITICAL 02-02-2005 22:07:01 Patent Searching. Error indication in > response: "GET > http://asterix:7003/searching/patsearch/search_page.jsp?keyNo=&name=SMITH&applicants=T" > Transaction failed: fault indication in response. No records were found > that matched your selection criteria " | > tee -a /usr/home/anwsmh/nagios-2.0b1/var/notify_prob.log | /usr/bin/head > -c 160 | /usr/bin/mail unix.page > > Notify user foo > > Raw Command: /usr/bin/printf "%b" "***** Nagios 2.0 > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $SHORTDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | tee -a > /usr/home/anwsmh/nagios-2.0b1/var/notify_prob.log | /usr/bin/mail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ > **" $CONTACTEMAIL$ > > Processed Command: /usr/bin/printf "%b" "***** Nagios 2.0 > *****\n\nNotification Type: PROBLEM\n\nService: Patent Search\nHost: > asterix\nAddress: 10.0.100.202\nState: CRITICAL\n\nDate/Time: 02-02-2005 > 22:07:01\n\nAdditional Info:\n\nPatent Searching. Error indication in > response: "GET > http://asterix:7003/searching/patsearch/search_page.jsp?keyNo=&name=SMITH&applicants=T" > Transaction failed: fault indication in response. No records were found > that matched your selection criteria " | > tee -a /usr/home/anwsmh/nagios-2.0b1/var/notify_prob.log | /usr/bin/mail > -s "** PROBLEM alert - asterix/Patent Search is CRITICAL **" > foo at IPAustralia.gov.au > > The $SERVICEOUTPUT$ macro contains HTML tags ( and friends ) that > play merry hell with the shell commands that are forked to deliver the > notification. > > But I would have thought these chars would have been stripped by > > # ILLEGAL MACRO OUTPUT CHARACTERS > # This option allows you to specify illegal characters that are > # stripped from macros before being used in notifications, event > # handlers, etc. This DOES NOT affect macros used in service or > # host check commands. > # The following macros are stripped of the characters you specify: > # $HOSTOUTPUT$ > # $HOSTPERFDATA$ > # $HOSTACKAUTHOR$ > # $HOSTACKCOMMENT$ > # $SERVICEOUTPUT$ > # $SERVICEPERFDATA$ > # $SERVICEACKAUTHOR$ > # $SERVICEACKCOMMENT$ > > illegal_macro_output_chars=`~$&|'"<> > > > Yours sincerely. > > > > > ------------------------------------------------------------------------ > > > -- > This message contains privileged and confidential information only > for use by the intended recipient. If you are not the intended > recipient of this message, you must not disseminate, copy or use > it in any manner. If you have received this message in error, > please advise the sender by reply e-mail. Please ensure all > e-mail attachments are scanned for viruses prior to opening or > using. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 14:28:17 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 14:28:17 +0100 Subject: Nagios + LDAP Authentication In-Reply-To: <4200CB57.5080304@icts.uct.ac.za> References: <4200CB57.5080304@icts.uct.ac.za> Message-ID: <4200D571.1090907@op5.se> Timothy Carr wrote: > Hi All, > > Can nagios be setup to query an LDAP server for auth as opposed to using > htaccess. > Nagios can't, since it doesn't handly any authentication what so ever, but apache can. See http://httpd.apache.org/docs for more info. > -- > Tim > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bill_Akins at emoryhealthcare.org Wed Feb 2 15:00:03 2005 From: Bill_Akins at emoryhealthcare.org (Bill Akins) Date: Wed, 02 Feb 2005 09:00:03 -0500 Subject: HTTPS authentication problem Message-ID: Hi Pete, Have you tried defining the user and password in the resources.cfg file? You can use one of the available variables or define one yourself like this: $USER2$=user_to_authenticate $USER3$=pa$$word where user_to_authenticate is the user name you want to pass and pa$$word is your real password. Up to 32 of these can be defined and passed to checks. This keeps the password from being revealed by examining the view config on the web interface. Users will see something like: $USER1$/check_http -H $HOSTADDRESS$ -S -a $USER2$:$USER3$ instead of the actual user and password being passed like this: $USER1$/check_http -H $HOSTADDRESS$ -S -a root:pa$$word It also give a central place to change passwords instead of changing it for every service check that requires a password. HTH! >>> Pete Dewell 2/2/2005 6:59:04 AM >>> I am trying to use check_http to check an HTTPS site with authentication. The password contains both "$" and "!". I can use the command from the command line and get an OK if I use check_http -H host -S -a user:pas\$word\! or by using ... -a user:'pas$word!' I have set up a command and tried both the \$ and the single quotes in the command, but all I get back is a "warning ..401 unauthorized" message from Nagios. I have other check_http -a with "!" in the passwords that work ok, so I am assuming that the problem is with the "$", and the way Nagios uses it as a delimiter for internal variables. Any ideas please? Pete Dewell ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at kingcon.com Wed Feb 2 15:28:08 2005 From: ian at kingcon.com (ian at kingcon.com) Date: Wed, 2 Feb 2005 09:28:08 -0500 Subject: Problem with nagios.cfg and perl variable Message-ID: Hello, I just started with nagios, and linux for that matter, and am in the process of setting it up. When I run the nagios -v command I get the following error: Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 868 (UNKNOWN VARIABLE) That variable is in the section entitled: # MAXIMUM EMBEDDED PERL INTERPRETER CALLS # This value determines how often (if at all) the embedded Perl # interpreter is reinitialized during runtime. This is useful # if you notice that the Perl interpreter is causing slow # memory leaks over time. Setting this value to 0 means the # embedded Perl interpreter will never be reinitialized. Any # value > 0 is the number of times the embedded Perl interpreter # is used (i.e. a Perl plugin is executed) before it is # reinitialized during runtime. If you didn't compile Nagios with # embedded Perl support, this option has no effect. max_embedded_perl_calls=0 What is this refering too? I checked my version of perl, and mod_perl and they are up to date? Where should I go to begin diagnosing this. Ian Hardy Network Administrator Network + The Kingdom Connection 1-802-748-5866 P.O. Box 526 St. Johnsbury VT 05819 416E67656C697175652C20616B752063696E7461206B616D7521203A58 Check out www.missingkids.com Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Merrill Information systems Inc. are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeRegular at gov.nl.ca Wed Feb 2 15:38:17 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Wed, 02 Feb 2005 11:08:17 -0330 Subject: Configuring Nagios on Windows/IIS - cygwin Message-ID: Thanks Tom, This is exactly what I was looking for. Joe Regular >>> Tom Loebach 2005-02-02 1:01:38 AM >>> Running Nagios on Windows Here is a detailed guide on configuring Nagios to run on a Windows/IIS system. This guide is more about the "how" than the "why". ---- Required Software. ---- 1. Cygwin Cygwin is required to run Nagios. Install cygwin by using the installaller located at http://sources.redhat.com/cygwin/setup.exe. You will need to install the following cygwin packages and their dependencies: o apache o cygrunsrv o gcc o gd o jpeg o libgd-devel o libgd2 o libpng12-devel o libpng12 o make o perl 2. Nagios Download Nagios from http://www.nagios.org/download/. Use version 1.2. 3. Nagios Plugins Download Nagios Plugins from http://sourceforge.net/project/showfiles.php?group_id=29880. Use version 1.3.1 ---- Building Nagios ---- 1. Create a new user in windows with the username "nagios". Open a cygwin bash shell and run the commands: # mkpasswd -l > /etc/passwd # mkgroup -l > /etc/group to synchronize the windows user database with the cygwin /etc/passwd and /etc/groups file. 2. Build Nagios Open a cygwin bash shell and untar the Nagios packages: # tar xvzf nagios-1.2.tar.gz # tar xvzf nagios-plugins-1.3.1 Run the configure script in the nagios-1.2 directory: ./configure --enable-cygwin --with-nagios-grp=Administrators Build the software: # make all Install the software: # make install # make install-config 3. Build Nagios Plugins Run the configure script in the nagios-plugins-1.3.1 directory: ./configure Build the software. The "check_procs", "check_vsz", "check_dns", "check_by_ssh" and "check_swap" cannot be built in cygwin. The "-i" flag needs to be included to bypass the make errors. # make -i all Install the plugins: # make -i install ---- Configuring IIS for Nagios. ---- It is possible to run Nagios on IIS. It is a hack but it can be done. Here are the steps to get this to work: 1. Add cygwin dll's to Windows system path Add the e:\cygwin\bin and e:\cygwin\usr\X11R6\bin to your system path. My cygwin install lives on my e: drive under the \cygwin directory. IIS needs to be able to run the CGI's and the CGI's need the cygwin dll's. 2. Create a share to your cygwin install and mount it. Share your cygwin root as "cygwin". For example my e:\cygwin directory is shared as "cygwin". Locally mount the share. # net use T: \\localhost\cygwin /persistent:yes This will "chroot" the Windows cygwin structure. 3. Configure IIS Add a virtual directory called "nagios" with the local path "T:\usr\local\nagios\share". Under the "nagios" virtual directory, add another virtual directory called "cgi-bin" with the local path "T:\\usr\\local\\nagios\\sbin". Notice the "\\" syntax. This is very important, your cgi's will not run if you do not do this. Make sure your cgi-bin virtual directory can execute programs. ---- Configuring Apache for Nagios. ---- You can also configure Nagios to use apache rather than IIS as the web server. Follow the normal Nagios instructions for configuring an apache web server. Use cygwin's apache rather than the native Win32 apache. If you use the Win32 apache you will need to add the cywin dll's to the system path. ---- Test Nagios ---- Point your browser to "http://localhost/nagios/index.html". Your cgi's will not work yet, you will need to create your nagios.cfg, cgi.cfg and supporting config files. You may also need to restart IIS to get the cgi's to load. ---- Configure Nagios Hosts and Services ---- The sample config files in /usr/local/nagios/etc will need to be configured for your local environment. Follow the documented Nagios instructions to create a working configuration for your environement. ---- Configure Nagios to run as a service ---- These commands install Nagios as a windows service: # cygrunsrv --install nagios -p /usr/local/nagios/bin/nagios.exe -a /usr/local/nagios/etc/nagios.cfg # net start nagios ---- Problems with Nagios on WIndows ---- 1. The ping command on Windows does not provide suitable output for Nagios. The check_ping and check-host-alive commands will not work. There is a standalone ping package provided in the cygwin setup, but it hangs the Nagios configure script and also does not produce suitable output. The linux ping command is provided in the inetutils package but the cygwin build of inetutils left out the ping command. Also, the cygwin inetutils package is using a very old version. I was able to download inetutils-1.4.0.tar.gz and inetutils-1.4.2.tar.gz and build a usable ping.exe in cygwin. Unfortunately, it is not as simple as running configure and "make all". First, you need to copy the xmalloc.c from the 1.4.0 tree into the 1.4.2 tree. Then, you need to run make -i and then go into the ping directory and do a "make ping.exe". Copy the built ping.exe to /usr/bin. Rerun the nagios-plugins configure script, rebuild and reinstall to pick the new ping.exe. 2. I have only tested the check_http command and it seems to work fine. I have no idea how well the other check_* commands work. 3. Authentication. If you are using IIS, set use_authentication=0 in cgi.cfg. IIS authentication does not seem to work with the Nagios authentication mechanism. You can still authenticate the cgi-bin pages with IIS but the underlying security in Nagios will not be used. ---- nrpe and nsclient ---- Nsclient, nrpe_nt and nrpe work with Nagios on cygwin. ---------------------------- Good luck in setting this up. If you are monitoring mission critical systems, you may want to consider running Nagios on a Linux system rather than trying to run Nagios on Windows with cygwin. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam.Harris at fns.usda.gov Wed Feb 2 15:43:25 2005 From: Sam.Harris at fns.usda.gov (Harris, Sam) Date: Wed, 2 Feb 2005 09:43:25 -0500 Subject: Passive Check with nsclient Message-ID: Anybody knows where I could find a more comprehensive guide for passive check with nsclient. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed Feb 2 16:24:16 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 16:24:16 +0100 Subject: Passive Check with nsclient In-Reply-To: References: Message-ID: <4200F0A0.4080308@op5.se> Harris, Sam wrote: > Anybody knows where I could find a more comprehensive guide for passive > check with nsclient. > nsclient can't do passive checks. It needs to be asked to give any data. > Thanks > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Feb 2 16:37:53 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 2 Feb 2005 16:37:53 +0100 Subject: Passive Check with nsclient Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9658@SYGOMAIL.GOE.AD.SYCOR.DE> Doesn't work there... Maybe take a look at the developement of the NC_Net Plugin. I think those passive check thing is in queue there... ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Harris, Sam Sent: Wednesday, February 02, 2005 3:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Passive Check with nsclient Anybody knows where I could find a more comprehensive guide for passive check with nsclient. Thanks ----------------------------------------------------------------------------------------- Hilfe f?r Khao Lak. Eine Spendeninitiative der Otto Bock Stiftung. Unsere Spendenhotline: 0900 - 11 10 15 0 Mit jedem Anruf aus dem Festnetz spenden Sie 5,- Euro. Weitere Informationen unter www.ottobock.de . Spendenkonto: Konto: 40 44, Sparkasse Duderstadt BLZ:260 512 60 ----------------------------------------------------------------------------------------- Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Wed Feb 2 16:40:38 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Wed, 02 Feb 2005 16:40:38 +0100 Subject: Nagios on Windows / IIS In-Reply-To: References: Message-ID: <4200F476.2080707@interface-business.de> Joe Regular wrote: > Does anyone have any documentation on how to run Nagios on a Windows > 2003 / IIS server? > > Any help would be greatly appreciated, > Joe Regular cygwin may help. But I have really no experiences with that. But with cygwin, you have a gnu-environment and you should be able, to compile nagios there. It's just a very quick idea. :-/ Stephan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eohimor at ipnxnigeria.net Wed Feb 2 17:17:05 2005 From: eohimor at ipnxnigeria.net (Efe Ohimor) Date: Wed, 2 Feb 2005 17:17:05 +0100 Subject: 3D-Status Map Message-ID: Hi Everyone I was able to view the 3D-Status map using Mozilla on my RedHat Linux system.I downloaded FreeWRL VRML/X3D browser from http://sourceforge.net/project/showfiles.php?group_id=9120&package_id=9189&r elease_id=290716 .Iam thinking of how to develeop it. Efe Ohimor ipNX Nigeria Limited 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel:234-1-4619943-6 ext 1212 Fax:2614633 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at kingcon.com Wed Feb 2 17:23:24 2005 From: ian at kingcon.com (ian at kingcon.com) Date: Wed, 2 Feb 2005 11:23:24 -0500 Subject: services.cfg no services defined Message-ID: Hello again, I commented out the perl variable. Now when I try to do the nagios -v, I get a checking services, there are no services defined. Currently all I have is a sample definition: define service{ host_name linux-server service_description check-disk-sda1 check_command check-disk!/dev/sda1 max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups linux-admins } Its wrong of course, but that doesnt matter, Ill fix it once I get an understanding of these files. When I go to template based object configuration in the docs, thats all it gives for an example. Thanks Ian Hardy Network Administrator Network + The Kingdom Connection 1-802-748-5866 P.O. Box 526 St. Johnsbury VT 05819 416E67656C697175652C20616B752063696E7461206B616D7521203A58 Check out www.missingkids.com Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Merrill Information systems Inc. are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Wed Feb 2 17:36:54 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 2 Feb 2005 17:36:54 +0100 Subject: Nagios-User with only VIEW-Rights Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C965A@SYGOMAIL.GOE.AD.SYCOR.DE> Hmm... Don't you need multiple Nagios Instaces on the server then? Or do you set special filesystem permissions (I don't know webservers very well :)) > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Wednesday, February 02, 2005 1:55 AM > To: Sand Philipp > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios-User with only VIEW-Rights > > > vmware is overkill - just need mutliple directories and vhosts. > > > On Tue, 1 Feb 2005, Sand Philipp wrote: > > > Hi, > > > > I think the only way to do it so far, is to use distributed > > monitoring, and to set up an Nagios Server for each > customer (e.g. on VMWare). > > > > Regards, > > Philipp > > > >> -----Original Message----- > >> From: nagios-users-admin at lists.sourceforge.net > >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > >> Andreas Ericsson > >> Sent: Tuesday, February 01, 2005 10:10 AM > >> To: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] Nagios-User with only VIEW-Rights > >> > >> XTRANET Technik wrote: > >>> Hello All! > >>> > >>> Is there any possibility to configure Nagios (2.0b1) to let an > >>> _authenticated_ user to only view the hosts and services he > >> is allowed > >>> to (like configuring him as "contact") but NOT let him > >> issue ANY host- or service-command? > >>> > >>> I'll need this for allowing customers to VIEW their hosts > >> and services > >>> but NOT to change anything..... > >>> > >> > >> Not without modifying the code. > >> > >> I've long planned to something along those lines to > cmd.cgi, but it > >> keeps getting postponed. Join nagios-devel and suggest it if you > >> like. > >> If Ethan thinks it's a good idea I might get a bit more incentive. > >> > >>> > >>> Best regards, > >>> peter > >>> > >>> > >>> ------------------------------------------------------- > >>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive > >>> Reporting Tool for open source databases. Create > >> drag-&-drop reports. > >>> Save time by over 75%! Publish reports on the web. Export > >> to DOC, XLS, RTF, etc. > >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and > >> OS when reporting any issue. > >>> ::: Messages without supporting info will risk being sent > >> to /dev/null > >>> > >> > >> -- > >> Andreas Ericsson andreas.ericsson at op5.se > >> OP5 AB www.op5.se > >> Lead Developer > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive > >> Reporting Tool for open source databases. Create > drag-&-drop reports. > >> Save time by over 75%! Publish reports on the web. > >> Export to DOC, XLS, RTF, etc. > >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to > >> /dev/null > >> > > > ---------------------------------------------------------------------- > > ------------------- > > > > Hilfe f?r Khao Lak. > > > > Eine Spendeninitiative der Otto Bock Stiftung. > > > > Unsere Spendenhotline: 0900 - 11 10 15 0 Mit jedem Anruf aus dem > > Festnetz spenden Sie 5,- Euro. > > Weitere Informationen unter www.ottobock.de . > > Spendenkonto: Konto: 40 44, Sparkasse Duderstadt BLZ:260 512 60 > > > > > ---------------------------------------------------------------------- > > ------------------- > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus > pers?nliche Informationen beinhalten. Wenn Sie nicht der > bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die > E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns > dar?ber. Die Firma sycor willigt in keine Vertr?ge oder > vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt > werden, sofern dies nicht ausdr?cklich in schriftlicher Form > zwischen den Parteien vereinbart wurde. > > > > This e-mail is confidential and may contain personal and/or > privileged information. If you are not the intended recipient > please delete this e-mail and all attachments immediately and > inform us. The company sycor does not agree with contracts or > contract obligations sent by e-mail, neither do we transmit > legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in > written form. > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > > Reporting Tool for open source databases. Create > drag-&-drop reports. > > Save time by over 75%! Publish reports on the web. Export > to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > -- > ----------------------------------------------------------------------------------------- Hilfe f?r Khao Lak. Eine Spendeninitiative der Otto Bock Stiftung. Unsere Spendenhotline: 0900 - 11 10 15 0 Mit jedem Anruf aus dem Festnetz spenden Sie 5,- Euro. Weitere Informationen unter www.ottobock.de . Spendenkonto: Konto: 40 44, Sparkasse Duderstadt BLZ:260 512 60 ----------------------------------------------------------------------------------------- Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Wed Feb 2 17:43:11 2005 From: jason.payne at iland.com (Jason Payne - iland Internet Solutions) Date: Wed, 2 Feb 2005 10:43:11 -0600 Subject: The infamous debian statusmap problem Message-ID: <7A626FF425518246801C933014AA98F059A134@hou-ex01.ihtx.iland.com> Hi nagiosians, Any help would be greatly appreciated. I cannot get the statusmap to work for the life of me. The image doesnn't show up but I can hover my mouse over it and the box will come up for the appropriate device. I've searched the mailing list and google and have not been able to simply get it working. I have done a: apt-get install libgd2 apt-get install libgd2-dev apt-get install libjpeg62 apt-get install libjpeg62-dev apt-get install libpng Here starts the pasting: nagios:~/nagios-1.2# ldconfig -p | grep libgd libgd.so.2 (libc6) => /usr/lib/libgd.so.2 nagios:~/nagios-1.2# ldconfig -p | grep libpng libpng.so.2 (libc6) => /usr/lib/libpng.so.2 nagios:~/nagios-1.2# ldconfig -p | grep libjp libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62 I have the following files in /usr/lib: libgd.a libgd.so libgd.so.2 libgd.so.2.0.1 libpng.a libpng.so libpng.so.2 libpng.so.2.1.0.12 libjpeg.a libjpeg.la libjpeg.so libjpeg.so.62 libjpeg.so.62.0.0 nagios:~/nagios-1.2# rm config.cache nagios:~/nagios-1.2# configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include checking for gdImagePng in -lgd (order 1)... yes GD library was found! nagios.iland.com-error.log: [Wed Jan 26 10:52:10 2005] [error] [client 198.78.170.1] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Jason Payne Network Operations jason.payne at iland.com voice: 1.800.697.7088 fax: 713.868.2268 http://www.iland.com/ iLand Internet Solutions Corporation __________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Efe Ohimor Sent: Wednesday, February 02, 2005 10:17 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 3D-Status Map Hi Everyone I was able to view the 3D-Status map using Mozilla on my RedHat Linux system.I downloaded FreeWRL VRML/X3D browser from http://sourceforge.net/project/showfiles.php?group_id=9120&package_id=9189&r elease_id=290716 .Iam thinking of how to develeop it. Efe Ohimor ipNX Nigeria Limited 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel:234-1-4619943-6 ext 1212 Fax:2614633 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-list at smarte.dk Wed Feb 2 17:40:50 2005 From: nagios-list at smarte.dk (Brian Ibsen) Date: Wed, 2 Feb 2005 17:40:50 +0100 Subject: Unable to read output from NRPE Message-ID: <002d01c50945$fd2745d0$1e01a8c0@krusty> Hi.. I have a problem with reply from NRPE The remote host I'm trying to check have the following in /usr/local/etc/nrpe.cfg: command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 70 -c 150 when command is executes locally on the remote host it seams to work: /usr/local/libexec/nagios/check_procs -w 70 -c 150 giving OK - 13 processes running But when /usr/local/libexec/nagios/check_nrpe -H myhosthere -c check_total_procs ig get: Unable to read output The rest of the checks on the remote hosts returns a fine output Any idee whats going on ??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Feb 2 18:27:18 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 2 Feb 2005 12:27:18 -0500 (EST) Subject: Nagios-User with only VIEW-Rights In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C965A@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C965A@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: See Russell Scibetti emails - https://sourceforge.net/mailarchive/forum.php?thread_id=1097098&forum_id=1872 This patch is included in 2.0bx (don't think it made it into 1.x) With a some configuration tweaks - you can have one instance of Nagios and multiple instances of the cgi on a single machine - each cgi instance can have different permissions. Of course you will have to remove cmd.cgi from the view-only logins... -sg On Wed, 2 Feb 2005, Sand Philipp wrote: > Hmm... Don't you need multiple Nagios Instaces on the server then? Or do > you set special filesystem permissions (I don't know webservers very > well :)) > >> -----Original Message----- >> From: Subhendu Ghosh [mailto:sghosh at sghosh.org] >> Sent: Wednesday, February 02, 2005 1:55 AM >> To: Sand Philipp >> Cc: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Nagios-User with only VIEW-Rights >> >> >> vmware is overkill - just need mutliple directories and vhosts. >> >> >> On Tue, 1 Feb 2005, Sand Philipp wrote: >> >>> Hi, >>> >>> I think the only way to do it so far, is to use distributed >>> monitoring, and to set up an Nagios Server for each >> customer (e.g. on VMWare). >>> >>> Regards, >>> Philipp >>> >>>> -----Original Message----- >>>> From: nagios-users-admin at lists.sourceforge.net >>>> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of >>>> Andreas Ericsson >>>> Sent: Tuesday, February 01, 2005 10:10 AM >>>> To: nagios-users at lists.sourceforge.net >>>> Subject: Re: [Nagios-users] Nagios-User with only VIEW-Rights >>>> >>>> XTRANET Technik wrote: >>>>> Hello All! >>>>> >>>>> Is there any possibility to configure Nagios (2.0b1) to let an >>>>> _authenticated_ user to only view the hosts and services he >>>> is allowed >>>>> to (like configuring him as "contact") but NOT let him >>>> issue ANY host- or service-command? >>>>> >>>>> I'll need this for allowing customers to VIEW their hosts >>>> and services >>>>> but NOT to change anything..... >>>>> >>>> >>>> Not without modifying the code. >>>> >>>> I've long planned to something along those lines to >> cmd.cgi, but it >>>> keeps getting postponed. Join nagios-devel and suggest it if you >>>> like. >>>> If Ethan thinks it's a good idea I might get a bit more incentive. >>>> >>>>> >>>>> Best regards, >>>>> peter >>>>> >>>>> -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 18:26:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 18:26:05 +0100 Subject: Nagios-User with only VIEW-Rights In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C965A@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C965A@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <42010D2D.6090609@op5.se> Sand Philipp wrote: > Hmm... Don't you need multiple Nagios Instaces on the server then? Or > do you set special filesystem permissions (I don't know webservers > very well :)) > You could do it with apaches suexec features and filesystem permissions, yes. I'm not really familiar with the config options of suexec, but I'm sure one of all the people here that work at hosting companies can whip up a sample config at no-time, or at least point you in the right direction. > >> -----Original Message----- From: Subhendu Ghosh >> [mailto:sghosh at sghosh.org] Sent: Wednesday, February 02, 2005 1:55 >> AM To: Sand Philipp Cc: nagios-users at lists.sourceforge.net Subject: >> RE: [Nagios-users] Nagios-User with only VIEW-Rights >> >> >> vmware is overkill - just need mutliple directories and vhosts. >> >> >> On Tue, 1 Feb 2005, Sand Philipp wrote: >> >> >>> Hi, >>> >>> I think the only way to do it so far, is to use distributed >>> monitoring, and to set up an Nagios Server for each >> >> customer (e.g. on VMWare). >> >>> Regards, Philipp >>> >>> >>>> -----Original Message----- From: >>>> nagios-users-admin at lists.sourceforge.net >>>> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of >>>> Andreas Ericsson Sent: Tuesday, February 01, 2005 10:10 AM To: >>>> nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] >>>> Nagios-User with only VIEW-Rights >>>> >>>> XTRANET Technik wrote: >>>> >>>>> Hello All! >>>>> >>>>> Is there any possibility to configure Nagios (2.0b1) to let >>>>> an _authenticated_ user to only view the hosts and services >>>>> he >>>> >>>> is allowed >>>> >>>>> to (like configuring him as "contact") but NOT let him >>>> >>>> issue ANY host- or service-command? >>>> >>>>> I'll need this for allowing customers to VIEW their hosts >>>> >>>> and services >>>> >>>>> but NOT to change anything..... >>>>> >>>> >>>> Not without modifying the code. >>>> >>>> I've long planned to something along those lines to >> >> cmd.cgi, but it >> >>>> keeps getting postponed. Join nagios-devel and suggest it if >>>> you like. If Ethan thinks it's a good idea I might get a bit >>>> more incentive. >>>> >>>> >>>>> Best regards, peter >>>>> >>>>> >>>>> ------------------------------------------------------- This >>>>> SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>>> Reporting Tool for open source databases. Create >>>> >>>> drag-&-drop reports. >>>> >>>>> Save time by over 75%! Publish reports on the web. Export >>>> >>>> to DOC, XLS, RTF, etc. >>>> >>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>>> _______________________________________________ Nagios-users >>>>> mailing list Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >>>>> Please include Nagios version, plugin version (-v) and >>>> >>>> OS when reporting any issue. >>>> >>>>> ::: Messages without supporting info will risk being sent >>>> >>>> to /dev/null >>>> >>>> -- Andreas Ericsson andreas.ericsson at op5.se >>>> OP5 AB www.op5.se Lead Developer >>>> >>>> >>>> ------------------------------------------------------- This >>>> SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>> Reporting Tool for open source databases. Create >> >> drag-&-drop reports. >> >>>> Save time by over 75%! Publish reports on the web. Export to >>>> DOC, XLS, RTF, etc. Download a FREE copy at >>>> http://www.intelliview.com/go/osdn_nl >>>> _______________________________________________ Nagios-users >>>> mailing list Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >>>> Please include Nagios version, plugin version (-v) and OS when >>>> reporting any issue. ::: Messages without supporting info will >>>> risk being sent to /dev/null >>>> >>> >> ---------------------------------------------------------------------- >> >> >>> ------------------- >>> >>> Hilfe f?r Khao Lak. >>> >>> Eine Spendeninitiative der Otto Bock Stiftung. >>> >>> Unsere Spendenhotline: 0900 - 11 10 15 0 Mit jedem Anruf aus dem >>> Festnetz spenden Sie 5,- Euro. Weitere Informationen unter >>> www.ottobock.de . Spendenkonto: Konto: 40 44, Sparkasse >>> Duderstadt BLZ:260 512 60 >>> >>> >> >> ---------------------------------------------------------------------- >> >> >>> ------------------- >>> >>> Diese E-Mail ist vertraulich und kann dar?ber hinaus >> >> pers?nliche Informationen beinhalten. Wenn Sie nicht der >> bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und >> deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma >> sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen >> ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von >> E-Mail versandt werden, sofern dies nicht ausdr?cklich in >> schriftlicher Form zwischen den Parteien vereinbart wurde. >> >>> This e-mail is confidential and may contain personal and/or >> >> privileged information. If you are not the intended recipient >> please delete this e-mail and all attachments immediately and >> inform us. The company sycor does not agree with contracts or >> contract obligations sent by e-mail, neither do we transmit legally >> binding offers by e-mail, unless this is not expressly agreed upon >> between the parties and documented in written form. >> >>> >>> >>> >>> >>> >>> ------------------------------------------------------- This >>> SF.Net email is sponsored by: IntelliVIEW -- Interactive >>> Reporting Tool for open source databases. Create >> >> drag-&-drop reports. >> >>> Save time by over 75%! Publish reports on the web. Export >> >> to DOC, XLS, RTF, etc. >> >>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>> _______________________________________________ Nagios-users >>> mailing list Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: >>> Please include Nagios version, plugin version (-v) and >> >> OS when reporting any issue. >> >>> ::: Messages without supporting info will risk being sent >> >> to /dev/null >> >> -- >> > > ----------------------------------------------------------------------------------------- > > > Hilfe f?r Khao Lak. > > Eine Spendeninitiative der Otto Bock Stiftung. > > Unsere Spendenhotline: 0900 - 11 10 15 0 Mit jedem Anruf aus dem > Festnetz spenden Sie 5,- Euro. Weitere Informationen unter > www.ottobock.de . Spendenkonto: Konto: 40 44, Sparkasse Duderstadt > BLZ:260 512 60 > > ----------------------------------------------------------------------------------------- > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e > Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort > und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or > privileged information. If you are not the intended recipient please > delete this e-mail and all attachments immediately and inform us. The > company sycor does not agree with contracts or contract obligations > sent by e-mail, neither do we transmit legally binding offers by > e-mail, unless this is not expressly agreed upon between the parties > and documented in written form. > > > > > > > ------------------------------------------------------- This SF.Net > email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for > open source databases. Create drag-&-drop reports. Save time by over > 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 18:27:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 18:27:50 +0100 Subject: Unable to read output from NRPE In-Reply-To: <002d01c50945$fd2745d0$1e01a8c0@krusty> References: <002d01c50945$fd2745d0$1e01a8c0@krusty> Message-ID: <42010D96.8060700@op5.se> Brian Ibsen wrote: > Hi.. I have a problem with reply from NRPE > > The remote host I'm trying to check have the following in /usr/local/etc/nrpe.cfg: > command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 70 -c 150 > > when command is executes locally on the remote host it seams to work: > /usr/local/libexec/nagios/check_procs -w 70 -c 150 giving > OK - 13 processes running > > > But when > /usr/local/libexec/nagios/check_nrpe -H myhosthere -c check_total_procs ig get: > Unable to read output > Perhaps /proc is mounted with the group option, and the nrpe user doesn't have access to it. > > The rest of the checks on the remote hosts returns a fine output > Any idee whats going on ??? > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmosh at shaw.ca Wed Feb 2 18:57:20 2005 From: jmosh at shaw.ca (Joubin Moshrefzadeh) Date: Wed, 02 Feb 2005 09:57:20 -0800 Subject: check_ping -- how to get -i option Message-ID: <134c1ca13494c1.13494c1134c1ca@shaw.ca> Thanks Andreas and others for your comments. I agree, my current workaround isn't the best solution (thats why i turned to the list, hoping there was a more elegant/efficient methond) however I had missed the part about host checks being done in serial... I'll give check_icmp a try. thanks. Date: Tue, 01 Feb 2005 21:22:43 +0100 From: Andreas Ericsson To: nagios_list Subject: Re: [Nagios-users] check_ping -- how to get -i option ? Joubin Moshrefzadeh wrote: > I occasionally get a host down alert, that is fixed on the next check > cycle. In my opinion thats sort of a false positive, and I want to > give the host test script a longer time-span before it decides a host > is down/unreachable. > > Any way to incorporate the -i option of ping into the > check_ping script? > You can use the check_icmp program and specify -i directly. Set it as high as you like. If it receives a response before it times out it will send another one, usually making the REAL interval shorter, while allowing the possibility of a long one. Just make sure you set a high enough timeout value. You can check that by adding -v twice on the command line. If your -t value is too low it will tell you "timeout must be at least x". max_completion_time is calculated as such packets * targets * (critical_rta + packet_interval + target_interval) + critical_rta (the last critical_rta is just to catch straggler). > My workaround right now is to use "check_ping -t 10 -w 3000.0,80% -c > 5000.0,100% -p 1", and to specify "max_check_attempts 30" so that i > know that a host is definitely down for at least 5 minutes before I > get a HOST DOWN alert. > That's not very smart, considering hostchecks are done in serial and without any kind of threading, so while one of your hosts are being checked this way nothing else is. > I know mon has a feature where you can specify the number of failures > for a check before it sends out a notification. Anything similar in > Nagios? > That would be the max_check_attempts variable. Perhaps you should read up on hard/soft states. I believe you could also accomplish the same thing with escalations, although I'm not sure since I don't use them myself. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-list at smarte.dk Wed Feb 2 20:40:46 2005 From: nagios-list at smarte.dk (Brian Ibsen) Date: Wed, 2 Feb 2005 20:40:46 +0100 Subject: Unable to read output from NRPE References: Message-ID: <001101c5095f$1a1760d0$1e01a8c0@krusty> I'm not using SSL in the host.. and btw i'm using nrpe v1.8 I think the problem is more like Andreas descibes.. But I'm too much a newbie to check/fix this... So maybe I'l have to live with it or find someone to help me. /Brian ----- Original Message ----- From: frank.trila at rcibanque.de To: Brian Ibsen Sent: Wednesday, February 02, 2005 6:37 PM Subject: Re: [Nagios-users] Unable to read output from NRPE Hi, this seems to be a problem with SSL !! If you have compiled NRPE on the Server with SSL you have to it the same way on the client. This problem is common when using precompiled daemons from RPMs ... Another way to turn off SSL is to use the -n switch with check_nrpe check_nrpe -H $HOSTADDRESS$ -n -c $ARG1$ ciao ;-) Frank Frank Trila Technologische Entwicklung IT RCI Banque S.A. Niederlassung Deutschland Jagenberg Strasse 1 41468 Neuss Telefon +49-2131-401-1574 Telefax +49-2131-401-41574 mailto:Frank.Trila at RciBanque.de "Brian Ibsen" Sent by: nagios-users-admin at lists.sourceforge.net 02.02.2005 17:40 To cc Subject [Nagios-users] Unable to read output from NRPE Hi.. I have a problem with reply from NRPE The remote host I'm trying to check have the following in /usr/local/etc/nrpe.cfg: command[check_total_procs]=/usr/local/libexec/nagios/check_procs -w 70 -c 150 when command is executes locally on the remote host it seams to work: /usr/local/libexec/nagios/check_procs -w 70 -c 150 giving OK - 13 processes running But when /usr/local/libexec/nagios/check_nrpe -H myhosthere -c check_total_procs ig get: Unable to read output The rest of the checks on the remote hosts returns a fine output Any idee whats going on ??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Feb 2 21:01:43 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 2 Feb 2005 12:01:43 -0800 Subject: Unable to read output from NRPE In-Reply-To: <001101c5095f$1a1760d0$1e01a8c0@krusty> References: <001101c5095f$1a1760d0$1e01a8c0@krusty> Message-ID: <20050202200143.GS1574@zippy.toger.us> > this seems to be a problem with SSL !! > If you have compiled NRPE on the Server with SSL > you have to it the same way on the client. This problem > is common when using precompiled daemons from RPMs ... Which reminds me, a nice addition to NRPE would be having the server print out a banner and a list of capabilities (such as TLS), after which check_nrpe can decide if it wants to proceed with the connection. check_nrpe could then be configured to either require TLS or make it optional. -Jason Martin -- Who is "they" anyway? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ae at op5.se Wed Feb 2 21:17:10 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2005 21:17:10 +0100 Subject: Unable to read output from NRPE In-Reply-To: <20050202200143.GS1574@zippy.toger.us> References: <001101c5095f$1a1760d0$1e01a8c0@krusty> <20050202200143.GS1574@zippy.toger.us> Message-ID: <42013546.1040909@op5.se> Jason Martin wrote: >> this seems to be a problem with SSL !! >> If you have compiled NRPE on the Server with SSL >> you have to it the same way on the client. This problem >> is common when using precompiled daemons from RPMs ... > > Which reminds me, a nice addition to NRPE would be having the > server print out a banner and a list of capabilities (such as > TLS), after which check_nrpe can decide if it wants to proceed > with the connection. check_nrpe could then be configured to > either require TLS or make it optional. > I've been thinking about that (implemented as a handshake), but it would mean redesigning the protocol once again. Backwards compatibility is getting important, and it's getting harder to implement. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Feb 2 21:41:06 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 2 Feb 2005 12:41:06 -0800 Subject: Unable to read output from NRPE In-Reply-To: <42013546.1040909@op5.se> References: <001101c5095f$1a1760d0$1e01a8c0@krusty> <20050202200143.GS1574@zippy.toger.us> <42013546.1040909@op5.se> Message-ID: <20050202204105.GT1574@zippy.toger.us> On Wed, Feb 02, 2005 at 09:17:10PM +0100, Andreas Ericsson wrote: > I've been thinking about that (implemented as a handshake), but it would > mean redesigning the protocol once again. Backwards compatibility is > getting important, and it's getting harder to implement. I think the handshake part is pretty important. At a minimum it tells check_nrpe that there is really a NRPE daemon on the other end and that it was allowed to talk to it. The error messages generated from check_nrpe could be much more informative if it has a better idea of what was happening on the remote end. -Jason Martin -- Postmen never die, they just loose their zip... This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jason.payne at iland.com Wed Feb 2 22:47:49 2005 From: jason.payne at iland.com (Jason Payne - iland Internet Solutions) Date: Wed, 2 Feb 2005 15:47:49 -0600 Subject: Unable to read output from NRPE Message-ID: <7A626FF425518246801C933014AA98F059A13B@hou-ex01.ihtx.iland.com> Hello, Yes, I do. Thanks for the advice but this doesn't have anything to do with the problem. The Script wouldn't end prematurely from a missing hostext definition. Thanks much, Jason Jason Payne Network Operations jason.payne at iland.com voice: 1.800.697.7088 fax: 713.868.2268 http://www.iland.com/ iLand Internet Solutions Corporation __________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jason Martin Sent: Wednesday, February 02, 2005 2:41 PM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Unable to read output from NRPE On Wed, Feb 02, 2005 at 09:17:10PM +0100, Andreas Ericsson wrote: > I've been thinking about that (implemented as a handshake), but it would > mean redesigning the protocol once again. Backwards compatibility is > getting important, and it's getting harder to implement. I think the handshake part is pretty important. At a minimum it tells check_nrpe that there is really a NRPE daemon on the other end and that it was allowed to talk to it. The error messages generated from check_nrpe could be much more informative if it has a better idea of what was happening on the remote end. -Jason Martin -- Postmen never die, they just loose their zip... This message is PGP/MIME signed. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From formy-duval_alan at bah.com Wed Feb 2 23:18:18 2005 From: formy-duval_alan at bah.com (Formy-Duval Alan) Date: Wed, 02 Feb 2005 17:18:18 -0500 Subject: installing Nagios on Solaris 9 Message-ID: <420151AA.4090904@bah.com> Hello, I'm concerned about one of the steps in the online help for Nagios installation. First, I've created my nagcmd group with the nagios and nobody users. Now I'm on step "run configure script" step. The last line reads: Replace /cmdgroup/ with the name of the group running the web server (default is /nagios/) The default shown at the end of the line doesn't seem right... wouldn't the cmdgroup be set to either nobody (the Apache 'run-as' group) or nagcmd, the Command File Group. I need to clarify this before I configure Thanks, Alan -------------- next part -------------- A non-text attachment was scrubbed... Name: formy-duval_alan.vcf Type: text/x-vcard Size: 254 bytes Desc: not available URL: From Edward.Smith at demandtec.com Thu Feb 3 00:07:07 2005 From: Edward.Smith at demandtec.com (Edward Smith) Date: Wed, 2 Feb 2005 15:07:07 -0800 Subject: Running Perl scripts and ssh with nagios Message-ID: <2B5C62C548D2FC48BC0334E8AE494185058C79D6@parrot.demandtec.com> Hello, I am using a custom perl script that uses nagios to ssh into a host and run a script, much the same way that check_ssh works. However, we cannot use check_ssh for other reasons. Here is the problem, whenever we run the script from the command line as the nagios user it works fine. However, when we use it in nagios, via the checkcommands.cfg file, it fails. Is there something about the way nagios executes commands that would differ from the command line? I am using the same arguments, and the script is dying when it tries to open the ssh connection, yet no errors in the ssh logs, or nagios logs for that matter. Any help is greatly appreciated. Edward Smith ------------------------ Edward Smith Systems Application Engineer Demandtec, Inc esmith at demandtec.com 650-226-4609 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Thu Feb 3 00:13:17 2005 From: hmann at itgroundwork.com (Harper Mann) Date: Wed, 2 Feb 2005 15:13:17 -0800 Subject: Running Perl scripts and ssh with nagios In-Reply-To: <2B5C62C548D2FC48BC0334E8AE494185058C79D6@parrot.demandtec.com> References: <2B5C62C548D2FC48BC0334E8AE494185058C79D6@parrot.demandtec.com> Message-ID: Hi Edward, Did you try running the script as the "nagios" user? Are you specifying a user on the target system and is there a "nagios" user on that host? Regards, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) http://itgroundwork.com > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Smith > Sent: Wednesday, February 02, 2005 3:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Running Perl scripts and ssh with nagios > > Hello, > > I am using a custom perl script that uses nagios to ssh into a host and > run a script, much the same way that check_ssh works. However, we cannot > use check_ssh for other reasons. Here is the problem, whenever we run > the script from the command line as the nagios user it works fine. > > However, when we use it in nagios, via the checkcommands.cfg file, it > fails. Is there something about the way nagios executes commands that > would differ from the command line? I am using the same arguments, and > the script is dying when it tries to open the ssh connection, yet no > errors in the ssh logs, or nagios logs for that matter. > > Any help is greatly appreciated. > > Edward Smith > > > > ------------------------ > Edward Smith > Systems Application Engineer > Demandtec, Inc > esmith at demandtec.com > 650-226-4609 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edward.Smith at demandtec.com Thu Feb 3 00:16:39 2005 From: Edward.Smith at demandtec.com (Edward Smith) Date: Wed, 2 Feb 2005 15:16:39 -0800 Subject: Running Perl scripts and ssh with nagios Message-ID: <2B5C62C548D2FC48BC0334E8AE494185058C79D7@parrot.demandtec.com> I am running it from the command line as the nagios user. The target host has a nagios user on it as well and the accounts are RSA keyed so no password is required. ------------------------ Edward Smith Systems Application Engineer Demandtec, Inc esmith at demandtec.com 650-226-4609 -----Original Message----- From: Harper Mann [mailto:hmann at itgroundwork.com] Sent: Wednesday, February 02, 2005 3:13 PM To: Ed Smith; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Running Perl scripts and ssh with nagios Hi Edward, Did you try running the script as the "nagios" user? Are you specifying a user on the target system and is there a "nagios" user on that host? Regards, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) http://itgroundwork.com > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Smith > Sent: Wednesday, February 02, 2005 3:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Running Perl scripts and ssh with nagios > > Hello, > > I am using a custom perl script that uses nagios to ssh into a host and > run a script, much the same way that check_ssh works. However, we cannot > use check_ssh for other reasons. Here is the problem, whenever we run > the script from the command line as the nagios user it works fine. > > However, when we use it in nagios, via the checkcommands.cfg file, it > fails. Is there something about the way nagios executes commands that > would differ from the command line? I am using the same arguments, and > the script is dying when it tries to open the ssh connection, yet no > errors in the ssh logs, or nagios logs for that matter. > > Any help is greatly appreciated. > > Edward Smith > > > > ------------------------ > Edward Smith > Systems Application Engineer > Demandtec, Inc > esmith at demandtec.com > 650-226-4609 > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Thu Feb 3 00:27:31 2005 From: hmann at itgroundwork.com (Harper Mann) Date: Wed, 2 Feb 2005 15:27:31 -0800 Subject: Running Perl scripts and ssh with nagios In-Reply-To: <2B5C62C548D2FC48BC0334E8AE494185058C79D7@parrot.demandtec.com> References: <2B5C62C548D2FC48BC0334E8AE494185058C79D7@parrot.demandtec.com> Message-ID: Another trick is to put "/bin/echo" in front of the command in checkcommands.cfg. This gives the correct line you can cut and paste into the command line. You see if from Service Detail. Sometimes the macros or other args aren't as expected. - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) http://itgroundwork.com > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Edward Smith > Sent: Wednesday, February 02, 2005 3:17 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Running Perl scripts and ssh with nagios > > I am running it from the command line as the nagios user. The target host > has a nagios user on it as well and the accounts are RSA keyed so no > password is required. > > > ------------------------ > Edward Smith > Systems Application Engineer > Demandtec, Inc > esmith at demandtec.com > 650-226-4609 > > > -----Original Message----- > From: Harper Mann [mailto:hmann at itgroundwork.com] > Sent: Wednesday, February 02, 2005 3:13 PM > To: Ed Smith; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Running Perl scripts and ssh with nagios > > > Hi Edward, > > Did you try running the script as the "nagios" user? Are you specifying a > user on the target system and is there a "nagios" user on that host? > > Regards, > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > http://itgroundwork.com > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Edward Smith > > Sent: Wednesday, February 02, 2005 3:07 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Running Perl scripts and ssh with nagios > > > > Hello, > > > > I am using a custom perl script that uses nagios to ssh into a host and > > run a script, much the same way that check_ssh works. However, we > cannot > > use check_ssh for other reasons. Here is the problem, whenever we run > > the script from the command line as the nagios user it works fine. > > > > However, when we use it in nagios, via the checkcommands.cfg file, it > > fails. Is there something about the way nagios executes commands that > > would differ from the command line? I am using the same arguments, and > > the script is dying when it tries to open the ssh connection, yet no > > errors in the ssh logs, or nagios logs for that matter. > > > > Any help is greatly appreciated. > > > > Edward Smith > > > > > > > > ------------------------ > > Edward Smith > > Systems Application Engineer > > Demandtec, Inc > > esmith at demandtec.com > > 650-226-4609 > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mac at biviumcorp.com Thu Feb 3 00:53:12 2005 From: mac at biviumcorp.com (Edward MacGillivray) Date: Wed, 2 Feb 2005 17:53:12 -0600 Subject: Check ping wrapper needed to fix check ping plugin? Message-ID: <200502021753.13130.mac@biviumcorp.com> Hello, I've had Nagios 1.2 installed and running for several months and checking quite a few things. I had recently started to get many notifications about some of the stuff that was going up and down. Most of the time these things were on our local network and would be down for 1 check-interval of time (30 sec as configured now). So I decided yesterday to try to debug what was happening. At first I manually used the check_ping plugin to see what the results it would give me. The results I got were about what I expected and below the warning threshold. The next thing I did was rename the check_ping plugin and then create a shell script in its place which would run the original plugin and record the result in a log file (see below for the script). So I've had this script in the works for almost a day and I've yet to see the amount of flapping that was happening previously. Additionally, I've had nagiostat setup for about a week and the averages for the RTA time has dropped significantly (25-50%) with the wrapper as compared to the unwrapped setup. So my question is, does anyone have a reason that would cause the "bare" plugin to behave worse than the "wrapped" plugin? ============= check_ping ============== #!/bin/bash date=$( date ); output=$( /usr/local/nagios/libexec/check_ping-real $* ); RET=$?; echo "$date: $*: $RET $output" >> /tmp/check_ping.log; echo "$output"; exit $RET; --- end ------------------------------- check_ping ----------------------- thanks mac ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross.minkov at hp.com Thu Feb 3 01:36:27 2005 From: ross.minkov at hp.com (Minkov, Ross) Date: Wed, 2 Feb 2005 19:36:27 -0500 Subject: check_ping -- how to get -i option ? Message-ID: <192E38594ACFAF4EB4F40E1C4B60472306014CA9@tayexc13.americas.cpqcorp.net> Thanks Andreas. I'll try check_icmp. > Btw. I noticed you're a HP employee. Are you familiar with the HP > Testdrive program? I'd like to get my hands on a HP-UX 11i running on > PA-RISC 2 for NRPE development and testing. Would you be able to fix that? Main HP TestDrive web site is -- http://www.testdrive.hp.com/ To register for an account -- http://www.testdrive.hp.com/accounts/register.shtml I think we have PA RISC rp3410 server running HP-UX v2 available for test drive. The rp3410 has two PA-8800 800MHz cpus and 2GB of memory. Regards, Ross -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Tuesday, February 01, 2005 7:23 PM To: nagios_list Subject: Re: [Nagios-users] check_ping -- how to get -i option ? Minkov, Ross wrote: > >>My workaround right now is to use "check_ping -t 10 -w 3000.0,80% -c >>5000.0,100% -p 1", and to specify "max_check_attempts 30" so that i >>know that a host is definitely down for at least 5 minutes before I >>get a HOST DOWN alert. > > > The way I solved similar problem ( I'm not saying this is the right way > ;-) ) was to modify the check-host-alive command definition as follows: > > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 10 > } > > This kind of achieves the same... Instead of sending one ping and > waiting for 10 seconds for a response (-t 10) I send 10 pings... Not > sure which way is better... > check_icmp is better, since it won't take as long when the host is up and will thus make your Nagios installation perform a whole lot better when service checks fail. > Regards, > Ross > Btw. I noticed you're a HP employee. Are you familiar with the HP Testdrive program? I'd like to get my hands on a HP-UX 11i running on PA-RISC 2 for NRPE development and testing. Would you be able to fix that? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at skislave.com Thu Feb 3 01:53:34 2005 From: jeff at skislave.com (Jeff Scott) Date: Wed, 2 Feb 2005 17:53:34 -0700 Subject: The infamous debian statusmap problem In-Reply-To: <7A626FF425518246801C933014AA98F059A134@hou-ex01.ihtx.iland.com> References: <7A626FF425518246801C933014AA98F059A134@hou-ex01.ihtx.iland.com> Message-ID: <200502030052.j130qdx28292@web001.tier3.us> I had the same problem, and I had to have libpng.so.3, I believe. And once I had that library, I had to recompile the CGIs. Now it works. However, my problem now is the statusmap doesn't look "as nice" as the demo's I've seen. My hosts get overlaid on top of each other, etc. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Payne - iland Internet Solutions Sent: Wednesday, February 02, 2005 9:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] The infamous debian statusmap problem Hi nagiosians, Any help would be greatly appreciated. I cannot get the statusmap to work for the life of me. The image doesnn't show up but I can hover my mouse over it and the box will come up for the appropriate device. I've searched the mailing list and google and have not been able to simply get it working. I have done a: apt-get install libgd2 apt-get install libgd2-dev apt-get install libjpeg62 apt-get install libjpeg62-dev apt-get install libpng Here starts the pasting: nagios:~/nagios-1.2# ldconfig -p | grep libgd libgd.so.2 (libc6) => /usr/lib/libgd.so.2 nagios:~/nagios-1.2# ldconfig -p | grep libpng libpng.so.2 (libc6) => /usr/lib/libpng.so.2 nagios:~/nagios-1.2# ldconfig -p | grep libjp libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62 I have the following files in /usr/lib: libgd.a libgd.so libgd.so.2 libgd.so.2.0.1 libpng.a libpng.so libpng.so.2 libpng.so.2.1.0.12 libjpeg.a libjpeg.la libjpeg.so libjpeg.so.62 libjpeg.so.62.0.0 nagios:~/nagios-1.2# rm config.cache nagios:~/nagios-1.2# configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include checking for gdImagePng in -lgd (order 1)... yes GD library was found! nagios.iland.com-error.log: [Wed Jan 26 10:52:10 2005] [error] [client 198.78.170.1] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Jason Payne Network Operations jason.payne at iland.com voice: 1.800.697.7088 fax: 713.868.2268 http://www.iland.com/ iLand Internet Solutions Corporation __________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Efe Ohimor Sent: Wednesday, February 02, 2005 10:17 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 3D-Status Map Hi Everyone I was able to view the 3D-Status map using Mozilla on my RedHat Linux system.I downloaded FreeWRL VRML/X3D browser from http://sourceforge.net/project/showfiles.php?group_id=9120&package_id=9189&r elease_id=290716 .Iam thinking of how to develeop it. Efe Ohimor ipNX Nigeria Limited 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel:234-1-4619943-6 ext 1212 Fax:2614633 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neal at lists.rauhauser.net Thu Feb 3 08:25:57 2005 From: neal at lists.rauhauser.net (Neal Rauhauser) Date: Thu, 03 Feb 2005 01:25:57 -0600 Subject: CGIs treated as text, not executed? Message-ID: <4201D205.20208@lists.rauhauser.net> I haven't touched the graphical interface for Nagios in maybe five years but I don't recall it being as much work as its made for me the last few days. I've configured the stuff in /usr/local/etc/apache and this seems to be right - accessing http://machine/nagios/ produces a nagios page, but when I click on one of the reports it shows me strings from inside the CGI binary instead of executing it. I've checked ownership and permissions on the binaries and they look right - executeable, owned by www, and they behave like a normal CGI when invoked from the command line. The host OS is FreeBSD 4.10 and here is what I believe to the the relevant config snippets. I know this has to be some stupid one line config thing but I'm just not seeing ... any ideas? Alias /nagios/ /usr/local/share/nagios/ Options None AllowOverride AuthConfig Order allow,deny Allow from all ScriptAlias /nagios/cgi-bin/ /usr/local/share/nagios/cgi-bin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all ap400# pwd /usr/local/share/nagios/cgi-bin ap400# ls -l total 1942 -rwxrwxr-x 1 www www 147976 Feb 1 19:37 avail.cgi -rwxrwxr-x 1 www www 147160 Feb 1 19:37 cmd.cgi -rwxrwxr-x 1 www www 114280 Feb 1 19:37 config.cgi -rwxrwxr-x 1 www www 160848 Feb 1 19:37 extinfo.cgi -rwxrwxr-x 1 www www 125064 Feb 1 19:37 histogram.cgi -rwxrwxr-x 1 www www 104452 Feb 1 19:37 history.cgi -rwxrwxr-x 1 www www 101444 Feb 1 19:37 notifications.cgi -rwxrwxr-x 1 www www 98528 Feb 1 19:37 outages.cgi -rwxrwxr-x 1 www www 99940 Feb 1 19:37 showlog.cgi -rwxrwxr-x 1 www www 146616 Feb 1 19:37 status.cgi -rwxrwxr-x 1 www www 127488 Feb 1 19:37 statusmap.cgi -rwxrwxr-x 1 www www 115304 Feb 1 19:37 statuswml.cgi -rwxrwxr-x 1 www www 109312 Feb 1 19:37 statuswrl.cgi -rwxrwxr-x 1 www www 119944 Feb 1 19:37 summary.cgi -rwxrwxr-x 1 www www 123992 Feb 1 19:37 tac.cgi -rwxrwxr-x 1 www www 127016 Feb 1 19:37 trends.cgi ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Thu Feb 3 02:46:34 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 03 Feb 2005 11:46:34 +1000 Subject: Nagios SIGSEGVs In-Reply-To: <4200A0BB.60208@op5.se> References: <4200785B.40405@qut.edu.au> <4200A0BB.60208@op5.se> Message-ID: <4201827A.1070003@qut.edu.au> OK I'll get the latest version from CVS, however Nagios was successfully verifying and running before the server reboot, I don't understand why the nagios executable is segfaulting now :( Thanks, Greg Andreas Ericsson wrote: > Greg Vickers wrote: > >> Hi all, >> >> I downloaded Nagios 2.0b1 onto a brand new install of RHEL3 and built >> it OK. It was working great, running as expected, web interface and >> everything. Then I rebooted the server to check that nagios started OK >> and that the iptables rules worked to allow NSCA passive service >> checks in, as I'm not overly familiar with RHEL3. >> >> Nagios didn't start - got a pretty red FAILED message on the console. >> So I log on and have a lookie - running "/etc/init.d/nagios start" >> reports no lock file found. Running "/usr/local/nagios/bin/nagios -d >> /usr/local/nagios/etc/nagios.etc" fails silently. >> Running "strace -f -o nagios.strace /usr/local/nagios/bin/nagios -d >> /usr/local/nagios/etc/nagios.etc" shows up a SEGSEGV as one of the >> last entries. >> >> I've tried reconfiguring and recompiling and the exe is the same size >> as the one that is installed and it does the same thing when I run >> that new exe... >> >> Am I missing something obvious or do I have a ghost in the machine? >> > > 2.0 is beta. If you're going to run it, you need to run the CVS code to > make sure you've got the latest fixes. > > AFAICR there was an issue like this when the config was constructed in a > certain way (segfault at load-time) a couple of months back. > >> If you're interested, here is a copy of the strace output (only up for >> 2 weeks) at this URL: >> https://fileshare.qut.edu.au/public/vickersg/nagios.strace.gz >> >> TIA, > > -- Greg Vickers Lab Monitor Project Manager Teaching and Learning Support Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 8276 mobile: 0416 001 674, SD #6 6147 CIROS code: 00213J ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Thu Feb 3 02:49:10 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 03 Feb 2005 11:49:10 +1000 Subject: check_cluster2 problem found - looking for a solution In-Reply-To: References: <420038AF.3050407@qut.edu.au> <42005AAC.8080606@qut.edu.au> Message-ID: <42018316.801@qut.edu.au> I don't have the service state ID numbers, the on-demand macro $SERVICESTATE:hostid:serviceid$ is being converted on the fly by the Nagios process before (assumption) the fork process to run check_cluster2. Is there a place where I can get the ID numbers these on-demand macros are expanded to? Greg Subhendu Ghosh wrote: > I thought you already had the sevice IDs as they were being passed (not > completely) to check_cluster2... > > On Wed, 2 Feb 2005, Greg Vickers wrote: > >> Thanks for the info Subhendu - where can I find the service ID #'s? >> >> Subhendu Ghosh wrote: >> >>> shell wrapper around check_cluster with all the Service IDs hardcoded... >>> -sg >>> >>> On Wed, 2 Feb 2005, Greg Vickers wrote: >>> >>>> Hi all, >>>> >>>> I'm pretty sure that I know what the problem is with passing a >>>> massive list of service IDs to check_cluster2. >>>> >>>> This is my theory: When Nagios forks off a process to run >>>> check_cluster2 the list of service state ID numbers (converted by >>>> Nagios from on-demand macros) is passed on the command line. The >>>> numbers are many characters long and the environment that >>>> check_cluster2 runs in doesn't have enough space on the command line >>>> for all the numbers. Any characters that make up the 23rd ID number >>>> are truncated, hence 1 service always critical, that service ID >>>> isn't found. >>>> >>>> Does this sound like what is happening? Is there another clever way >>>> to pass the list of service state ID numbers to the forked process >>>> so that there is no truncation and you can pass as many service >>>> state ID numbers as you want? >>>> >>>> If you can help or have suggestions please email me or the list :) >>>> >>>> Thanks, >>>> >>> >> >> > -- Greg Vickers Lab Monitor Project Manager Teaching and Learning Support Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 8276 mobile: 0416 001 674, SD #6 6147 CIROS code: 00213J ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff at skislave.com Thu Feb 3 04:29:46 2005 From: jeff at skislave.com (Jeff Scott) Date: Wed, 2 Feb 2005 20:29:46 -0700 Subject: nagios 2 won't compile on solaris 8 Message-ID: <200502030328.j133Spx02941@web001.tier3.us> I've seen some post about Solaris 8 + nagios 2.01b, but I can't seem to get it to compile. (Nagios 1.2 compiles fine, and works 100%). I've installed the gd2 stuff from blastwave, and all the dependant packages. I've setup the libraries with crle. I have all the environment variables set. Configure runs without errors. But compile fails... $env .stuff removed.. LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/usr/uc blib:/usr/local/mysql/lib/mysql:/opt/csw/lib LD_OPTIONS=-R/opt/csw/lib -L/opt/csw/lib CC=gcc USER=root MACHTYPE=sparc-sun-solaris2.8 CPPFLAGS=-I/opt/csw/include $pkginfo |grep CSW system CSWbinutils binutils - GNU 'binary utilities': gas, gld, gprof, and others system CSWcommon common - common files and dirs for CSW packages system CSWcswutils cswutils - Utilities for CSW maintainers at blastwave.org application CSWexpat expat - XML Parser Toolkit system CSWftype2 freetype2 - font rendering library application CSWgcc3 gcc3 - GNU Compiler Collection version 3 branch application CSWgcc3rt gcc3rt - GNU Compiler Collection version 3 branch run-time system CSWgd gd - libgd, Graphics creation library and utilities system CSWggettext ggettext - GNU gettext system CSWiconv libiconv - GNU iconv library system CSWjpeg jpeg - lib and tools for JPEG image format system CSWpkgget pkg_get - CSW version of automated package download tool system CSWpng png - library for Portable Network Graphics format (PNG) system CSWtextutils textutils - GNU text file processing utilities system CSWxpm xpm - library for X11 PixMap format (libXpm.so.4.11) application CSWzlib zlib - Zlib Data Compression Library $crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /opt/csw/lib:/usr/lib Trusted Directories (ELF): /usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /opt/csw/lib:/usr/lib $make all cd ./base && make make[1]: Entering directory `/root/nagios/nagios-2.0b1/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -lm -lnsl -lsocket -lpthread -ldl -lrt Undefined first referenced symbol in file setenv utils.o unsetenv utils.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/root/nagios/nagios-2.0b1/base' make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From amontibello at gmail.com Thu Feb 3 05:32:47 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 2 Feb 2005 23:32:47 -0500 Subject: Passive Check with nsclient In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C9658@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C9658@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: Passive checks with NC_Net are almost done. I am running several tests on the checks now as well as clean up some of the code and configuration variables. The passive check version of NC_Net will be released as soon as the preliminary testing is done. On Wed, 2 Feb 2005 16:37:53 +0100, Sand Philipp wrote: > Doesn't work there... Maybe take a look at the developement of the > NC_Net Plugin. I think those passive check thing is in queue there... > > ________________________________ > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Harris, > Sam > Sent: Wednesday, February 02, 2005 3:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passive Check with nsclient > > > Anybody knows where I could find a more comprehensive guide for > passive check with nsclient. > > Thanks > > ----------------------------------------------------------------------------------------- > > Hilfe f?r Khao Lak. > > Eine Spendeninitiative der Otto Bock Stiftung. > > Unsere Spendenhotline: 0900 - 11 10 15 0 > Mit jedem Anruf aus dem Festnetz spenden Sie 5,- Euro. > Weitere Informationen unter www.ottobock.de . > Spendenkonto: Konto: 40 44, Sparkasse Duderstadt BLZ:260 512 60 > > ----------------------------------------------------------------------------------------- > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 3 08:02:05 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 3 Feb 2005 02:02:05 -0500 (EST) Subject: check_cluster2 problem found - looking for a solution In-Reply-To: <42018316.801@qut.edu.au> References: <420038AF.3050407@qut.edu.au> <42005AAC.8080606@qut.edu.au> <42018316.801@qut.edu.au> Message-ID: -oops - nope - the ondemand macros expansion data cannot be hard coded. to fix this - try the the cvs version of nagios 2 - there was patch yesterday increasing the env buffer. otherwise - need a plugin that will scan thru the status log based ona config file rather than using the on-demand macros. -sg On Thu, 3 Feb 2005, Greg Vickers wrote: > I don't have the service state ID numbers, the on-demand macro > $SERVICESTATE:hostid:serviceid$ is being converted on the fly by the Nagios > process before (assumption) the fork process to run check_cluster2. > > Is there a place where I can get the ID numbers these on-demand macros are > expanded to? > > Greg > > Subhendu Ghosh wrote: >> I thought you already had the sevice IDs as they were being passed (not >> completely) to check_cluster2... >> >> On Wed, 2 Feb 2005, Greg Vickers wrote: >> >>> Thanks for the info Subhendu - where can I find the service ID #'s? >>> >>> Subhendu Ghosh wrote: >>> >>>> shell wrapper around check_cluster with all the Service IDs hardcoded... >>>> -sg >>>> >>>> On Wed, 2 Feb 2005, Greg Vickers wrote: >>>> >>>>> Hi all, >>>>> >>>>> I'm pretty sure that I know what the problem is with passing a massive >>>>> list of service IDs to check_cluster2. >>>>> >>>>> This is my theory: When Nagios forks off a process to run check_cluster2 >>>>> the list of service state ID numbers (converted by Nagios from on-demand >>>>> macros) is passed on the command line. The numbers are many characters >>>>> long and the environment that check_cluster2 runs in doesn't have enough >>>>> space on the command line for all the numbers. Any characters that make >>>>> up the 23rd ID number are truncated, hence 1 service always critical, >>>>> that service ID isn't found. >>>>> >>>>> Does this sound like what is happening? Is there another clever way to >>>>> pass the list of service state ID numbers to the forked process so that >>>>> there is no truncation and you can pass as many service state ID numbers >>>>> as you want? >>>>> >>>>> If you can help or have suggestions please email me or the list :) >>>>> >>>>> Thanks, >>>>> >>>> >>> >>> >> > > -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu-ting_liu at agilent.com Thu Feb 3 08:36:20 2005 From: yu-ting_liu at agilent.com (yu-ting_liu at agilent.com) Date: Thu, 3 Feb 2005 15:36:20 +0800 Subject: FW: Indirect host and service checks to Wintelplatform Message-ID: Hi, It's solved! I think I got confused by the file send_nsca existing on my Window2000 client. In fact NSClient just simply uses plugin check_nt to start the perfomance checking processes on wintel platform and get the checking results. Thanks again! Regards! Yu Ting -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of yu-ting_liu at agilent.com Sent: Monday, January 31, 2005 10:12 PM To: strombrg at dcs.nac.uci.edu; h.januschka at krone.at Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Indirect host and service checks to Wintelplatform Hi, Thanks for your replying! In Nagio document it only mentioned the Indirect Host/Service Checks of NRPE, instead of NSCA. I have used one Linux box - intermediary agent behind firewall to collect all the client's host/service checking results, then central server gets all the information from this agent again. By this way I have implemented all UNIX clients indirect host/service checks because UNIX client's host/service checking uses nrpe. Now I want to do the same thing to all the Wintel clients, but Wintel client's checking is different, it uses NSCA (NSClient). I am sill not clear about how window clients submit service (CPU/Disks...) checking result to central monitoring server by NSClient. The server is running plugin "check_nt". Win2K clients are running NSClient and it seems to use send_nsca to send service checking result. So I get confused since NSclient can use send_nsca and send information to server's external command file why server still needs to run plugin "check_nt" to each Wintel client? Thanks & Regards! Yu Ting -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dan Stromberg Sent: Saturday, January 29, 2005 2:50 AM To: yu-ting_liu at agilent.com Cc: strombrg at dcs.nac.uci.edu; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Indirect host and service checks to Wintelplatform You'll likely either want to allow connections from your nagios server through to your windows boxes that need monitoring, or use a unix/linux box behind your firewall to do the checking, and then use "passive checking" to push the results out to the central nagios server. Another option is to allow ssh through the firewall to a particular unix/linux host, and check_by_ssh. On Fri, 2005-01-28 at 18:30 +0800, yu-ting_liu at agilent.com wrote: > Hi, > > I am a user of nagios. > > Due to firewall I have to use indirect host/service checking. Now I have implemented it to UNIX clients but for Window2000 clients which use NSClient, I don't know if it's possible and how to do it? Anybody has such experience or any helpful document introduced? > > BTW my server and indirect host are all Linux platform. > > Thanks & Regards! > Yu Ting > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Feb 3 09:46:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 03 Feb 2005 09:46:59 +0100 Subject: check_ping -- how to get -i option ? In-Reply-To: <192E38594ACFAF4EB4F40E1C4B60472306014CA9@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B60472306014CA9@tayexc13.americas.cpqcorp.net> Message-ID: <4201E503.2010209@op5.se> Minkov, Ross wrote: > Thanks Andreas. I'll try check_icmp. > > >>Btw. I noticed you're a HP employee. Are you familiar with the HP >>Testdrive program? I'd like to get my hands on a HP-UX 11i running on >>PA-RISC 2 for NRPE development and testing. Would you be able to fix > > that? > > Main HP TestDrive web site is -- http://www.testdrive.hp.com/ > > To register for an account -- > http://www.testdrive.hp.com/accounts/register.shtml > > I think we have PA RISC rp3410 server running HP-UX v2 available for > test drive. The rp3410 has two PA-8800 800MHz cpus and 2GB of memory. > My bad. I meant PA-RISC 1.1. I'm already signed up for hp testdrive (excellent service!) and things seems to be working well on the available machines. > > Regards, > Ross > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: Tuesday, February 01, 2005 7:23 PM > To: nagios_list > Subject: Re: [Nagios-users] check_ping -- how to get -i > option ? > > Minkov, Ross wrote: > >>>My workaround right now is to use "check_ping -t 10 -w 3000.0,80% -c >>>5000.0,100% -p 1", and to specify "max_check_attempts 30" so that i >>>know that a host is definitely down for at least 5 minutes before I >>>get a HOST DOWN alert. >> >> >>The way I solved similar problem ( I'm not saying this is the right > > way > >>;-) ) was to modify the check-host-alive command definition as > > follows: > >># 'check-host-alive' command definition >>define command{ >> command_name check-host-alive >> command_line $USER1$/check_ping -H $HOSTADDRESS$ -w >>3000.0,80% -c 5000.0,100% -p 10 >> } >> >>This kind of achieves the same... Instead of sending one ping and >>waiting for 10 seconds for a response (-t 10) I send 10 pings... Not >>sure which way is better... >> > > > check_icmp is better, since it won't take as long when the host is up > and will thus make your Nagios installation perform a whole lot better > when service checks fail. > > >>Regards, >>Ross >> > > > Btw. I noticed you're a HP employee. Are you familiar with the HP > Testdrive program? I'd like to get my hands on a HP-UX 11i running on > PA-RISC 2 for NRPE development and testing. Would you be able to fix > that? > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From squadra.breno at telemigcelular.com.br Thu Feb 3 13:01:28 2005 From: squadra.breno at telemigcelular.com.br (Breno Andrade Cotta) Date: Thu, 3 Feb 2005 09:01:28 -0300 Subject: Wap Access Nokia Message-ID: <8E3A4AB6889F924DB69AA6B5CC3BD0382D37611A@ajuda.celular.com.br> Hi All, I configure Nagios 1.2 to access throw wap. I have 2 cellfone and in sonyericsson everything is fine Nagios open all link?s, but in the another one Nokia the first page open but the other don?t work. Do you any idea what can I do? Regards, -- Breno Andrade Cotta - adm. redes engenharia Rede de presta??o de servi?os e transmiss?o GPRS TC/AC Telemig Celular SA - Fone: +55 (31) 9977-2841 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrl at express.org Thu Feb 3 15:40:11 2005 From: wrl at express.org (William R. Lorenz) Date: Thu, 3 Feb 2005 09:40:11 -0500 (EST) Subject: Nagios-MySQL Locking Issues? Message-ID: Greetings, When starting NAGIOS, it doesn't seem that it's able to lock the tables correctly and write status information to the database. Specifically: Nagios 1.2 starting... (PID=12131) Error: Could not read program retention data from table programretention Error: Could not read host retention data from table hostretention Error: Could not read service retention data from table serviceretention Error: Could not lock status data tables in database '' I've even tried granting NAGIOS global access in MySQL, and this doesn't seem to help. Is there something obvious I'm missing here? I'd greatly appreciate any ideas you guys might have. Thanks, in advance. -- _ __ __ ___ _| | William R. Lorenz \ V V / '_| | http://www.express.org/~wrl/ ; "Every revolution was first \./\./|_| |_| a thought in one man's mind." - Ralph Waldo Emerson ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Thu Feb 3 16:30:57 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 3 Feb 2005 16:30:57 +0100 Subject: Monitoring HP ProLiant Linux servers -- Nagios vs. OVO vs. SIM Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9672@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I didn't wrote the plugin, so I can't distribute it...although, it is already distributed and can be found in the nagios plugins contrib folder . Greets, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Benoit Mortier > Sent: Tuesday, February 01, 2005 11:19 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring HP ProLiant Linux > servers -- Nagios vs. OVO vs. SIM > > Le Mardi 1 F?vrier 2005 16:52, Sand Philipp a ?crit?: > > Hi, > > > > We're using Nagios + Insight Manager. Works fine for us. > > > > We use Nagios as our main monitoring Platform, and have > integrated the > > HP Insight Manager into the Nagios. The Plugin we're using > is based on > > snmp queries to get the status of the local insight manager client, > > and reports them to the nagios. When it detects an error, > the status > > in nagios changes, we get a little Status info like "SCSI > degraded" or > > something, and we connect to the insight manager and have a further > > look. All the other stuff like monitoring disk space, processes, > > memory, some handwritten stuff is beeing checked by nagios plugins. > > I think the HP Insight Manager is very good to monitor all the > > Hardware Issues, but Nagios is much more flexible with other checks. > > Hi, > > could you share the plugin with us ? is it gpl ? i yes could > you upload it to nagiosplug project at sourceforge. > > Thanks > > -- > Benoit Mortier > Linux Engineer > www.opensides.be > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ----------------------------------------------------------------------------------------- Hilfe f?r Khao Lak. Eine Spendeninitiative der Otto Bock Stiftung. Unsere Spendenhotline: 0900 - 11 10 15 0 Mit jedem Anruf aus dem Festnetz spenden Sie 5,- Euro. Weitere Informationen unter www.ottobock.de . Spendenkonto: Konto: 40 44, Sparkasse Duderstadt BLZ:260 512 60 ----------------------------------------------------------------------------------------- Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 3 16:50:07 2005 From: mpowell at ena.com (Marc Powell) Date: Thu, 3 Feb 2005 09:50:07 -0600 Subject: CGIs treated as text, not executed? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Neal Rauhauser > Sent: Thursday, February 03, 2005 1:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CGIs treated as text, not executed? > > > > I haven't touched the graphical interface for Nagios in maybe five > years but I don't recall it being as much work as its made for me the > last few days. I've configured the stuff in /usr/local/etc/apache and > this seems to be right - accessing http://machine/nagios/ produces a > nagios page, but when I click on one of the reports it shows me strings > from inside the CGI binary instead of executing it. I've checked > ownership and permissions on the binaries and they look right - > executeable, owned by www, and they behave like a normal CGI when > invoked from the command line. > > The host OS is FreeBSD 4.10 and here is what I believe to the the > relevant config snippets. I know this has to be some stupid one line > config thing but I'm just not seeing ... any ideas? > > > > Alias /nagios/ /usr/local/share/nagios/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > ScriptAlias /nagios/cgi-bin/ /usr/local/share/nagios/cgi-bin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > Do you also have -- LoadModule cgi_module modules/mod_cgi.so AddModule mod_cgi.c And possibly (but not necessary in this case I believe) -- AddHandler cgi-script .cgi .pl You'll need to restart httpd if you make any changes to the conf file of course. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkirhlarov at oilspace.com Thu Feb 3 17:00:00 2005 From: dkirhlarov at oilspace.com (Dmitriy Kirhlarov) Date: Thu, 3 Feb 2005 16:00:00 +0000 Subject: problems with distributed monitoring Message-ID: <20050203160000.GA28773@office.oilspace.com> Hi! We are trying to implement distributed monitoring scheme with snmp and passive checks, in general. For transfering passive checks results from a client to "monitoring" nagios we use nsca without crypting (BTW, nsca-2.4 can't be compiled without libmcrypt. We had be write a patch) Data are transfered every min. "Monitoring" nagios has oscp_command set to script, which puts data to "to_send.dump" file. Every 30 sec other script transfers accumulated data from the "to_send.dump" file to "central" nagios via nsca over ssh-forwarded port. All work fine on the "monitoring" nagios. All services "OK". But, on "central" nagios most part of services are in flapping and/or unknown status. As I can see, those services was configured as active checks on "monitoring" nagios. My templates: on "monitoring" nagios: ----- define service{ name generic-service register 0 is_volatile 0 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r notifications_enabled 0 contact_groups admins } define service{ use generic-service register 0 name minfra01-active freshness_threshold 180 passive_checks_enabled 1 active_checks_enabled 1 } define service{ use generic-service register 0 name minfra01-passive freshness_threshold 180 passive_checks_enabled 1 active_checks_enabled 0 } ----- On "central" nagios: ---- define service{ name generic-service register 0 is_volatile 0 max_check_attempts 3 normal_check_interval 4 retry_check_interval 2 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r notifications_enabled 0 contact_groups admins } define service{ use generic-service register 0 name minfra01-active passive_checks_enabled 1 active_checks_enabled 0 } define service{ use generic-service register 0 name minfra01-passive freshness_threshold 600 passive_checks_enabled 1 active_checks_enabled 0 } ---- WBR -- Dmitriy Kirhlarov OILspace, 4, B. Spasskaya str. room 01, 107978 Moscow, Russia P:+7 095 787 4700 F:+7 095 787 4701 E:DmitriyKirhlarov at oilspace.com OILspace - The resource enriched - www.oilspace.com ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Thu Feb 3 17:13:24 2005 From: jason.payne at iland.com (Jason Payne - iland Internet Solutions) Date: Thu, 3 Feb 2005 10:13:24 -0600 Subject: The infamous debian statusmap problem Message-ID: <7A626FF425518246801C933014AA98F059A13D@hou-ex01.ihtx.iland.com> OK, that hit the spot. Thanks. I ended up apt-get removeing libgd2 and libgd2-dev and downloading the latest libgd from their homepage. I added /usr/local/lib to /etc/ld.so.conf and ldconfigged. I had libpng and libjpeg62 installed via apt-get. All of this was on a debian 3.0 stable machine. Nagiosians to the rescue! -Jason Jason Payne Network Operations jason.payne at iland.com voice: 1.800.697.7088 fax: 713.868.2268 http://www.iland.com/ iLand Internet Solutions Corporation __________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jeff Scott Sent: Wednesday, February 02, 2005 6:54 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] The infamous debian statusmap problem I had the same problem, and I had to have libpng.so.3, I believe. And once I had that library, I had to recompile the CGIs. Now it works. However, my problem now is the statusmap doesn't look "as nice" as the demo's I've seen. My hosts get overlaid on top of each other, etc. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Payne - iland Internet Solutions Sent: Wednesday, February 02, 2005 9:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] The infamous debian statusmap problem Hi nagiosians, Any help would be greatly appreciated. I cannot get the statusmap to work for the life of me. The image doesnn't show up but I can hover my mouse over it and the box will come up for the appropriate device. I've searched the mailing list and google and have not been able to simply get it working. I have done a: apt-get install libgd2 apt-get install libgd2-dev apt-get install libjpeg62 apt-get install libjpeg62-dev apt-get install libpng Here starts the pasting: nagios:~/nagios-1.2# ldconfig -p | grep libgd libgd.so.2 (libc6) => /usr/lib/libgd.so.2 nagios:~/nagios-1.2# ldconfig -p | grep libpng libpng.so.2 (libc6) => /usr/lib/libpng.so.2 nagios:~/nagios-1.2# ldconfig -p | grep libjp libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62 I have the following files in /usr/lib: libgd.a libgd.so libgd.so.2 libgd.so.2.0.1 libpng.a libpng.so libpng.so.2 libpng.so.2.1.0.12 libjpeg.a libjpeg.la libjpeg.so libjpeg.so.62 libjpeg.so.62.0.0 nagios:~/nagios-1.2# rm config.cache nagios:~/nagios-1.2# configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include checking for gdImagePng in -lgd (order 1)... yes GD library was found! nagios.iland.com-error.log: [Wed Jan 26 10:52:10 2005] [error] [client 198.78.170.1] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Jason Payne Network Operations jason.payne at iland.com voice: 1.800.697.7088 fax: 713.868.2268 http://www.iland.com/ iLand Internet Solutions Corporation __________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Efe Ohimor Sent: Wednesday, February 02, 2005 10:17 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 3D-Status Map Hi Everyone I was able to view the 3D-Status map using Mozilla on my RedHat Linux system.I downloaded FreeWRL VRML/X3D browser from http://sourceforge.net/project/showfiles.php?group_id=9120&package_id=9189&r elease_id=290716 .Iam thinking of how to develeop it. Efe Ohimor ipNX Nigeria Limited 4,Balarabe Musa Crescent, Victoria Island, Lagos. Tel:234-1-4619943-6 ext 1212 Fax:2614633 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at kingcon.com Thu Feb 3 18:41:10 2005 From: ian at kingcon.com (ian at kingcon.com) Date: Thu, 3 Feb 2005 12:41:10 -0500 Subject: plugins 1.3.1 basic problem Message-ID: Im wondering where in the documentation it tells explicitly how to make the plugins work with the nagios distribution. I downloaded (a non beta thanks for the hint) distribution, 1.2, installed it. Then downloaded the 1.3.1 distribution of the nagios plugins. Currently my nagios etc folder has a checkcommands.cfg, from various help files I gather I must use the command.cfg file in the plugins distribution. From that file I gather I must use the convertcfg file to convert the commands file to a commands object type. When I do this and replace checkcommands.cfg with the command.cfg in the nagios.cfg file, it still tells me I have invalid arguments in the command.cfg file, just like it did in the checkcommands.cfg file. Im probably confused, but Im interested. So if the above sounds stupid tell me. I've looked through the docs and I see the sections on making these object files... but if I cant use the suplied commands file, how do I go about figuring out all the arguments for the different commands to build it from scratch? Ian Hardy Network Administrator Network + The Kingdom Connection 1-802-748-5866 P.O. Box 526 St. Johnsbury VT 05819 416E67656C697175652C20616B752063696E7461206B616D7521203A58 Check out www.missingkids.com Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Merrill Information systems Inc. are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bob at cdsinc.com Thu Feb 3 19:40:25 2005 From: bob at cdsinc.com (Bob Cunningham) Date: Thu, 3 Feb 2005 08:40:25 -1000 Subject: nagios 2 won't compile on solaris 8 In-Reply-To: <200502030328.j133Spx02941@web001.tier3.us> References: <200502030328.j133Spx02941@web001.tier3.us> Message-ID: <6fdc541d6e2a6be2a32ff607d31bf93c@cdsinc.com> Nagios 2.x uses the setenv & unsetenv functions. Which found their way into Linux a while back, but which aren't in Solaris. (FYI, they aren't POSIX but are in BSD, although not SV4.) I'll reprise what I said in a message a week or two ago re Solaris 9 (but it's the same thing with Solaris 8) .... What I did was cut & paste those trivial functions from: http://article.gmane.org/gmane.network.nagios.devel/1443 ... and added those into base/utils.c of nagios 2.2. To be precise, here is a diff of base/utils.c for you: 225,236d224 < int setenv(const char *name, const char *value, int overwrite) { < if (!overwrite && getenv(name) != NULL) < return 0; < char* e = malloc(strlen(name) + strlen(value) + 3); < if (e == NULL) return -1; < *e = 0; < strcat(e, name); < strcat(e, "="); < strcat(e, value); < return putenv(e); < // should not free e, and we can't safely free any former value. < } 238,249d225 < /* see < http://viewcvs.globus.org/viewcvs.cgi/gatekeeper/source/unsetenv.c? rev=HEAD&content-type=text/vnd.viewcvs-markup < */ < static char * < __findenv(name, offset) < register const char *name; < long *offset; < { < extern char **environ; < register int len; < register const char *np; < register char **p, *c; 251,279d226 < if (name == NULL || environ == NULL) < return (NULL); < for (np = name; *np && *np != '='; ++np) < continue; < len = np - name; < for (p = environ; (c = *p) != NULL; ++p) < if (strncmp(c, name, len) == 0 && c[len] == '=') { < *offset = (long)(p - environ); < return (c + len + 1); < } < return (NULL); < } < void < unsetenv(name) < const char *name; < { < extern char **environ; < register char **p; < long offset; < < while (__findenv(name, &offset)) /* if set multiple times */ < for (p = &environ[offset];; ++p) < if (!(*p = *(p + 1))) < break; < } < < < < ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffb.list at gmail.com Thu Feb 3 19:41:53 2005 From: jeffb.list at gmail.com (Jeff B) Date: Thu, 3 Feb 2005 13:41:53 -0500 Subject: Checking the availibility of the NRPE Service Message-ID: I have had a situations where the box that I'm monitoring with NRPE has had it's load average go high enough to cause the NRPE checks to time out. This causes Nagios to send out critical alerts for every service that is being monitored with NRPE. I want to monitor the availability of the NRPE service and depend all of the NRPE checks to the one that checks NRPE's availability. I'm not sure the best way to do this and was wondering if someone on the list has already worked through this situation. I'm thinking that check_tcp is what I want to use, but I'm unsure if I need any extra -s -e flags, or if the default connect test will behave the way I want when it encounters high load. Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Feb 3 19:55:58 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 3 Feb 2005 10:55:58 -0800 Subject: Checking the availibility of the NRPE Service In-Reply-To: References: Message-ID: <20050203185557.GU1574@zippy.toger.us> On Thu, Feb 03, 2005 at 01:41:53PM -0500, Jeff B wrote: > service that is being monitored with NRPE. I want to monitor > the availability of the NRPE service and depend all of the > NRPE checks to the one that checks NRPE's availability. One way to do that is define the host-check command to do a check_nrpe against the host. When no -c command is supplied it checks that NRPE is available. That also inherently makes all services on the host dependent on NRPE. If that isn't sensitive enough, you could arbitrarily use a given plugin on the host as the host check, but set with high enough thresholds that the only non-OK value is when the plugin fails. -Jason Martin -- This tagline only to be removed by the consumer. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From strombrg at dcs.nac.uci.edu Thu Feb 3 20:16:09 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Thu, 03 Feb 2005 11:16:09 -0800 Subject: nagios 2 won't compile on solaris 8 In-Reply-To: <200502030328.j133Spx02941@web001.tier3.us> References: <200502030328.j133Spx02941@web001.tier3.us> Message-ID: <1107458169.10571.176.camel@seki.nac.uci.edu> You can fairly easily get setenv() and unsetenv() functions by linking - liberty or my -lgeneric library. On Wed, 2005-02-02 at 20:29 -0700, Jeff Scott wrote: > I?ve seen some post about Solaris 8 + nagios 2.01b, but I can?t seem > to get it to compile. (Nagios 1.2 compiles fine, and works 100%). > I?ve installed the gd2 stuff from blastwave, and all the dependant > packages. I?ve setup the libraries with crle. I have all the > environment variables set. Configure runs without errors. But compile > fails?.. > > > > $env > > ?stuff removed?. > > LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/usr/openwin/lib:/usr/dt/lib:/usr/ucblib:/usr/local/mysql/lib/mysql:/opt/csw/lib > > LD_OPTIONS=-R/opt/csw/lib -L/opt/csw/lib > > CC=gcc > > USER=root > > MACHTYPE=sparc-sun-solaris2.8 > > CPPFLAGS=-I/opt/csw/include > > > > $pkginfo |grep CSW > > system CSWbinutils binutils - GNU 'binary utilities': > gas, gld, gprof, and others > > system CSWcommon common - common files and dirs for > CSW packages > > system CSWcswutils cswutils - Utilities for CSW > maintainers at blastwave.org > > application CSWexpat expat - XML Parser Toolkit > > system CSWftype2 freetype2 - font rendering library > > application CSWgcc3 gcc3 - GNU Compiler Collection > version 3 branch > > application CSWgcc3rt gcc3rt - GNU Compiler Collection > version 3 branch run-time > > system CSWgd gd - libgd, Graphics creation library > and utilities > > system CSWggettext ggettext - GNU gettext > > system CSWiconv libiconv - GNU iconv library > > system CSWjpeg jpeg - lib and tools for JPEG image > format > > system CSWpkgget pkg_get - CSW version of automated > package download tool > > system CSWpng png - library for Portable Network > Graphics format (PNG) > > system CSWtextutils textutils - GNU text file processing > utilities > > system CSWxpm xpm - library for X11 PixMap format > (libXpm.so.4.11) > > application CSWzlib zlib - Zlib Data Compression Library > > > > $crle > > > > Configuration file [3]: /var/ld/ld.config > > Default Library Path (ELF): /opt/csw/lib:/usr/lib > > Trusted Directories (ELF): /usr/lib/secure (system default) > > > > Command line: > > crle -c /var/ld/ld.config -l /opt/csw/lib:/usr/lib > > > > > > > > > > $make all > > cd ./base && make > > make[1]: Entering directory `/root/nagios/nagios-2.0b1/base' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o > nebmods.o checks.o config.o commands.o events.o flapping.o logging.o > notifications.o sehandlers.o utils.o retention-base.o xretention- > base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o > statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o > downtime-base.o xdowntime-base.o -lm -lnsl -lsocket -lpthread - > ldl -lrt > > Undefined first referenced > > symbol in file > > setenv utils.o > > unsetenv utils.o > > ld: fatal: Symbol referencing errors. No output written to nagios > > collect2: ld returned 1 exit status > > make[1]: *** [nagios] Error 1 > > make[1]: Leaving directory `/root/nagios/nagios-2.0b1/base' > > make: *** [all] Error 2 > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From Chris at deVidal.tv Thu Feb 3 20:31:14 2005 From: Chris at deVidal.tv (Chris de Vidal) Date: Thu, 3 Feb 2005 14:31:14 -0500 (EST) Subject: SOLVED: Monitor a host without ping Message-ID: <4657.216.140.242.84.1107459074.squirrel@216.140.242.84> As per the recommendations of Subhendu Ghosh, Patrick Proy and Carsten Schmitz, I created a custom check command. On Debian I created /usr/share/nagios/pluginconfig/ssh.cfg and placed this inside: define command{ command_name check_ssh_602 command_line /usr/lib/nagios/plugins/check_ssh -p 602 $HOSTADDRESS$ } I then ran update-nagios and it worked like a champ. Thanks to you three! CD Have you ever lied? No matter the color, no matter how small. I have. Have you ever stolen anything, no matter the amount? I have. Have you ever lusted? I have. Jesus said whoever looks at a woman with lustful intent has already committed adultery with her in his heart. We are lying, theiving, adulterers at heart and will face judgement one day. There is good news for us! "God shows his love for us in that while we were still sinners, Christ died for us. Since, therefore, we have now been justified by his blood, much more shall we be saved by him from the wrath of God." (Romans 5:8,9) ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From en at megahosted.com Thu Feb 3 20:52:22 2005 From: en at megahosted.com (Eric Nelson) Date: Thu, 03 Feb 2005 11:52:22 -0800 Subject: persistent acknowledgements? Message-ID: <420280F6.9070607@megahosted.com> Hello everyone, hope you're all having a great day today! I have a user here that has just brought up an interesting issue in regards to handling of acknowledgements within nagios. I've searched around quite a bit on the matter and was wondering if any of you have found a good workaround for the following (besides removal of notifications on warn). 1. Some check will go critical 2. We'll acknowledge it 3. Some check will drop to warning 4. We'll have to acknowledge it again Is there a way to make acknowledgements persistent in a way that we might get a state change, but not have to re-acknowledge when a service goes from a state of being critical and acknowledged to warning? -- Eric Nelson http://www.megahosted.com/~en/ GPG-key: C4AB5707 Fingerprint: 9E50 D5C2 2B02 A944 1A28 5CA5 366A 0294 C4AB 5707 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Greg.Nolan at disney.com Thu Feb 3 20:58:10 2005 From: Greg.Nolan at disney.com (Nolan, Greg) Date: Thu, 3 Feb 2005 11:58:10 -0800 Subject: Nagios install on gentoo Message-ID: > I am attempting to setup a test nagios server (moving from Solaris to > Linux) on gentoo and I have hit a wall. > > Symptoms: > Unable to view any data under server detail, host detail, status > overview.... On the website > Ther error I receive is the general error saying "make sure nagios is > running..." > > Data: > 1. Nagios runs perfectly fine as a Daemon. When I run ps ax|grep > nagios: > 18884 ? Ss /usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg > 2. ScriptAlias in apache is properly configured > 3. nagios.log reports no problem > 4. apache's log shows no issues > 5. /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg reports no errors > > Any help would be greatly appreciated. Thanks. > > ---------------------------------------------------- > Greg Nolan > Data Communications Analyst > Network Technical Support > The Walt Disney Company > > ---------------------------------------------------- > > This communication is confidential, intended only for the named > recipient(s) above and may contain trade secrets or other information > that is exempt from disclosure under applicable law. Any use, > dissemination, distribution or copying of this communication by anyone > other than the named recipient(s) is strictly prohibited. If you have > received this communication in error, please notify me immediately by > calling > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Feb 3 21:07:09 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 3 Feb 2005 15:07:09 -0500 (EST) Subject: Nagios install on gentoo In-Reply-To: References: Message-ID: make sure that the "check_nagios" command is configured properly in cgi.cfg On Thu, 3 Feb 2005, Nolan, Greg wrote: > > >> I am attempting to setup a test nagios server (moving from Solaris to >> Linux) on gentoo and I have hit a wall. >> >> Symptoms: >> Unable to view any data under server detail, host detail, status >> overview.... On the website >> Ther error I receive is the general error saying "make sure nagios is >> running..." >> >> Data: >> 1. Nagios runs perfectly fine as a Daemon. When I run ps ax|grep >> nagios: >> 18884 ? Ss /usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg >> 2. ScriptAlias in apache is properly configured >> 3. nagios.log reports no problem >> 4. apache's log shows no issues >> 5. /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg reports no errors >> >> Any help would be greatly appreciated. Thanks. >> -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Greg.Nolan at disney.com Thu Feb 3 21:32:38 2005 From: Greg.Nolan at disney.com (Nolan, Greg) Date: Thu, 3 Feb 2005 12:32:38 -0800 Subject: Nagios install on gentoo Message-ID: Well, it does not seem like nagios is creating a status file so check_nagios fails. -g -----Original Message----- From: sghosh at sghosh.org [mailto:sghosh at sghosh.org] Sent: Thursday, February 03, 2005 12:07 PM To: Nolan, Greg Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios install on gentoo make sure that the "check_nagios" command is configured properly in cgi.cfg On Thu, 3 Feb 2005, Nolan, Greg wrote: > > >> I am attempting to setup a test nagios server (moving from Solaris to >> Linux) on gentoo and I have hit a wall. >> >> Symptoms: >> Unable to view any data under server detail, host detail, status >> overview.... On the website Ther error I receive is the general error >> saying "make sure nagios is running..." >> >> Data: >> 1. Nagios runs perfectly fine as a Daemon. When I run ps ax|grep >> nagios: >> 18884 ? Ss /usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg >> 2. ScriptAlias in apache is properly configured >> 3. nagios.log reports no problem >> 4. apache's log shows no issues >> 5. /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg reports no errors >> >> Any help would be greatly appreciated. Thanks. >> -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Feb 3 21:36:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 03 Feb 2005 21:36:59 +0100 Subject: Nagios-MySQL Locking Issues? In-Reply-To: References: Message-ID: <42028B6B.5050307@op5.se> William R. Lorenz wrote: > Greetings, > > When starting NAGIOS, it doesn't seem that it's able to lock the tables > correctly and write status information to the database. Specifically: > > Nagios 1.2 starting... (PID=12131) > Error: Could not read program retention data from table programretention > Error: Could not read host retention data from table hostretention > Error: Could not read service retention data from table serviceretention > Error: Could not lock status data tables in database '' > Could not lock status data tables in database '' means you haven't specified a database. It's no wonder nagios can't update things in the (void *)0 database. Anyways. Database support has been removed in nagios 2.0, so you might want to drop it as well. > I've even tried granting NAGIOS global access in MySQL, and this doesn't > seem to help. Is there something obvious I'm missing here? I'd greatly > appreciate any ideas you guys might have. Thanks, in advance. > > -- _ __ __ ___ _| | William R. Lorenz \ V V > / '_| | http://www.express.org/~wrl/ ; "Every revolution was first > \./\./|_| |_| a thought in one man's mind." - Ralph Waldo Emerson > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 3 21:38:29 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 3 Feb 2005 15:38:29 -0500 (EST) Subject: Nagios install on gentoo In-Reply-To: References: Message-ID: If Nagios is not creating a status file, then - a) you have an issue with nagios not being able to creat a status file or b) you are using a db to store status. - if so, need to change check_nagios to check_nagios_db from the plugin contrib -sg On Thu, 3 Feb 2005, Nolan, Greg wrote: > Well, it does not seem like nagios is creating a status file so > check_nagios fails. > > -g > > -----Original Message----- > From: sghosh at sghosh.org [mailto:sghosh at sghosh.org] > Sent: Thursday, February 03, 2005 12:07 PM > To: Nolan, Greg > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios install on gentoo > > > > make sure that the "check_nagios" command is configured properly in > cgi.cfg > > On Thu, 3 Feb 2005, Nolan, Greg wrote: > >> >> >>> I am attempting to setup a test nagios server (moving from Solaris to >>> Linux) on gentoo and I have hit a wall. >>> >>> Symptoms: >>> Unable to view any data under server detail, host detail, status >>> overview.... On the website Ther error I receive is the general error > >>> saying "make sure nagios is running..." >>> >>> Data: >>> 1. Nagios runs perfectly fine as a Daemon. When I run ps ax|grep >>> nagios: >>> 18884 ? Ss /usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg >>> 2. ScriptAlias in apache is properly configured >>> 3. nagios.log reports no problem >>> 4. apache's log shows no issues >>> 5. /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg reports no errors >>> >>> Any help would be greatly appreciated. Thanks. >>> > > -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Chuck at BlackForest-Co.com Fri Feb 4 01:10:35 2005 From: Chuck at BlackForest-Co.com (Chuck at BlackForest-Co.com) Date: Thu, 3 Feb 2005 17:10:35 -0700 (MST) Subject: problems with distributed monitoring In-Reply-To: <20050203160000.GA28773@office.oilspace.com> References: <20050203160000.GA28773@office.oilspace.com> Message-ID: <53741.166.34.160.148.1107475835.squirrel@www.blackforest-co.com> > Hi! > > We are trying to implement distributed monitoring scheme with snmp and > passive checks, in general. > > For transfering passive checks results from a client to "monitoring" > nagios we use nsca without crypting (BTW, nsca-2.4 can't be compiled > without libmcrypt. We had be write a patch) Data are transfered every > min. > I just went thru the same task (setting DM up) The thing that got me was if you load Nagios and run it, then stop and conver to DM you have all sorts of headaches. Reason: history/retension - stop nagios - go to ../var and do "> nagios.log" - zero it out. And every other .log, and archive. Then restart Nagios. See if things don't run a little better. Rots'a ruck ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lshobbrook at fasttrack.net.au Fri Feb 4 01:52:49 2005 From: lshobbrook at fasttrack.net.au (Lewis Shobbrook) Date: Fri, 4 Feb 2005 11:52:49 +1100 Subject: Error: Could not insert/update status record for program in table Message-ID: <0C8098CA7F09CE419F0C2B68EB83587648B665@exchange.fasttrack.net.au> Hi Folkert, > Sent: Thursday, 3 February 2005 21:59 > To: Lewis Shobbrook > Subject: Error: Could not insert/update status record for > program in table > > Hi, > > Have you found a solution for the: > Error: Could not insert/update status record for program in > table 'programstatus' of database 'nagios' error? > The solution was to update mysql-server to the latest release (for debian unstable at least). I believe it had something to do with an issue concerning the unixtime sql attribute that had changed with a recent mysql-server update (not nagios-mysql at all); an issue that has now apparently been rectified. I also had to update apache-ssl as I found after fixing the previous problem I also had an auth issue and was not prompted to logon to nagios and therefor unable to view status. The order in which apache loads the modules is important, I've noted on a couple of updates of late that auth gets broken and returning to the module.conf load order of ... LoadModule apache_ssl_module /usr/lib/apache/1.3/libssl.so LoadModule auth_module /usr/lib/apache/1.3/mod_auth_ssl.so ... fixes the issue. libssl.so needs to be loaded prior to mod_auth_ssl.so or mod_auth_ssl.so fails. I'm not sure why this has happened with the debian updates lately? All well now! Hope this helps. Cheers, Lewis Shobbrook ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrl at express.org Fri Feb 4 02:01:25 2005 From: wrl at express.org (William R. Lorenz) Date: Thu, 3 Feb 2005 20:01:25 -0500 (EST) Subject: Nagios-MySQL Locking Issues? In-Reply-To: <42028B6B.5050307@op5.se> References: <42028B6B.5050307@op5.se> Message-ID: Hi Andreas, On Thu, 3 Feb 2005, Andreas Ericsson wrote: >> Nagios 1.2 starting... (PID=12131) >> Error: Could not read program retention data from table programretention >> Error: Could not read host retention data from table hostretention >> Error: Could not read service retention data from table serviceretention >> Error: Could not lock status data tables in database '' > Could not lock status data tables in database '' means you haven't > specified a database. It's no wonder nagios can't update things in the Well, I followed all the instructions for configuring the database at: http://nagios.sourceforge.net/docs/1_0/xdata-db.html This is NAGIOS 1.2, and my configuration files seem to be alright (see below). I even tried recompiling, just to make sure the ./configure script got all the right options in place (and all --with-mysql's are there). Do you have any other suggestions as to what I can try? Would it help if I sent over the complete configuration files? [root at bmsmnt01 etc]# grep db_ cgi.cfg xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=nagios xeddb_password=j3jd9C55 xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios xsddb_password=j3jd9C55 xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=j3jd9C55 xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=nagios xdddb_password=j3jd9C55 [root at bmsmnt01 etc]# grep db_ resource.cfg xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios xsddb_password=j3jd9C55 xsddb_optimize_data=1 xsddb_optimize_interval=3600 xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=j3jd9C55 xcddb_optimize_data=1 xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=nagios xdddb_password=j3jd9C55 xdddb_optimize_data=1 xrddb_host=localhost xrddb_port=3306 xrddb_database=nagios xrddb_username=nagios xrddb_password=j3jd9C55 xrddb_optimize_data=1 [root at bmsmnt01 etc]# -- _ __ __ ___ _| | William R. Lorenz \ V V / '_| | http://www.express.org/~wrl/ ; "Every revolution was first \./\./|_| |_| a thought in one man's mind." - Ralph Waldo Emerson ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Fri Feb 4 02:49:36 2005 From: jnichols at pbp.net (Jonathan Nichols) Date: Thu, 03 Feb 2005 17:49:36 -0800 Subject: Nagios install on gentoo In-Reply-To: References: Message-ID: <4202D4B0.9090007@pbp.net> > 1. Nagios runs perfectly fine as a Daemon. When I run ps ax|grep nagios: > 18884 ? Ss /usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg > 2. ScriptAlias in apache is properly configured > 3. nagios.log reports no problem > 4. apache's log shows no issues > 5. /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg reports no errors > > Any help would be greatly appreciated. Thanks. > What did you compile it with? "equery uses nagios-core" will show you what use flags you compiled with. I have the following in /etc/portage/package.use net-analyzer/nagios -mysql -postgres net-analyzer/nagios-core -mysql -postgres That way it won't compile with mysql or postgres support. If you compiled with MySQL support, chances are it's dumping a LOT OF STUFF to the mysql.log right now. I ran into that a time or two. :-) -Jonathan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iamyolanda at gmail.com Fri Feb 4 10:47:18 2005 From: iamyolanda at gmail.com (Yolanda Santos) Date: Fri, 4 Feb 2005 10:47:18 +0100 Subject: How to configure and run NRPE? Message-ID: Hi, I have installed Nagios in a Linux Red Hat and i'm trying to check memory and CPU using NRPE and NRPE_NT. I have installed the 'Nagios Remote Plugin Executor for NT/W2K' service in a host with XP, and in the nagios server the check_nrpe command. I follow the help to check this parameters but I don't get the value, only this message: ./check_nrpe -H (XP's IP)10.170.17.38 -c check_disk Message: NRPE_NT failed to create process, exitig.... Am i launching the command incorrectly? The nrpe.cfg file is in /sr/local/nagios/etc and the command configuration: command [check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 Is something wrong in the command definition? Is there another way to get this information of remote hosts? (NSClient??, SNMP??...) Thanks ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gimenez at cict.fr Fri Feb 4 10:59:01 2005 From: gimenez at cict.fr (carole gimenez) Date: Fri, 04 Feb 2005 10:59:01 +0100 Subject: eventhandlers Message-ID: <42034765.3090403@cict.fr> Hi, I have a little problem with one of my eventhandlers scripts. It works well. The miltrassassin service restart as it is necessary but the commands run by the nagios user are always active. On nagios server, $ ps -ef | grep nagios nagios 3952 1 0 10:23:49 ? 0:00 sh -c /usr/local/nagios/libexec/eventhandlers/restart-miltrassassin CRITICAL SO nagios 25595 1 1 Jan 10 ? 187:15 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 24065 24053 0 Jan 26 pts/1 0:00 -ksh nagios 3958 3953 0 10:23:50 ? 0:01 ssh spam at x.x.x.x /usr/local/bin/miltrassassin -p /miltrassassin/miltrassa nagios 3953 3952 0 10:23:49 ? 0:00 /bin/sh /usr/local/nagios/libexec/eventhandlers/restart-miltrassassin CRITICAL nagios 24053 24035 0 Jan 26 ? 0:03 /usr/local/sbin/sshd My script is the following: #!/bin/sh # # Script de gestionnaire d'evenement pour redemarrer miltrassassin sur les passerelles de messagerie distantes # # Note: Ce script redemarrera le service miltrassassin si on essaie de le joindre # 2 fois (dans un etat "soft") ou si le service miltrassassin finit # par tomber dans un etat d'erreur "hard" # # What state is the miltrassassin service in? case "$1" in OK) # The service just came back up, so don't do anything... ;; WARNING) # We don't really care about warning states, since the service is probably still running... ;; UNKNOWN) # We don't know what might be causing an unknown error, so don't do anything... ;; CRITICAL) # Aha! The miltrassassin service appears to have a problem - perhaps we should restart the server... # Is this a "soft" or a "hard" state? case "$2" in # We're in a "soft" state, meaning that nagios is in the middle of retrying the # check before it turns into a "hard" state and contacts get notified... SOFT) # What check attempt are we on? We don't want to restart the miltrassassin service on the first # check, because it may just be a fluke! case "$3" in # Wait until the check has been tried 2 times before restarting the miltrassassin service. # If the check fails on the 3th time (after we restart the miltrassassin service), the state # type will turn to "hard" and contacts will be notified of the problem. # Hopefully this will restart the miltrassassin service successfully, so the 3th check will # result in a "soft" recovery. If that happens no one gets notified because we # fixed the problem! 2) echo -n "Restarting miltrassassin service (2nd soft critical state)..." # Call the script to restart the miltrassassin service result=`ssh spam@$4 ps -ef | grep miltrassassin | wc -l` if [ $result -eq 0 ] ; then ssh spam@$4 rm -f /miltrassassin/miltrassassin.sock ssh spam@$4 /usr/local/bin/miltrassassin -p /miltrassassin/miltrassassin.sock -H50 -M40 -L 30 fi ;; esac ;; # The miltrassassin service somehow managed to turn into a hard error without getting fixed. # It should have been restarted by the code above, but for some reason it didn't. # Let's give it one last try, shall we? # Note: Contacts have already been notified of a problem with the service at this # point (unless you disabled notifications for this service) HARD) echo -n "Restarting miltrassassin service..." # Call the script to restart the miltrassassin service result=`ssh spam@$4 ps -ef | grep miltrassassin | wc -l` if [ $result -eq 0 ] ; then ssh spam@$4 rm -f /miltrassassin/miltrassassin.sock ssh spam@$4 /usr/local/bin/miltrassassin -p /miltrassassin/miltrassassin.sock -H50 -M40 -L 30 fi ;; esac ;; esac exit 0 I am not a good programmer. Can someone help me, please? Carole. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Bergstroem at kunskapsskolan.se Fri Feb 4 12:41:44 2005 From: Sebastian.Bergstroem at kunskapsskolan.se (=?iso-8859-1?Q?Bergstr=F6m_Sebastian?=) Date: Fri, 4 Feb 2005 12:41:44 +0100 Subject: Monitor actual RAM usage on Windows machines Message-ID: We monitor our Windows servers using NSClient. NSClient cannot attain the RAM usage only, but only the logical memory as a total. Does anyone know any plugin that can achieve this? Are there anyway to make NSClient do this, for example with a counter switch? Thanks in advance! Best regards, Sebastian Bergstroem ---------------------------------------------- Sebastian Bergstroem Technical coordinator Kunskapsskolan i Sverige AB sebastian.bergstroem at kunskapsskolan.se ----------------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Werner.Flamme at ufz.de Fri Feb 4 13:22:05 2005 From: Werner.Flamme at ufz.de (Werner Flamme) Date: Fri, 04 Feb 2005 13:22:05 +0100 Subject: nrpe and multiple lines? Message-ID: <420368ED.8050107@ufz.de> Hi all, we have a nagios host working (quite ;-) fine. Up to now, local checks, ping and http-checks work as they should, the rest will be tested soon ;-) The first problem we got is related to nrpe. We want to check a foreign host running SAP. When we do this manually there is an output of 6 lines. When we invoke this check via check_nrpe from our nagios host, there is only one line (the first) coming back. # nrpe -h NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 2.0 Last Modified: 09-08-2003 License: GPL with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required #rpm -q openssl openssl-0.9.6g-114 OpenSSL is not the problem, we use "-n" on the command line on both machines - thanks to this list's archive ;-). Both machines are running SuSE Linux Exterprise Server 8 for x86. Maybe I'm too dumb, but I did not find a possibility to get more than 1 line back to our nagios host. Someone here to help me? Thanks in advance, \/\/erner -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15, 04318 Leipzig - http://www.ufz.de eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gastondoa at conet.es Fri Feb 4 13:30:20 2005 From: gastondoa at conet.es (Gotzon Astondoa) Date: Fri, 4 Feb 2005 13:30:20 +0100 Subject: nrpe and multiple lines? References: <420368ED.8050107@ufz.de> Message-ID: <002501c50ab5$4dd30300$10fea8c0@conet.es> Hi: I can see in the code that in function my_system, in file nrpe.c there is this line: fgets(buffer,sizeof(buffer)-1,fp); This gets only the first line of the response. Y suppose that, if you change it by: int i=0; while(!feof(fp)) { buffer[i]=fgetc(fp); i++; if (i >= (sizeof(buffer)-1)) { buffer[i]='\n'; break; } } buffer[i]='\n'; Or something similar it will work. bye... ----- Original Message ----- From: "Werner Flamme" To: Sent: Friday, February 04, 2005 1:22 PM Subject: [Nagios-users] nrpe and multiple lines? > Hi all, > > we have a nagios host working (quite ;-) fine. Up to now, local checks, > ping and http-checks work as they should, the rest will be tested soon ;-) > > The first problem we got is related to nrpe. > > We want to check a foreign host running SAP. When we do this manually there > is an output of 6 lines. When we invoke this check via check_nrpe from our > nagios host, there is only one line (the first) coming back. > > # nrpe -h > > NRPE - Nagios Remote Plugin Executor > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Version: 2.0 > Last Modified: 09-08-2003 > License: GPL with exemptions (-l for more info) > SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required > > #rpm -q openssl > openssl-0.9.6g-114 > > OpenSSL is not the problem, we use "-n" on the command line on both > machines - thanks to this list's archive ;-). Both machines are running > SuSE Linux Exterprise Server 8 for x86. > > Maybe I'm too dumb, but I did not find a possibility to get more than 1 > line back to our nagios host. Someone here to help me? > > Thanks in advance, > \/\/erner > > -- > Werner Flamme, Abt. WKDV > UFZ Umweltforschungszentrum Leipzig-Halle GmbH, > Permoserstr. 15, 04318 Leipzig - http://www.ufz.de > eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Feb 4 13:35:45 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 4 Feb 2005 07:35:45 -0500 Subject: Monitor actual RAM usage on Windows machines In-Reply-To: References: Message-ID: Hi, I have been working on NC_Net as a replacement of NS_Client so I am becoming very familiar with this problem. So this iss an alternative to using NS_Client. As for your main problem theire are two ways of achiving this value 1) through performance counters, 2) through WMI NC_Net handles performance counters as should NS_client. NC_Net also can display the values in WMI, NS_Client does not. NC_Net will be able to check critical and warning against specific WMI objects in the near future. For Physical Memory (RAM stuff) you need to actually go through the windows perfomance counters and read throught the descriptions of each one to find the one that fits your needs. 1) Availible Physical Ram in Taskmanager matches Category:Memory Counters: a) Availible MBytes b) Availible KBytes c) Availible Bytes other counters may be availible but I do not think they explicity match Ram usage only. Also It is important to remember that in windows virtual memory is used with a paging system not direct access to RAM. Here is a more detailed article from Mifrosofts web site about RAm Perfomance counters. KB article 555223: http://support.microsoft.com/default.aspx?scid=kb;en-us;555223 Hope you find what you want, Tony On Fri, 4 Feb 2005 12:41:44 +0100, Bergstr?m Sebastian wrote: > We monitor our Windows servers using NSClient. NSClient cannot attain the RAM usage only, but only the logical memory as a total. > Does anyone know any plugin that can achieve this? Are there anyway to make NSClient do this, for example with a counter switch? > > Thanks in advance! > > Best regards, > Sebastian Bergstroem > > ---------------------------------------------- > Sebastian Bergstroem > Technical coordinator > Kunskapsskolan i Sverige AB > sebastian.bergstroem at kunskapsskolan.se > ----------------------------------------------- > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Werner.Flamme at ufz.de Fri Feb 4 14:26:25 2005 From: Werner.Flamme at ufz.de (Werner Flamme) Date: Fri, 04 Feb 2005 14:26:25 +0100 Subject: nrpe and multiple lines? In-Reply-To: <002501c50ab5$4dd30300$10fea8c0@conet.es> References: <420368ED.8050107@ufz.de> <002501c50ab5$4dd30300$10fea8c0@conet.es> Message-ID: <42037801.8000607@ufz.de> You are the greatest! It works fine! Best regards, \/\/erner Gotzon Astondoa schrieb am 04.02.2005 13:30: > Hi: > > I can see in the code that in function my_system, in file nrpe.c there > is this line: > fgets(buffer,sizeof(buffer)-1,fp); > This gets only the first line of the response. > > Y suppose that, if you change it by: > int i=0; > while(!feof(fp)) > { > buffer[i]=fgetc(fp); > i++; > if (i >= (sizeof(buffer)-1)) > { > buffer[i]='\n'; > break; > } > } > buffer[i]='\n'; > > Or something similar it will work. > > > bye... > ----- Original Message ----- > From: "Werner Flamme" > To: > Sent: Friday, February 04, 2005 1:22 PM > Subject: [Nagios-users] nrpe and multiple lines? > > > >>Hi all, >> >>we have a nagios host working (quite ;-) fine. Up to now, local checks, >>ping and http-checks work as they should, the rest will be tested soon ;-) >> >>The first problem we got is related to nrpe. >> >>We want to check a foreign host running SAP. When we do this manually > > there > >>is an output of 6 lines. When we invoke this check via check_nrpe from our >>nagios host, there is only one line (the first) coming back. >> >># nrpe -h >> >>NRPE - Nagios Remote Plugin Executor >>Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) >>Version: 2.0 >>Last Modified: 09-08-2003 >>License: GPL with exemptions (-l for more info) >>SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required >> >>#rpm -q openssl >>openssl-0.9.6g-114 >> >>OpenSSL is not the problem, we use "-n" on the command line on both >>machines - thanks to this list's archive ;-). Both machines are running >>SuSE Linux Exterprise Server 8 for x86. >> >>Maybe I'm too dumb, but I did not find a possibility to get more than 1 >>line back to our nagios host. Someone here to help me? >> >>Thanks in advance, >>\/\/erner >> >>-- >>Werner Flamme, Abt. WKDV >>UFZ Umweltforschungszentrum Leipzig-Halle GmbH, >>Permoserstr. 15, 04318 Leipzig - http://www.ufz.de >>eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 >> >> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15, 04318 Leipzig - http://www.ufz.de eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lorenz.Lammersdorf at Dresdner-Bank.com Fri Feb 4 14:33:55 2005 From: Lorenz.Lammersdorf at Dresdner-Bank.com (Lammersdorf, Lorenz) Date: Fri, 4 Feb 2005 14:33:55 +0100 Subject: unable to read output fom check_disk Message-ID: <9A1DC9640BE2DE42AF18FFCB82087FC7F0AA42@naimucy4.muc.allianz> hi all, the following enviroment is used: nagiosserver and remote host are debian 3 machines. on the remote host check_disk gives these answers: :/usr/local/nagios/libexec# ./check_disk -V check_disk (nagios-plugins 1.4.0alpha1) 1.38 /usr/local/nagios/libexec# ./check_disk -w 20% -c 10% -p /dev/md0 DISK OK - free space: /raid 281102 MB (60%);| /raid=281101MB;375567;422513;0;469459 in the webinterface all i get is "unable to read output". services.cfg looks like this: define service{ use generic-service ; Name of service template to use host_name xxx service_description RAID is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_local_disk!20%!10%!/dev/md0 } checkcommands.cfg: # 'check_local_disk' command definition define command{ command_name check_local_disk command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } any ideas? regards Lorenz Lammersdorf ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Werner.Flamme at ufz.de Fri Feb 4 14:37:12 2005 From: Werner.Flamme at ufz.de (Werner Flamme) Date: Fri, 04 Feb 2005 14:37:12 +0100 Subject: nrpe and multiple lines? In-Reply-To: <42037801.8000607@ufz.de> References: <420368ED.8050107@ufz.de> <002501c50ab5$4dd30300$10fea8c0@conet.es> <42037801.8000607@ufz.de> Message-ID: <42037A88.2070707@ufz.de> LOL ... now, how do I convince NAGIOS itself to take an input of more than one line? Invoking check_nrpe now gives all the 6 lines, but nagios shows only one line when looking at "Service State Information". So I think only this line turns on the green colour. But the info of the other lines is needed too! Do I really have to split this service into six services? :-( Regards, \/\/erner Werner Flamme schrieb am 04.02.2005 14:26: > You are the greatest! It works fine! > > Best regards, > \/\/erner > > > Gotzon Astondoa schrieb am 04.02.2005 13:30: > >>Hi: >> >> I can see in the code that in function my_system, in file nrpe.c there >>is this line: >> fgets(buffer,sizeof(buffer)-1,fp); >> This gets only the first line of the response. >> >> Y suppose that, if you change it by: >> int i=0; >> while(!feof(fp)) >> { >> buffer[i]=fgetc(fp); >> i++; >> if (i >= (sizeof(buffer)-1)) >> { >> buffer[i]='\n'; >> break; >> } >> } >> buffer[i]='\n'; >> >> Or something similar it will work. >> >> >>bye... >>----- Original Message ----- >>From: "Werner Flamme" >>To: >>Sent: Friday, February 04, 2005 1:22 PM >>Subject: [Nagios-users] nrpe and multiple lines? >> >> >> >> >>>Hi all, >>> >>>we have a nagios host working (quite ;-) fine. Up to now, local checks, >>>ping and http-checks work as they should, the rest will be tested soon ;-) >>> >>>The first problem we got is related to nrpe. >>> >>>We want to check a foreign host running SAP. When we do this manually >> >>there >> >> >>>is an output of 6 lines. When we invoke this check via check_nrpe from our >>>nagios host, there is only one line (the first) coming back. >>> >>># nrpe -h >>> >>>NRPE - Nagios Remote Plugin Executor >>>Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) >>>Version: 2.0 >>>Last Modified: 09-08-2003 >>>License: GPL with exemptions (-l for more info) >>>SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required >>> >>>#rpm -q openssl >>>openssl-0.9.6g-114 >>> >>>OpenSSL is not the problem, we use "-n" on the command line on both >>>machines - thanks to this list's archive ;-). Both machines are running >>>SuSE Linux Exterprise Server 8 for x86. >>> >>>Maybe I'm too dumb, but I did not find a possibility to get more than 1 >>>line back to our nagios host. Someone here to help me? >>> >>>Thanks in advance, >>>\/\/erner >>> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15, 04318 Leipzig - http://www.ufz.de eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Fri Feb 4 15:11:08 2005 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Fri, 4 Feb 2005 14:11:08 -0000 Subject: Monitor actual RAM usage on Windows machines Message-ID: <86144ED6CE5B004DA23E1EAC0B569B5803E5E108@isabella.herefordshire.gov.uk> You might want to look at nrpe_nt (http://www.miwi-dv.com/nrpent/). I use it to run a KiXtart script (http://www.kixtart.org) to return the physical memory (and other stuff). You can of course do the same thing with VBScript too. You'll need to read the docs on nrpe. In nrpe.cfg I do command[check_cpu]=\kix32.exe c:\nrpe_nt\cpu.kix ---- cpu.kix (cut down just to report physical memory) ---- $=SetOption("ASCII","ON") $=SetOption("WrapAtEOL","ON") $phys=MemorySize(0) $phys"+"MB RAM at CRLF ------------------------- Cheers, Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Bergstr?m Sebastian > Sent: 04 February 2005 11:42 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitor actual RAM usage on Windows machines > > We monitor our Windows servers using NSClient. NSClient > cannot attain the RAM usage only, but only the logical memory > as a total. > Does anyone know any plugin that can achieve this? Are there > anyway to make NSClient do this, for example with a counter switch? > > Thanks in advance! > > > Best regards, > Sebastian Bergstroem > > ---------------------------------------------- > Sebastian Bergstroem > Technical coordinator > Kunskapsskolan i Sverige AB > sebastian.bergstroem at kunskapsskolan.se > ----------------------------------------------- > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting Tool for open source databases. Create drag-&-drop > reports. Save time by over 75%! Publish reports on the web. > Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Fri Feb 4 15:13:57 2005 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Fri, 4 Feb 2005 14:13:57 -0000 Subject: nrpe and multiple lines? Message-ID: <86144ED6CE5B004DA23E1EAC0B569B5803E5E109@isabella.herefordshire.gov.uk> Easiest way is to replace the "end of lines" with
before returning the result. One real line but still looks good on the Nagios page :-) Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Werner Flamme > Sent: 04 February 2005 12:22 > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe and multiple lines? > > Hi all, > > we have a nagios host working (quite ;-) fine. Up to now, > local checks, ping and http-checks work as they should, the > rest will be tested soon ;-) > > The first problem we got is related to nrpe. > > We want to check a foreign host running SAP. When we do this > manually there is an output of 6 lines. When we invoke this > check via check_nrpe from our nagios host, there is only one > line (the first) coming back. > > # nrpe -h > > NRPE - Nagios Remote Plugin Executor > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Version: 2.0 > Last Modified: 09-08-2003 > License: GPL with exemptions (-l for more info) SSL/TLS > Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required > > #rpm -q openssl > openssl-0.9.6g-114 > > OpenSSL is not the problem, we use "-n" on the command line > on both machines - thanks to this list's archive ;-). Both > machines are running SuSE Linux Exterprise Server 8 for x86. > > Maybe I'm too dumb, but I did not find a possibility to get > more than 1 line back to our nagios host. Someone here to help me? > > Thanks in advance, > \/\/erner > > -- > Werner Flamme, Abt. WKDV > UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. > 15, 04318 Leipzig - http://www.ufz.de > eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Fri Feb 4 15:16:39 2005 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Fri, 4 Feb 2005 14:16:39 -0000 Subject: Monitor actual RAM usage on Windows machines Message-ID: <86144ED6CE5B004DA23E1EAC0B569B5803E5E10B@isabella.herefordshire.gov.uk> Oops, try: $=SetOption("ASCII","ON") $=SetOption("WrapAtEOL","ON") $phys=MemorySize(0) $phys+"MB RAM"+ at CRLF ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Randal, Phil > Sent: 04 February 2005 14:11 > To: Bergstr?m Sebastian; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Monitor actual RAM usage on > Windows machines > > You might want to look at nrpe_nt (http://www.miwi-dv.com/nrpent/). > > I use it to run a KiXtart script (http://www.kixtart.org) to > return the physical memory (and other stuff). > > You can of course do the same thing with VBScript too. > > You'll need to read the docs on nrpe. > > In nrpe.cfg I do > > command[check_cpu]=\kix32.exe c:\nrpe_nt\cpu.kix > > ---- cpu.kix (cut down just to report physical memory) ---- > $=SetOption("ASCII","ON") > $=SetOption("WrapAtEOL","ON") > > $phys=MemorySize(0) > $phys"+"MB RAM at CRLF > ------------------------- > > Cheers, > > Phil > ---- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > Bergstr?m Sebastian > > Sent: 04 February 2005 11:42 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Monitor actual RAM usage on Windows machines > > > > We monitor our Windows servers using NSClient. NSClient > cannot attain > > the RAM usage only, but only the logical memory as a total. > > Does anyone know any plugin that can achieve this? Are > there anyway to > > make NSClient do this, for example with a counter switch? > > > > Thanks in advance! > > > > > > Best regards, > > Sebastian Bergstroem > > > > ---------------------------------------------- > > Sebastian Bergstroem > > Technical coordinator > > Kunskapsskolan i Sverige AB > > sebastian.bergstroem at kunskapsskolan.se > > ----------------------------------------------- > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > > Reporting Tool for open source databases. Create > drag-&-drop reports. > > Save time by over 75%! Publish reports on the web. > > Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting Tool for open source databases. Create drag-&-drop > reports. Save time by over 75%! Publish reports on the web. > Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gastondoa at conet.es Fri Feb 4 15:21:13 2005 From: gastondoa at conet.es (Gotzon Astondoa) Date: Fri, 4 Feb 2005 15:21:13 +0100 Subject: nrpe and multiple lines? References: <420368ED.8050107@ufz.de> <002501c50ab5$4dd30300$10fea8c0@conet.es> <42037801.8000607@ufz.de> <42037A88.2070707@ufz.de> Message-ID: <003801c50ac4$cb06dea0$10fea8c0@conet.es> Well, eh.... I think that is not easy work, because Nagios is disigned to work in this way. But maybe i?m wrong, i don?t investigate so much, but in "Nagios plug-in development guidelines" it says "if you print multiple lines you?re out of luck". I supose that this is not a gratuitous information. bye... ----- Original Message ----- From: "Werner Flamme" To: Sent: Friday, February 04, 2005 2:37 PM Subject: Re: [Nagios-users] nrpe and multiple lines? > LOL ... > > now, how do I convince NAGIOS itself to take an input of more than one line? > > Invoking check_nrpe now gives all the 6 lines, but nagios shows only one > line when looking at "Service State Information". So I think only this line > turns on the green colour. But the info of the other lines is needed too! > > Do I really have to split this service into six services? :-( > > Regards, > \/\/erner > > Werner Flamme schrieb am 04.02.2005 14:26: > > You are the greatest! It works fine! > > > > Best regards, > > \/\/erner > > > > > > Gotzon Astondoa schrieb am 04.02.2005 13:30: > > > >>Hi: > >> > >> I can see in the code that in function my_system, in file nrpe.c there > >>is this line: > >> fgets(buffer,sizeof(buffer)-1,fp); > >> This gets only the first line of the response. > >> > >> Y suppose that, if you change it by: > >> int i=0; > >> while(!feof(fp)) > >> { > >> buffer[i]=fgetc(fp); > >> i++; > >> if (i >= (sizeof(buffer)-1)) > >> { > >> buffer[i]='\n'; > >> break; > >> } > >> } > >> buffer[i]='\n'; > >> > >> Or something similar it will work. > >> > >> > >>bye... > >>----- Original Message ----- > >>From: "Werner Flamme" > >>To: > >>Sent: Friday, February 04, 2005 1:22 PM > >>Subject: [Nagios-users] nrpe and multiple lines? > >> > >> > >> > >> > >>>Hi all, > >>> > >>>we have a nagios host working (quite ;-) fine. Up to now, local checks, > >>>ping and http-checks work as they should, the rest will be tested soon ;-) > >>> > >>>The first problem we got is related to nrpe. > >>> > >>>We want to check a foreign host running SAP. When we do this manually > >> > >>there > >> > >> > >>>is an output of 6 lines. When we invoke this check via check_nrpe from our > >>>nagios host, there is only one line (the first) coming back. > >>> > >>># nrpe -h > >>> > >>>NRPE - Nagios Remote Plugin Executor > >>>Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > >>>Version: 2.0 > >>>Last Modified: 09-08-2003 > >>>License: GPL with exemptions (-l for more info) > >>>SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required > >>> > >>>#rpm -q openssl > >>>openssl-0.9.6g-114 > >>> > >>>OpenSSL is not the problem, we use "-n" on the command line on both > >>>machines - thanks to this list's archive ;-). Both machines are running > >>>SuSE Linux Exterprise Server 8 for x86. > >>> > >>>Maybe I'm too dumb, but I did not find a possibility to get more than 1 > >>>line back to our nagios host. Someone here to help me? > >>> > >>>Thanks in advance, > >>>\/\/erner > >>> > >> > >> > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > >>Tool for open source databases. Create drag-&-drop reports. Save time > >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > >> > > > -- > Werner Flamme, Abt. WKDV > UFZ Umweltforschungszentrum Leipzig-Halle GmbH, > Permoserstr. 15, 04318 Leipzig - http://www.ufz.de > eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gastondoa at conet.es Fri Feb 4 15:22:46 2005 From: gastondoa at conet.es (Gotzon Astondoa) Date: Fri, 4 Feb 2005 15:22:46 +0100 Subject: nrpe and multiple lines? References: <86144ED6CE5B004DA23E1EAC0B569B5803E5E109@isabella.herefordshire.gov.uk> Message-ID: <003b01c50ac5$02762760$10fea8c0@conet.es> Yes, but, if i don?t remember bad, there is a limit in the number o characters of the line (80?) ----- Original Message ----- From: "Randal, Phil" To: "Werner Flamme" ; Sent: Friday, February 04, 2005 3:13 PM Subject: RE: [Nagios-users] nrpe and multiple lines? > Easiest way is to replace the "end of lines" with
before returning > the result. One real line but still looks good on the Nagios page :-) > > Phil > > ---- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Werner Flamme > > Sent: 04 February 2005 12:22 > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nrpe and multiple lines? > > > > Hi all, > > > > we have a nagios host working (quite ;-) fine. Up to now, > > local checks, ping and http-checks work as they should, the > > rest will be tested soon ;-) > > > > The first problem we got is related to nrpe. > > > > We want to check a foreign host running SAP. When we do this > > manually there is an output of 6 lines. When we invoke this > > check via check_nrpe from our nagios host, there is only one > > line (the first) coming back. > > > > # nrpe -h > > > > NRPE - Nagios Remote Plugin Executor > > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > > Version: 2.0 > > Last Modified: 09-08-2003 > > License: GPL with exemptions (-l for more info) SSL/TLS > > Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required > > > > #rpm -q openssl > > openssl-0.9.6g-114 > > > > OpenSSL is not the problem, we use "-n" on the command line > > on both machines - thanks to this list's archive ;-). Both > > machines are running SuSE Linux Exterprise Server 8 for x86. > > > > Maybe I'm too dumb, but I did not find a possibility to get > > more than 1 line back to our nagios host. Someone here to help me? > > > > Thanks in advance, > > \/\/erner > > > > -- > > Werner Flamme, Abt. WKDV > > UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. > > 15, 04318 Leipzig - http://www.ufz.de > > eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > > Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpiszcz at servervault.com Fri Feb 4 16:14:32 2005 From: jpiszcz at servervault.com (Justin Piszcz) Date: Fri, 4 Feb 2005 10:14:32 -0500 Subject: SNMP_CPU Polling Problem On Windows 2000 Server Message-ID: <62FD0D635351E84B993539F15F5FE1CD56DE7D@mail1.dulles.sv.int> I have several identical machines all running the same versions of the SNMP services on Windows 2000 Advanced Server machines. On a few machines; however, the STATUS and any information regarding the CPU shows up as "UNKNOWN." I have snmpwalked a machine that shows the CPU information properly and one that does not, there are no major differences. The SNMP agents on the Windows 2000 Server machines have been uninstalled, re-installed and re-configured several times. Has anyone experienced anything like this; in that you cannot pull any CPU information off of a Windows 2000 Server machine? Example of error from NAGIOS itself: HOST: SERVICE: STATUS: LAST CHECK: DURATION: host001: SNMP_CPU: 2005-02-04 15:08:04: DURATION 6d 18h 2m 37s: ATTEMPT: STATUS INFORMATION: 3/3: CPU usage not reported by agent [Microsoft:informant] Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From csmann at gmail.com Fri Feb 4 16:20:21 2005 From: csmann at gmail.com (Chris Mann) Date: Fri, 4 Feb 2005 10:20:21 -0500 Subject: using check_http with a proxy? Message-ID: <25de63b50502040720587874e3@mail.gmail.com> Hi all, I'm trying to get check_http to work through our proxy. After RTFMing and googling, I'm coming up kind of short on answers. Is this possible? If so, could some one whack me with a clue by four to get me on the right path? -- Chris Mann "I was killing all my money, Spending brain cells just as fast" ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 4 17:04:07 2005 From: mpowell at ena.com (Marc Powell) Date: Fri, 4 Feb 2005 10:04:07 -0600 Subject: using check_http with a proxy? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chris Mann > Sent: Friday, February 04, 2005 9:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] using check_http with a proxy? > > Hi all, > > I'm trying to get check_http to work through our proxy. After RTFMing > and googling, I'm coming up kind of short on answers. Is this > possible? If so, could some one whack me with a clue by four to get me > on the right path? # 'check_via_proxy' command definition define command{ command_name check_via_proxy command_line $USER1$/ check_http -H www.sitetoretrieve.org -I ip.of.proxy --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u http://www.sitetoretrieve.org -R \/HTML check_http --help details all the arguments but a quick synopsis -- -H www.sitetoretrieve.org is the HOST to retrieve through the proxy -I ip.of.proxy is the DNS name or IP of the proxy to retrieve the page through -p 8080 is the forward proxy port -u http://www.sitetoretrieve.org is the URL to retrieve in forward proxy format -R \/HTML searches for '/HTML' in the page to verify retrieval You'll probably want to make at least -H and -u variable arguments passed by the service definition. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From squadra.breno at telemigcelular.com.br Fri Feb 4 18:16:30 2005 From: squadra.breno at telemigcelular.com.br (Breno Andrade Cotta) Date: Fri, 4 Feb 2005 14:16:30 -0300 Subject: RES: using check_http with a proxy? Message-ID: <8E3A4AB6889F924DB69AA6B5CC3BD0382D5D97BD@ajuda.celular.com.br> To check connection bypass proxy I use the command below. I think that with this line I can help. # 'check_proxy' command definition define command{ command_name check_proxy command_line $USER1$/check_http -H www.nagios.org -I $HOSTADDRESS$ --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u http://www.nagios.org -s HTML } Regards, -- Breno Andrade Cotta - adm. redes engenharia Rede de presta??o de servi?os e transmiss?o GPRS TC/AC Telemig Celular SA - Fone: +55 (31) 9977-2841 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffb.list at gmail.com Fri Feb 4 17:55:23 2005 From: jeffb.list at gmail.com (Jeff B) Date: Fri, 4 Feb 2005 11:55:23 -0500 Subject: Grouping Dependencies Message-ID: If you are using hostgroup_name to set up services, is there a way to do the same for service dependencies if the service and dependent service are on the same host? I wouldn't think so, but thought I'd ask because it would save a lot of typing. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From screwgie at gmail.com Fri Feb 4 18:22:28 2005 From: screwgie at gmail.com (Paul Dulaba) Date: Fri, 4 Feb 2005 10:22:28 -0700 Subject: Monitoring HP ProLiant Linux servers -- Nagios vs. OVO vs. SIM In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C9672@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C9672@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: Are you talking about the check_compaq_insight.pl script? Also, can you provide som examples of how you are using this script? What I am having difficulties understanding is how to setup the server that is being monitored. I don't see anyplace in iLO to configure the insight board to have a community string. Hope you can offer some details. On Thu, 3 Feb 2005 16:30:57 +0100, Sand Philipp wrote: > Hi, > > I didn't wrote the plugin, so I can't distribute it...although, it is already distributed and can be found in the nagios plugins contrib folder . > > Greets, > Philipp > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net ] On Behalf > > Of Benoit Mortier > > Sent: Tuesday, February 01, 2005 11:19 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Monitoring HP ProLiant Linux > > servers -- Nagios vs. OVO vs. SIM > > > > Le Mardi 1 F?vrier 2005 16:52, Sand Philipp a ?crit : > > > Hi, > > > > > > We're using Nagios + Insight Manager. Works fine for us. > > > > > > We use Nagios as our main monitoring Platform, and have > > integrated the > > > HP Insight Manager into the Nagios. The Plugin we're using > > is based on > > > snmp queries to get the status of the local insight manager client, > > > and reports them to the nagios. When it detects an error, > > the status > > > in nagios changes, we get a little Status info like "SCSI > > degraded" or > > > something, and we connect to the insight manager and have a further > > > look. All the other stuff like monitoring disk space, processes, > > > memory, some handwritten stuff is beeing checked by nagios plugins. > > > I think the HP Insight Manager is very good to monitor all the > > > Hardware Issues, but Nagios is much more flexible with other checks. > > > > Hi, > > > > could you share the plugin with us ? is it gpl ? i yes could > > you upload it to nagiosplug project at sourceforge. > > > > Thanks > > > > -- > > Benoit Mortier > > Linux Engineer > > www.opensides.be > > > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Greg.Nolan at disney.com Fri Feb 4 21:16:13 2005 From: Greg.Nolan at disney.com (Nolan, Greg) Date: Fri, 4 Feb 2005 12:16:13 -0800 Subject: Nagios install on gentoo Message-ID: Jonathon, Thanks, although I removed mysql from the USE in /etc/make.conf, it still compiled it with mysql. I suppose it has to be explicitly told not to. Thanks for the help, I am rebuilding the packages now. -g -----Original Message----- From: jnichols at pbp.net [mailto:jnichols at pbp.net] Sent: Thursday, February 03, 2005 5:50 PM To: Nolan, Greg Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios install on gentoo > 1. Nagios runs perfectly fine as a Daemon. When I run ps ax|grep nagios: > 18884 ? Ss /usr/nagios/bin/nagios -d /etc/nagios/nagios.cfg > 2. ScriptAlias in apache is properly configured > 3. nagios.log reports no problem > 4. apache's log shows no issues > 5. /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg reports no errors > > Any help would be greatly appreciated. Thanks. > What did you compile it with? "equery uses nagios-core" will show you what use flags you compiled with. I have the following in /etc/portage/package.use net-analyzer/nagios -mysql -postgres net-analyzer/nagios-core -mysql -postgres That way it won't compile with mysql or postgres support. If you compiled with MySQL support, chances are it's dumping a LOT OF STUFF to the mysql.log right now. I ran into that a time or two. :-) -Jonathan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmann at gmail.com Fri Feb 4 21:58:03 2005 From: csmann at gmail.com (Chris Mann) Date: Fri, 4 Feb 2005 15:58:03 -0500 Subject: using check_http with a proxy? In-Reply-To: References: Message-ID: <25de63b50502041258651f0d28@mail.gmail.com> On Fri, 4 Feb 2005 10:04:07 -0600, Marc Powell wrote: > # 'check_via_proxy' command definition > define command{ > command_name check_via_proxy > command_line $USER1$/ check_http -H www.sitetoretrieve.org -I > ip.of.proxy --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u > http://www.sitetoretrieve.org -R \/HTML Thanks Marc, that did the trick. Would this work for ssl sites as well? -- Chris Mann "I was killing all my money, Spending brain cells just as fast" ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Fri Feb 4 22:03:09 2005 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 4 Feb 2005 22:03:09 +0100 Subject: Moving from a commercial product to Nagios Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DD04@srv-cob-00-0014.elaxy.org> Hi All! As I mentioned several months ago, we are in the process of moving from a commercial product to Nagios. I would like to get some feedback from someone who has gone through this process, discussing primarily the administrative aspects. For example, how many people were on the project team, how much time was spent per time, how long the process lasted (i.e. in months), any pitfalls and problems, etc. Any help is greatly appreaciated. James Mohr --------------------------------------- "Be more concerned with your character than with your reputation. Your character is what you really are while your reputation is merely what others think you are." -- John Wooden --------------------------------------- Be sure to visit the Linux Tutorial: http://www.linux-tutorial.info ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 4 22:16:34 2005 From: mpowell at ena.com (Marc Powell) Date: Fri, 4 Feb 2005 15:16:34 -0600 Subject: using check_http with a proxy? Message-ID: > -----Original Message----- > From: Chris Mann [mailto:csmann at gmail.com] > Sent: Friday, February 04, 2005 2:58 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] using check_http with a proxy? > > On Fri, 4 Feb 2005 10:04:07 -0600, Marc Powell wrote: > > # 'check_via_proxy' command definition > > define command{ > > command_name check_via_proxy > > command_line $USER1$/ check_http -H www.sitetoretrieve.org -I > > ip.of.proxy --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u > > http://www.sitetoretrieve.org -R \/HTML > > Thanks Marc, that did the trick. > Would this work for ssl sites as well? I haven't had reason to do that but a quick test seems to indicate the answer is no. -- ./check_http -H my.test.host -I my.test.proxy --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 https://my.test.host --ssl ERROR: Cannot retrieve server certificate. In order to use SSL via a proxy, the proxy must be instructed to set up an ssl tunnel to the remote host via the CONNECT method. Glancing at the code, check_http seems to assume that all SSL connections are direct-to-host and there doesn't appear to be code to set up the necessary tunnel, at least that I can see. That said, I'm using a version of the plugin that was recent as of 20031203. The latest plugins package may include this functionality. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 4 22:31:43 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 4 Feb 2005 16:31:43 -0500 (EST) Subject: SNMP_CPU Polling Problem On Windows 2000 Server In-Reply-To: <62FD0D635351E84B993539F15F5FE1CD56DE7D@mail1.dulles.sv.int> References: <62FD0D635351E84B993539F15F5FE1CD56DE7D@mail1.dulles.sv.int> Message-ID: Microsoft's SNMP agent is known to be unreliable in returning correct data. Try adding onto the snmp service with SNMP informant - http://www.wtcs.org/informant/ -sg On Fri, 4 Feb 2005, Justin Piszcz wrote: > I have several identical machines all running the same versions of the > SNMP services on Windows 2000 Advanced Server machines. > > > > On a few machines; however, the STATUS and any information regarding the > CPU shows up as "UNKNOWN." > > > > I have snmpwalked a machine that shows the CPU information properly and > one that does not, there are no major differences. > > > > The SNMP agents on the Windows 2000 Server machines have been > uninstalled, re-installed and re-configured several times. > > > > Has anyone experienced anything like this; in that you cannot pull any > CPU information off of a Windows 2000 Server machine? > > > > Example of error from NAGIOS itself: > > > > HOST: SERVICE: STATUS: LAST CHECK: DURATION: > > host001: SNMP_CPU: 2005-02-04 15:08:04: DURATION 6d 18h 2m 37s: > > > > > > ATTEMPT: STATUS INFORMATION: > > 3/3: CPU usage not reported by agent [Microsoft:informant] > > > > Thanks! > > > > > > -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mklaphek at cedarpath.com Fri Feb 4 23:26:49 2005 From: mklaphek at cedarpath.com (Michael S. Klapheke) Date: Fri, 4 Feb 2005 17:26:49 -0500 Subject: Plugin Problem Message-ID: <002101c50b08$a038ad40$6701c80a@Network1> Hi. I posted this problem before and tried to implement the suggested solution. Some of the plugins work fine; others, like check_ifstatus, won't compile. I get the error: [root at ns1 root]# /usr/local/nagios/libexec/check_ifstatus -h Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/5.8.0/i386-linux-th read-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_pe rl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/ven dor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagios/libexec/check_ifstatus line 39. BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_ifstatus line 39. Now, I was told to install the Net::SNMP module which I did. However, it still does not work. After a lot of reading, I also tried to fix the problem by going to the default_store and installing (Makefile.PL, make, make install). This didn't help either. I have seen other people with this problem from web searches, but I have not found a solution that works. Also, if I look at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi I see SNMP.pm there: [root at ns1 i386-linux-thread-multi]# pwd /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi [root at ns1 i386-linux-thread-multi]# ls auto Bundle Gimp Gimp.pm Image NetSNMP perllocal.pod SNMP.pm [root at ns1 i386-linux-thread-multi]# Any help at all is appreciated. I did look through all of the documentation I could find and I couldn't get this answered. Thanks. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Sat Feb 5 00:01:12 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 4 Feb 2005 18:01:12 -0500 (EST) Subject: Plugin Problem In-Reply-To: <002101c50b08$a038ad40$6701c80a@Network1> References: <002101c50b08$a038ad40$6701c80a@Network1> Message-ID: On Fri, 4 Feb 2005, Michael S. Klapheke wrote: > Hi. I posted this problem before and tried to implement the suggested > solution. Some of the plugins work fine; others, like check_ifstatus, won't > compile. I get the error: > > > > [root at ns1 root]# /usr/local/nagios/libexec/check_ifstatus -h > > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/lib/perl5/5.8.0/i386-linux-th > > read-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_pe > > rl/5.8.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/ven > > dor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at > /usr/local/nagios/libexec/check_ifstatus line 39. > > BEGIN failed--compilation aborted at > /usr/local/nagios/libexec/check_ifstatus line 39. > > > > Now, I was told to install the Net::SNMP module which I did. However, it > still does not work. After a lot of reading, I also tried to fix the > problem by going to the default_store and installing (Makefile.PL, make, > make install). This didn't help either. I have seen other people with this > problem from web searches, but I have not found a solution that works. > > > > Also, if I look at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi I > see SNMP.pm there: > > > > [root at ns1 i386-linux-thread-multi]# pwd > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > > [root at ns1 i386-linux-thread-multi]# ls > > auto Bundle Gimp Gimp.pm Image NetSNMP perllocal.pod SNMP.pm > > [root at ns1 i386-linux-thread-multi]# > > > > Any help at all is appreciated. I did look through all of the documentation > I could find and I couldn't get this answered. > > > > Thanks. > > > > Mike > The Net::SNMP perl module from CPAN should install in /usr/lib/perl5/site_perl/5.x.x/Net/ not in "i386-linux-thread" It is an all perl module not an xs module like SNMP.pm from the Net-SNMP project (net-snmp.sf.net) can you run "perldoc Net::SNMP" - if not Net::SNMP is not installed can you run "perldoc SNMP" - if so - you chave installed Net-SNMP's perl module. try the following to verify installation: perl -MCPAN -e 'install Net::SNMP' -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 5 00:38:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 05 Feb 2005 00:38:39 +0100 Subject: Nagios-MySQL Locking Issues? In-Reply-To: References: <42028B6B.5050307@op5.se> Message-ID: <4204077F.8050804@op5.se> William R. Lorenz wrote: > Hi Andreas, > > On Thu, 3 Feb 2005, Andreas Ericsson wrote: > >>> Nagios 1.2 starting... (PID=12131) >>> Error: Could not read program retention data from table programretention >>> Error: Could not read host retention data from table hostretention >>> Error: Could not read service retention data from table serviceretention >>> Error: Could not lock status data tables in database '' > > >> Could not lock status data tables in database '' means you haven't >> specified a database. It's no wonder nagios can't update things in the > > > Well, I followed all the instructions for configuring the database at: > > http://nagios.sourceforge.net/docs/1_0/xdata-db.html > > This is NAGIOS 1.2, and my configuration files seem to be alright (see > below). I even tried recompiling, just to make sure the ./configure > script got all the right options in place (and all --with-mysql's are > there). Do you have any other suggestions as to what I can try? > > Would it help if I sent over the complete configuration files? > Most likely not. I'm not terribly experienced in setting up nagios with mysql, since it went away in 2.0. > [root at bmsmnt01 etc]# grep db_ cgi.cfg What does nagios.cfg say? The nagios core daemon doesn't read cgi.cfg. > xeddb_host=localhost > xeddb_port=3306 > xeddb_database=nagios > xeddb_username=nagios > xeddb_password=[not shown again, sorry folks] You might want to try not sending passwords in emails. It's not terribly hard to track after all, and nagios' log files/tables provides an excellent map to your network (os type, open ports, services, IP's, etc. etc). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 5 00:40:13 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 05 Feb 2005 00:40:13 +0100 Subject: How to configure and run NRPE? In-Reply-To: References: Message-ID: <420407DD.6040303@op5.se> Yolanda Santos wrote: > Hi, > > I have installed Nagios in a Linux Red Hat and i'm trying to check > memory and CPU using NRPE and NRPE_NT. > I have installed the 'Nagios Remote Plugin Executor for NT/W2K' > service in a host with XP, and in the nagios server the check_nrpe > command. > I follow the help to check this parameters but I don't get the value, > only this message: > > ./check_nrpe -H (XP's IP)10.170.17.38 -c check_disk > > Message: > > NRPE_NT failed to create process, exitig.... > > Am i launching the command incorrectly? > > The nrpe.cfg file is in /sr/local/nagios/etc and the command configuration: > > command [check_disk]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 > > Is something wrong in the command definition? > Yes. You can't run linux plugins under Windows. > Is there another way to get this information of remote hosts? > (NSClient??, SNMP??...) > NSClient is simple and straightforward enough. I recommend you give it a try. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 5 00:44:22 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 05 Feb 2005 00:44:22 +0100 Subject: nrpe and multiple lines? In-Reply-To: <003b01c50ac5$02762760$10fea8c0@conet.es> References: <86144ED6CE5B004DA23E1EAC0B569B5803E5E109@isabella.herefordshire.gov.uk> <003b01c50ac5$02762760$10fea8c0@conet.es> Message-ID: <420408D6.9040101@op5.se> Gotzon Astondoa wrote: > Yes, but, if i don?t remember bad, there is a limit in the number o > characters of the line (80?) 348 chars (linebreaks are cut anyway) as defined by MAX_PLUGINOUTPUT_LENGTH (Ethan has a way with macro names, dunnhe? ;)) in include/objects.h > ----- Original Message ----- > From: "Randal, Phil" > To: "Werner Flamme" ; > > Sent: Friday, February 04, 2005 3:13 PM > Subject: RE: [Nagios-users] nrpe and multiple lines? > > > >>Easiest way is to replace the "end of lines" with
before returning >>the result. One real line but still looks good on the Nagios page :-) >> >>Phil >> >>---- >>Phil Randal >>Network Engineer >>Herefordshire Council >>Hereford, UK >> >> >>>-----Original Message----- >>>From: nagios-users-admin at lists.sourceforge.net >>>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>>Of Werner Flamme >>>Sent: 04 February 2005 12:22 >>>To: Nagios-users at lists.sourceforge.net >>>Subject: [Nagios-users] nrpe and multiple lines? >>> >>>Hi all, >>> >>>we have a nagios host working (quite ;-) fine. Up to now, >>>local checks, ping and http-checks work as they should, the >>>rest will be tested soon ;-) >>> >>>The first problem we got is related to nrpe. >>> >>>We want to check a foreign host running SAP. When we do this >>>manually there is an output of 6 lines. When we invoke this >>>check via check_nrpe from our nagios host, there is only one >>>line (the first) coming back. >>> >>># nrpe -h >>> >>>NRPE - Nagios Remote Plugin Executor >>>Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) >>>Version: 2.0 >>>Last Modified: 09-08-2003 >>>License: GPL with exemptions (-l for more info) SSL/TLS >>>Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required >>> >>>#rpm -q openssl >>>openssl-0.9.6g-114 >>> >>>OpenSSL is not the problem, we use "-n" on the command line >>>on both machines - thanks to this list's archive ;-). Both >>>machines are running SuSE Linux Exterprise Server 8 for x86. >>> >>>Maybe I'm too dumb, but I did not find a possibility to get >>>more than 1 line back to our nagios host. Someone here to help me? >>> >>>Thanks in advance, >>>\/\/erner >>> >>>-- >>>Werner Flamme, Abt. WKDV >>>UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. >>>15, 04318 Leipzig - http://www.ufz.de >>>eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 >>> >>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive >>>Reporting >>>Tool for open source databases. Create drag-&-drop reports. Save time >>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS >>>when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 5 00:46:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 05 Feb 2005 00:46:55 +0100 Subject: using check_http with a proxy? In-Reply-To: References: Message-ID: <4204096F.7020903@op5.se> Marc Powell wrote: > >>-----Original Message----- >>From: Chris Mann [mailto:csmann at gmail.com] >>Sent: Friday, February 04, 2005 2:58 PM >>To: Marc Powell >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] using check_http with a proxy? >> >>On Fri, 4 Feb 2005 10:04:07 -0600, Marc Powell > > wrote: > >>># 'check_via_proxy' command definition >>>define command{ >>> command_name check_via_proxy >>> command_line $USER1$/ check_http -H > > www.sitetoretrieve.org -I > >>>ip.of.proxy --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u >>>http://www.sitetoretrieve.org -R \/HTML >> >>Thanks Marc, that did the trick. >>Would this work for ssl sites as well? > > > > I haven't had reason to do that but a quick test seems to indicate the > answer is no. -- > > ./check_http -H my.test.host -I my.test.proxy --onredirect follow -p > 8080 -wt 20 -ct 30 -to 35 https://my.test.host --ssl > > ERROR: Cannot retrieve server certificate. > > In order to use SSL via a proxy, the proxy must be instructed to set up > an ssl tunnel to the remote host via the CONNECT method. Glancing at the > code, check_http seems to assume that all SSL connections are > direct-to-host and there doesn't appear to be code to set up the > necessary tunnel, at least that I can see. > > That said, I'm using a version of the plugin that was recent as of > 20031203. The latest plugins package may include this functionality. > It doesn't. Some are asking for it though, so it might be implemented if you nag enough. In the meantime, I believe someone wrote up something really ugly to utilize wget in order to check https through proxies. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 5 00:54:09 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 05 Feb 2005 00:54:09 +0100 Subject: Moving from a commercial product to Nagios In-Reply-To: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DD04@srv-cob-00-0014.elaxy.org> References: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DD04@srv-cob-00-0014.elaxy.org> Message-ID: <42040B21.6090808@op5.se> Mohr James wrote: > Hi All! > > As I mentioned several months ago, we are in the process of moving from > a commercial product to Nagios. I would like to get some feedback from > someone who has gone through this process, discussing primarily the > administrative aspects. For example, how many people were on the project > team, how much time was spent per time, how long the process lasted > (i.e. in months), any pitfalls and problems, etc. > For a company solution, I would seriously recommend enlisting the aid of a consultant. It should help immensely in initial setting up and you'll get a quicker return of investment and get to an acceptable level on the rather steep learning-curve quickly. That usually makes everybody happy. I believe you can find one at www.findopensourcesupport.com (or something similar, there's a link at www.nagios.org anyway) (marketing, look away if you're easily offended by such things) If you're interested in a complete solution based on Nagios and other opensource packages, you should send an email to janj at op5.se and ask for details and a demo of our implementation and all the fancy add-ons. > Any help is greatly appreaciated. > > James Mohr > --------------------------------------- > "Be more concerned with your character than with your > reputation. Your character is what you really are while > your reputation is merely what others think you are." -- > John Wooden > --------------------------------------- > Be sure to visit the Linux Tutorial: > http://www.linux-tutorial.info > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edward.Smith at demandtec.com Sat Feb 5 01:07:08 2005 From: Edward.Smith at demandtec.com (Edward Smith) Date: Fri, 4 Feb 2005 16:07:08 -0800 Subject: Disk failures Message-ID: <2B5C62C548D2FC48BC0334E8AE494185058C79EF@parrot.demandtec.com> Hi, Is it possible to setup nagios to detect disk failures? How about getting the load on a cpu? Would something like MRTG be better for this? Thanks. Ed smith ------------------------ Edward Smith Systems Application Engineer Demandtec, Inc esmith at demandtec.com 650-226-4609 --------------------------------------------------------------------------------------------------------------------------------------------- DEMANDTEC EMAIL NOTICE:

NOTICE: This email transmission and all attached files contain information intended for the designated individual or entity to whom it is addressed and may contain information that is proprietary, privileged and/or exempt from disclosure under applicable law. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, copying, or other use of this email or its attachments is strictly prohibited. If you have received this email in error, please notify the sender immediately by replying to this message and please delete the original message without making any copies.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Although we have taken reasonable precautions to ensure that this email and all attachments are free from viruses, we accept no liability for any loss or damage arising from the use of this email or its attachments. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Sat Feb 5 01:07:24 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 4 Feb 2005 16:07:24 -0800 Subject: Moving from a commercial product to Nagios In-Reply-To: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DD04@srv-cob-00-0014.elaxy.org> References: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DD04@srv-cob-00-0014.elaxy.org> Message-ID: <20050205000724.GB1574@zippy.toger.us> On Fri, Feb 04, 2005 at 10:03:09PM +0100, Mohr James wrote: > administrative aspects. For example, how many people were on the project > team, how much time was spent per time, how long the process lasted > (i.e. in months), any pitfalls and problems, etc. It is very important to remember that Nagios is a service monitor, not an event management console. Nagios is designed to actively go out and check on the status of individal items, unlike a EM system that passively waits for data and reacts to whatever comes in. The implementation paradigm is very different. If the machines being monitored cross administrative domains then there will be disagreement over who controls the Nagios configuration. Nagios doesn't include any sort of config management interface (it reads config from text files at startup, no way to change just one service w/o restarting the whole process), and the config management addons are all very single-user oriented. A single instance of Nagios will experience problems monitoring thousands of hosts, depending on how many services are on each host. Distributed monitoring helps some but the CGI's will experience significant performance problems.There are some addons to assist with that. Managing the distribution of plugins can also be a challenge. I recommend CFEngine (www.cfengine.org) to help with that. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jhmartin at toger.us Sat Feb 5 01:11:03 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 4 Feb 2005 16:11:03 -0800 Subject: Disk failures In-Reply-To: <2B5C62C548D2FC48BC0334E8AE494185058C79EF@parrot.demandtec.com> References: <2B5C62C548D2FC48BC0334E8AE494185058C79EF@parrot.demandtec.com> Message-ID: <20050205001103.GC1574@zippy.toger.us> On Fri, Feb 04, 2005 at 04:07:08PM -0800, Edward Smith wrote: > Is it possible to setup nagios to detect disk failures? How > about getting the load on a cpu? Would something like MRTG be > better for this? Thanks. If there is a logfile, snmp mib, or command that can be accessed to determine that a disk has failed then yes. If it is via some command then you might have to write a special plugin for it. CPU load is monitorable by check_load, however if you want graphs over time then MRTG would be a good adjunct. -Jason Martin -- I am but a vehicle for my tie. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From strombrg at dcs.nac.uci.edu Sat Feb 5 01:34:02 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 04 Feb 2005 16:34:02 -0800 Subject: Disk failures In-Reply-To: <20050205001103.GC1574@zippy.toger.us> References: <2B5C62C548D2FC48BC0334E8AE494185058C79EF@parrot.demandtec.com> <20050205001103.GC1574@zippy.toger.us> Message-ID: <1107563642.11145.39.camel@seki.nac.uci.edu> On Fri, 2005-02-04 at 16:11 -0800, Jason Martin wrote: > On Fri, Feb 04, 2005 at 04:07:08PM -0800, Edward Smith wrote: > > Is it possible to setup nagios to detect disk failures? How > > about getting the load on a cpu? Would something like MRTG be > > better for this? Thanks. > If there is a logfile, snmp mib, or command that can be accessed > to determine that a disk has failed then yes. If it is via some > command then you might have to write a special plugin for it. > > CPU load is monitorable by check_load, however if you want > graphs over time then MRTG would be a good adjunct. > > -Jason Martin Another option for load checking is to enable rpc.rstatd, and use the following plugin: #!/usr/bin/python import sys import os import re import string host=sys.argv[1] pipe=os.popen('/usr/bin/maxtime 10 /dcs/etc/rup '+host+' 2>&1','r') line = pipe.readline() #meter.eng up 154 days, 4:40, load average: 2.73 4.21 4.25 r = re.compile('^.*load average: ([0-9\.]*) ([0-9\.]*) ([0-9\.]*).*$') m = r.match(line) if not m: print 'service unavailable' sys.exit(2) one_min = string.atof(m.group(1)) five_min = string.atof(m.group(2)) if one_min > 16.0 or five_min > 12.0: print 'load critical:',m.group(1), m.group(2), m.group(3) sys.exit(2) if one_min > 12.0 or five_min > 8.0: print 'load warning:',m.group(1), m.group(2), m.group(3) sys.exit(1) else: print 'load:',m.group(1), m.group(2), m.group(3) sys.exit(0) maxtime is available from: http://dcs.nac.uci.edu/~strombrg/maxtime.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From jnichols at pbp.net Sat Feb 5 03:11:39 2005 From: jnichols at pbp.net (Jonathan Nichols) Date: Fri, 04 Feb 2005 18:11:39 -0800 Subject: Nagios install on gentoo In-Reply-To: References: Message-ID: <42042B5B.2040908@pbp.net> Nolan, Greg wrote: > Jonathon, > > Thanks, although I removed mysql from the USE in /etc/make.conf, it > still compiled it with mysql. I suppose it has to be explicitly told > not to. Thanks for the help, I am rebuilding the packages now. > No problem... package.use is a new Portage feature that will solve that, tho. I have the following in /etc/portage/package.use net-analyzer/nagios -mysql -postgres net-analyzer/nagios-core -mysql -postgres Something is probably telling Nagios to drag MySQL into the mix with it.. clutter sudo # emerge -pv --tree nagios-core These are the packages that I would merge, in reverse order: Calculating dependencies ...done! [ebuild R ] net-analyzer/nagios-core-1.2-r2 -apache2 -debug -mysql -noweb +perl -postgres 1,587 kB Total size of downloads: 1,587 kB clutter sudo # the "emerge -pv --tree" flags might shed some more light on it. I forgot exactly how to tell what dependency is bringing MySQL to the party. :) But going forward, package.use should resolve that.. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mbday at daywebhosting.com Sat Feb 5 06:14:48 2005 From: mbday at daywebhosting.com (MIchael B. Day) Date: Fri, 4 Feb 2005 23:14:48 -0600 Subject: Getting this error In-Reply-To: References: Message-ID: <200502050510.j155ASQO128628@pimout4-ext.prodigy.net> Here is the out put. [root at XXXX plugins]# /usr/local/nagios/nagios-plugins-1.3.1/plugins/check_procs -a strace OK - 0 processes running with args strace As you can see there is none. So what could be the problem here? How can I get this to work so that there is no report of errors unless there is an error? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Harper Mann Sent: Friday, January 28, 2005 5:41 PM To: 'MIchael B. Day'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Getting this error This looks like it's from the check_proc plugin that is running on 64.182.35.81. Do you get the error when it's run locally? If you are out of swap, that could cause this. If you can reproduce the error by running check_procs locally, you can run strace "". Strace shows system calls and should tell which one is complaining. Post output here and we'll see what kind of suggestions we can make. Regards, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) http://itgroundwork.com > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of MIchael B. Day > Sent: Friday, January 28, 2005 11:55 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Getting this error > > I'm getting the follow error and can not find out why. If any one has any > idea please let me know. > This was emailed to me from the Nagios system. > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: Total Processes > Host: Linux Server #1 > Address: 64.182.35.81 > State: WARNING > > Date/Time: Thu Jan 27 13:28:20 CST 2005 > > Additional Info: > > System call sent warnings to stderr > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Feb 5 06:35:19 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 5 Feb 2005 00:35:19 -0500 Subject: NC_Net -passive checks (test version) In-Reply-To: <003f01c50aed$2f25cae0$3201280a@unknown> References: <003f01c50aed$2f25cae0$3201280a@unknown> Message-ID: The documentation on passive checks was written prior to implementing the passive checks. What you are requesting is for the most part what I am planning on implementing. the other port thing was a earlier thought about having a management application in windows that can modify the configuration (this is probably not going to happen). The current plan that should be implemented next week some time, is to have check_nt amended with a new option that will push the passive check command to NC_Net. The passive checks can be configured at startup. the startup.cfg file is where all the startup information about flags, ports and intervals goes. the passive.cfg file is read each iteration that passive check should run, currently prior to starting NC_net you can add a bunch of checks to the end of the passive.cfg file. Passive.cfg is parsed every iteration for what passive checks to do. So if the passive.cfg is manually changed the new changes will occur at the next passive check. I use the file "Sample Passive.cfg" and save as to modify my checks while NC_Net is running. For Changing the checks via Check_nt, I need to add 1) a few active checks that change current configuration (this is already in NC_Net but not in check_nt) 2) a active check that changes startup.cfg (not in either check_nt nor NC_Net) 3) a switch to add to a passive check that will add it to the passive.cfg ( i am thinking of using the [-s serviceDescrip] each passive check MUST have a service description so the command should fail if it is not present. Also the result from this command should be OK if the check was added and tested with an OK result. 2) Warning - if the check was added and tested with a non OK result. 3)Critical - if the check was not added - a check will not be added if it testing it returned an ERROR 4) Unknown - if the check fails for some other error. check_nt needs to catch the -s switch prior to its main service check routine because - check_nt sends very little information to NC_Net for a service check and we basically need it to send over the entire service check options. ( -d,-w,-c,-l,-v,-s) I also will need to add an active check command to delete a passive check - this will be just the service description with another switch.(any suggestions) A point worth mentioning about the changing the configuration. several flags exist in the Setup.cfg that will disable the ability to make changes to NC_Net. setting lock_active_config to true prevents changes from an active check. While lock_passive_config set to true prevents a configuration change in passive.cfg from running. Also the Mode variable at the end of the Startup.cfg is not an actual variable, it is actually a mask com mad that overwrites the explicit settings of these variables that were set earlier in the file. (this was done intentionally, the mode is the primary interface for changing all true/false variables at the same time, so I use ti to change the configuration during testing. One of the goals of having the Startup.cfg file was to enumerate all the configuration variables that a user has access to change since this list will not be available from a command sent to NC_Net. The Testrun also overwrites other variables that may have been set. testrun disables the actual sending of the passive checks via NSCA as well as increases the frequency to check each minute. I hope this post more appropiatly lays out the intentions of the updating passive checks remotly via Check_nt. Tony On Fri, 4 Feb 2005 11:10:25 -0800, Chris Hale wrote: > I've read the documentation on passive checks... and I like where you are > going, but wanted to give some feedback on the remote controllability of the > passive checks. > > By the documentation... It looks like you are planning on having any remote > configuration of the passive commands be done on a separate port from the > active checks. > > Before reading the docs... I always thought it would be nice, if check_nt > could send just another optional variable along with an active check to set > a timer, having nc_net then send back passive results to the configure NSCA > server > > IE: > > 1) NC_Net is installed and configured with information about the NSCA to > report too. (But unlike right now... it does not have a local config of > passive checks) > > 2) Nagios is setup to receive passive only results for a particular test > > 3) This service is also set with freshness checking and the command for the > check is the appropriate check_nt active check command including the extra > --passive (X seconds) variable. > > So the real time scenarios are: > > A) > > A server reboots... therefore the service starts with no passive checks > configured. The Nagios server comes to the freshness check limit and send > the active check (which gets the first test result after the reboot) and > also set the passive check that will be used from there on. > > B) > > Someone in management decides that they want the alerts for drive space on > 500 servers changed from 85% to 86%. You change the check command for this > one service check (with the 500 hosts :) ) and then force an active check on > these hosts. The nc_net receives the check_command with the new warning > level and changes the passive check that is on timer. > > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcus.hildenbrand at sap.com Sat Feb 5 11:14:35 2005 From: marcus.hildenbrand at sap.com (Hildenbrand, Marcus) Date: Sat, 5 Feb 2005 11:14:35 +0100 Subject: AW: monitoring thousands of servers using Nagios Message-ID: Hi Kerry, I'm monitoring 3300 servers with 15000 services with all active service checks. This is running on a single 4 x 2.4 GHz AMD Opteron Linux box with 4 GB RAM. Every 5 minutes a ping for all servers is scheduled with also getting network statistics via SNMP. Every 15 minutes other stuff like cpu and mem usage is done. For the Nagios scheduler to be able to handle this traffic you have to modify the file include/config.h.in before compiling Nagios. Set "#define USE_MEMORY_PERFORMANCE_TWEAKS". The performance of the webinterface is quite good. tac.cgi for example needs about 2-3 seconds to display. But this is only true for Nagios 2.0. Older versions had some problems with large configurations. Regards Marcus -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von Kerry Cox Gesendet: Montag, 3. Januar 2005 23:57 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] monitoring thousands of servers using Nagios Has anyone had any experience monitoring thousands of servers in a data center-type environment using open source tools, specifically Nagios? I've been using Nagios for some time now, but am concerned about scalability issues. We're looking to manage roughly 2000-3000 machines. Is Nagios up to this task? It needs to be more than a simple ping server. We will need to be polling all sorts of data off our machines, including SNMP data; CPU temperature, network load, etc. Thanks. KJ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Sun Feb 6 16:49:24 2005 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Sun, 6 Feb 2005 16:49:24 +0100 Subject: AW: plugins 1.3.1 basic problem Message-ID: <90D32590BAD135448DC12C1EA3EB4482209E8B@epsewr01.ewrlan.ewr.int> andy iam wondering why MY Name is used by IAN. ?!? -----Urspr?ngliche Nachricht----- Von: Wengrzik, Andreas [mailto:ian at kingcon.com] Gesendet: Sonntag, 6. Februar 2005 16:47 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] plugins 1.3.1 basic problem Im wondering where in the documentation it tells explicitly how to make the plugins work with the nagios distribution. I downloaded (a non beta thanks for the hint) distribution, 1.2, installed it. Then downloaded the 1.3.1 distribution of the nagios plugins. Currently my nagios etc folder has a checkcommands.cfg, from various help files I gather I must use the command.cfg file in the plugins distribution. From that file I gather I must use the convertcfg file to convert the commands file to a commands object type. When I do this and replace checkcommands.cfg with the command.cfg in the nagios.cfg file, it still tells me I have invalid arguments in the command.cfg file, just like it did in the checkcommands.cfg file. Im probably confused, but Im interested. So if the above sounds stupid tell me. I've looked through the docs and I see the sections on making these object files... but if I cant use the suplied commands file, how do I go about figuring out all the arguments for the different commands to build it from scratch? Ian Hardy Network Administrator Network + The Kingdom Connection 1-802-748-5866 P.O. Box 526 St. Johnsbury VT 05819 416E67656C697175652C20616B752063696E7461206B616D7521203A58 Check out www.missingkids.com Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Employees of Merrill Information systems Inc. are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy and outside the scope of the employment of the individual concerned. The company will not accept any liability in respect of such communication, and the employee responsible will be personally liable for any damages or other liability arising. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hjp+nagios at wsr.ac.at Sun Feb 6 19:49:30 2005 From: hjp+nagios at wsr.ac.at (Peter J. Holzer) Date: Sun, 6 Feb 2005 19:49:30 +0100 Subject: plugins 1.3.1 basic problem In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209E8B@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209E8B@epsewr01.ewrlan.ewr.int> Message-ID: <20050206184930.GA31883@wsr.ac.at> On 2005-02-06 16:49:24 +0100, Wengrzik, Andreas wrote: > andy iam wondering why MY Name is used by IAN. ?!? > > -----Urspr?ngliche Nachricht----- > Von: Wengrzik, Andreas [mailto:ian at kingcon.com] It isn't. The From header of Ian's mail was: From: "" Obviously your software replaces "" with your name. hp -- _ | Peter J. Holzer | If the code is old but the problem is new |_|_) | Sysadmin WSR / LUGA | then the code probably isn't the problem. | | | hjp at wsr.ac.at | __/ | http://www.hjp.at/ | -- Tim Bunce on dbi-users, 2004-11-05 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 388 bytes Desc: not available URL: From erek at blumenthals.com Sun Feb 6 21:50:07 2005 From: erek at blumenthals.com (Erek Dyskant) Date: Sun, 6 Feb 2005 13:50:07 -0700 Subject: Compiling Nagios 2.0b1 on Solaris 7 Message-ID: <20050206205006.GB30125@nbtsc.org> Hi All, I'm attempting to compile Nagios 2.0b1 on a somewhat geriatric Solaris box, and running into a compile error. Nagios 1.2 compiles fine. I'm using gcc 3.3.2 and have tried both sun make and gnu make 3.80 Thanks in advance for all your help. Regards, Erek In file included from ../include/nebmods.h:31, from broker.c:33: ../include/nebmodules.h:78: error: parse error before "lt_ptr" ../include/nebmodules.h:78: warning: no semicolon at end of struct or union ../include/nebmodules.h:79: warning: data definition has no type or storage class ../include/nebmodules.h:89: error: parse error before '}' token ../include/nebmodules.h:89: warning: data definition has no type or storage class In file included from broker.c:33: ../include/nebmods.h:51: error: parse error before '*' token ../include/nebmods.h:54: error: parse error before '*' token *** Error code 1 make: Fatal error: Command failed for target `broker.o' Current working directory /opt/home2/erek/src/nagios-2.0b1/base *** Error code 1 make: Fatal error: Command failed for target `all' ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Feb 6 21:54:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 06 Feb 2005 21:54:21 +0100 Subject: Compiling Nagios 2.0b1 on Solaris 7 In-Reply-To: <20050206205006.GB30125@nbtsc.org> References: <20050206205006.GB30125@nbtsc.org> Message-ID: <420683FD.3010202@op5.se> Erek Dyskant wrote: > Hi All, > I'm attempting to compile Nagios 2.0b1 on a somewhat geriatric Solaris > box, and running into a compile error. Nagios 1.2 compiles fine. > I'm using gcc 3.3.2 and have tried both sun make and gnu make > 3.80 > Thanks in advance for all your help. > > Regards, > Erek > > In file included from ../include/nebmods.h:31, > from broker.c:33: > ../include/nebmodules.h:78: error: parse error before "lt_ptr" > ../include/nebmodules.h:78: warning: no semicolon at end of struct or > union > ../include/nebmodules.h:79: warning: data definition has no type or > storage class > ../include/nebmodules.h:89: error: parse error before '}' token > ../include/nebmodules.h:89: warning: data definition has no type or > storage class > In file included from broker.c:33: > ../include/nebmods.h:51: error: parse error before '*' token > ../include/nebmods.h:54: error: parse error before '*' token > *** Error code 1 > make: Fatal error: Command failed for target `broker.o' > Current working directory /opt/home2/erek/src/nagios-2.0b1/base > *** Error code 1 > make: Fatal error: Command failed for target `all' > It appears you do not have the libtool header files installed. They proved the lt_dlopen() and friends. Run ./configure --disable-event-broker. That might sort it out for you. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erek at blumenthals.com Sun Feb 6 22:28:55 2005 From: erek at blumenthals.com (Erek Dyskant) Date: Sun, 6 Feb 2005 14:28:55 -0700 Subject: Compiling Nagios 2.0b1 on Solaris 7 Message-ID: <20050206212855.GA17369@nbtsc.org> Andreas, Thanks a lot for the help. That made it go a bit further. Now it is getting stuck on "undefined symbol: setenv"... Sorry if the answer is obvious. I'm new to compiling on non-typical systems. Regards, Erek gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -lm -lnsl -lsocket -lpthread -lrt Undefined first referenced symbol in file setenv utils.o unsetenv utils.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/opt/home2/erek/src/nagios-2.0b1/base' make: *** [all] Error 2 > > It appears you do not have the libtool header files installed. They > proved the lt_dlopen() and friends. Run ./configure > --disable-event-broker. That might sort it out for you. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Feb 7 00:05:23 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 07 Feb 2005 00:05:23 +0100 Subject: Compiling Nagios 2.0b1 on Solaris 7 In-Reply-To: <20050206212855.GA17369@nbtsc.org> References: <20050206212855.GA17369@nbtsc.org> Message-ID: <4206A2B3.1090200@op5.se> Erek Dyskant wrote: > Andreas, > Thanks a lot for the help. That made it go a bit further. > Now it is getting stuck on "undefined symbol: setenv"... > Sorry if the answer is obvious. I'm new to compiling on > non-typical systems. > That's an issue I believe has been fixed in CVS. Download latest CVS code and try with that. If it doesn't work, gimme a holler and I'll patch it so it does. > Regards, > Erek > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o > ../xdata/xdddefault.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c checks.o > config.o commands.o events.o flapping.o logging.o notifications.o > sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o > xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o > xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o > xdowntime-base.o -lm -lnsl -lsocket -lpthread -lrt > Undefined first referenced > symbol in file > setenv utils.o > unsetenv utils.o > ld: fatal: Symbol referencing errors. No output written to nagios > collect2: ld returned 1 exit status > make[1]: *** [nagios] Error 1 > make[1]: Leaving directory `/opt/home2/erek/src/nagios-2.0b1/base' > make: *** [all] Error 2 > > > >>It appears you do not have the libtool header files installed. They >>proved the lt_dlopen() and friends. Run ./configure >>--disable-event-broker. That might sort it out for you. >> >>-- >>Andreas Ericsson andreas.ericsson at op5.se >>OP5 AB www.op5.se >>Lead Developer >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. ::: Messages without supporting info will risk being >>sent to /dev/null > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Feb 7 06:57:49 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 07 Feb 2005 15:57:49 +1000 Subject: Nagios 1.2 terminating unexpectedly Message-ID: <4207035D.6030208@qut.edu.au> Hi all, I've had to regress to Nagios 1.2 temporarily - I downloaded the source and compiled OK, all good. I kept the Nagios 2 files in place, but copied them to a different directory so my /usr/local/nagios looks like this: drwxrwxr-x 2 nagios nagios 4096 Feb 7 14:35 bin lrwxrwxrwx 1 nagios nagios 11 Feb 7 13:40 etc -> etc.nagios1 drwxrwxr-x 5 nagios nagios 4096 Feb 7 15:25 etc.nagios1 drwxrwxr-x 5 nagios nagios 4096 Jan 25 12:46 etc.nagios2 drwxr-xr-x 2 root root 4096 Jan 25 15:55 libexec lrwxrwxrwx 1 nagios nagios 12 Feb 7 13:40 sbin -> sbin.nagios1 drwxrwxr-x 2 nagios nagios 4096 Feb 7 14:01 sbin.nagios1 drwxrwxr-x 3 nagios nagios 4096 Jan 27 10:13 sbin.nagios2 lrwxrwxrwx 1 nagios nagios 13 Feb 7 13:59 share -> share.nagios1 drwxrwxr-x 8 nagios nagios 4096 Feb 7 14:02 share.nagios1 drwxrwxr-x 9 nagios nagios 4096 Jan 20 15:36 share.nagios2 drwxrwxr-x 6 nagios nagios 4096 Feb 7 15:51 var bin looks like this: lrwxrwxrwx 1 root root 10 Feb 7 14:35 nagios -> nagios.1.2 -rwxr-xr-- 1 nagios nagios 208048 Feb 7 14:01 nagios.1.2 -rwxr-xr-- 1 nagios nagios 352044 Feb 3 13:30 nagios.2.0b1 -rwxr-xr-- 1 nagios nagios 741487 Feb 3 13:30 nagios.cvs.20050203 So i've got the files co-existing. The config files in etc.nagios1 verify OK and Nagios daemonizes OK. However after a few minutes it just terminates silently, no output to the log file or anything. Has anyone got any ideas for me to try?? Thanks, -- Greg Vickers Lab Monitor Project Manager Teaching and Learning Support Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 8276 mobile: 0416 001 674, SD #6 6147 CIROS code: 00213J ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Feb 7 07:05:08 2005 From: benny at bennyvision.com (C. Bensend) Date: Mon, 7 Feb 2005 00:05:08 -0600 (CST) Subject: Nagios 1.2 terminating unexpectedly In-Reply-To: <4207035D.6030208@qut.edu.au> References: <4207035D.6030208@qut.edu.au> Message-ID: <61236.63.227.74.41.1107756308.squirrel@webmail.stinkweasel.net> > So i've got the files co-existing. The config files in etc.nagios1 > verify OK and Nagios daemonizes OK. However after a few minutes it just > terminates silently, no output to the log file or anything. > > Has anyone got any ideas for me to try?? strace/ktrace/insert-process-tracing-program-here. Run it through gdb. Bump up the debug level. There's three. :) Benny -- "I'm on the Zoloft to keep from killing y'all." -- Mike Tyson ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Mon Feb 7 07:24:44 2005 From: james.mohr at elaxy.com (Mohr James) Date: Mon, 7 Feb 2005 07:24:44 +0100 Subject: AW: Moving from a commercial product to Nagios Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C15082AB@srv-cob-00-0014.elaxy.org> > -----Urspr?ngliche Nachricht----- > von Andreas Ericsson > Gesendet: Samstag, 5. Februar 2005 00:54 > For a company solution, I would seriously recommend enlisting > the aid of > a consultant. It should help immensely in initial setting up > and you'll > get a quicker return of investment and get to an acceptable > level on the > rather steep learning-curve quickly. That usually makes > everybody happy. Everyone except the accounting department. One reason we are moving away from the commerical product is the cost and there is no way we are going to get approval to have a consultant come in. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Mon Feb 7 09:29:58 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 7 Feb 2005 09:29:58 +0100 Subject: Monitoring HP ProLiant Linux servers -- Nagios vs. OVO vs. SIM Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9693@SYGOMAIL.GOE.AD.SYCOR.DE> Yes, I'm talking about that script. On the Insight Board, there have to be a configuration point, where you can insert the snmp community string, i think. When you have a Windows Server, you have to install the Simple Network Management Protocol and the HP/Compaq Management Agents. In the Services.msc, you have to go to the security tap of the snmp services, and set the right community. Here's what I did in checkcommands.cfg: # 'check_insight' command definition define command{ command_name check_insight command_line $USER1$/check_compaq_insight.pl -H $HOSTADDRESS$ -C $USER3$ } > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Paul Dulaba > Sent: Friday, February 04, 2005 6:22 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring HP ProLiant Linux > servers -- Nagios vs. OVO vs. SIM > > Are you talking about the check_compaq_insight.pl script? > > Also, can you provide som examples of how you are using this script? > What I am having difficulties understanding is how to setup > the server that is being monitored. I don't see anyplace in > iLO to configure the insight board to have a community string. > > Hope you can offer some details. > > On Thu, 3 Feb 2005 16:30:57 +0100, Sand Philipp > wrote: > > Hi, > > > > I didn't wrote the plugin, so I can't distribute > it...although, it is already distributed and can be found in > the nagios plugins contrib folder . > > > > Greets, > > Philipp > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net ] On Behalf Of > > > Benoit Mortier > > > Sent: Tuesday, February 01, 2005 11:19 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Monitoring HP ProLiant Linux > servers -- > > > Nagios vs. OVO vs. SIM > > > > > > Le Mardi 1 F?vrier 2005 16:52, Sand Philipp a ?crit : > > > > Hi, > > > > > > > > We're using Nagios + Insight Manager. Works fine for us. > > > > > > > > We use Nagios as our main monitoring Platform, and have > > > integrated the > > > > HP Insight Manager into the Nagios. The Plugin we're using > > > is based on > > > > snmp queries to get the status of the local insight manager > > > > client, and reports them to the nagios. When it detects > an error, > > > the status > > > > in nagios changes, we get a little Status info like "SCSI > > > degraded" or > > > > something, and we connect to the insight manager and have a > > > > further look. All the other stuff like monitoring disk space, > > > > processes, memory, some handwritten stuff is beeing > checked by nagios plugins. > > > > I think the HP Insight Manager is very good to monitor all the > > > > Hardware Issues, but Nagios is much more flexible with > other checks. > > > > > > Hi, > > > > > > could you share the plugin with us ? is it gpl ? i yes could you > > > upload it to nagiosplug project at sourceforge. > > > > > > Thanks > > > > > > -- > > > Benoit Mortier > > > Linux Engineer > > > www.opensides.be > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Mon Feb 7 10:11:51 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 07 Feb 2005 10:11:51 +0100 Subject: Problem with nagios.cfg and perl variable In-Reply-To: References: Message-ID: <420730D7.2060206@interface-business.de> ian at kingcon.com wrote: > Hello, > > I just started with nagios, and linux for that matter, and am in the process of setting it up. When I run the nagios -v command I get the following error: > > Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 868 (UNKNOWN VARIABLE) > > That variable is in the section entitled: > > # MAXIMUM EMBEDDED PERL INTERPRETER CALLS > # This value determines how often (if at all) the embedded Perl > # interpreter is reinitialized during runtime. This is useful > # if you notice that the Perl interpreter is causing slow > # memory leaks over time. Setting this value to 0 means the > # embedded Perl interpreter will never be reinitialized. Any > # value > 0 is the number of times the embedded Perl interpreter > # is used (i.e. a Perl plugin is executed) before it is > # reinitialized during runtime. If you didn't compile Nagios with > # embedded Perl support, this option has no effect. > > max_embedded_perl_calls=0 > > What is this refering too? I checked my version of perl, and mod_perl and they are up to date? > > Where should I go to begin diagnosing this. You can try to hash that variable out. I think, your config is not error-free. Stephan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ac at itpartner.nu Mon Feb 7 11:29:36 2005 From: ac at itpartner.nu (Anders Christensen) Date: Mon, 7 Feb 2005 11:29:36 +0100 Subject: NSclient. "Connection refused by host " Message-ID: <9370773F5F35CB4281A6C3EC61E3A0CA0F9C1B@itpdk-srv01.itpartner.dom> My NSclient 2.01 sometimes goes into the state of " Connection refused by host" Sometimes, I can correct the problem simply by restarting the service. If the service is "locked", I can sometimes kill the pnsclient process using taskmanager. Otherwice, Im forced to reboot the server :-( What causes this "connection refused" ? How can I find the error and how to correct it? It sometimes helps to change the port number. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ac at itpartner.nu Mon Feb 7 11:32:42 2005 From: ac at itpartner.nu (Anders Christensen) Date: Mon, 7 Feb 2005 11:32:42 +0100 Subject: Collapse multible services under service status. Message-ID: <9370773F5F35CB4281A6C3EC61E3A0CA0F9C1C@itpdk-srv01.itpartner.dom> When a server is down, all the services fails, and the server then uses 15 lines of space displaying all the failed services. I have tried using dependicys, but no go... I want ONLY 1 error under service state when an entire host fails, or all services on that server. Is that possible ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Mon Feb 7 12:08:59 2005 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 7 Feb 2005 11:08:59 -0000 Subject: NSclient. "Connection refused by host " Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92A8FEA@netfinity-1.foundation-it.local> Anders Christensen wrote: > My NSclient 2.01 sometimes goes into the state of " Connection > refused by host" Sometimes, I can correct the problem simply by > restarting the service. > If the service is "locked", I can sometimes kill the pnsclient > process using taskmanager. Otherwice, Im forced to reboot the server > > What causes this "connection refused" ? How can I find the error and > how to correct it? It sometimes helps to change the port number. If the server also runs MS Exchange, it may be grabbing hold of port 1248 and preventing NSClient from working. Configure NSClient to use a much higher port number, above 2000 should be plenty high enough. Make sure the port isn't used by anything else. If you can't kill off a process using Task Manager, try using the pstools (specifically pskill) freeware package available from www.sysinternals.com. Phil ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ovig.degrouard at jouy.inra.fr Mon Feb 7 15:22:16 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Mon, 07 Feb 2005 15:22:16 +0100 Subject: bad plugins package? Message-ID: <42077998.2090905@jouy.inra.fr> Hi, I have two computers but the second has plugins problems when I test it in a shell. THE FIRST running with Mandrake 10.1 (it works good) Name : nagios Version : 2.0a1 Release : 0.2004*1002*.2mdk Name : nagios-plugins Version : 1.4.0 Release : 0.2004*0930*.1mdk [me at pc1 nagios]# /usr/lib/nagios/plugins/check_ping -H 138.xxx.xxx.xxx -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 0.22 ms [me at pc1 nagios]$ /usr/lib/nagios/plugins/check_load -w 5,10,50 -c 10,15,55 OK - load average: 0.30, 0.20, 0.13|load1=0.300000;5.000000;10.000000;0.000000 load5=0.200000;10.000000;15.000000;0.000000 load15=0.130000;50.000000;55.000000;0.000000 THE SECOND running with Mandrake 10.2 beta1 Name : nagios Version : 2.0a1 Release : 0.2004*1024*.2mdk Name : nagios-plugins Version : 1.4.0 Release : 0.2004*1220*.3mdk [me at pc2 nagios]# /usr/lib/nagios/plugins/check_ping -H 138.xxx.xxx.xxx -w 3000.0,80% -c 5000.0,100% -p 1 /bin/ping -n -U -w 10 -c 1 138.102.22.168 *CRITICAL - Could not interpret output from ping command* [me at pc2 nagios]# /usr/lib/nagios/plugins/check_load -w 5,10,50 -c 10,15,55 *Warning threshold must be float or float triplet!* Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 Is the package nagios-plugins release 0.2004*1220*.3mdk bad? Thank you, Ovig Degrouard ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ovig.degrouard at jouy.inra.fr Mon Feb 7 15:35:38 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Mon, 07 Feb 2005 15:35:38 +0100 Subject: bad plugins release? Message-ID: <42077CBA.5020900@jouy.inra.fr> Hi, I have two computers but the second has plugins problems when I test it in a shell. THE FIRST running with Mandrake 10.1 (it works good) Name : nagios Version : 2.0a1 Release : 0.2004*1002*.2mdk Name : nagios-plugins Version : 1.4.0 Release : 0.2004*0930*.1mdk [me at pc1 nagios]# /usr/lib/nagios/plugins/check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 0.22 ms [me at pc1 nagios]$ /usr/lib/nagios/plugins/check_load -w 5,10,50 -c 10,15,55 OK - load average: 0.30, 0.20, 0.13|load1=0.3000;5.0000;10.0000;0.0000 load5=0.2000;10.0000;15.0000;0.0000 load15=0.1300;50.0000;55.0000;0.0000 THE SECOND running with Mandrake 10.2 beta1 Name : nagios Version : 2.0a1 Release : 0.2004*1024*.2mdk Name : nagios-plugins Version : 1.4.0 Release : 0.2004*1220*.3mdk [me at pc2 nagios]# /usr/lib/nagios/plugins/check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 1 /bin/ping -n -U -w 10 -c 1 138.102.22.168 *CRITICAL - Could not interpret output from ping command* [me at pc2 nagios]# /usr/lib/nagios/plugins/check_load -w 5,10,50 -c 10,15,55 **Warning threshold must be float or float triplet!* * Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 Is the package nagios-plugins release 0.2004*1220*.3mdk bad? Thank you, Ovig Degrouard ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Feb 7 15:49:10 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 7 Feb 2005 09:49:10 -0500 (EST) Subject: bad plugins release? In-Reply-To: <42077CBA.5020900@jouy.inra.fr> References: <42077CBA.5020900@jouy.inra.fr> Message-ID: release 1.4 was just made recently - so anything from december would have been the CVS code which was in flux. Try the full release - not sure if the mandrake package maintainer has issued new rpms. -sg On Mon, 7 Feb 2005, Ovig Degrouard wrote: > Hi, > I have two computers but the second has plugins problems when I test it in a > shell. > > THE FIRST running with Mandrake 10.1 (it works good) > > Name : nagios > Version : 2.0a1 > Release : 0.2004*1002*.2mdk > > Name : nagios-plugins > Version : 1.4.0 > Release : 0.2004*0930*.1mdk > > [me at pc1 nagios]# /usr/lib/nagios/plugins/check_ping -H 192.168.0.1 -w > 3000.0,80% -c 5000.0,100% -p 1 > PING OK - Packet loss = 0%, RTA = 0.22 ms > > [me at pc1 nagios]$ /usr/lib/nagios/plugins/check_load -w 5,10,50 -c 10,15,55 > OK - load average: 0.30, 0.20, 0.13|load1=0.3000;5.0000;10.0000;0.0000 > load5=0.2000;10.0000;15.0000;0.0000 load15=0.1300;50.0000;55.0000;0.0000 > > > > THE SECOND running with Mandrake 10.2 beta1 > > Name : nagios > Version : 2.0a1 > Release : 0.2004*1024*.2mdk > > Name : nagios-plugins > Version : 1.4.0 > Release : 0.2004*1220*.3mdk > > [me at pc2 nagios]# /usr/lib/nagios/plugins/check_ping -H 192.168.0.1 -w > 3000.0,80% -c 5000.0,100% -p 1 > /bin/ping -n -U -w 10 -c 1 138.102.22.168 > *CRITICAL - Could not interpret output from ping command* > > [me at pc2 nagios]# /usr/lib/nagios/plugins/check_load -w 5,10,50 -c 10,15,55 > **Warning threshold must be float or float triplet!* * > Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > > > Is the package nagios-plugins release 0.2004*1220*.3mdk bad? > > Thank you, > Ovig Degrouard > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j.karsch at radeberger-gruppe.de Mon Feb 7 15:54:17 2005 From: j.karsch at radeberger-gruppe.de (Karsch, Jonas) Date: Mon, 7 Feb 2005 15:54:17 +0100 Subject: AW: bad plugins release? Message-ID: Hi, i have the same Problem with Fedora 3, nagios-2.0b1.tar.gz, nagios-plugins-1.4.tar.gz. All hosts seem to be down. check_ping even results: CRITICAL - Could not interpret output from ping command Configuration was runing on an earlier Nagios relase properly. Thank you Jonas Karsch -----Urspr?ngliche Nachricht----- Von: Ovig Degrouard [mailto:ovig.degrouard at jouy.inra.fr] Gesendet: Montag, 7. Februar 2005 15:36 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] bad plugins release? Hi, I have two computers but the second has plugins problems when I test it in a shell. THE FIRST running with Mandrake 10.1 (it works good) Name : nagios Version : 2.0a1 Release : 0.2004*1002*.2mdk Name : nagios-plugins Version : 1.4.0 Release : 0.2004*0930*.1mdk [me at pc1 nagios]# /usr/lib/nagios/plugins/check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 0.22 ms [me at pc1 nagios]$ /usr/lib/nagios/plugins/check_load -w 5,10,50 -c 10,15,55 OK - load average: 0.30, 0.20, 0.13|load1=0.3000;5.0000;10.0000;0.0000 load5=0.2000;10.0000;15.0000;0.0000 load15=0.1300;50.0000;55.0000;0.0000 THE SECOND running with Mandrake 10.2 beta1 Name : nagios Version : 2.0a1 Release : 0.2004*1024*.2mdk Name : nagios-plugins Version : 1.4.0 Release : 0.2004*1220*.3mdk [me at pc2 nagios]# /usr/lib/nagios/plugins/check_ping -H 192.168.0.1 -w 3000.0,80% -c 5000.0,100% -p 1 /bin/ping -n -U -w 10 -c 1 138.102.22.168 *CRITICAL - Could not interpret output from ping command* [me at pc2 nagios]# /usr/lib/nagios/plugins/check_load -w 5,10,50 -c 10,15,55 **Warning threshold must be float or float triplet!* * Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 Is the package nagios-plugins release 0.2004*1220*.3mdk bad? Thank you, Ovig Degrouard ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmann at gmail.com Mon Feb 7 16:46:55 2005 From: csmann at gmail.com (Chris Mann) Date: Mon, 7 Feb 2005 10:46:55 -0500 Subject: check_http socket time out? Message-ID: <25de63b50502070746770e2423@mail.gmail.com> Hi all, I'm having a problem getting check_http to run on an internal webserver here. When I run the check_http command from the command line it works fine: HTTP OK HTTP/1.1 200 OK - 6029 bytes in 0.004 seconds |time=0.004218s;;;0.000000 size=6029B;;;0 However, when I have nagios use the check_http command I get the following showing in nagios: CRITICAL - Socket timeout after 10 seconds nagios.log shows the following: [1107790920] SERVICE;webmail;HTTP;CRITICAL;3/3;HARD;1107790596;1107790973;ACTIVE;1;1;1;1107787954;0;CRITICAL;120;0;0;2741;1107787954;1;1;0;0;1;0;0.00;0;1;1;1;CRITICAL - Socket timeout after 10 seconds Here's the checkcommand.cfg entry: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } Any thoughts? -- Chris Mann "I was killing all my money, Spending brain cells just as fast" ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmann at gmail.com Mon Feb 7 17:25:55 2005 From: csmann at gmail.com (Chris Mann) Date: Mon, 7 Feb 2005 11:25:55 -0500 Subject: check_http socket time out? In-Reply-To: <25de63b50502070746770e2423@mail.gmail.com> References: <25de63b50502070746770e2423@mail.gmail.com> Message-ID: <25de63b50502070825f5946f8@mail.gmail.com> Umm never mind, I sorted it out on my own. Seems I forgot to go through my proxy. On Mon, 7 Feb 2005 10:46:55 -0500, Chris Mann wrote: > Hi all, > > I'm having a problem getting check_http to run on an internal > webserver here. When I run the check_http command from the command > line it works fine: > > HTTP OK HTTP/1.1 200 OK - 6029 bytes in 0.004 seconds > |time=0.004218s;;;0.000000 size=6029B;;;0 > > However, when I have nagios use the check_http command I get the > following showing in nagios: > > CRITICAL - Socket timeout after 10 seconds > > nagios.log shows the following: > [1107790920] SERVICE;webmail;HTTP;CRITICAL;3/3;HARD;1107790596;1107790973;ACTIVE;1;1;1;1107787954;0;CRITICAL;120;0;0;2741;1107787954;1;1;0;0;1;0;0.00;0;1;1;1;CRITICAL > - Socket timeout after 10 seconds > > Here's the checkcommand.cfg entry: > > # 'check_http' command definition > define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > } > > Any thoughts? > > -- > Chris Mann > "I was killing all my money, Spending brain cells just as fast" > -- Chris Mann "I was killing all my money, Spending brain cells just as fast" ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BolducB at brandonrha.mb.ca Mon Feb 7 17:31:23 2005 From: BolducB at brandonrha.mb.ca (Bolduc, Blair) Date: Mon, 7 Feb 2005 10:31:23 -0600 Subject: NSclient. "Connection refused by host " Message-ID: <6E667F3B5B568D4BBF4765BE662D5EF6991CAD@brha-exch-2k.brandonrha.mb.ca> -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Phil Costelloe Sent: Monday, February 07, 2005 05:09 To: nagios-users at lists.sourceforge.net Subject: [SPAM] - RE: [Nagios-users] NSclient. "Connection refused by host " - Email found in subject Anders Christensen wrote: > My NSclient 2.01 sometimes goes into the state of " Connection > refused by host" Sometimes, I can correct the problem simply by > restarting the service. > If the service is "locked", I can sometimes kill the pnsclient > process using taskmanager. Otherwice, Im forced to reboot the server > > What causes this "connection refused" ? How can I find the error and > how to correct it? It sometimes helps to change the port number. If the server also runs MS Exchange, it may be grabbing hold of port 1248 and preventing NSClient from working. Configure NSClient to use a much higher port number, above 2000 should be plenty high enough. Make sure the port isn't used by anything else. If you can't kill off a process using Task Manager, try using the pstools (specifically pskill) freeware package available from www.sysinternals.com. Phil CONFIDENTIALITY NOTICE: This message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient you are hereby notified that any distribution, copying, disclosure and use of, or reliance on the contents of this transmission is strictly prohibited. If you have received this transmission in error, please notify us immediately by return e-mail and destroy the transmission by deleting the original message, attachments and all copies.7/2/2005 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmann at gmail.com Mon Feb 7 18:04:27 2005 From: csmann at gmail.com (Chris Mann) Date: Mon, 7 Feb 2005 12:04:27 -0500 Subject: check_disk_smb error: Result from smbclient not suitable Message-ID: <25de63b5050207090456ca178c@mail.gmail.com> I'm trying to use the check_disk_smb plugin to check disk space on windows servers. via the command line it works fine, returns the info. When the plugin is configured, nagios reports the following error: Result from smbclient not suitable Any thoughts as to where to start to look to fix this? -- Chris Mann "I was killing all my money, Spending brain cells just as fast" ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EmmettH at Examen.com Mon Feb 7 20:54:54 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Mon, 07 Feb 2005 11:54:54 -0800 Subject: Odd "RESTART" service check problem................ Message-ID: <4207C78E.5050803@Examen.com> Hi Folks, We had an odd problem this weekend, and I am wondering if anyone else has seen the same thing. We are running Nagios v2.0b1 on a Debian box. We had to take a bunch of machines down, so we turned off all service and host checks...from the logs: [02-06-2005 19:40:45] EXTERNAL COMMAND: STOP_EXECUTING_HOST_CHECKS; [02-06-2005 19:39:57] EXTERNAL COMMAND: STOP_EXECUTING_SVC_CHECKS; After the maintenance was done, we restarted host and service checks: [02-06-2005 22:13:45] EXTERNAL COMMAND: START_EXECUTING_HOST_CHECKS; [02-06-2005 22:13:45] EXTERNAL COMMAND: START_EXECUTING_SVC_CHECKS; As luck would have it, we had a server problem later that night which Nagios failed to catch with a simple "http_check". So........I went back through the web server logs looking for the nagios checks (we have two going to the same machine checking two different backend services). One of the services was being checked just fine, but the other (of course the one that later went down) was not being checked at all AFTER the restart of svc checks! Once I restarted the Nagios process the checks started happening again. Needless to say, we are wondering what other services were not being checked. Has anyone else experienced this? Where seemingly random services are not getting checked after a "START_EXECUTING_SVC_CHECKS" command? Thanks, -Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From chris.stankaitis at datawire.net Mon Feb 7 21:26:39 2005 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Mon, 07 Feb 2005 15:26:39 -0500 Subject: Complicated Cascading Dependency & Nagios 2.0 Message-ID: <4207CEFF.8060505@datawire.net> Hello all here is my issue which I need some help on. t1 -> fw-eth0 -> fw-eth1 -> fw-ethX -> box1,2,3 I need to setup a dependency tree for the above, the boxes need to be depandant on the eth port on the firewall they are plugged into, that port is dependant on a main ingress port on the fw, which itself is then depandant the port on the fw which connect to the t1, the uplink port is depandant on the t1 router. so if the t1 proper goes down nothing behind it will page, we'll only get a single page for the t1, as well if any of the eth's inbetween go down we'll have appropiate pages, here is a bit of a curve though... anything behing the eth0 on the firewall is being monitored passively, and sent via NSCA to an external Nagios box, using active host/service checks. here is the current config: define servicedependency{ host_name t1-router service_description PING dependent_host_name fw-eth0 dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } define servicedependency{ host_name fw-eth0 service_description PING dependent_host_name fw-eth1 dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } define servicedependency{ host_name fw-eth1 service_description PING dependent_host_name fw-eth2,fw-eth5,fw-eth8,fw-eth9 dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } define servicedependency{ host_name fw-eth2 service_description PING dependent_host_name box1,box2,box3,box4,box5 dependent_service_description * execution_failure_criteria n notification_failure_criteria u,c } I have freshness checking set on, and my "not-fresh" script will put the serivce into an UNKNOWN state if it hasn't gotten passive info in X mins. what I need in short is.. when ethX behind the fw goes into Unknown for PING the host needs to go down and be treaded as a network outage, and supress the notification for everything behind it which is dependant on, what I get now is ethX goes into unknown and the host is up and happy when it is not. I am also not 100% clear in the docs about the proper usage of the "inherits_parent" config directive, I am probally reading it wrong but it seems like a redundant config option to me, (now saying that I KNOW I am using it wrong) if fw-eth1 goes down then by proxy since eth2 is confged as a dependant of it, and box2 is configed as a dependant of eth2 wouldn't everything behind eth1 not notify based on a cascading dependency, and not require the inherits_parent config option?? Thanks for reading this novel. --Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Engstrom at fortix.net Tue Feb 8 01:49:24 2005 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Mon, 7 Feb 2005 16:49:24 -0800 Subject: Nagios fails to start Message-ID: <6E8A7F9B09E71340A7BCFF709CBEC5974F5069@ftx2k3-pdc01> Greetings all, When attempting to start the nagios daemon I get the following error... "Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock" Everything seems to have compiled correctly from what I can tell. The following items have been checked... 1. Verified the configuration options using the -v command-line option. 2. Checked the Nagios log file for messages relating to startup or status data errors. 3. Verified the rights on all Nagios directories. Any ideas as to what could be causing this issue and or how I can get more log information? ________________________________ Jeff Engstrom Systems Engineer FORTiX - Technology Solutions DIRECT | 503.439.7660 FAX | 503.645.6684 www.fortix.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2832 bytes Desc: image001.gif URL: From s.shipway at auckland.ac.nz Tue Feb 8 02:25:51 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 8 Feb 2005 14:25:51 +1300 Subject: Host searchbox for lefthand menu Message-ID: <039401c50d7d$204cbbe0$01fea8c0@itss.auckland.ac.nz> If anyone is interested, I've created a host searchbox for the side menu. To add it, you need: 1) The Nagios.pm perl module 2) Install my findhost.pl script into /nagios/cgi-bin 3) Modify /nagios/html/side.html to add a couple of lines. It gives you a single textbox and a 'Go' button. Put the hostname in the box, click go, and the main frame will show the service details for that host. I created this quickly because 300 hosts is too many to wait for the Host Detail list! If anyone would like a copy, email me. When it's a bit more mature I'll stick it up on the NagiosExchange. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From sac_bagus at yahoo.com Tue Feb 8 06:15:22 2005 From: sac_bagus at yahoo.com (bagus a rahman) Date: Tue, 8 Feb 2005 05:15:22 +0000 (GMT) Subject: basic question Message-ID: <20050208051522.8790.qmail@web54210.mail.yahoo.com> do nagios only monitors router, server or it can monitor every node in the network such as client pc? ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Feb 8 09:03:40 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 8 Feb 2005 09:03:40 +0100 Subject: basic question Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C96A3@SYGOMAIL.GOE.AD.SYCOR.DE> Generally Nagios can Monitor everything, you can run a script against. If you want to monitor clients...have fun :) > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of bagus a rahman > Sent: Tuesday, February 08, 2005 6:15 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] basic question > > do nagios only monitors router, server or it can monitor > every node in the network such as client pc? > > ______________________________________________________________ > __________ > Yahoo! Messenger - Communicate instantly..."Ping" > your friends today! Download Messenger Now > http://uk.messenger.yahoo.com/download/index.html > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecasbas at unav.es Tue Feb 8 09:20:37 2005 From: ecasbas at unav.es (Emilio Casbas) Date: Tue, 08 Feb 2005 09:20:37 +0100 Subject: hp printer Message-ID: <42087655.5040403@unav.es> Hi, Is possible to use Nagios to monitor the HP printer status such as; blocked printer, missing paper and more specific parameters from a Printer? Thanks in Advance. Emilio C. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 8 09:27:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Feb 2005 09:27:32 +0100 Subject: Host searchbox for lefthand menu In-Reply-To: <039401c50d7d$204cbbe0$01fea8c0@itss.auckland.ac.nz> References: <039401c50d7d$204cbbe0$01fea8c0@itss.auckland.ac.nz> Message-ID: <420877F4.8060002@op5.se> Steve Shipway wrote: > If anyone is interested, I've created a host searchbox for the side menu. > > To add it, you need: > 1) The Nagios.pm perl module > 2) Install my findhost.pl script into /nagios/cgi-bin > 3) Modify /nagios/html/side.html to add a couple of lines. > > It gives you a single textbox and a 'Go' button. Put the hostname in the > box, click go, and the main frame will show the service details for that > host. > > I created this quickly because 300 hosts is too many to wait for the Host > Detail list! > > If anyone would like a copy, email me. When it's a bit more mature I'll > stick it up on the NagiosExchange. > This is already default in Nagios 2.0, and implemented in the cgi's. > Steve > > --- > Steve Shipway: ITSS, University of Auckland > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > ** We can only discover new oceans when we have the ** > ** courage to lose sight of the shore. ** -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 8 09:28:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Feb 2005 09:28:21 +0100 Subject: hp printer In-Reply-To: <42087655.5040403@unav.es> References: <42087655.5040403@unav.es> Message-ID: <42087825.7030204@op5.se> Emilio Casbas wrote: > Hi, > > Is possible to use Nagios to monitor the HP printer status such as; > blocked printer, missing paper and > more specific parameters from a Printer? > Yes. man snmpwalk; check_hpjd --help > Thanks in Advance. > Emilio C. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkirhlarov at oilspace.com Tue Feb 8 09:46:39 2005 From: dkirhlarov at oilspace.com (Dmitriy Kirhlarov) Date: Tue, 8 Feb 2005 08:46:39 +0000 Subject: hp printer In-Reply-To: <42087655.5040403@unav.es> References: <42087655.5040403@unav.es> Message-ID: <20050208084639.GA6597@office.oilspace.com> Hi! On Tue, Feb 08, 2005 at 09:20:37AM +0100, Emilio Casbas wrote: > Is possible to use Nagios to monitor the HP printer status such as; > blocked printer, missing paper and > more specific parameters from a Printer? Nagios -- very advanced crond. If you can write script for get information from printer -- you can use this script under nagios. WBR -- Dmitriy Kirhlarov OILspace, 4, B. Spasskaya str. room 01, 107978 Moscow, Russia P:+7 095 787 4700 F:+7 095 787 4701 E:DmitriyKirhlarov at oilspace.com OILspace - The resource enriched - www.oilspace.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Tue Feb 8 10:23:56 2005 From: srunschke at abit.de (Sascha Runschke) Date: Tue, 8 Feb 2005 10:23:56 +0100 Subject: Antwort: Moving from a commercial product to Nagios [Virus scanned] Message-ID: G'morning! > As I mentioned several months ago, we are in the process of moving from > a commercial product to Nagios. I would like to get some feedback from > someone who has gone through this process, discussing primarily the > administrative aspects. For example, how many people were on the project > team, how much time was spent per time, how long the process lasted > (i.e. in months), any pitfalls and problems, etc. I migrated an IBM Tivoli Netview environment to Nagios. I planned, customized and deployed it all on my own basically. Took me about 3 months from the concept until it went live. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ivan.Garcia at leroymerlin.es Tue Feb 8 10:47:15 2005 From: Ivan.Garcia at leroymerlin.es (Ivan.Garcia at leroymerlin.es) Date: Tue, 8 Feb 2005 10:47:15 +0100 Subject: nrpe error? help me Message-ID: Hi all, i have a problem with the plugin nrpe installed in a UNIXWARE machine. I have installed Nagios Version 2.0b1, and nagiosplug 1.4 release version. I have compiled the pluggins in the unixware machine and it?s all OK, when I execute the check_disk in local mode it?s OK . unixware001:/opt/nagios/libexec# ./check_disk_uw /dev/root DISK OK - free space: / 571 MB (44%);| /=713MB;1284;1284;0;1284 But when the pluggin is called from the nagios server (red-hat 9 ) with the pluggin nrpe this is the message: linuxtrf:/opt/nagios/libexec# ./check_nrpe -H 10.24.74.30 -c check_disk CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? I have configured the services and tcpwrappers for guarantee the access from nagios-server to unixware-client The check_disk_uw was compiled in unixware machine and it don?t works in the linux machine. How i could do it work? Any idea? excuse me my bad english regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian.chard at sers.ox.ac.uk Tue Feb 8 10:48:27 2005 From: ian.chard at sers.ox.ac.uk (Ian Chard) Date: Tue, 08 Feb 2005 09:48:27 +0000 Subject: Monitoring Unix logs Message-ID: <42088AEB.6080706@sers.ox.ac.uk> Hi, I'm wondering how other Nagios users use check_log to monitor their Unix logs. I've got my Nagios server also acting as a central syslog server, so I have all messages in one place and run check_log over all of them. I have a couple of questions: - is it best to set these services up as volatile? - has anyone compiled a list of "bad words" to watch for in the logs of particular version of Unix? Incidentally, the first thing I did was modify check_log so that it uses egrep instead of grep (so I can match things like "error|warning"). Cheers - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 204937 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 8 10:52:28 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Feb 2005 10:52:28 +0100 Subject: Monitoring Unix logs In-Reply-To: <42088AEB.6080706@sers.ox.ac.uk> References: <42088AEB.6080706@sers.ox.ac.uk> Message-ID: <42088BDC.3070301@op5.se> Ian Chard wrote: > Hi, > > I'm wondering how other Nagios users use check_log to monitor their > Unix logs. I've got my Nagios server also acting as a central syslog > server, so I have all messages in one place and run check_log over > all of them. I have a couple of questions: > > - is it best to set these services up as volatile? Yes. > - has anyone compiled a list of "bad words" to watch for in the logs > of particular version of Unix? > No. That would be highly individual, so there isn't much chance of any such one being very portable. > Incidentally, the first thing I did was modify check_log so that it > uses egrep instead of grep (so I can match things like "error|warning"). > Probably a good idea. Or you could have used check_log2.pl, which does pcre matching. > Cheers > - Ian > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Tue Feb 8 11:02:17 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 08 Feb 2005 20:02:17 +1000 Subject: Nagios fails to start In-Reply-To: <6E8A7F9B09E71340A7BCFF709CBEC5974F5069@ftx2k3-pdc01> References: <6E8A7F9B09E71340A7BCFF709CBEC5974F5069@ftx2k3-pdc01> Message-ID: <42088E29.1060605@qut.edu.au> Jeff: Run nagios manually: nagios -v ../path/to/nagios.cfg To see what is happening (oh yeah init.d/nagios verify works too) Jeff Engstrom wrote: > Greetings all, > > > > When attempting to start the nagios daemon I get the following error? > > ?Starting network monitor: nagios > > No lock file found in /usr/local/nagios/var/nagios.lock? > > > > Everything seems to have compiled correctly from what I can tell. The > following items have been checked? > > > > 1. Verified the configuration options using the ?v command-line option. > > 2. Checked the Nagios log file for messages relating to startup or > status data errors. > > 3. Verified the rights on all Nagios directories. > > > > Any ideas as to what could be causing this issue and or how I can get > more log information? > > > > ------------------------------------------------------------------------ > > > > **Jeff Engstrom** > > Systems Engineer > > *FORTiX ? Technology Solutions* > > DIRECT | 503.439.7660 > > > > FAX | 503.645.6684 > > www.fortix.com > > > -- Greg Vickers Lab Monitor Project Manager Teaching and Learning Support Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 8276 mobile: 0416 001 674, SD #6 6147 CIROS code: 00213J ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ivan.Garcia at leroymerlin.es Tue Feb 8 11:09:05 2005 From: Ivan.Garcia at leroymerlin.es (Ivan.Garcia at leroymerlin.es) Date: Tue, 8 Feb 2005 11:09:05 +0100 Subject: nrpe error? help me Message-ID: Hi all, i have a problem with the plugin nrpe installed in a UNIXWARE machine. I have installed Nagios Version 2.0b1, and nagiosplug 1.4 release version. I have compiled the pluggins in the unixware machine and it?s all OK, when I execute the check_disk in local mode it?s OK . unixware001:/opt/nagios/libexec# ./check_disk_uw /dev/root DISK OK - free space: / 571 MB (44%);| /=713MB;1284;1284;0;1284 But when the pluggin is called from the nagios server (red-hat 9 ) with the pluggin nrpe this is the message: linuxtrf:/opt/nagios/libexec# ./check_nrpe -H 10.24.74.30 -c check_disk CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? I have configured the services and tcpwrappers for guarantee the access from nagios-server to unixware-client The check_disk_uw was compiled in unixware machine and it don?t works in the linux machine. How i could do it work? Any idea? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sebastian.Bergstroem at kunskapsskolan.se Tue Feb 8 09:46:22 2005 From: Sebastian.Bergstroem at kunskapsskolan.se (=?iso-8859-1?Q?Bergstr=F6m_Sebastian?=) Date: Tue, 8 Feb 2005 09:46:22 +0100 Subject: check_icmp Message-ID: Andreas Ericsson, I know you're involved in this so perhaps you could give me an answer? Anyone is encouraged to answer of course :o) I'm trying to find information about the check_icmp plugin for Nagios. Some e-mails in the past has touched this but I'm not getting the complete picture. Is there any webpage or other information channel that shows progress on the check_icmp development and perhaps some of it's benefits over check_ping (I assume _icmp is to replace _ping?). Some documentation like switches would be handy as well. Thanks in advance! Best regards, Sebastian Bergstroem ---------------------------------------------- Sebastian Bergstroem Technical coordinator Kunskapsskolan i Sverige AB sebastian.bergstroem at kunskapsskolan.se ----------------------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gastondoa at conet.es Tue Feb 8 11:28:22 2005 From: gastondoa at conet.es (Gotzon Astondoa) Date: Tue, 8 Feb 2005 11:28:22 +0100 Subject: nrpe error? help me References: Message-ID: <004501c50dc8$eeff5ba0$10fea8c0@conet.es> In the host that will run check_disk, is defined in allowed_hosts variable the host 10.24.74.30, ? (this variable is in nrpe.cfg) If it is not. Add it, kill nrpe daemon and run nrpe daemon again. bye... ----- Original Message ----- From: Ivan.Garcia at leroymerlin.es To: nagios-users at lists.sourceforge.net Sent: Tuesday, February 08, 2005 11:09 AM Subject: [Nagios-users] nrpe error? help me Hi all, i have a problem with the plugin nrpe installed in a UNIXWARE machine. I have installed Nagios Version 2.0b1, and nagiosplug 1.4 release version. I have compiled the pluggins in the unixware machine and it?s all OK, when I execute the check_disk in local mode it?s OK . unixware001:/opt/nagios/libexec# ./check_disk_uw /dev/root DISK OK - free space: / 571 MB (44%);| /=713MB;1284;1284;0;1284 But when the pluggin is called from the nagios server (red-hat 9 ) with the pluggin nrpe this is the message: linuxtrf:/opt/nagios/libexec# ./check_nrpe -H 10.24.74.30 -c check_disk CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? I have configured the services and tcpwrappers for guarantee the access from nagios-server to unixware-client The check_disk_uw was compiled in unixware machine and it don?t works in the linux machine. How i could do it work? Any idea? Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Feb 8 12:51:09 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Feb 2005 12:51:09 +0100 Subject: check_icmp In-Reply-To: References: Message-ID: <4208A7AD.90306@op5.se> Bergstr?m Sebastian wrote: > Andreas Ericsson, I know you're involved in this so perhaps you could > give me an answer? Anyone is encouraged to answer of course :o) > Being the original author, I think I can. > I'm trying to find information about the check_icmp plugin for > Nagios. Some e-mails in the past has touched this but I'm not getting > the complete picture. Is there any webpage or other information > channel that shows progress on the check_icmp development and perhaps > some of it's benefits over check_ping (I assume _icmp is to replace > _ping?). Some documentation like switches would be handy as well. > > Thanks in advance! > check_icmp is included in the official plugin package as a drop-in replacement for check_ping. check_icmp -h provides the necessary help output. The latest version of check_icmp (as coded by my humble self) is available at https://devel.op5.se/oss or http://oss.op5.se/nagios as check_icmp-.tar.gz. Be aware that the code might change without version increment while I'm researching a weird network error on *bsd (most likely a kernel issue, but it's hard to know for sure), although only for fixing this particular bug. Look for the mtime as provided by apache to find out if it is indeed a new release or not (a fresh one just hatched 2 seconds ago, actually). > > Best regards, Sebastian Bergstroem > > ---------------------------------------------- Sebastian Bergstroem > Technical coordinator Kunskapsskolan i Sverige AB > sebastian.bergstroem at kunskapsskolan.se > ----------------------------------------------- > > > ------------------------------------------------------- SF email is > sponsored by - The IT Product Guide Read honest & candid reviews on > hundreds of IT Products from real users. Discover which products > truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue Feb 8 13:01:43 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 8 Feb 2005 07:01:43 -0500 Subject: NC_Net setup Documentation Message-ID: Hi, The preliminary release of passive checks in NC_Net was uploaded to the official NC_Net web site last week, and in my haste to make it available I neglected to update the Documentation. The install package will be updated within a day or two. However, new drafts of the read me, and Passive check read me are available for viewing/saving from the official NC_Net web site. These files still are not perfect, but they should be a easier to read to assist with configuration process. official NC_Net web site: www.shatterit.com/NC_Net Any problems or comments please contact me at amontibello at shatterit.com Good Luck Tony ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Bergstroem at kunskapsskolan.se Tue Feb 8 13:37:05 2005 From: Sebastian.Bergstroem at kunskapsskolan.se (=?iso-8859-1?Q?Bergstr=F6m_Sebastian?=) Date: Tue, 8 Feb 2005 13:37:05 +0100 Subject: check_icmp Message-ID: Thanks! That truly answers most of my questions. What is the reason that you made check_icmp a drop-in replacement for _ping? Is it that much better? I know that check_ping has a weird problem of timing out everynow and then, even with increased host_check_timeout values... ---------------------------------------------- Sebastian Bergstroem Technical coordinator Kunskapsskolan i Sverige AB sebastian.bergstroem at kunskapsskolan.se ----------------------------------------------- > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: den 8 februari 2005 12:51 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_icmp > > Bergstr?m Sebastian wrote: > > Andreas Ericsson, I know you're involved in this so perhaps > you could > > give me an answer? Anyone is encouraged to answer of course :o) > > > > Being the original author, I think I can. > > > I'm trying to find information about the check_icmp plugin > for Nagios. > > Some e-mails in the past has touched this but I'm not getting the > > complete picture. Is there any webpage or other information channel > > that shows progress on the check_icmp development and > perhaps some of > > it's benefits over check_ping (I assume _icmp is to replace > _ping?). > > Some documentation like switches would be handy as well. > > > > Thanks in advance! > > > > check_icmp is included in the official plugin package as a > drop-in replacement for check_ping. check_icmp -h provides > the necessary help output. > > The latest version of check_icmp (as coded by my humble self) > is available at https://devel.op5.se/oss or > http://oss.op5.se/nagios as check_icmp-.tar.gz. Be > aware that the code might change without version increment > while I'm researching a weird network error on *bsd (most > likely a kernel issue, but it's hard to know for sure), > although only for fixing this particular bug. Look for the > mtime as provided by apache to find out if it is indeed a new > release or not (a fresh one just hatched 2 seconds ago, actually). > > > > > Best regards, Sebastian Bergstroem > > > > ---------------------------------------------- Sebastian Bergstroem > > Technical coordinator Kunskapsskolan i Sverige AB > > sebastian.bergstroem at kunskapsskolan.se > > ----------------------------------------------- > > > > > > ------------------------------------------------------- SF email is > > sponsored by - The IT Product Guide Read honest & candid reviews on > > hundreds of IT Products from real users. Discover which > products truly > > live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > > _______________________________________________ > Nagios-users mailing > > list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please > > include Nagios version, plugin version (-v) and OS when > reporting any > > issue. ::: Messages without supporting info will risk being sent to > > /dev/null > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Karim.Amri at uptime.be Tue Feb 8 14:01:11 2005 From: Karim.Amri at uptime.be (Amri Karim) Date: Tue, 8 Feb 2005 14:01:11 +0100 Subject: Nagios logfile checker for windows Message-ID: <27FA63FC15F4C243A37B07D57C891E3CB90061@ws03-exchange.iconos.be> Hi, I am looking for a logfile checker for windows like check_log2 in the contrib directory of the nagios plugins. I want to use the logchecker together with nrpe_nt. Unfortunatly I can't install perl on the windows machines, as they are production machines. Does anyone know if such a plugin already exists? Thx in advance! -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 3107 bytes Desc: not available URL: From ae at op5.se Tue Feb 8 14:16:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Feb 2005 14:16:21 +0100 Subject: check_icmp In-Reply-To: References: Message-ID: <4208BBA5.8080604@op5.se> Bergstr?m Sebastian wrote: > Thanks! That truly answers most of my questions. > > What is the reason that you made check_icmp a drop-in replacement for > _ping? Is it that much better? > Yes. It's a lot faster (especially for detecting down hosts), more portable ("unable to parse ping output" goes away), it requires less memory (fewer fork()'s = fewer PTE's and fewer task-structures) and has more features. You can f.e. set TTL on outgoing packets, meaning you can monitor which of several redundant routes is being used, and if BGP fucks up and starts routing your traffic through a nearby continent you'll know it soon enough. Also, it's a very common plugin to use, as nearly everybody use ping to find out if their hosts are up (and usually as a service as well). Even a minor speed increase in this plugin can make a dramatic change in nagios performance. Especially with network outages, where the usual check_ping would get ICMP_HOSTUNREACH several times, whereas check_icmp drops the target immediately upon such a reply and deemes it dead (saves roughly 12 seconds per hostcheck with identical default configurations). > I know that check_ping has a weird problem of timing out everynow and > then, even with increased host_check_timeout values... > I don't know about that. I've been using check_icmp since version 0.6. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Feb 8 14:16:49 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 8 Feb 2005 14:16:49 +0100 Subject: Nagios logfile checker for windows Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C96AC@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, I don't know if there's already a plugin for that on windows, but maybe as a suggestion...what about a Sambamount to the nagios server and then use check_log2? :) ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Amri Karim Sent: Tuesday, February 08, 2005 2:01 PM To: nagios-users at lists.sourceforge.net Subject: Nagios logfile checker for windows Hi, I am looking for a logfile checker for windows like check_log2 in the contrib directory of the nagios plugins. I want to use the logchecker together with nrpe_nt. Unfortunatly I can't install perl on the windows machines, as they are production machines. Does anyone know if such a plugin already exists? Thx in advance! ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 8 14:17:17 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Feb 2005 14:17:17 +0100 Subject: Nagios logfile checker for windows In-Reply-To: <27FA63FC15F4C243A37B07D57C891E3CB90061@ws03-exchange.iconos.be> References: <27FA63FC15F4C243A37B07D57C891E3CB90061@ws03-exchange.iconos.be> Message-ID: <4208BBDD.2040701@op5.se> Amri Karim wrote: > Hi, > > I am looking for a logfile checker for windows like check_log2 in the > contrib directory of the nagios plugins. I want to use the > logchecker together with nrpe_nt. > > Unfortunatly I can't install perl on the windows machines, as they > are production machines. > > Does anyone know if such a plugin already exists? > Install perl2exe on some other machine and run perl2exe check_log2.pl -o check_log2.exe (or something similar). > Thx in advance! > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Tue Feb 8 14:27:36 2005 From: james.mohr at elaxy.com (Mohr James) Date: Tue, 8 Feb 2005 14:27:36 +0100 Subject: AW: Antwort: Moving from a commercial product to Nagios [Virus scanned] Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C15082C4@srv-cob-00-0014.elaxy.org> > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag > von Sascha Runschke > Gesendet: Dienstag, 8. Februar 2005 10:24 > An: Nagios-users at lists.sourceforge.net > Betreff: Antwort: [Nagios-users] Moving from a commercial > product to Nagios [Virus scanned] > > > G'morning! > > > As I mentioned several months ago, we are in the process of moving > > from a commercial product to Nagios. I would like to get > some feedback > > from someone who has gone through this process, discussing > primarily > > the administrative aspects. For example, how many people > were on the > > project team, how much time was spent per time, how long > the process > > lasted (i.e. in months), any pitfalls and problems, etc. > > I migrated an IBM Tivoli Netview environment to Nagios. > I planned, customized and deployed it all on my own > basically. Took me about 3 months from the concept until it went live. Thanks for the reply! Was that all you were doing during the 3 months or did you have other task? How many nodes? How many different things on each node are you monitoring? Regards, Jim Mohr ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at avedya.com Tue Feb 8 14:53:13 2005 From: julien at avedya.com (julien) Date: Tue, 08 Feb 2005 14:53:13 +0100 Subject: check_cluster2 documentation Message-ID: <4208C449.7060005@avedya.com> Hi, I'm looking for a comprehensive documentation for the "check_cluster2" plugin ... seems that it hasnt been written officially. Thanks in advance, Julien. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Tue Feb 8 15:33:10 2005 From: srunschke at abit.de (Sascha Runschke) Date: Tue, 8 Feb 2005 15:33:10 +0100 Subject: Antwort: AW: Antwort: Moving from a commercial product to Nagios [Virus scanned] Message-ID: > Thanks for the reply! Was that all you were doing during the 3 months or did you have other task? Well basically yes. It did actually last longer (like 6 months), but I aproximately worked only half of the time on the nagios project and on other projects the rest of the time. So that my time estimate has already incorporated work on other projects and I broke it down to an estimate of 3 months actual worktime. > How many nodes? How many different things on each node are you monitoring? Currently monitoring 7 different sites with aprox. 600 services on 200 hosts. I have to admit that I didn't add any of our unix servers yet since those are not a big issue, they never really have any problems ;) I only monitor the applications running on them. For Windows-Servers I mainly deployed NSClient remotely, doing standard checks (mem, disks, cpu, etc). Checks of SAP, MySQL, Oracle, MS-SQL, general Webservers, VPN tunnels to our remote sites, SNMP checks of all routers/firewalls and our data center monitoring system (temperature, air moisture, water sensor), etc.pp. Quite a big list. Once you set up a good structure of templates and such adding the actual hosts/services works like a charm. Took me 4 weeks to work out the templates and like 2 days to actually enter the hosts/services. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timothy at icts.uct.ac.za Tue Feb 8 15:41:01 2005 From: timothy at icts.uct.ac.za (Timothy Carr) Date: Tue, 08 Feb 2005 16:41:01 +0200 Subject: NagMIN Message-ID: <4208CF7D.2050007@icts.uct.ac.za> Hi All, I found a WebMIN module called " NagMin ". Has anyone used it with success? Mabe you could also mention the flaws ? Much appreciated.. -- Tim ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 8 16:14:18 2005 From: mpowell at ena.com (Marc Powell) Date: Tue, 8 Feb 2005 09:14:18 -0600 Subject: basic question Message-ID: <2B79966571B4B842B9C07E9910E38CE602BE58@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of bagus a rahman > Sent: Monday, February 07, 2005 11:15 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] basic question > > do nagios only monitors router, server or it can > monitor every node in the network such as client pc? Nagios can monitor any device or service that you can test via command line or script. The limit is really your imagination and your ability to turn that into a script. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason-sourceforge at microlnk.net Tue Feb 8 18:59:51 2005 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Tue, 08 Feb 2005 11:59:51 -0600 Subject: NagMIN In-Reply-To: <4208CF7D.2050007@icts.uct.ac.za> References: <4208CF7D.2050007@icts.uct.ac.za> Message-ID: <4208FE17.3080102@microlnk.net> We've been using NagMIN for, oh, 6-8 months now. It's not too shabby for a basic Webmin way to run Nagios. The author rarely touches it; I'm guessing he's too busy. So it is generally undocumented and each release has been incomplete as well. The only way to get the current NagMIN 2.2 installed is by first using 2.1, then upgrading. (2.1 has setup scripts, 2.2 is missing them) The author claimed a 2.3 version was due out months ago, but again, I think he hardly ever touches the code at all. (He took the MySQL Webmin module and modified it) Let me know if you'd like help getting it set up. I happen to be moving our Nagios to a new server right this moment, so I'm setting NagMIN up again from scratch. (Not time consuming if you know how to do it) Timothy Carr wrote: > Hi All, > > I found a WebMIN module called " NagMin ". Has anyone used it with > success? Mabe you could also mention the flaws ? > > Much appreciated.. -- Jason Byrns System Administrator, MicroLnk http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AlOclarit at aol.com Tue Feb 8 20:37:37 2005 From: AlOclarit at aol.com (AlOclarit at aol.com) Date: Tue, 08 Feb 2005 14:37:37 -0500 Subject: 2nd tier escalation problem Message-ID: <56B21D24.62729D75.021D000F@aol.com> I have the following in my /etc/nagios/escalations define hostgroupescalation{ hostgroup_name hosts-high-priority first_notification 2 last_notification 3 notification_interval 0 contact_groups escalation_level_1 } define hostgroupescalation{ hostgroup_name hosts-high-priority first_notification 3 last_notification 3 notification_interval 0 contact_groups escalation_level_2 } The level_1 escalation kicks in as expected but the level_2 escalation doesn't kick in at all. Not only that, it also appears that the regular notifications stop as well in other words: after the level_1 notification gets sent I stop receiving any alerts for this host until it comes back up. That's when I get the expected host up alert. I've read the escalation howto several times now and can't see what's wrong with my setup. Besides, even if there was somehting wrong with it, at least the regular notification should be triggered again after 3 notifications and not even that happens. I run gentoo 2.6 kernel and nagios 1.2 Anyone ? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Darren.Kemp at xerox.com Tue Feb 8 21:06:56 2005 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Tue, 8 Feb 2005 15:06:56 -0500 Subject: file perfdata issues. Message-ID: <330CE9F92C02064B86090D40B479712F2423D2@usa0300ms04.na.xerox.net> I seem to be having issues getting file perfdata compiled into NAGIOS. I am running 2.0b1, compiled as so: ./configure --enable-embedded-perl --with-perlcache --with-file-perfdata --with-command-group=nagcmd I then added the following to nagios.cfg: xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HOSTP ERFDATA$ xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$S ERVICEOU TPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$ All other existing host_perfdata lines were commented. Starting NAGIOS then will not create any perf logs. If I stop NAGIOS and put back in the "default" perfdata settings, the files are created. (as if I had compiled --with-default-perfdata) What am I missing? -dkk ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Feb 8 21:18:53 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 9 Feb 2005 09:18:53 +1300 Subject: Host searchbox for lefthand menu In-Reply-To: <420877F4.8060002@op5.se> References: <420877F4.8060002@op5.se> Message-ID: <03c701c50e1b$68aed000$01fea8c0@itss.auckland.ac.nz> Anyone using Nagios 2.x already knows that v2.x has this already, but we still use 1.x here (and are likely to for some time). Since there were a lot of requests for this, I have uploaded the simple script to the Nagios Exchange site www.nagiosexchange.org for anyone interested to download. Steve ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Bergstroem at kunskapsskolan.se Tue Feb 8 21:38:07 2005 From: Sebastian.Bergstroem at kunskapsskolan.se (=?iso-8859-1?Q?Bergstr=F6m_Sebastian?=) Date: Tue, 8 Feb 2005 21:38:07 +0100 Subject: check_icmp Message-ID: > Yes. It's a lot faster (especially for detecting down hosts), > more portable ("unable to parse ping output" goes away), it > requires less memory (fewer fork()'s = fewer PTE's and fewer > task-structures) and has more features. You can f.e. set TTL > on outgoing packets, meaning you can monitor which of several > redundant routes is being used, and if BGP fucks up and > starts routing your traffic through a nearby continent you'll > know it soon enough. > > Also, it's a very common plugin to use, as nearly everybody > use ping to find out if their hosts are up (and usually as a > service as well). Even a minor speed increase in this plugin > can make a dramatic change in nagios performance. Especially > with network outages, where the usual check_ping would get > ICMP_HOSTUNREACH several times, whereas check_icmp drops the > target immediately upon such a reply and deemes it dead > (saves roughly 12 seconds per hostcheck with identical > default configurations). Sounds superb! > > I know that check_ping has a weird problem of timing out > everynow and > > then, even with increased host_check_timeout values... > > > > I don't know about that. I've been using check_icmp since version 0.6. I will definitively implement check_icmp and look for improvements. My problem might just be that I have a pretty slow machine related to the number of checks performed (currently running 222 service checks - will grow to around 1.000 soon enough). Does anyone have recommendations for what kind of machine (processor, RAM etc) one needs for a certain amount of checks? I see the problem in this question since a service check can be quick and light as well as slow and big. I'm currently using NSClient and ping service checks only. I tried to look this up once we decided to implement Nagios, however, I didn't find anything useful. Any hints are deeply appreciated. ---------------------------------------------- Sebastian Bergstroem Technical coordinator Kunskapsskolan i Sverige AB sebastian.bergstroem at kunskapsskolan.se ----------------------------------------------- > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: den 8 februari 2005 14:16 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_icmp > > Bergstr?m Sebastian wrote: > > Thanks! That truly answers most of my questions. > > > > What is the reason that you made check_icmp a drop-in > replacement for > > _ping? Is it that much better? > > > > Yes. It's a lot faster (especially for detecting down hosts), > more portable ("unable to parse ping output" goes away), it > requires less memory (fewer fork()'s = fewer PTE's and fewer > task-structures) and has more features. You can f.e. set TTL > on outgoing packets, meaning you can monitor which of several > redundant routes is being used, and if BGP fucks up and > starts routing your traffic through a nearby continent you'll > know it soon enough. > > Also, it's a very common plugin to use, as nearly everybody > use ping to find out if their hosts are up (and usually as a > service as well). Even a minor speed increase in this plugin > can make a dramatic change in nagios performance. Especially > with network outages, where the usual check_ping would get > ICMP_HOSTUNREACH several times, whereas check_icmp drops the > target immediately upon such a reply and deemes it dead > (saves roughly 12 seconds per hostcheck with identical > default configurations). > > > I know that check_ping has a weird problem of timing out > everynow and > > then, even with increased host_check_timeout values... > > > > I don't know about that. I've been using check_icmp since version 0.6. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross.minkov at hp.com Tue Feb 8 23:09:42 2005 From: ross.minkov at hp.com (Minkov, Ross) Date: Tue, 8 Feb 2005 17:09:42 -0500 Subject: check_http -S Message-ID: <192E38594ACFAF4EB4F40E1C4B60472306014CF5@tayexc13.americas.cpqcorp.net> Hi I just updated my plugins from 1.3 to 1.4 and noticed that the new check_http does not support -S for SSL. Does anyone know how to check HTTPS? TIA, Ross ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkent at magoazul.com Tue Feb 8 23:26:56 2005 From: mkent at magoazul.com (Matthew Kent) Date: Tue, 08 Feb 2005 15:26:56 -0700 Subject: file perfdata issues. In-Reply-To: <330CE9F92C02064B86090D40B479712F2423D2@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F2423D2@usa0300ms04.na.xerox.net> Message-ID: <1107901616.19730.14.camel@fuego> On Tue, 2005-08-02 at 15:06 -0500, Kemp, Darren wrote: > I seem to be having issues getting file perfdata compiled into NAGIOS. > > I am running 2.0b1, compiled as so: > > ./configure --enable-embedded-perl --with-perlcache > --with-file-perfdata --with-command-group=nagcmd > > I then added the following to nagios.cfg: > > xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log > xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HOSTP > ERFDATA$ > xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log > xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$S > ERVICEOU > TPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$ --with-file-perfdata has been removed, see the host_perfdata_file=/tmp/host-perfdata service_perfdata_file=/tmp/service-perfdata directives in nagios/sample-config/nagios.cfg.in - Matt ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lgetschel at denver.westerngeco.slb.com Wed Feb 9 00:21:22 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Tue, 08 Feb 2005 16:21:22 -0700 Subject: check_icmp In-Reply-To: <4208A7AD.90306@op5.se> References: <4208A7AD.90306@op5.se> Message-ID: <42094972.5020509@denver.westerngeco.slb.com> All- I just compiled check_icmp 1.0 (as myself) and for users other than root I get: Failed to obtain ICMP socket: Operation not permitted First as myself, second with sudo > ./check_icmp masterserver002 check_icmp: Failed to obtain ICMP socket: Operation not permitted > sudo ./check_icmp masterserver002 OK - masterserver002: rta 0.229ms, lost 0%|rta=0.229ms;200.000;500.000;0; pl=0%;40;80;; > Any suggestions for me to resolve this? Thanks, Lewis Andreas Ericsson wrote: > Bergstr?m Sebastian wrote: > >> Andreas Ericsson, I know you're involved in this so perhaps you could >> give me an answer? Anyone is encouraged to answer of course :o) >> > > Being the original author, I think I can. > >> I'm trying to find information about the check_icmp plugin for >> Nagios. Some e-mails in the past has touched this but I'm not getting >> the complete picture. Is there any webpage or other information >> channel that shows progress on the check_icmp development and perhaps >> some of it's benefits over check_ping (I assume _icmp is to replace >> _ping?). Some documentation like switches would be handy as well. >> >> Thanks in advance! >> > > check_icmp is included in the official plugin package as a drop-in > replacement for check_ping. check_icmp -h provides the necessary help > output. > > The latest version of check_icmp (as coded by my humble self) is > available at https://devel.op5.se/oss or http://oss.op5.se/nagios as > check_icmp-.tar.gz. Be aware that the code might change > without version increment while I'm researching a weird network error > on *bsd (most likely a kernel issue, but it's hard to know for sure), > although only for fixing this particular bug. Look for the mtime as > provided by apache to find out if it is indeed a new release or not (a > fresh one just hatched 2 seconds ago, actually). > >> >> Best regards, Sebastian Bergstroem >> >> ---------------------------------------------- Sebastian Bergstroem >> Technical coordinator Kunskapsskolan i Sverige AB >> sebastian.bergstroem at kunskapsskolan.se >> ----------------------------------------------- >> >> >> ------------------------------------------------------- SF email is >> sponsored by - The IT Product Guide Read honest & candid reviews on >> hundreds of IT Products from real users. Discover which products >> truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >> _______________________________________________ Nagios-users mailing >> list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please >> include Nagios version, plugin version (-v) and OS when reporting any >> issue. ::: Messages without supporting info will risk being sent to >> /dev/null >> > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From micpre at aent.com Wed Feb 9 00:35:14 2005 From: micpre at aent.com (Michael J. Prentice) Date: Tue, 8 Feb 2005 18:35:14 -0500 Subject: check_icmp Message-ID: It needs to have a SUID of root. In case you are like me and new to Linux you do that by; Chown root check_icmp Chgrp root check_icmp Chmod u+s check_icmp Chmod g+s check_icmp Of course there might be a quicker way to do that.. Michael J. Prentice AEC One Stop Group Inc. Phone (954) 255-4359 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Lewis Getschel Sent: Tuesday, February 08, 2005 6:21 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_icmp All- I just compiled check_icmp 1.0 (as myself) and for users other than root I get: Failed to obtain ICMP socket: Operation not permitted First as myself, second with sudo > ./check_icmp masterserver002 check_icmp: Failed to obtain ICMP socket: Operation not permitted > sudo ./check_icmp masterserver002 OK - masterserver002: rta 0.229ms, lost 0%|rta=0.229ms;200.000;500.000;0; pl=0%;40;80;; > Any suggestions for me to resolve this? Thanks, Lewis Andreas Ericsson wrote: > Bergstr?m Sebastian wrote: > >> Andreas Ericsson, I know you're involved in this so perhaps you could >> give me an answer? Anyone is encouraged to answer of course :o) >> > > Being the original author, I think I can. > >> I'm trying to find information about the check_icmp plugin for >> Nagios. Some e-mails in the past has touched this but I'm not getting >> the complete picture. Is there any webpage or other information >> channel that shows progress on the check_icmp development and perhaps >> some of it's benefits over check_ping (I assume _icmp is to replace >> _ping?). Some documentation like switches would be handy as well. >> >> Thanks in advance! >> > > check_icmp is included in the official plugin package as a drop-in > replacement for check_ping. check_icmp -h provides the necessary help > output. > > The latest version of check_icmp (as coded by my humble self) is > available at https://devel.op5.se/oss or http://oss.op5.se/nagios as > check_icmp-.tar.gz. Be aware that the code might change > without version increment while I'm researching a weird network error > on *bsd (most likely a kernel issue, but it's hard to know for sure), > although only for fixing this particular bug. Look for the mtime as > provided by apache to find out if it is indeed a new release or not (a > fresh one just hatched 2 seconds ago, actually). > >> >> Best regards, Sebastian Bergstroem >> >> ---------------------------------------------- Sebastian Bergstroem >> Technical coordinator Kunskapsskolan i Sverige AB >> sebastian.bergstroem at kunskapsskolan.se >> ----------------------------------------------- >> >> >> ------------------------------------------------------- SF email is >> sponsored by - The IT Product Guide Read honest & candid reviews on >> hundreds of IT Products from real users. Discover which products >> truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >> _______________________________________________ Nagios-users mailing >> list Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please >> include Nagios version, plugin version (-v) and OS when reporting any >> issue. ::: Messages without supporting info will risk being sent to >> /dev/null >> > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lgetschel at denver.westerngeco.slb.com Wed Feb 9 00:48:43 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Tue, 08 Feb 2005 16:48:43 -0700 Subject: check_icmp In-Reply-To: References: Message-ID: <42094FDB.9040508@denver.westerngeco.slb.com> Ah, of course! Thanks for the steps too :-) It works now. Michael J. Prentice wrote: >It needs to have a SUID of root. In case you are like me and new to Linux you do that by; > >Chown root check_icmp >Chgrp root check_icmp >Chmod u+s check_icmp >Chmod g+s check_icmp > >Of course there might be a quicker way to do that.. > >Michael J. Prentice >AEC One Stop Group Inc. >Phone (954) 255-4359 > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Lewis Getschel >Sent: Tuesday, February 08, 2005 6:21 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] check_icmp > >All- > I just compiled check_icmp 1.0 (as myself) and for users other than >root I get: >Failed to obtain ICMP socket: Operation not permitted > >First as myself, second with sudo > > ./check_icmp masterserver002 >check_icmp: Failed to obtain ICMP socket: Operation not permitted > > sudo ./check_icmp masterserver002 >OK - masterserver002: rta 0.229ms, lost >0%|rta=0.229ms;200.000;500.000;0; pl=0%;40;80;; > > > >Any suggestions for me to resolve this? >Thanks, >Lewis > >Andreas Ericsson wrote: > > > >>Bergstr?m Sebastian wrote: >> >> >> >>>Andreas Ericsson, I know you're involved in this so perhaps you could >>>give me an answer? Anyone is encouraged to answer of course :o) >>> >>> >>> >>Being the original author, I think I can. >> >> >> >>>I'm trying to find information about the check_icmp plugin for >>>Nagios. Some e-mails in the past has touched this but I'm not getting >>>the complete picture. Is there any webpage or other information >>>channel that shows progress on the check_icmp development and perhaps >>>some of it's benefits over check_ping (I assume _icmp is to replace >>>_ping?). Some documentation like switches would be handy as well. >>> >>>Thanks in advance! >>> >>> >>> >>check_icmp is included in the official plugin package as a drop-in >>replacement for check_ping. check_icmp -h provides the necessary help >>output. >> >>The latest version of check_icmp (as coded by my humble self) is >>available at https://devel.op5.se/oss or http://oss.op5.se/nagios as >>check_icmp-.tar.gz. Be aware that the code might change >>without version increment while I'm researching a weird network error >>on *bsd (most likely a kernel issue, but it's hard to know for sure), >>although only for fixing this particular bug. Look for the mtime as >>provided by apache to find out if it is indeed a new release or not (a >>fresh one just hatched 2 seconds ago, actually). >> >> >> >>>Best regards, Sebastian Bergstroem >>> >>>---------------------------------------------- Sebastian Bergstroem >>>Technical coordinator Kunskapsskolan i Sverige AB >>>sebastian.bergstroem at kunskapsskolan.se >>>----------------------------------------------- >>> >>> >>>------------------------------------------------------- SF email is >>>sponsored by - The IT Product Guide Read honest & candid reviews on >>>hundreds of IT Products from real users. Discover which products >>>truly live up to the hype. Start reading now. >>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >>>_______________________________________________ Nagios-users mailing >>>list Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please >>>include Nagios version, plugin version (-v) and OS when reporting any >>>issue. ::: Messages without supporting info will risk being sent to >>>/dev/null >>> >>> >>> > > > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joe.Leone at Beacon.com.au Wed Feb 9 00:59:28 2005 From: Joe.Leone at Beacon.com.au (Joe Leone) Date: Wed, 9 Feb 2005 07:59:28 +0800 Subject: Getting this error Message-ID: <625D3E3C37F378439E59202BA15ADBD2C83319@opal.beacon.com.au> I am also getting the error. I am running RedHat 8, Fedora core2 and Fedora core3. The errors occurs on Fedora core 3 only. I get the same error on all Fedora core3 boxes. I have downloaded and compiled the plug-in 1.3 and 1.4. This did not resolve the error. Running the command locally /usr/local/nagios/libexec/check_procs -c 1:1 -C crond System call sent warnings to stderr OK - 1 processes running with command name crond Output from strace # strace ./check_procs -c 1:1 -C /usr/sbin/cron execve("./check_procs", ["./check_procs", "-c", "1:1", "-C", "/usr/sbin/cron"], [/* 18 vars */]) = 0 uname({sys="Linux", node="app-dev", ...}) = 0 brk(0) = 0x99cd000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=20694, ...}) = 0 old_mmap(NULL, 20694, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6ffa000 close(3) = 0 open("/lib/tls/libc.so.6", O_RDONLY) = 3 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \337\242"..., 512) = 512 fstat64(3, {st_mode=S_IFREG|0755, st_size=1512400, ...}) = 0 old_mmap(0xa19000, 1207532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa19000 old_mmap(0xb3a000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x120000) = 0xb3a000 old_mmap(0xb3e000, 7404, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb3e000 close(3) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6ff9000 mprotect(0xb3a000, 8192, PROT_READ) = 0 mprotect(0xa15000, 4096, PROT_READ) = 0 set_thread_area({entry_number:-1 -> 6, base_addr:0xf6ff98e0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 munmap(0xf6ffa000, 20694) = 0 brk(0) = 0x99cd000 brk(0x99ee000) = 0x99ee000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=38680544, ...}) = 0 mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6df9000 mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x7c5) = 0xf6df8000 close(3) = 0 open("/usr/share/locale/locale.alias", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6df7000 read(3, "# Locale name alias data base.\n#"..., 4096) = 2528 read(3, "", 4096) = 0 close(3) = 0 munmap(0xf6df7000, 4096) = 0 open("/usr/local/nagios/share/locale/en_AU.UTF-8/LC_MESSAGES/nagios-plug ins.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/nagios/share/locale/en_AU.utf8/LC_MESSAGES/nagios-plugi ns.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/nagios/share/locale/en_AU/LC_MESSAGES/nagios-plugins.mo ", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/nagios/share/locale/en.UTF-8/LC_MESSAGES/nagios-plugins .mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/nagios/share/locale/en.utf8/LC_MESSAGES/nagios-plugins. mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/local/nagios/share/locale/en/LC_MESSAGES/nagios-plugins.mo", O_RDONLY) = -1 ENOENT (No such file or directory) rt_sigaction(SIGALRM, {0x804b3fc, [ALRM], SA_RESTORER|SA_RESTART, 0xa40a48}, {SIG_DFL}, 8) = 0 alarm(10) = 0 getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0 setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0 getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 pipe([3, 4]) = 0 pipe([5, 6]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xf6ff9928) = 13639 close(4) = 0 fcntl64(3, F_GETFL) = 0 (flags O_RDONLY) fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6df7000 _llseek(3, 0, 0xfee2b0fc, SEEK_CUR) = -1 ESPIPE (Illegal seek) close(6) = 0 fcntl64(5, F_GETFL) = 0 (flags O_RDONLY) fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6df6000 _llseek(5, 0, 0xfee2b15c, SEEK_CUR) = -1 ESPIPE (Illegal seek) read(3, "STAT UID PPID VSZ RSS %CPU"..., 4096) = 3977 read(3, "", 4096) = 0 read(5, "Warning: bad syntax, perhaps a b"..., 4096) = 78 fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf6df5000 write(1, "System call sent warnings to std"..., 36System call sent warnings to stderr ) = 36 read(5, "", 4096) = 0 close(5) = 0 munmap(0xf6df6000, 4096) = 0 close(3) = 0 munmap(0xf6df7000, 4096) = 0 waitpid(13639, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 13639 --- SIGCHLD (Child exited) @ 0 (0) --- write(1, "PROCS CRITICAL: 0 processes with"..., 63PROCS CRITICAL: 0 processes with command name '/usr/sbin/cron' ) = 63 munmap(0xf6df5000, 4096) = 0 exit_group(2) = ? Any help appreciated Joe Joe.Leone at beacon.com.au -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Harper Mann Sent: Saturday, 29 January 2005 7:41 AM To: 'MIchael B. Day'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Getting this error This looks like it's from the check_proc plugin that is running on 64.182.35.81. Do you get the error when it's run locally? If you are out of swap, that could cause this. If you can reproduce the error by running check_procs locally, you can run strace "". Strace shows system calls and should tell which one is complaining. Post output here and we'll see what kind of suggestions we can make. Regards, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) http://itgroundwork.com > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of MIchael B. Day > Sent: Friday, January 28, 2005 11:55 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Getting this error > > I'm getting the follow error and can not find out why. If any one has any > idea please let me know. > This was emailed to me from the Nagios system. > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: Total Processes > Host: Linux Server #1 > Address: 64.182.35.81 > State: WARNING > > Date/Time: Thu Jan 27 13:28:20 CST 2005 > > Additional Info: > > System call sent warnings to stderr > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Wed Feb 9 02:59:36 2005 From: ratty at they.org (frank) Date: Tue, 8 Feb 2005 17:59:36 -0800 (PST) Subject: Found it! RE: Getting this error Message-ID: I came across this just today myself. I'm confused as to why I never hit it before because the bug is in the plugins 1.4-beta1 also and I've been using it for a couple weeks. The problem is how check_procs calls the 'ps' command. After running ./configure on the plugins you'll find a config.h file that defines a ton of things, including: #define PS_COMMAND "/bin/ps -axwo 'stat uid ppid vsz rss pcpu comm args'" The args to 'ps' are clearly BSD based, but they're being called in the SysV style. >From the 'ps' man-page: COMMAND-LINE OPTIONS This version of ps accepts several kinds of options: 1 UNIX options, which may be grouped and must be preceeded by a dash. 2 BSD options, which may be grouped and must not be used with a dash. 3 GNU long options, which are preceeded by two dashes. Options of different types may be freely mixed, but conflicts can appear. There are some synonomous options, which are functionally identical, due to the many standards and ps implementations that this ps is compatible with. Note that "ps -aux" is distinct from "ps aux". The POSIX and UNIX standards require that "ps -aux" print all processes owned by a user named "x", as well as printing all processes that would be selected by the -a option. If the user named "x" does not exist, this ps may interpret the command as "ps aux" instead and print a warning. This behavior is intended to aid in transitioning old scripts and habits. It is fragile, subject to change, and thus should not be relied upon. This can be fixed by hand between the ./configure and make commands by editing the config.h but really its up to the package owner to fix it in configure.in and re-release. -frank P.S. It can be helpful to run your strace commands with a '-sX' option (where X is a reasonable integer) so your read() and write() calls display more of the data being read and written. The default is 32 characters. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Feb 9 03:24:11 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 9 Feb 2005 15:24:11 +1300 Subject: Host searchbox for lefthand menu v0.2 In-Reply-To: <039401c50d7d$204cbbe0$01fea8c0@itss.auckland.ac.nz> References: <039401c50d7d$204cbbe0$01fea8c0@itss.auckland.ac.nz> Message-ID: <03f201c50e4e$72410970$01fea8c0@itss.auckland.ac.nz> Thanks to Stinkybob, I've found that Nagios::Object version 0.7c is not compatible with my searchbox (I was using v0.5). Version 0.2 of the searchbox is now on the Nagios Exchange, and this one works correctly with Nagios::Object v0.7c. All you who use Nagios v2.0 can sit happily in the knowledge that you don't need this add-on, anyway. :) Steve ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 9 10:06:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Feb 2005 10:06:39 +0100 Subject: check_icmp In-Reply-To: References: Message-ID: <4209D29F.7090900@op5.se> Michael J. Prentice wrote: > It needs to have a SUID of root. In case you are like me and new to Linux you do that by; > > Chown root check_icmp > Chgrp root check_icmp > Chmod u+s check_icmp > Chmod g+s check_icmp > > Of course there might be a quicker way to do that.. > That quicker way would be chown root:root check_icmp; chmod 4755 check_icmp The chmod g+s check_icmp isn't strictly necessary. > Michael J. Prentice > AEC One Stop Group Inc. > Phone (954) 255-4359 > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Lewis Getschel > Sent: Tuesday, February 08, 2005 6:21 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_icmp > > All- > I just compiled check_icmp 1.0 (as myself) and for users other than > root I get: > Failed to obtain ICMP socket: Operation not permitted > > First as myself, second with sudo > > ./check_icmp masterserver002 > check_icmp: Failed to obtain ICMP socket: Operation not permitted > > sudo ./check_icmp masterserver002 > OK - masterserver002: rta 0.229ms, lost > 0%|rta=0.229ms;200.000;500.000;0; pl=0%;40;80;; > > > > Any suggestions for me to resolve this? > Thanks, > Lewis > > Andreas Ericsson wrote: > > >>Bergstr?m Sebastian wrote: >> >> >>>Andreas Ericsson, I know you're involved in this so perhaps you could >>>give me an answer? Anyone is encouraged to answer of course :o) >>> >> >>Being the original author, I think I can. >> >> >>>I'm trying to find information about the check_icmp plugin for >>>Nagios. Some e-mails in the past has touched this but I'm not getting >>>the complete picture. Is there any webpage or other information >>>channel that shows progress on the check_icmp development and perhaps >>>some of it's benefits over check_ping (I assume _icmp is to replace >>>_ping?). Some documentation like switches would be handy as well. >>> >>>Thanks in advance! >>> >> >>check_icmp is included in the official plugin package as a drop-in >>replacement for check_ping. check_icmp -h provides the necessary help >>output. >> >>The latest version of check_icmp (as coded by my humble self) is >>available at https://devel.op5.se/oss or http://oss.op5.se/nagios as >>check_icmp-.tar.gz. Be aware that the code might change >>without version increment while I'm researching a weird network error >>on *bsd (most likely a kernel issue, but it's hard to know for sure), >>although only for fixing this particular bug. Look for the mtime as >>provided by apache to find out if it is indeed a new release or not (a >>fresh one just hatched 2 seconds ago, actually). >> >> >>>Best regards, Sebastian Bergstroem >>> >>>---------------------------------------------- Sebastian Bergstroem >>>Technical coordinator Kunskapsskolan i Sverige AB >>>sebastian.bergstroem at kunskapsskolan.se >>>----------------------------------------------- >>> >>> >>>------------------------------------------------------- SF email is >>>sponsored by - The IT Product Guide Read honest & candid reviews on >>>hundreds of IT Products from real users. Discover which products >>>truly live up to the hype. Start reading now. >>>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >>>_______________________________________________ Nagios-users mailing >>>list Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please >>>include Nagios version, plugin version (-v) and OS when reporting any >>>issue. ::: Messages without supporting info will risk being sent to >>>/dev/null >>> >> > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 9 10:13:12 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Feb 2005 10:13:12 +0100 Subject: Getting this error In-Reply-To: <625D3E3C37F378439E59202BA15ADBD2C83319@opal.beacon.com.au> References: <625D3E3C37F378439E59202BA15ADBD2C83319@opal.beacon.com.au> Message-ID: <4209D428.3020004@op5.se> Joe Leone wrote: > I am also getting the error. I am running RedHat 8, Fedora core2 and > Fedora core3. The errors occurs on Fedora core 3 only. I get the same > error on all Fedora core3 boxes. > I have downloaded and compiled the plug-in 1.3 and 1.4. This did not > resolve the error. > > Running the command locally > /usr/local/nagios/libexec/check_procs -c 1:1 -C crond > System call sent warnings to stderr > OK - 1 processes running with command name crond > > > Output from strace > > > # strace ./check_procs -c 1:1 -C /usr/sbin/cron > execve("./check_procs", ["./check_procs", "-c", "1:1", "-C", > "/usr/sbin/cron"], [/* 18 vars */]) = 0 > uname({sys="Linux", node="app-dev", ...}) = 0 > brk(0) = 0x99cd000 > access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or > directory) > open("/etc/ld.so.cache", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=20694, ...}) = 0 > old_mmap(NULL, 20694, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6ffa000 > close(3) = 0 > open("/lib/tls/libc.so.6", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \337\242"..., > 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=1512400, ...}) = 0 > old_mmap(0xa19000, 1207532, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa19000 > old_mmap(0xb3a000, 16384, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x120000) = 0xb3a000 > old_mmap(0xb3e000, 7404, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb3e000 > close(3) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xf6ff9000 > mprotect(0xb3a000, 8192, PROT_READ) = 0 > mprotect(0xa15000, 4096, PROT_READ) = 0 > set_thread_area({entry_number:-1 -> 6, base_addr:0xf6ff98e0, > limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, > limit_in_pages:1, seg_not_present:0, useable:1}) = 0 > munmap(0xf6ffa000, 20694) = 0 > brk(0) = 0x99cd000 > brk(0x99ee000) = 0x99ee000 > open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=38680544, ...}) = 0 > mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6df9000 > mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x7c5) = 0xf6df8000 > close(3) = 0 > open("/usr/share/locale/locale.alias", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xf6df7000 > read(3, "# Locale name alias data base.\n#"..., 4096) = 2528 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xf6df7000, 4096) = 0 > open("/usr/local/nagios/share/locale/en_AU.UTF-8/LC_MESSAGES/nagios-plug > ins.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en_AU.utf8/LC_MESSAGES/nagios-plugi > ns.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en_AU/LC_MESSAGES/nagios-plugins.mo > ", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en.UTF-8/LC_MESSAGES/nagios-plugins > .mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en.utf8/LC_MESSAGES/nagios-plugins. > mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en/LC_MESSAGES/nagios-plugins.mo", > O_RDONLY) = -1 ENOENT (No such file or directory) > rt_sigaction(SIGALRM, {0x804b3fc, [ALRM], SA_RESTORER|SA_RESTART, > 0xa40a48}, {SIG_DFL}, 8) = 0 > alarm(10) = 0 > getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0 > setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0 > getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 > pipe([3, 4]) = 0 > pipe([5, 6]) = 0 > clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0xf6ff9928) = 13639 > close(4) = 0 > fcntl64(3, F_GETFL) = 0 (flags O_RDONLY) > fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xf6df7000 > _llseek(3, 0, 0xfee2b0fc, SEEK_CUR) = -1 ESPIPE (Illegal seek) > close(6) = 0 > fcntl64(5, F_GETFL) = 0 (flags O_RDONLY) > fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xf6df6000 > _llseek(5, 0, 0xfee2b15c, SEEK_CUR) = -1 ESPIPE (Illegal seek) > read(3, "STAT UID PPID VSZ RSS %CPU"..., 4096) = 3977 > read(3, "", 4096) = 0 > read(5, "Warning: bad syntax, perhaps a b"..., 4096) = 78 > fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xf6df5000 > write(1, "System call sent warnings to std"..., 36System call sent > warnings to stderr > ) = 36 This is wildly inaccurate. It should say "Command sent warnings to stderr". A system call never sends warnings anywhere, except on to the stack in the form of a 32 bit number. > read(5, "", 4096) = 0 > close(5) = 0 > munmap(0xf6df6000, 4096) = 0 > close(3) = 0 > munmap(0xf6df7000, 4096) = 0 > waitpid(13639, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 13639 > --- SIGCHLD (Child exited) @ 0 (0) --- > write(1, "PROCS CRITICAL: 0 processes with"..., 63PROCS CRITICAL: 0 > processes with command name '/usr/sbin/cron' > ) = 63 > munmap(0xf6df5000, 4096) = 0 > exit_group(2) = ? > > > > > > Any help appreciated > It basically means that your ps as invoked by the check_proc plugin printed something on stderr. In this case it was "Warning: bad syntax, perhaps a b" followed by something which was cut by strace. > Joe > > Joe.Leone at beacon.com.au > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Harper > Mann > Sent: Saturday, 29 January 2005 7:41 AM > To: 'MIchael B. Day'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Getting this error > > This looks like it's from the check_proc plugin that is running on > 64.182.35.81. Do you get the error when it's run locally? > > If you are out of swap, that could cause this. > > If you can reproduce the error by running check_procs locally, you can > run > strace "". Strace shows > system > calls and should tell which one is complaining. > > Post output here and we'll see what kind of suggestions we can make. > > Regards, > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > http://itgroundwork.com > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of MIchael B. Day >>Sent: Friday, January 28, 2005 11:55 AM >>To: nagios-users at lists.sourceforge.net >>Subject: RE: [Nagios-users] Getting this error >> >>I'm getting the follow error and can not find out why. If any one has > > any > >>idea please let me know. >>This was emailed to me from the Nagios system. >> >>***** Nagios ***** >> >>Notification Type: PROBLEM >> >>Service: Total Processes >>Host: Linux Server #1 >>Address: 64.182.35.81 >>State: WARNING >> >>Date/Time: Thu Jan 27 13:28:20 CST 2005 >> >>Additional Info: >> >>System call sent warnings to stderr >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive > > Reporting > >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From soydamaso at gmail.com Wed Feb 9 10:23:07 2005 From: soydamaso at gmail.com (Pedro A. Damaso) Date: Wed, 09 Feb 2005 10:23:07 +0100 Subject: Check services with NC_NET with nsca Message-ID: <1107940987.3496.16.camel@damaso> I'm trying to recover information from windows machines out of my network. They are behind a router because of that I'm planning to use the passive checks from NC_Net. Rigth now I'm trying to configure one host but I'm lost about the sintax of service check that I must use in my nagios server. For this moment this is my configuration: Windows Machine: passive.cfg ---- 1 clientversion 2 cputotal -l 10,80,90,5,20,90 3 uptime Nagios Server: ------------- | hosts.cfg | ------------- define host { name windows-nsca ; nombre de la clase de la que deben heredar todos los chequeos pasivos notifications_enabled 1 ; Host notifications are enabled check_command ; asi esta bien max_check_attempts 1 ; como no hacemos check-command, esto tloco event_handler_enabled 0 ; Host event handler is disabled flap_detection_enabled 1 ; Flap detection is disabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! passive 1 ; Tipo de Chequeo } define host { use windows-nsca host_name XP_Ofi alias Xp de la Ofi address 192.168.1.203 notification_interval 120 notification_period 24x7 notification_options d,u,r register 1; } ---------------- | services.cfg | ---------------- define service { name windows-service-nsca ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 0 ; Active service checks are disabled is_volatile 0 ; no es un servicio volatil passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { host_name XP_Ofi service_description XP monitorized with NC_Net with passive support check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command ????????????????????? } Thanks -- Pedro Antonio D?maso Guill?n Avansys Asesores soydamaso at gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 9 11:00:45 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Feb 2005 11:00:45 +0100 Subject: Check services with NC_NET with nsca In-Reply-To: <1107940987.3496.16.camel@damaso> References: <1107940987.3496.16.camel@damaso> Message-ID: <4209DF4D.3060908@op5.se> Pedro A. Damaso wrote: > I'm trying to recover information from windows machines out of my > network. They are behind a router because of that I'm planning to use > the passive checks from NC_Net. Rigth now I'm trying to configure one > host but I'm lost about the sintax of service check that I must use in > my nagios server. > > For this moment this is my configuration: > > Windows Machine: > > passive.cfg ---- > > 1 clientversion > 2 cputotal -l 10,80,90,5,20,90 > 3 uptime > > Nagios Server: > > ------------- > | hosts.cfg | > ------------- > > define host { > name windows-nsca ; nombre de la clase de > la que deben heredar todos los chequeos pasivos > notifications_enabled 1 ; Host notifications are enabled > check_command ; asi esta bien > max_check_attempts 1 ; como no hacemos check-command, > esto tloco > event_handler_enabled 0 ; Host event handler is disabled > flap_detection_enabled 1 ; Flap detection is disabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status information > across program restarts > retain_nonstatus_information 1 ; Retain non-status information > across program restarts > register 0 ; DONT REGISTER THIS DEFINITION - > ITS NOT A REAL HOST, JUST A TEMPLATE! > passive 1 ; Tipo de Chequeo > } > > define host { > use windows-nsca > host_name XP_Ofi > alias Xp de la Ofi > address 192.168.1.203 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > register 1; > } > > ---------------- > | services.cfg | > ---------------- > > define service { > name windows-service-nsca ; The 'name' of > this service template, referenced in other service definitions > active_checks_enabled 0 ; Active service checks are > disabled > is_volatile 0 ; no es un servicio volatil > passive_checks_enabled 1 ; Passive service checks are > enabled/accepted > parallelize_check 1 ; Active service checks should > be parallelized (disabling this can lead to major performance problems) > obsess_over_service 1 ; We should obsess over this > service (if necessary) > check_freshness 0 ; Default is to NOT check > service 'freshness' > notifications_enabled 1 ; Service notifications are > enabled > event_handler_enabled 1 ; Service event handler is > enabled > flap_detection_enabled 1 ; Flap detection is enabled > process_perf_data 1 ; Process performance data > retain_status_information 1 ; Retain status information > across program restarts > retain_nonstatus_information 1 ; Retain non-status information > across program restarts > register 0 ; DONT REGISTER THIS DEFINITION > - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > define service { > host_name XP_Ofi > service_description XP monitorized with NC_Net with passive > support > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command ????????????????????? > } > > > Thanks > Was there a question in here or were you just telling us of your plans? If you're referring to the thousand and one question marks at check_command, set it to something that returns critical upon invocation but set the check_period (or some such) to none. Then read up on freshness checking and implement away til your heart's content. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From soydamaso at gmail.com Wed Feb 9 11:15:14 2005 From: soydamaso at gmail.com (Pedro A. Damaso) Date: Wed, 09 Feb 2005 11:15:14 +0100 Subject: Check services with NC_NET with nsca In-Reply-To: <4209DF4D.3060908@op5.se> References: <1107940987.3496.16.camel@damaso> <4209DF4D.3060908@op5.se> Message-ID: <1107944114.4695.14.camel@damaso> > > define service { > > host_name XP_Ofi > > service_description XP monitorized with NC_Net with passive > > support > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups admins > > notification_interval 120 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command ????????????????????? > > } > > > > > > Thanks > > > > Was there a question in here or were you just telling us of your plans? > If you're referring to the thousand and one question marks at > check_command, set it to something that returns critical upon invocation > but set the check_period (or some such) to none. Then read up on > freshness checking and implement away til your heart's content. > Oh!, yes there's a question. What should I put in here in order to recover information from nsca: check_command ????????????????????? I have read the NC_Net doc, nagios doc, and I haven't found what command and sintax should I use to recover information from nsca daemon. Thanks. -- Pedro Antonio D?maso Guill?n Avansys Asesores soydamaso at gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ovig.degrouard at jouy.inra.fr Wed Feb 9 11:32:26 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Wed, 09 Feb 2005 11:32:26 +0100 Subject: hostgroup_name in servicegroup Message-ID: <4209E6BA.5070700@jouy.inra.fr> Hi, Is it possible to add a hostgroup instead of a host in my servicegroup.cfg? I remember the original syntax: define servicegroup{ servicegroup_name dbservices alias Database Services members ms1,SQL Server,ms2,SQL Server,ms3,SQL Server } How to replace all my hosts by my hostgroup? Thanks, Ovig Degrouard ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmonge at gmail.com Wed Feb 9 12:06:52 2005 From: mmonge at gmail.com (Marcos Monge) Date: Wed, 9 Feb 2005 12:06:52 +0100 Subject: nagios running under RHCluster stop checking Message-ID: <48e9aa4e050209030617ec130d@mail.gmail.com> Hi I have installed "succesfull" a nagios under a Redhat Cluster suite of 2 nodes, sharing disk with iSCSI exported from a Netapp Filer. All in a RHES 3.0 update4. In general it work fine, switch from one node to the other without problem, and all seens ok. But after some time running (that it's, some moment beteween 1 hour and 1 week from last start) nagios stop executing the checks. All the daemons are running, the web cgi interface work, etc. But if you see the "scheduling queue" for example, the "next check" time is stoped in the time that the problem beging. In the logs thereis no errors, all seens ok. Stop and start again nagios solve the problem until the next fail. Any idea about this problem? This beging from the moment that we put it under the cluster. When nagios was running alone in one machine, all was ok. Best Regards Marcos ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ataraxya_iii at yahoo.fr Wed Feb 9 13:07:34 2005 From: ataraxya_iii at yahoo.fr (aragorn angwen) Date: Wed, 9 Feb 2005 13:07:34 +0100 (CET) Subject: Nagios 1.2 : Status information - no output! Message-ID: <20050209120734.26144.qmail@web26801.mail.ukl.yahoo.com> Hi, I have installed Nagios successfully and I am now Logging into the web interface I can see that Nagios sees the servers as up, but the individual services on the boxes are all 'warning', and in the 'status information' column on the 'Service Detail' page I see the comment (No output!). It's probably a schoolboy error but I can't see anything obvious that would be causing these basic service checks to fail. Any ideas? I can provide config as and when required... Many thanks in advance. D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 9 14:06:06 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Feb 2005 14:06:06 +0100 Subject: hostgroup_name in servicegroup In-Reply-To: <4209E6BA.5070700@jouy.inra.fr> References: <4209E6BA.5070700@jouy.inra.fr> Message-ID: <420A0ABE.8040406@op5.se> Ovig Degrouard wrote: > Hi, > > Is it possible to add a hostgroup instead of a host in my servicegroup.cfg? > No. > I remember the original syntax: > define servicegroup{ > servicegroup_name dbservices > alias Database Services > members ms1,SQL Server,ms2,SQL Server,ms3,SQL Server > } > > How to replace all my hosts by my hostgroup? > > > Thanks, > Ovig Degrouard > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Feb 9 15:05:11 2005 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 09 Feb 2005 09:05:11 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20Nagios=201.2=20:=20?= =?ISO-8859-1?Q?Status=20information=20-=20no=20output!?= Message-ID: Yep, provide us the config. Did you red the entire doc? :) --------------------------------------------------- Alexandre Racine - www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> aragorn angwen 2005-02-09 07:07:34 >>> Hi, I have installed Nagios successfully and I am now Logging into the web interface I can see that Nagios sees the servers as up, but the individual services on the boxes are all 'warning', and in the 'status information' column on the 'Service Detail' page I see the comment (No output!). It's probably a schoolboy error but I can't see anything obvious that would be causing these basic service checks to fail. Any ideas? I can provide config as and when required... Many thanks in advance. D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail sur http://fr.mail.yahoo.com/ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Darren.Kemp at xerox.com Wed Feb 9 15:23:53 2005 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Wed, 9 Feb 2005 09:23:53 -0500 Subject: file perfdata issues. Message-ID: <330CE9F92C02064B86090D40B479712FD4D2AB@usa0300ms04.na.xerox.net> Thanks! Someone should update the 2.0 doc at http://nagios.sourceforge.net/docs/2_0/xpdfile.html to reflect the change. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matthew Kent Sent: Tuesday, February 08, 2005 5:27 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] file perfdata issues. On Tue, 2005-08-02 at 15:06 -0500, Kemp, Darren wrote: > I seem to be having issues getting file perfdata compiled into NAGIOS. > > I am running 2.0b1, compiled as so: > > ./configure --enable-embedded-perl --with-perlcache > --with-file-perfdata --with-command-group=nagcmd > > I then added the following to nagios.cfg: > > xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log > xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$HOSTOUTPUT$\t$HOSTP > ERFDATA$ > xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log > xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$S > ERVICEOU > TPUT$\t$SERVICESTATE$\t$SERVICEPERFDATA$ --with-file-perfdata has been removed, see the host_perfdata_file=/tmp/host-perfdata service_perfdata_file=/tmp/service-perfdata directives in nagios/sample-config/nagios.cfg.in - Matt ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Feb 9 15:36:40 2005 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 09 Feb 2005 09:36:40 -0500 Subject: host down but up problem Message-ID: Hi all, I have been using Nagios for quite a while now over 2 years, so I am pretty familiar with it. One of my host recently went to a down state on the network status, but is actually UP. This is not FAQ F0015 or F0016 related, since the same command is used by all other hosts (and they are just fine). I use the check_host_alive default command to check on hosts status (yeah I know, I dont use the hip (new, cool) check_icmp from Andreas Ericsson for now. Later) So I went to my console to try a couple of things... ping myhost = ok! check_ping -H myhost etc etc = ok! (exactly like the check_host_alive) So... my next theory would be to erase everything from that host in the history, and start over. But before that, is there someone who actually had something like that? There was the bug witch two nagios process could run at the same time, but that's not it. Thanks! --------------------------------------------------- Alexandre Racine - www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roland at robelix.com Wed Feb 9 15:40:14 2005 From: roland at robelix.com (robelix) Date: Wed, 09 Feb 2005 15:40:14 +0100 Subject: servicedependencies and recovery alerts Message-ID: <420A20CE.7000800@robelix.com> Hi, I've got some troubles with service dependencis - resulting in too many recovery alerts being sent. A short example: Service B and C depend on Service A. (mostly stuff like nrpe) So I defined dependencies: define servicedependency{ name a-deps host_name myhost service_description A dependent_host_name myhost execution_failure_criteria u,c notification_failure_criteria u,c register 0 } define servicedependency{ use a-deps dependent_service_description B } define servicedependency{ use a-deps dependent_service_description C } It works with Problem Alerts. A is checked more often, so when they all fail I usally get only the alert for serivce A. But when they recover I always get recovery alerts for A, B and C. Since I've got up to 25 dependent services on some hosts it can turn into an sms-flooder. Any ideas how to get rid of these additional recovery alerts. I want to get a recovery alert, but only the one for A. (nagios-1.2 on gentoo) -- Roland "Robelix" Obermayer http://www.robelix.com roland at robelix.com robelix at gmx.at robelix at web.de Jabber: robelix at jabber.at GPG encrypted Mail welcome Fingerprint: DE1E F624 C36A 9D64 090E 5D35 5927 AD7C B143 836A -- Drive C: not found! [Ignore] [Retry] [Linux] -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature URL: From ae at op5.se Wed Feb 9 16:37:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Feb 2005 16:37:38 +0100 Subject: host down but up problem In-Reply-To: References: Message-ID: <420A2E42.1080309@op5.se> Serveur-Faucon Surveillance wrote: > Hi all, > > I have been using Nagios for quite a while now over 2 years, so I am > pretty familiar with it. > > One of my host recently went to a down state on the network status, > but is actually UP. This is not FAQ F0015 or F0016 related, since the > same command is used by all other hosts (and they are just fine). > > I use the check_host_alive default command to check on hosts status > (yeah I know, I dont use the hip (new, cool) check_icmp from Andreas > Ericsson for now. Later) > Don't know about hip and cool, but you're probably better off without it. "Don't fix it if it ain't broken". > So I went to my console to try a couple of things... ping myhost = > ok! check_ping -H myhost etc etc = ok! (exactly like the > check_host_alive) > > So... my next theory would be to erase everything from that host in > the history, and start over. But before that, is there someone who > actually had something like that? > > There was the bug witch two nagios process could run at the same > time, but that's not it. Thanks! > This can happen properly when the host starts flapping while down and comes out OK on the other end of the flapping. Assuming you aren't running 2.0 with f among your notification_options, ofcourse. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Wed Feb 9 17:13:16 2005 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Wed, 9 Feb 2005 17:13:16 +0100 Subject: How to handle 'single bad' or 'trap' messages? Message-ID: <200502091713.17117.benoit.panizzon@imp.ch> Hi We have the requirement of handling what I call a 'single bad' message. When such an event happens, somebody would need to aknowledge the message and the status should turn to OK. Example: We monitor a logfile and get a message about say, memory corruption. This message stays in the logs, it's not going to be fixed, so it's being alerted as critical. But as soon as a tech has seen this message, he should be able to aknowledge it, order new memory and the message should turn green again. Antoher example: The backup software tells us that one host could not successfully be saved. => Alert. Tech in duty takes a look, acknowledges the problem. => ok. Does somebody have a solution how to implement that in nagios? Regards -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeRegular at gov.nl.ca Wed Feb 9 18:12:04 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Wed, 09 Feb 2005 13:42:04 -0330 Subject: Trends Not Working Message-ID: When trying to access the Trends section I get the following error. Has anyone encountered this before? Server error! The server encountered an internal error and was unable to complete your request. Error message: Premature end of script headers: trends.cgi If you think this is a server error, please contact the webmaster. Error 500 10.15.0.205 Wed Feb 9 13:05:50 2005 Apache/2.0.49 (Linux/SuSE) Thanks, Joe ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Feb 9 18:21:07 2005 From: mpowell at ena.com (Marc Powell) Date: Wed, 9 Feb 2005 11:21:07 -0600 Subject: Trends Not Working Message-ID: <2B79966571B4B842B9C07E9910E38CE602BF25@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joe Regular > Sent: Wednesday, February 09, 2005 11:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Trends Not Working > > When trying to access the Trends section I get the following error. Has > anyone encountered this before? > > Server error! > The server encountered an internal error and was unable to complete > your request. > > Error message: > Premature end of script headers: trends.cgi > > If you think this is a server error, please contact the webmaster. > > Error 500 > 10.15.0.205 > Wed Feb 9 13:05:50 2005 > Apache/2.0.49 (Linux/SuSE) HTTP Error 500 is a generic error message when the web server can't figure out what the problem is. There will be more specific information in your apache error_log that should tell you what the problem is. If you can't decipher it, post the full error from the logs to the list as well as specifics about your environment. It's purely a guess but it may be that the gd libraries aren't in the default library path for your web server. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philippe.lebreton at cti-paysloire.cnamts.fr Wed Feb 9 18:25:26 2005 From: philippe.lebreton at cti-paysloire.cnamts.fr (LEBRETON Philippe) Date: Wed, 09 Feb 2005 18:25:26 +0100 Subject: Nagios 1.2: Problem with archive Log Message-ID: <420A4786.9030506@cti-paysloire.cnamts.fr> Hello, i have problem with the archive log. For the same date i have to files : nagios-01-14-2005-00.log and nagios-01-14-2005-23.log The first file is empty and the second content informaion but the CGI use only the first file. where is the problem? thanks Philippe LEBRETON ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Feb 9 18:28:44 2005 From: mpowell at ena.com (Marc Powell) Date: Wed, 9 Feb 2005 11:28:44 -0600 Subject: Nagios 1.2: Problem with archive Log Message-ID: <2B79966571B4B842B9C07E9910E38CE602BF29@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of LEBRETON Philippe > Sent: Wednesday, February 09, 2005 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 1.2: Problem with archive Log > > Hello, > > i have problem with the archive log. For the same date i have to files : > nagios-01-14-2005-00.log and nagios-01-14-2005-23.log > The first file is empty and the second content informaion but the CGI > use only the first file. > > where is the problem? http://www.nagios.org/faqs/viewfaq.php?faq_id=93 I suspect it's also possible for this to happen if you have multiple nagios processes running at the same time. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmann at gmail.com Wed Feb 9 20:48:33 2005 From: csmann at gmail.com (Chris Mann) Date: Wed, 9 Feb 2005 14:48:33 -0500 Subject: outages.cgi error Message-ID: <25de63b5050209114873e0e3a7@mail.gmail.com> My final issue with getting Nagios up and running. All of the other cgi's work correctly and wonderfully. However, when I try to access the outages.cgi from the web interface, I get the dreaded: It appears as though you do not have permission to view information you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I've RTFM'ed and googled and I'm at a loss as to where to go at this point. Any thoughts? -- Chris Mann "I was killing all my money, Spending brain cells just as fast" ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam.Reynolds at networkts.com Wed Feb 9 20:52:18 2005 From: Sam.Reynolds at networkts.com (Sam Reynolds) Date: Wed, 9 Feb 2005 14:52:18 -0500 Subject: Check_SNMP_INT.PL help needed Message-ID: <6A1DD050FEF19644B488BD3889A0A221733BEF@FLASH.nts.local> Hello all, I am trying to monitor my Cisco Routers Bandwidth utilization using check_snmp_int.pl. I can use the plugin so long as I don't use the -k switch. As I understand it, the -k switch creates a tmp file on the nagios server that it uses to compare the bandwidth, unfortunately it is unable to create the tmp file as I am checking an interface with a / in it (ie: Serial5/2). Is there a work around for this, or a better way of doing it? Thanks in advance. Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From ratty at they.org Wed Feb 9 21:02:44 2005 From: ratty at they.org (frank) Date: Wed, 9 Feb 2005 12:02:44 -0800 (PST) Subject: outages.cgi error In-Reply-To: <25de63b5050209114873e0e3a7@mail.gmail.com> References: <25de63b5050209114873e0e3a7@mail.gmail.com> Message-ID: >From output.c: /* user must be authorized for all hosts.. */ if(is_authorized_for_all_hosts(¤t_authdata)==FALSE){ >From cgi.cfg: authorized_for_all_hosts=nagiosadmin,guest Add/replace your login name in cgi.cfg .enjoy -f On Wed, 9 Feb 2005, Chris Mann wrote: > Date: Wed, 9 Feb 2005 14:48:33 -0500 > From: Chris Mann > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] outages.cgi error > > My final issue with getting Nagios up and running. All of the other > cgi's work correctly and wonderfully. > > However, when I try to access the outages.cgi from the web interface, > I get the dreaded: > > It appears as though you do not have permission to view information > you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > I've RTFM'ed and googled and I'm at a loss as to where to go at this > point. Any thoughts? > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From astephens at ptera.net Wed Feb 9 21:07:19 2005 From: astephens at ptera.net (Arthur Stephens) Date: Wed, 09 Feb 2005 12:07:19 -0800 Subject: browser failed Message-ID: <420A6D77.5010702@ptera.net> My system .... So after rebooting, when I try to start the web interface for nagios I get The connection was refused when attempting to contact 127.0.0.1:8082 I tried just 127.0.01 but that gets the same message. Ideas? -- Arthur Stephens Senior Sales Technician Ptera Wireless Internet astephens at ptera.net 509-927-Ptera ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psbourgeau at mpccorp.com Wed Feb 9 21:06:19 2005 From: psbourgeau at mpccorp.com (Paul Bourgeau) Date: Wed, 9 Feb 2005 13:06:19 -0700 Subject: Nagios and SQL databases Message-ID: <2638AB7E1672B842901B0B49421B87DF0FCD10@mpc00email3.micronpc.com> I tried to search, but I did not see anything dealing with exactlly what I needed. I know that you are able to monitor TCP ports, services and drive utilization, but I wanted to know how (if at all) to set up Nagios to monitor SQL databases themselves. I am currently watching the SQL server services (mssql), but that's it. Can you monitor each individual database(size of, activity, health, etc..)? Can you monitor who accesses the databases, number of users? I'm guessing that I just need to add entries to the checkcommand.cfg file with SQL OID's, right? Or is there a bit more to setup? I am running ver 1.2 on redhat 8 (2.4.18-19.8.0) Any help would be appreciated. Thanks, Paul Disclaimer: 9/2/2005 MPC Computers is providing the following information in compliance with federal regulations: MPC Computers, LLC 906 E. Karcher Road Nampa, Idaho 83687 1-888-224-4247 http://www.mpccorp.com To discontinue receiving e-mail communications from MPC in the future, please go to: http://www.mpccorp.com/email/manage.html and follow the instructions. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmann at gmail.com Wed Feb 9 21:06:57 2005 From: csmann at gmail.com (Chris Mann) Date: Wed, 9 Feb 2005 15:06:57 -0500 Subject: outages.cgi error In-Reply-To: References: <25de63b5050209114873e0e3a7@mail.gmail.com> Message-ID: <25de63b505020912061d07811a@mail.gmail.com> On Wed, 9 Feb 2005 12:02:44 -0800 (PST), frank wrote: > > From output.c: > /* user must be authorized for all hosts.. */ > if(is_authorized_for_all_hosts(¤t_authdata)==FALSE){ > > From cgi.cfg: > authorized_for_all_hosts=nagiosadmin,guest > > Add/replace your login name in cgi.cfg > > .enjoy > -f Ahh stupid typo. I had a - instead of a _ in authorized_for_all_hosts. I'm a moron. Thanks for the help Frank -- Chris Mann "I was killing all my money, Spending brain cells just as fast" ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross.minkov at hp.com Wed Feb 9 21:20:24 2005 From: ross.minkov at hp.com (Minkov, Ross) Date: Wed, 9 Feb 2005 15:20:24 -0500 Subject: Getting this error Message-ID: <192E38594ACFAF4EB4F40E1C4B60472306014D07@tayexc13.americas.cpqcorp.net> I get the same error from my Total Processes service -- System call sent warnings to stderr. How do I fix this? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Wednesday, February 09, 2005 4:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Getting this error Joe Leone wrote: > I am also getting the error. I am running RedHat 8, Fedora core2 and > Fedora core3. The errors occurs on Fedora core 3 only. I get the same > error on all Fedora core3 boxes. > I have downloaded and compiled the plug-in 1.3 and 1.4. This did not > resolve the error. > > Running the command locally > /usr/local/nagios/libexec/check_procs -c 1:1 -C crond > System call sent warnings to stderr > OK - 1 processes running with command name crond > > > Output from strace > > > # strace ./check_procs -c 1:1 -C /usr/sbin/cron > execve("./check_procs", ["./check_procs", "-c", "1:1", "-C", > "/usr/sbin/cron"], [/* 18 vars */]) = 0 > uname({sys="Linux", node="app-dev", ...}) = 0 > brk(0) = 0x99cd000 > access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or > directory) > open("/etc/ld.so.cache", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=20694, ...}) = 0 > old_mmap(NULL, 20694, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6ffa000 > close(3) = 0 > open("/lib/tls/libc.so.6", O_RDONLY) = 3 > read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \337\242"..., > 512) = 512 > fstat64(3, {st_mode=S_IFREG|0755, st_size=1512400, ...}) = 0 > old_mmap(0xa19000, 1207532, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa19000 > old_mmap(0xb3a000, 16384, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x120000) = 0xb3a000 > old_mmap(0xb3e000, 7404, PROT_READ|PROT_WRITE, > MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb3e000 > close(3) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0xf6ff9000 > mprotect(0xb3a000, 8192, PROT_READ) = 0 > mprotect(0xa15000, 4096, PROT_READ) = 0 > set_thread_area({entry_number:-1 -> 6, base_addr:0xf6ff98e0, > limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, > limit_in_pages:1, seg_not_present:0, useable:1}) = 0 > munmap(0xf6ffa000, 20694) = 0 > brk(0) = 0x99cd000 > brk(0x99ee000) = 0x99ee000 > open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=38680544, ...}) = 0 > mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xf6df9000 > mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x7c5) = 0xf6df8000 > close(3) = 0 > open("/usr/share/locale/locale.alias", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xf6df7000 > read(3, "# Locale name alias data base.\n#"..., 4096) = 2528 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0xf6df7000, 4096) = 0 > open("/usr/local/nagios/share/locale/en_AU.UTF-8/LC_MESSAGES/nagios-plug > ins.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en_AU.utf8/LC_MESSAGES/nagios-plugi > ns.mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en_AU/LC_MESSAGES/nagios-plugins.mo > ", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en.UTF-8/LC_MESSAGES/nagios-plugins > .mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en.utf8/LC_MESSAGES/nagios-plugins. > mo", O_RDONLY) = -1 ENOENT (No such file or directory) > open("/usr/local/nagios/share/locale/en/LC_MESSAGES/nagios-plugins.mo", > O_RDONLY) = -1 ENOENT (No such file or directory) > rt_sigaction(SIGALRM, {0x804b3fc, [ALRM], SA_RESTORER|SA_RESTART, > 0xa40a48}, {SIG_DFL}, 8) = 0 > alarm(10) = 0 > getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0 > setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=0}) = 0 > getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0 > pipe([3, 4]) = 0 > pipe([5, 6]) = 0 > clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0xf6ff9928) = 13639 > close(4) = 0 > fcntl64(3, F_GETFL) = 0 (flags O_RDONLY) > fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xf6df7000 > _llseek(3, 0, 0xfee2b0fc, SEEK_CUR) = -1 ESPIPE (Illegal seek) > close(6) = 0 > fcntl64(5, F_GETFL) = 0 (flags O_RDONLY) > fstat64(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xf6df6000 > _llseek(5, 0, 0xfee2b15c, SEEK_CUR) = -1 ESPIPE (Illegal seek) > read(3, "STAT UID PPID VSZ RSS %CPU"..., 4096) = 3977 > read(3, "", 4096) = 0 > read(5, "Warning: bad syntax, perhaps a b"..., 4096) = 78 > fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 > mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, > 0) = 0xf6df5000 > write(1, "System call sent warnings to std"..., 36System call sent > warnings to stderr > ) = 36 This is wildly inaccurate. It should say "Command sent warnings to stderr". A system call never sends warnings anywhere, except on to the stack in the form of a 32 bit number. > read(5, "", 4096) = 0 > close(5) = 0 > munmap(0xf6df6000, 4096) = 0 > close(3) = 0 > munmap(0xf6df7000, 4096) = 0 > waitpid(13639, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 13639 > --- SIGCHLD (Child exited) @ 0 (0) --- > write(1, "PROCS CRITICAL: 0 processes with"..., 63PROCS CRITICAL: 0 > processes with command name '/usr/sbin/cron' > ) = 63 > munmap(0xf6df5000, 4096) = 0 > exit_group(2) = ? > > > > > > Any help appreciated > It basically means that your ps as invoked by the check_proc plugin printed something on stderr. In this case it was "Warning: bad syntax, perhaps a b" followed by something which was cut by strace. > Joe > > Joe.Leone at beacon.com.au > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Harper > Mann > Sent: Saturday, 29 January 2005 7:41 AM > To: 'MIchael B. Day'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Getting this error > > This looks like it's from the check_proc plugin that is running on > 64.182.35.81. Do you get the error when it's run locally? > > If you are out of swap, that could cause this. > > If you can reproduce the error by running check_procs locally, you can > run > strace "". Strace shows > system > calls and should tell which one is complaining. > > Post output here and we'll see what kind of suggestions we can make. > > Regards, > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > http://itgroundwork.com > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of MIchael B. Day >>Sent: Friday, January 28, 2005 11:55 AM >>To: nagios-users at lists.sourceforge.net >>Subject: RE: [Nagios-users] Getting this error >> >>I'm getting the follow error and can not find out why. If any one has > > any > >>idea please let me know. >>This was emailed to me from the Nagios system. >> >>***** Nagios ***** >> >>Notification Type: PROBLEM >> >>Service: Total Processes >>Host: Linux Server #1 >>Address: 64.182.35.81 >>State: WARNING >> >>Date/Time: Thu Jan 27 13:28:20 CST 2005 >> >>Additional Info: >> >>System call sent warnings to stderr >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive > > Reporting > >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Feb 9 21:36:38 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 10 Feb 2005 09:36:38 +1300 Subject: How to handle 'single bad' or 'trap' messages? In-Reply-To: <200502091713.17117.benoit.panizzon@imp.ch> References: <200502091713.17117.benoit.panizzon@imp.ch> Message-ID: <041101c50ee7$0f00c4b0$01fea8c0@itss.auckland.ac.nz> >We have the requirement of handling what I call a 'single bad' message. >When such an event happens, somebody would need to aknowledge >the message and the status should turn to OK. We handle this one of two ways (depending on the needs). 1. Set up passive service, which receives the alerts. Have state stalking on the criticals. max_check_attempts is 1. Check_period is never. We also set up a freshness check with a 2-hour timeout that calls a script returning an 'OK'. This makes all alerts disappear after 2 hours of silence. This is OK in some cases (if you havent heard anything for a certain period of time, assume it's OK) but not others. 2. Set up a passive service, with critical state stalking. When people go to acknowledge the alert, it gets the normal 'man at work' icon. When the problem is solved, you go in again and submit a manual passive 'OK' to reset the state. This is better when you don't want the state to clear until you've done the task. By using (1) and a lower freshness threshold and >1 max_check_attempts, you can make an SNMP trap sink which will show an alert provided it is currently receving more than X alerts within a set time period. This is handy to alert if we start getting a flurry of failed login attempts (each triggering a SNMP auth trap) but not alert for just a single one where I mistype the password. Steve ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 9 22:02:33 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 09 Feb 2005 22:02:33 +0100 Subject: browser failed In-Reply-To: <420A6D77.5010702@ptera.net> References: <420A6D77.5010702@ptera.net> Message-ID: <420A7A69.7070001@op5.se> Arthur Stephens wrote: > My system .... So after rebooting, when I try to start the web interface > for nagios I get > > The connection was refused when attempting to contact 127.0.0.1:8082 > > I tried just 127.0.01 but that gets the same message. > > Ideas? > I try never to be rude, so I think I'll pass and just recommend a visit to the local bookstore. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chale at nwscan.net Wed Feb 9 23:43:13 2005 From: chale at nwscan.net (Chris Hale) Date: Wed, 9 Feb 2005 14:43:13 -0800 Subject: Freshness checking, Service dependicies and status output of all this... Message-ID: <004701c50ef8$bda5b8c0$3201280a@unknown> I guess I actually have two separate questions. 1) I would like to use dependencies, but I don't see anyway of indicating that the service being checked, is not, when the dependency fails. IE: I have on average 6 active checks per host... one of them being a ping test, the other 5 system variables (drive space, memory usage, etc.). There is no reason to eat up forks and processor time (waiting for the timeout) on the other five tests when the ping test is definitely hard down (especially when the outage is close to the nagios server, causing a lot of hosts to go into timeout loops), hence the reason why we would like to use dependencies. But it appears that you can only suppress the active check and/or the notification. In suppressing the check, effectively we would only be skipping the check, and there is no indication in the test results that we did so. We would like to have the status be updated with something like "Unknown state: PING dependency failed" I thought about a event handler, but since there is no state change, you can't use that. 2) If we switched to passive checks with the new NC_Net client (Thanks very much too the coders working on that), are freshness checks affected by service dependencies? (My suspicion is that they are not) Same scenario applies. Why bother doing the freshness checks if the still active ping test is failing. And then just like above. Can we change the state too indicate the unknown results (and not the normal critical: plugin timeout if it is tested or last known state if it is skipped with dependencies) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robin at frbconsulting.com Thu Feb 10 01:38:57 2005 From: robin at frbconsulting.com (Robin Brown) Date: Wed, 09 Feb 2005 19:38:57 -0500 Subject: Russel Scibetti's CGI config file location path Message-ID: <6.1.1.1.0.20050209193143.01a3beb0@mail.frbconsulting.com> Good evening, I've installed Nagios 2.01b in order to try 'Russel Scibetti's CGI config file location path' patch. The email I read regarding this patch uses an Apache setting per directory to use custom cgi.cfg files where you can then specify different hostextinfo.cfg files: SetEnv NAGIOS_CGI_CONFIG Now that the extended host information is contained within the hosts.cfg file, is this still the correct way to implement this feature? If so is it still the xedtemplate setting in cgi.cfg that needs to reflect the desired hostextinfo.cfg file? Thanks, Robin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 virtualhaze.org Thu Feb 10 02:33:23 2005 From: nagios at virtualhaze.org (Haze) Date: Thu, 10 Feb 2005 01:33:23 +0000 Subject: Nagios2 on FreeBSD 5.3 Message-ID: <420AB9E3.3020408@virtualhaze.org> Hello all, I am looking at moving our Nagios 1.2 clusters to Nagios 2 and I am asking if anyone has had any experience as to how well it works on FreeBSD 5.3. In brief we have 1 logger/cgi server and 4 remote servers with 60, 80, 500 and 2000 hosts. Total services across all the remote servers is ~10000. The top heavy service to host ratio is due to 90% of the devices being routers, where we check for all interfaces that at in an ifAdminUp status (nagios conf population is done automatically) and all the env stuff (about 5 on most routers). All done via Perl Net::SNMP and ofc embedded Perl. From the docs there looks like there is an issue with pthreads with large setups, is this still so? Any other advice or pitfalls to avoid would be gratefully accepted. Thanks ------------------------------- Haze Synetrix PLC ------------------------------- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Henshaw at qbuild.qld.gov.au Thu Feb 10 04:34:05 2005 From: Brad.Henshaw at qbuild.qld.gov.au (HENSHAW Brad) Date: Thu, 10 Feb 2005 13:34:05 +1000 Subject: Backslash problems in notifications Message-ID: <6227E947B877F8478B87FEA8B0649CF602357B97@SQBHOEXS02.qbuild.dpw.qld.gov.au> This one has me stumped. I have nagios configured to send e-mail alerts to various staff when certain host and service issues arise. One problem I've encountered however is a complication with dealing with the output of check_disk_smb in that its output looks something like this: CRITICAL: Only 1.74G (5%) free on \\10.x.x.x\d$ The relevant line in misccommands.cfg looks something like this: command_line /usr/bin/printf "%b" "Alert\n-----------------\n\nIssue: $NOTIFICATIONTYPE - $SERVICEDESC$ on $HOSTNAME$ ($HOSTALIAS$) is $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n$OUTPUT$\n\n---\nBlah blah blah" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ - $HOSTNAME$/$SERVICEDESC$ status is $SERVICESTATE$ **" -a "X-Priority: 1 (Highest)" $CONTACTEMAIL$ Now, for most alerts this works fine. But for the disk space alerts, printf looks at the backslash followed by a one and reports it as being an invalid escape sequence. The e-mail comes through but is truncated from the word "on", thus blasting away the last half of the alert message. I had thought of piping the text to sed and doing a substitution on backslashes followed by certain characters before passing to printf, but I can't think of a way to do this since `echo` (which I could pipe to sed) breaks in a similar fashion. Has anyone figured out a way to deal with backslashes in command output which screw up printf? (other than by modifying check_disk_smb) Any input is appreciated! Regards, Brad ##################################################################################### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal For more information please visit www.marshalsoftware.com ##################################################################################### ############################################################################# This electronic message and any attachments are supplied in good faith. QBuild accepts no responsibility for the damage or loss which may occur through the use or transmission of this message and attachments. The contents of this electronic message and any attachments are intended only for the addressee and may contain privileged or confidential information. If you are not the addressee, you are notified that any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. The privilege of confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of mistaken delivery to you. If you receive this message in error please notify the sender by return e-mail or telephone. ############################################################################## ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Thu Feb 10 07:24:12 2005 From: b00mer at gmx.net (Hendrik "Boomer" Baecker) Date: Thu, 10 Feb 2005 07:24:12 +0100 Subject: Nagios and SQL databases In-Reply-To: <2638AB7E1672B842901B0B49421B87DF0FCD10@mpc00email3.micronpc.com> References: <2638AB7E1672B842901B0B49421B87DF0FCD10@mpc00email3.micronpc.com> Message-ID: <420AFE0C.9040309@gmx.net> Paul Bourgeau schrieb: >I tried to search, but I did not see anything dealing with exactlly what I needed. I know that you are able to monitor TCP ports, services and drive utilization, but I wanted to know how (if at all) to set up Nagios to monitor SQL databases themselves. I am currently watching the SQL server services (mssql), but that's it. > >Can you monitor each individual database(size of, activity, health, etc..)? > > Yes. There exist a Nagios Plugin called "check_mssql.sh" --> http://www.nagios.org/faqs/viewfaq.php?faq_id=156 >Can you monitor who accesses the databases, number of users? > > Long time ago since I've played with it but I think with a little bit of work you can do whatever you want with. Hope this helps. >I'm guessing that I just need to add entries to the checkcommand.cfg file with SQL OID's, right? Or is there a bit more to setup? > >I am running ver 1.2 on redhat 8 (2.4.18-19.8.0) Any help would be appreciated. > >Thanks, >Paul > >Disclaimer: 9/2/2005 > >MPC Computers is providing the following information in compliance with federal regulations: > >MPC Computers, LLC >906 E. Karcher Road >Nampa, Idaho 83687 >1-888-224-4247 >http://www.mpccorp.com > >To discontinue receiving e-mail communications from MPC in the future, please go to: >http://www.mpccorp.com/email/manage.html and follow the instructions. > > > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_ide95&alloc_id396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harman at amazon.co.in Thu Feb 10 08:07:16 2005 From: harman at amazon.co.in (Harmanjit Singh) Date: Thu, 10 Feb 2005 12:37:16 +0530 Subject: Erratic behaviour by cgi scripts Message-ID: Hi, I am running Nagios 1.2 with Plugins 1.3.1. I have 23 hosts defined in my hosts.cfg. Whenever I click on host detail or service detail (executing status.cgi), it sometimes shows me all 23 hosts, sometimes it shows only 17. If I press refresh on my web-browser, the display changes back and forth from 17 to 23 and back to 17 in an unpredictable fashion. I have checked my nagios.cfg etc. and there are no warnings or errors in nagios.log when I start nagios. Any hints? Harman. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m at rtij.nl Thu Feb 10 09:07:57 2005 From: m at rtij.nl (Martijn Lievaart) Date: Thu, 10 Feb 2005 09:07:57 +0100 Subject: check_disk_smb error: Result from smbclient not suitable In-Reply-To: <25de63b5050207090456ca178c@mail.gmail.com> References: <25de63b5050207090456ca178c@mail.gmail.com> Message-ID: <420B165D.2010002@rtij.nl> Chris Mann wrote: >I'm trying to use the check_disk_smb plugin to check disk space on >windows servers. via the command line it works fine, returns the info. > >When the plugin is configured, nagios reports the following error: >Result from smbclient not suitable > >Any thoughts as to where to start to look to fix this? > > Start fiddling with the commandline arguments. I had this same problem, somehow this plugin reacts differently when run from the commandline or from nagios. IIRC put the -c and -w flags first on the commandline. HTH, M4 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Thu Feb 10 09:44:37 2005 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 10 Feb 2005 09:44:37 +0100 Subject: Check_SNMP_INT.PL help needed In-Reply-To: <6A1DD050FEF19644B488BD3889A0A221733BEF@FLASH.nts.local> References: <6A1DD050FEF19644B488BD3889A0A221733BEF@FLASH.nts.local> Message-ID: <20050210084444.AC78AAC476@www.manubulon.com> Hi, This was a known problem on version 1.2 : download the latest version (1.2 of Jan 31) on my web site : http://www.manubulon.com/nagios/check_snmp_int.pl Patrick nagios at proy.org ________________________________ De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Sam Reynolds Envoy? : mercredi 9 f?vrier 2005 20:52 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Check_SNMP_INT.PL help needed Hello all, I am trying to monitor my Cisco Routers Bandwidth utilization using check_snmp_int.pl. I can use the plugin so long as I don?t use the ?k switch. As I understand it, the ?k switch creates a tmp file on the nagios server that it uses to compare the bandwidth, unfortunately it is unable to create the tmp file as I am checking an interface with a / in it (ie: Serial5/2). Is there a work around for this, or a better way of doing it? Thanks in advance. Sam ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Feb 10 09:54:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Feb 2005 09:54:38 +0100 Subject: Backslash problems in notifications In-Reply-To: <6227E947B877F8478B87FEA8B0649CF602357B97@SQBHOEXS02.qbuild.dpw.qld.gov.au> References: <6227E947B877F8478B87FEA8B0649CF602357B97@SQBHOEXS02.qbuild.dpw.qld.gov.au> Message-ID: <420B214E.20906@op5.se> HENSHAW Brad wrote: > This one has me stumped. > > I have nagios configured to send e-mail alerts to various staff when > certain host and service issues arise. > One problem I've encountered however is a complication with dealing with > the output of check_disk_smb in that its output looks something like > this: > > CRITICAL: Only 1.74G (5%) free on \\10.x.x.x\d$ > > The relevant line in misccommands.cfg looks something like this: > > command_line /usr/bin/printf "%b" "Alert\n-----------------\n\nIssue: > $NOTIFICATIONTYPE - $SERVICEDESC$ on $HOSTNAME$ ($HOSTALIAS$) is > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n$OUTPUT$\n\n---\nBlah blah blah" | /usr/bin/mail -s "** > $NOTIFICATIONTYPE$ - $HOSTNAME$/$SERVICEDESC$ status is $SERVICESTATE$ > **" -a "X-Priority: 1 (Highest)" $CONTACTEMAIL$ > > Now, for most alerts this works fine. But for the disk space alerts, > printf looks at the backslash followed by a one and reports it as being > an invalid escape sequence. The e-mail comes through but is truncated > from the word "on", thus blasting away the last half of the alert > message. > > I had thought of piping the text to sed and doing a substitution on > backslashes followed by certain characters before passing to printf, but > I can't think of a way to do this since `echo` (which I could pipe to > sed) breaks in a similar fashion. > > Has anyone figured out a way to deal with backslashes in command output > which screw up printf? (other than by modifying check_disk_smb) > echo -n from echo(1) -n never substitute I suppose you'll see one backslash less, but that might even be acceptable. > Any input is appreciated! > > Regards, > Brad > > ##################################################################################### > This e-mail message has been scanned for Viruses and Content and cleared > by MailMarshal > For more information please visit www.marshalsoftware.com > ##################################################################################### > > ############################################################################# > This electronic message and any attachments are supplied in good faith. > QBuild accepts no responsibility for the damage or loss which may occur > through the use or transmission of this message and attachments. > > The contents of this electronic message and any attachments are intended > only for the addressee and may contain privileged or confidential information. > If you are not the addressee, you are notified that any transmission, distribution, > downloading, printing or photocopying of the contents of this message or attachments > is strictly prohibited. The privilege of confidentiality attached to this message and > attachments is not waived, lost or destroyed by reason of mistaken delivery to you. > > If you receive this message in error please notify the sender by return e-mail or telephone. > ############################################################################## > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Thu Feb 10 09:39:09 2005 From: srunschke at abit.de (Sascha Runschke) Date: Thu, 10 Feb 2005 09:39:09 +0100 Subject: Antwort: Backslash problems in notifications [Virus scanned] Message-ID: > Now, for most alerts this works fine. But for the disk space alerts, > printf looks at the backslash followed by a one and reports it as being > an invalid escape sequence. The e-mail comes through but is truncated > from the word "on", thus blasting away the last half of the alert > message. This is a known issue. Ethan should have updated the CVS by now and a new snapshot should fix the problem. You just need to add \ to the illegal_macro_chars variable in nagios.cfg, if not done already. If using the newest snapshot is not feasable for you, you can use this workaround: define command{ command_name notify-by-email command_line /bin/bash -c "printf \"%b\" \"***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nDescription: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATE$ $TIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\n\"" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } The built-in printf function of bash doesn't suffer from misinterpreting wrong escapesequences. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.hopkins at uk.easynet.net Thu Feb 10 10:02:51 2005 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Thu, 10 Feb 2005 09:02:51 -0000 Subject: Freshness checking, Service dependicies and st atus output of all this... Message-ID: <13E80BCA327C4D43AC2EFCE6B06E53140495ED@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: Chris Hale [mailto:chale at nwscan.net] > Sent: 09 February 2005 22:43 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Freshness checking, Service dependicies and > status output of all this... > > > I guess I actually have two separate questions. > > 1) I would like to use dependencies, but I don't see anyway > of indicating > that the service being checked, is not, when the dependency fails. > > IE: I have on average 6 active checks per host... one of > them being a ping > test, the other 5 system variables (drive space, memory > usage, etc.). There > is no reason to eat up forks and processor time (waiting for > the timeout) on > the other five tests when the ping test is definitely hard > down (especially > when the outage is close to the nagios server, causing a lot > of hosts to go > into timeout loops), hence the reason why we would like to > use dependencies. > But it appears that you can only suppress the active check and/or the > notification. In suppressing the check, effectively we would only be > skipping the check, and there is no indication in the test > results that we > did so. We would like to have the status be updated with > something like > "Unknown state: PING dependency failed" I thought about a > event handler, > but since there is no state change, you can't use that. Chris, Perhaps I'm missing you're point, but I'm not sure why you're going to all this trouble yourself - what you're describing is a native feature of Nagios: if any service check fails, the host check is performed, if the host check fails, it's marked down and no other service checks for the host are performed i.e. all service checks are dependent on the host (ping) check. It could be that you've disabled host checks (but generally the only reason to disable host checks is when you want all service checks to be scheduled regardless of the state of the host - which doesn't seem to be what you want) Regards Dan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.hopkins at uk.easynet.net Thu Feb 10 10:07:15 2005 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Thu, 10 Feb 2005 09:07:15 -0000 Subject: Erratic behaviour by cgi scripts Message-ID: <13E80BCA327C4D43AC2EFCE6B06E53140495EE@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: Harmanjit Singh [mailto:harman at amazon.co.in] > Sent: 10 February 2005 07:07 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Erratic behaviour by cgi scripts > > > > Hi, > > I am running Nagios 1.2 with Plugins 1.3.1. > > I have 23 hosts defined in my hosts.cfg. > > Whenever I click on host detail or service detail > (executing status.cgi), it sometimes shows me all 23 hosts, > sometimes it shows only 17. If I press refresh on my web-browser, > the display changes back and forth from 17 to 23 and back to 17 > in an unpredictable fashion. > > I have checked my nagios.cfg etc. and there are no warnings or > errors in nagios.log when I start nagios. > > Any hints? > Harman. Sounds like the sort of effect you get from multiple nagios instances running. Have you tried shutting down nagios, killing any remaining nagios processes and restarting it? Dan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From remko at elvandar.org Thu Feb 10 10:58:18 2005 From: remko at elvandar.org (Remko Lodder) Date: Thu, 10 Feb 2005 10:58:18 +0100 Subject: Erratic behaviour by cgi scripts In-Reply-To: <13E80BCA327C4D43AC2EFCE6B06E53140495EE@exch0-tmshm.uk.easynet.corp> References: <13E80BCA327C4D43AC2EFCE6B06E53140495EE@exch0-tmshm.uk.easynet.corp> Message-ID: <420B303A.1040503@elvandar.org> Dan Hopkins wrote: >>-----Original Message----- >>From: Harmanjit Singh [mailto:harman at amazon.co.in] >>Sent: 10 February 2005 07:07 >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Erratic behaviour by cgi scripts >> >> >> >>Hi, >> >>I am running Nagios 1.2 with Plugins 1.3.1. >> >>I have 23 hosts defined in my hosts.cfg. >> >>Whenever I click on host detail or service detail >>(executing status.cgi), it sometimes shows me all 23 hosts, >>sometimes it shows only 17. If I press refresh on my web-browser, >>the display changes back and forth from 17 to 23 and back to 17 >>in an unpredictable fashion. >> >>I have checked my nagios.cfg etc. and there are no warnings or >>errors in nagios.log when I start nagios. >> >>Any hints? >>Harman. > > > Sounds like the sort of effect you get from multiple nagios instances > running. Have you tried shutting down nagios, killing any remaining nagios > processes and restarting it? > > Dan > Well it can also mean that someone enabled new stuff in the config files (or altered something) and did not restart nagios yet. I had that myself 2 days ago :-) Cheers, -- Kind regards, Remko Lodder ** remko at elvandar.org Reporter DSINET ** remko at DSINet.org Founder Tienervaders ** remko at tienervaders.org FreeBSD Documentation Project ** remko at FreeBSD.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From remko at elvandar.org Thu Feb 10 11:04:48 2005 From: remko at elvandar.org (Remko Lodder) Date: Thu, 10 Feb 2005 11:04:48 +0100 Subject: nagios monitoring process may not be running Message-ID: <420B31C0.8000107@elvandar.org> Hi, I run FreeBSD 5.3 latest revision with Nagios 1.2. When i had setup nagios i got external commands for authorized users and i was able to enable and disable checks and such. However, due to some unknown change, the monitoring proces just says : "Warning: Monitoring process may not be running". So i added the check_nagios feature manually and i run that now for the nagios host. It is green all the time giving the correct output [1] while the application keeps telling that it might not be running. Someone has any ideas on where i can look to get this back up again? [1] ./check_nagios -F /var/spool/nagios/status.log -e 5 -C \ /usr/local/bin/nagios Nagios ok: located 1 process, status log updated 6 seconds ago -- Kind regards, Remko Lodder ** remko at elvandar.org Reporter DSINET ** remko at DSINet.org Founder Tienervaders ** remko at tienervaders.org FreeBSD Documentation Project ** remko at FreeBSD.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harman at amazon.co.in Thu Feb 10 11:00:48 2005 From: harman at amazon.co.in (Harmanjit Singh) Date: Thu, 10 Feb 2005 15:30:48 +0530 Subject: More problems and RE: Erratic behaviour by cgi scripts Message-ID: Ok, more than one nagios processes were running. I killed all, restarted nagios and that fixed it. By the way, the init scripts for the 2.0b2 Nagios are all broken. Nagios doesn't even write to the lockfile (which should contain the PID). The nagios.lock file is empty. Also, when I see the HOST Status info in Nagios, it shows that "Host assumed to be up" and last status check was like, 40minutes in the past. In my config files, I have check-host-alive for every host in hosts.cfg and a PING service defined as well in the services.cfg. How can I speed up the host status check frequency? Thanks, Harman. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Remko Lodder Sent: Thursday, February 10, 2005 3:28 PM To: Dan Hopkins; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Erratic behaviour by cgi scripts Dan Hopkins wrote: >>-----Original Message----- >>From: Harmanjit Singh [mailto:harman at amazon.co.in] >>Sent: 10 February 2005 07:07 >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Erratic behaviour by cgi scripts >> >> >> >>Hi, >> >>I am running Nagios 1.2 with Plugins 1.3.1. >> >>I have 23 hosts defined in my hosts.cfg. >> >>Whenever I click on host detail or service detail (executing >>status.cgi), it sometimes shows me all 23 hosts, sometimes it shows >>only 17. If I press refresh on my web-browser, the display changes >>back and forth from 17 to 23 and back to 17 in an unpredictable >>fashion. >> >>I have checked my nagios.cfg etc. and there are no warnings or errors >>in nagios.log when I start nagios. >> >>Any hints? >>Harman. > > > Sounds like the sort of effect you get from multiple nagios instances > running. Have you tried shutting down nagios, killing any remaining > nagios processes and restarting it? > > Dan > Well it can also mean that someone enabled new stuff in the config files (or altered something) and did not restart nagios yet. I had that myself 2 days ago :-) Cheers, -- Kind regards, Remko Lodder ** remko at elvandar.org Reporter DSINET ** remko at DSINet.org Founder Tienervaders ** remko at tienervaders.org FreeBSD Documentation Project ** remko at FreeBSD.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Feb 10 12:30:18 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Feb 2005 12:30:18 +0100 Subject: More problems and RE: Erratic behaviour by cgi scripts In-Reply-To: References: Message-ID: <420B45CA.3080205@op5.se> Harmanjit Singh wrote: > Ok, more than one nagios processes were running. > I killed all, restarted nagios and that fixed it. > > By the way, the init scripts for the 2.0b2 Nagios are all broken. > Nagios doesn't even write to the lockfile (which should contain the > PID). > The nagios.lock file is empty. > > Also, when I see the HOST Status info in Nagios, it shows > that "Host assumed to be up" and last status check was like, 40minutes > in the past. In my config files, I have check-host-alive for every host > in hosts.cfg and a PING service defined as well in the services.cfg. > > How can I speed up the host status check frequency? > You can't. Host statuses are only checked if a service changes state unless you force host checks (bad idea). Read the docs on how to accomplish this, and to find out why it isn't recommended. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian.chard at sers.ox.ac.uk Thu Feb 10 12:36:01 2005 From: ian.chard at sers.ox.ac.uk (Ian Chard) Date: Thu, 10 Feb 2005 11:36:01 +0000 Subject: Checking hosts with no services Message-ID: <420B4721.7030806@sers.ox.ac.uk> Hi, If I have hosts with no associated services (e.g. routers that I can't SNMP query), will host checks be scheduled for them, or do I need to use check_interval? Thanks - Ian -- Ian Chard, Unix & Network Administrator | E: ian.chard at sers.ox.ac.uk Systems and Electronic Resources Service | T: 80587 / (01865) 280587 Oxford University Library Services | F: (01865) 204937 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Thu Feb 10 12:52:17 2005 From: b00mer at gmx.net (Hendrik "Boomer" Baecker) Date: Thu, 10 Feb 2005 12:52:17 +0100 Subject: Checking hosts with no services In-Reply-To: <420B4721.7030806@sers.ox.ac.uk> References: <420B4721.7030806@sers.ox.ac.uk> Message-ID: <420B4AF1.2000108@gmx.net> Ian Chard schrieb: > Hi, > > If I have hosts with no associated services (e.g. routers that I can't > SNMP query), will host checks be scheduled for them, or do I need to > use check_interval? > > Thanks > - Ian > Hi, when I am not wrong, you can't do this. Nagios checks Service not Hosts. The hosts were just checked if one Service-Check failes. Try to use the check_ping or check_icmp (it's nice and very fast!) as a standard service for your hosts which can't be monitored by other checks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at avedya.com Thu Feb 10 13:15:30 2005 From: julien at avedya.com (Julien DEHEE) Date: Thu, 10 Feb 2005 13:15:30 +0100 Subject: check_imap with SSL Message-ID: <420B5062.3020208@avedya.com> hi, How can I use check_imap with SSL ? my check_imap is 1.13.2.3 (nagios-plugins 1.3.1) thanks in advance, Julien. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From remko at elvandar.org Thu Feb 10 13:20:04 2005 From: remko at elvandar.org (Remko Lodder) Date: Thu, 10 Feb 2005 13:20:04 +0100 Subject: check_imap with SSL In-Reply-To: <420B5062.3020208@avedya.com> References: <420B5062.3020208@avedya.com> Message-ID: <420B5174.4010006@elvandar.org> Julien DEHEE wrote: > hi, > How can I use check_imap with SSL ? > > my check_imap is 1.13.2.3 (nagios-plugins 1.3.1) Hi, there is a check_simap command in the nagiosplugin package. Perhaps you can check that out? > > thanks in advance, > > Julien. > -- Kind regards, Remko Lodder ** remko at elvandar.org Reporter DSINET ** remko at DSINet.org Founder Tienervaders ** remko at tienervaders.org FreeBSD Documentation Project ** remko at FreeBSD.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Feb 10 13:55:29 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 10 Feb 2005 07:55:29 -0500 Subject: NC_Net v2.15 - New Version (with Perfomance counter FIX) Message-ID: NC_Net has a new version In this the documentaiton has been updated and several checks command have been rewriten inside NC_Net Some debuggin of configuration varibles (more debugging is needed) for instance now you should be able to stop passive checks via the check_nt then reenable at some latter time via check_nt Check_Nt - with NC_Net enhancements included with NC_Net has had CONFIG command added. Event log BUG fix ( older event log from 1.09 had a bug with parsing the arguments) performance counter Bug fix - no longer 0 for per second counters other changes... NC_Net official site: www.shatterit.com/NC_Net Good luck with it. Tony ps The issue about installing to a location other than C:\Program Files\Shatter It\NC_Net has NOT been resolved yet. I am currently working on it. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ovig.degrouard at jouy.inra.fr Thu Feb 10 14:47:11 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Thu, 10 Feb 2005 14:47:11 +0100 Subject: run nrpe and nagios at the same time Message-ID: <420B65DF.8000206@jouy.inra.fr> Hi, Is-it possible to run nrpe in my nagios server? I would like to use my generic nrpe configuration (used for all my clients) for my nagios server (localhost). That will allow me to don't use check_local_disk single once. [root at me]# service nrpe status nrpe dead but subsys locked Thank you, Ovig Degrouard ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Thu Feb 10 15:44:50 2005 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Thu, 10 Feb 2005 09:44:50 -0500 Subject: Upgrade questions Message-ID: <200502101433.j1AEXZl2003530@mail1.firstbhph.com> Hello to all. With some help from the group, and a lot of experimentation, I've had nagios-1.2-0.rhel3.dag up and running great on a CentOS 3.3 box. I'd like to upgrade to version 2.0b2, and have compiled an rpm from the tarball. I don't want to sound like a wimp (although I probably do), but after all the work I've done, I don't want to break my current installation. So my question are: Is there anything special I should do when upgrading? Will I have to do severe editing to my configuration files? Has anyone successfully (and easily) upgraded such as I'm planning on either CentOS os RHEL3? As a side question, if I may, I've never gotten the icons to show up in the status map. It's probably been answered a thousand times, but I can't seem to find the one that works for me. The icons live in /usr/share/nagios/images/logos/base on my system (I even created /usr/local/nagios/share/images/logos, as per the example in cgi.cfg. - no joy). In the cgi.cfg file, I've added lines like the following to show the icons: hostextinfo[norwell]=;/base/redhat.gif;/base/redhat.gif;/base/redhat.gif;Cen tOS 3.3;;; Is this correct? Do I have to do anything else? Many thanks! Dimitri -------------- next part -------------- An HTML attachment was scrubbed... URL: From noureddin at belbone.be Thu Feb 10 15:45:03 2005 From: noureddin at belbone.be (noureddin) Date: Thu, 10 Feb 2005 15:45:03 +0100 Subject: Could not read object configuration data! In-Reply-To: <420A2E42.1080309@op5.se> References: <420A2E42.1080309@op5.se> Message-ID: <420B736F.7080101@belbone.be> An HTML attachment was scrubbed... URL: From wirtz at dfn.de Thu Feb 10 15:47:22 2005 From: wirtz at dfn.de (Holger Wirtz) Date: Thu, 10 Feb 2005 15:47:22 +0100 Subject: Nagios 2.0 CVS and contact_groups Message-ID: <20050210144722.GI6329@arktur.dfn.de> Hi, I have lots of hosts and services. Today I tried Nagios 2.0 CVS. It works fine for me (I am an admin and I see EVERY host and service). If I try to insert a line with "contact_groups" inside a host or service definition I get an error while reloading for each host/service: --- cut here --- Nagios 2.0b1 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 12-15-2004 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Warning: Service 'PING' on host 'foo.bar' has no default contact group(s) defined! ... --- cut here --- The sample configs have this line... and even the hostgroups file. But putting a contact_groups line inside a hostgroup definition I get also an error: --- cut here --- Nagios 2.0b1 Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) Last Modified: 12-15-2004 License: GPL Reading configuration data... Error: Invalid hostgroup object directive 'contact_groups'. Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.c fg' on line 23. --- cut here --- Hm, this seems to be very strange because putting a line with "contact_groups" inside the object definition (hosts and services) works... Is this a bug or am I to stupid to configure nagios? Regards, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu Feb 10 16:11:05 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 10 Feb 2005 09:11:05 -0600 Subject: run nrpe and nagios at the same time In-Reply-To: <420B65DF.8000206@jouy.inra.fr> References: <420B65DF.8000206@jouy.inra.fr> Message-ID: <1108048278.1876.16.camel@chi100627.int.tt.local> On Thu, 2005-02-10 at 14:47 +0100, Ovig Degrouard wrote: > Is-it possible to run nrpe in my nagios server? Absolutely. > I would like to use my generic nrpe configuration (used for all my > clients) for my nagios server (localhost). > That will allow me to don't use check_local_disk single once. that is true. I actually do this exact thing for quite a few services exactly for the reason you're describing - to not kludge up the configs with an exception for each check. > [root at me]# service nrpe status > nrpe dead but subsys locked this error is well "documented": http://www.google.com/search?complete=1&hl=en&q=%22dead+but+subsys +locked%22 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at medien-systempartner.de Thu Feb 10 17:09:04 2005 From: Michael.Huettig at medien-systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Thu, 10 Feb 2005 17:09:04 +0100 Subject: nrpe2 is bailing out Message-ID: <200502101709.04131.Michael.Huettig@medien-systempartner.de> Hi all, since yesterday nrpe on some clients in our DMZ creates messages "nrpe[29828]: Could not read request from client, bailing out..." But when i checked manual from shell with check_nrpe -H -c check_load -a 3,2,1 3,3,2 i didn?t get the message. NRPE 2 ist compiled with option --disable-ssl --enable-command-args, the nrpe_daemon run?s under suse73 and suse82. Yes, i?ve read the faq?s and documentation, googled a lot and also searched the whole nagios-mailarchiv, but i didn?t find any answer, FW-Rules also don?t changed. If you have a great idea, please let me know. thx With best regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alan_maxwell at hilton.com Thu Feb 10 17:17:03 2005 From: alan_maxwell at hilton.com (Alan Maxwell) Date: Thu, 10 Feb 2005 10:17:03 -0600 Subject: freshness_threshold Message-ID: <1108052223.18306.19.camel@amaxred.hilton.com> I understand how this works, i.e. set this to an integer seconds on a service to "expect" results. I have some checks that are in days and some in weeks. Will freshness_threshold work with numbers that large? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jorbir at gmail.com Thu Feb 10 18:13:32 2005 From: jorbir at gmail.com (=?ISO-8859-1?Q?J=F8rgen_Birkhaug?=) Date: Thu, 10 Feb 2005 18:13:32 +0100 Subject: Nagios/NSCA/Munin Integration Message-ID: <6e60528f05021009136e5db92@mail.gmail.com> Munin (third party monitoring software) is successfully sending alerts to nagios.cmd via NSCA, but I'm still (after having read just about everything about volatile services that I can find) having problems getting the Nagios Daemon to react upon passive service alerts written to nagios.cmd by NSCA. nagios.cmd might contain: ----------------------------------------------------------------------- EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;kang.os.ergo.no;df;2;Filesystem usage (in %):CRITICALs: /mnt/media is 100.00 (outside range [:98]). ----------------------------------------------------------------------- shortly followed by message stating that the service 'df' could not be found by Nagios. Sorry for yet again bringing up syntax questions regarding passive alerts, but how do I correctly define a service that will pick up alerts written to nagios.cmd? My services.cfg contains: ----------------------------------------------------------------------- define service { use generic-service name munin register 0 service_description munin_alert is_volatile 1 check_command check-host-alive active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_period none notification_interval 31536000 } define service { use munin host_name host service_description df register 1 } ----------------------------------------------------------------------- -- J?rgen Birkhaug ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 10 18:34:15 2005 From: mpowell at ena.com (Marc Powell) Date: Thu, 10 Feb 2005 11:34:15 -0600 Subject: Nagios/NSCA/Munin Integration Message-ID: <2B79966571B4B842B9C07E9910E38CE602BFE7@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of J?rgen Birkhaug > Sent: Thursday, February 10, 2005 11:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios/NSCA/Munin Integration > > Munin (third party monitoring software) is successfully sending alerts > to nagios.cmd via NSCA, but I'm still (after having read just about > everything about volatile services that I can find) having problems > getting the Nagios Daemon to react upon passive service alerts written > to nagios.cmd by NSCA. > > nagios.cmd might contain: > > ----------------------------------------------------------------------- > EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;kang.os.ergo.no;df;2;Filesystem usage (in > %):CRITICALs: /mnt/media is 100.00 (outside range [:98]). > ----------------------------------------------------------------------- > > shortly followed by message stating that the service 'df' could not be > found by Nagios. > > Sorry for yet again bringing up syntax questions regarding passive > alerts, but how do I correctly define a service that will pick up > alerts written to nagios.cmd? > > My services.cfg contains: > > ----------------------------------------------------------------------- > define service { > use generic-service > name munin > register 0 > service_description munin_alert > is_volatile 1 > check_command check-host-alive > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period none > notification_interval 31536000 > } > > define service { > use munin > host_name host > service_description df > register 1 > } Is this your actual service definition or a munged one? host-name above should be 'kang.os.ergo.no', not 'host'. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorbir at gmail.com Thu Feb 10 18:46:53 2005 From: jorbir at gmail.com (=?ISO-8859-1?Q?J=F8rgen_Birkhaug?=) Date: Thu, 10 Feb 2005 18:46:53 +0100 Subject: Nagios/NSCA/Munin Integration In-Reply-To: <2B79966571B4B842B9C07E9910E38CE602BFE7@mismail.ena.com> References: <2B79966571B4B842B9C07E9910E38CE602BFE7@mismail.ena.com> Message-ID: <6e60528f050210094634af2a00@mail.gmail.com> On Thu, 10 Feb 2005 11:34:15 -0600, Marc Powell wrote: > > Is this your actual service definition or a munged one? host-name above should be 'kang.os.ergo.no', not 'host'. > > -- > Marc > > DOH! Sorry. It's "munged". In real life the hostnames match. -- J?rgen Birkhaug ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakers at web-ster.com Thu Feb 10 18:48:35 2005 From: bakers at web-ster.com (Scott Baker) Date: Thu, 10 Feb 2005 09:48:35 -0800 Subject: Nagios Monitor MAX Tnt? Message-ID: <420B9E73.60704@web-ster.com> I have a Lucent/Ascent Max TNT that I want to monitor alarms on. I'm curious if anyone is already doing this? I was planning on writing a perl script to telnet in and check alarms, but I thought before I went to all that trouble I'd see if someone was already doing what I need to. Scott -- Scott Baker Canby Telephone - Network Administrator - RHCE Ph: 503.266.8253 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwarner at ctinetworks.com Thu Feb 10 18:57:35 2005 From: dwarner at ctinetworks.com (Douglas E. Warner) Date: Thu, 10 Feb 2005 12:57:35 -0500 Subject: Nagios Monitor MAX Tnt? In-Reply-To: <420B9E73.60704@web-ster.com> References: <420B9E73.60704@web-ster.com> Message-ID: <200502101257.35701.dwarner@ctinetworks.com> On Thursday 10 February 2005 12:48, Scott Baker wrote: > I have a Lucent/Ascent Max TNT that I want to monitor alarms on. I'm > curious if anyone is already doing this? I was planning on writing a > perl script to telnet in and check alarms, but I thought before I > went to all that trouble I'd see if someone was already doing what I > need to. Alarms.. like on T1/PRIs? This is all available via SNMP. See attached perl script.. -Doug -- Douglas E. Warner Network Engineer CTI Networks, Inc. http://www.ctinetworks.com +1 717 975 9000 -------------- next part -------------- A non-text attachment was scrubbed... Name: check_snmp_if Type: application/x-perl Size: 15305 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Sam.Reynolds at networkts.com Thu Feb 10 19:22:27 2005 From: Sam.Reynolds at networkts.com (Sam Reynolds) Date: Thu, 10 Feb 2005 13:22:27 -0500 Subject: Check_SNMP_INT.PL help needed Message-ID: <6A1DD050FEF19644B488BD3889A0A2217DE61B@FLASH.nts.local> Thanks for the help! That was the issue. Although I am now having an issue that says "Serial5/2:UP No usable data on file (3 rows) :(1 UP): UNKNOWN". I look in the tmp file that was created and there is data there. The command I am using is check_snmp_int.pl -H 127.0.0.1 -C -n Serial5/2 -k -w 200,400 -c 0,0 (IP and community name are real when I put in the command). I was expecting to determine what kind of bandwidth I am using on this interface. If I am using the wrong tool for this please let me know. Thanks, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Feb 10 19:50:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Feb 2005 19:50:05 +0100 Subject: NC_Net v2.15 - New Version (with Perfomance counter FIX) In-Reply-To: References: Message-ID: <420BACDD.5030507@op5.se> Anthony Montibello wrote: > NC_Net has a new version > In this the documentaiton has been updated > and several checks command have been rewriten inside NC_Net > Some debuggin of configuration varibles (more debugging is needed) > for instance now you should be able to stop passive checks via the > check_nt then reenable at some latter time via check_nt > > Check_Nt - with NC_Net enhancements included with NC_Net has had > CONFIG command added. I suppose you've thought about adding some sort of non-plaintext authentication scheme for this. The idea of random hosts reconfiguring even the smallest thing really doesn't feel all too good. > Event log BUG fix ( older event log from 1.09 had a bug with parsing > the arguments) > performance counter Bug fix - no longer 0 for per second counters > > other changes... > > NC_Net official site: www.shatterit.com/NC_Net > > Good luck with it. > Tony > > ps > The issue about installing to a location other than C:\Program > Files\Shatter It\NC_Net > has NOT been resolved yet. I am currently working on it. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From coreyva at gmail.com Thu Feb 10 19:51:45 2005 From: coreyva at gmail.com (Corey Van Allen) Date: Thu, 10 Feb 2005 11:51:45 -0700 Subject: nrpe (No output returned from plugin) works fine from cli Message-ID: <8bd4a096050210105174c1d83e@mail.gmail.com> I'm having an issue with nrpe where I can run /usr/lib/nagios/plugins/check_nrpe -H 206.135.x.x -c check_load and it returns OK - load average: 0.88, 0.65, 0.59 but the web client shows (No output returned from plugin). I have debugging on client side and will see the cli connection from the server, but nothing from the daemon. I have tried debugging the plugin using this information, but the file is never created. http://www.nagios.org/faqs/viewfaq.php?faq_id=162 Looking through the archives, I've seen that -a $ARG2$ should be removed if not using arguments, which I'm not, so I did. No change. Here are the relevant file contents /etc/nagios-plugins/config/check_nrpe.cfg define command { command_name check_nrpe command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } services.cfg define service{ use generic-service ; Name of service template to use host_name linux service_description LOAD is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups foo-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_load } client side /usr/local/nagios/etc/nrpe.cfg command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 BTW, This happens with all the nrpe commands not just the load. Client side debug output Feb 10 10:45:55 qmail nrpe[26034]: Connection from 206.135.x.x port 53767 Feb 10 10:45:55 qmail nrpe[26034]: Host address checks out ok Feb 10 10:45:55 qmail nrpe[26034]: Handling the connection... Feb 10 10:45:56 qmail nrpe[26034]: Host is asking for command 'check_load' to be run... Feb 10 10:45:56 qmail nrpe[26034]: Running command: /usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 Feb 10 10:45:56 qmail nrpe[26034]: Command completed with return code 0 and output: OK - load average: 1.37, 0.65, 0.59 Feb 10 10:45:56 qmail nrpe[26034]: Return Code: 0, Output: OK - load average: 1.37, 0.65, 0.59 Feb 10 10:45:56 qmail nrpe[26034]: Connection from 206.135.x.x closed. versions ii nagios-common 1.3-cvs.200501 A host/service/network monitoring and manage ii nagios-mysql 1.3-cvs.200501 A host/service/network monitoring and manage ii nagios-nrpe-do 2.0-7 Documentation for nagios-nrpe ii nagios-nrpe-pl 2.0-7 Nagios Remote Plugin Exectutor Plugin ii nagios-nrpe-se 2.0-7 Nagios Remote Plugin Exectutor Server ii nagios-plugins 1.3.1.0-12 Plugins for the nagios network monitoring an ii nagios-statd-c 3.09-7 nagios client for montioring remote system i ii nagios-statd-s 3.09-7 nagios server for monitoring remote system i Ideas? At this point I'm baffled. -- Corey ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Feb 10 19:52:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Feb 2005 19:52:38 +0100 Subject: Nagios 2.0 CVS and contact_groups In-Reply-To: <20050210144722.GI6329@arktur.dfn.de> References: <20050210144722.GI6329@arktur.dfn.de> Message-ID: <420BAD76.5080007@op5.se> Holger Wirtz wrote: > Hi, > > I have lots of hosts and services. Today I tried Nagios 2.0 CVS. It > works fine for me (I am an admin and I see EVERY host and service). > > If I try to insert a line with "contact_groups" inside a host or service > definition I get an error while reloading for each host/service: > > --- cut here --- > Nagios 2.0b1 > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) > Last Modified: 12-15-2004 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Warning: Service 'PING' on host 'foo.bar' has no default contact group(s) > defined! > ... > --- cut here --- > > The sample configs have this line... and even the hostgroups file. But > putting a contact_groups line inside a hostgroup definition I get also > an error: > > --- cut here --- > Nagios 2.0b1 > Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org) > Last Modified: 12-15-2004 > License: GPL > > Reading configuration data... > > Error: Invalid hostgroup object directive 'contact_groups'. Read the changelog. contact_groups have been moved to host objects so as to adhere to the way services are configured. > Error: Could not add object property in file > '/usr/local/nagios/etc/hostgroups.c fg' on line 23. > --- cut here --- > > Hm, this seems to be very strange because putting a line with > "contact_groups" inside the object definition (hosts and services) works... > > Is this a bug or am I to stupid to configure nagios? > > Regards, Holger -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Feb 10 19:54:00 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Feb 2005 19:54:00 +0100 Subject: nrpe2 is bailing out In-Reply-To: <200502101709.04131.Michael.Huettig@medien-systempartner.de> References: <200502101709.04131.Michael.Huettig@medien-systempartner.de> Message-ID: <420BADC8.8010107@op5.se> Michael H?ttig wrote: > Hi all, > since yesterday nrpe on some clients in our DMZ creates messages > > "nrpe[29828]: Could not read request from client, bailing out..." > > But when i checked manual from shell with > check_nrpe -H -c check_load -a 3,2,1 3,3,2 > i didn?t get the message. > > NRPE 2 ist compiled with option --disable-ssl --enable-command-args, the > nrpe_daemon run?s under suse73 and suse82. > Make sure the client (check_nrpe) also runs without ssl. This is the most common error for server/client issues. > Yes, i?ve read the faq?s and documentation, googled a lot and also searched > the whole nagios-mailarchiv, but i didn?t find any answer, FW-Rules also don?t changed. > > If you have a great idea, please let me know. thx > > With best regards > > Michael > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Thu Feb 10 19:59:40 2005 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Thu, 10 Feb 2005 10:59:40 -0800 Subject: E-Pager Alerts only contain From: line Message-ID: I recently moved nagios from an old redhat box to Solaris. Since the move my epager alerts only show the from: nagios at host.domain line. They used to contain all the other information. Any ideas? Here is my notify-by-epager macro: # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HO STNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICEOUTPUT$\n Date: $LONGDATETIME$" | /usr/bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERV ICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ } Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From ddunham at taos.com Thu Feb 10 20:13:53 2005 From: ddunham at taos.com (Darren Dunham) Date: Thu, 10 Feb 2005 11:13:53 -0800 (PST) Subject: E-Pager Alerts only contain From: line In-Reply-To: from "Steve OBrien" at Feb 10, 2005 10:59:40 AM References: Message-ID: <200502101913.LAA01226@redwood.taos.com> > I recently moved nagios from an old redhat box to Solaris. Since the move > my epager alerts only show the from: nagios at host.domain line. They used to > contain all the other information. Any ideas? Here is my notify-by-epager > macro: > # 'notify-by-epager' command definition > define command{ > command_name notify-by-epager > command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: > $HO > STNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: > $SERVICEOUTPUT$\n > Date: $LONGDATETIME$" | /usr/bin/mail -s "$NOTIFICATIONTYPE$: > $HOSTALIAS$/$SERV > ICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ > } /usr/bin/mail on Solaris is not similar to BSD style 'mail'. You probably need to change that to /usr/bin/mailx (or /usr/ucb/mail, but I prefer the first way). -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Thu Feb 10 20:26:38 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Thu, 10 Feb 2005 11:26:38 -0800 Subject: Checking hosts with no services In-Reply-To: <420B4AF1.2000108@gmx.net> References: <420B4721.7030806@sers.ox.ac.uk> <420B4AF1.2000108@gmx.net> Message-ID: <1108063598.9216.36.camel@seki.nac.uci.edu> On Thu, 2005-02-10 at 12:52 +0100, Hendrik "Boomer" Baecker wrote: > Ian Chard schrieb: > > > Hi, > > > > If I have hosts with no associated services (e.g. routers that I can't > > SNMP query), will host checks be scheduled for them, or do I need to > > use check_interval? > > > > Thanks > > - Ian > > > Hi, > > when I am not wrong, you can't do this. Nagios checks Service not Hosts. > The hosts were just checked if one Service-Check failes. > > Try to use the check_ping or check_icmp (it's nice and very fast!) as a > standard service for your hosts which can't be monitored by other checks. I concur - a check_icmp for the host check, and another check_icmp as service would be a good idea for a box that has no ports open whatsoever. However, you may want to confirm that you really do have no ports open at all, by running: nmap -sS router.box.com nmap -sU router.box.com You may even want to through in a -p1-65535 on both commands, to make nmap scan all 128K ports, instead of just common ones. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From jstone at fivepoints.net Thu Feb 10 20:34:11 2005 From: jstone at fivepoints.net (Joshua Stone) Date: Thu, 10 Feb 2005 14:34:11 -0500 Subject: check_snmp problem Message-ID: <9B870348FF06EB40890E74110C24259F1D1C63@FPNYEXCBE02.opus-i.corp> I am trying to monitor available swap space on a Borderware mail gateway. I am having trouble configuring the warning and critical thresholds and could use some help. Here is some relevant details: Looks correct from the commandline: [root at chimera etc]# ../libexec/check_snmp -H 1.2.168.15 -o "BORDERWARE-MIB::memAvailSwap.0" -w 300000:200001 -c 200000:0 -C XXXXXX -m "/usr/share/snmp/mibs/BORDERWARE-SMG-MIB.txt" SNMP OK - 440492 [root at chimera etc]# Here is the entry in checkcommands.cfg: define command{ command_name check-bw_memAvailSwap command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o "BORDERWARE-MIB:memAvailSwap.0" -w $ARG1$ -c $ARG2$ -C XXXXX -m "/usr/share/snmp/mibs/BORDERWA E-SMG-MIB.txt" } And services.cfg: define service{ use snmp-service host_name bdware1 check_command check-bw_memAvailSwap!300000:200001!200000:0 } However, the service returns a warning state for every check. [1108061224] SERVICE NOTIFICATION: blert;bdware1;memAvailSwap;WARNING;notify-by-email;SNMP WARNING - 440100 Thanks in advance for any help/ideas. -- jds ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EmmettH at Examen.com Thu Feb 10 21:19:06 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Thu, 10 Feb 2005 12:19:06 -0800 Subject: Turn off RED for PASSIVE ONLY checks? Message-ID: <420BC1BA.5090003@Examen.com> Hi Everyone, Is it possible to turn off the red "Services Disabled" display on the TAC page for passive ONLY checks? Basically, I have a passive check that processes emails from the backup system, and there is no active checks for this to do (unless of course the "freshness" period expires). But, it is very distracting to have the RED display under "Active Checks" when it's actually not an error, the checks are intentionally turned off (as recommended by the Nagios docs). Anybody found a way around this? Thanks, Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From mpowell at ena.com Thu Feb 10 21:42:13 2005 From: mpowell at ena.com (Marc Powell) Date: Thu, 10 Feb 2005 14:42:13 -0600 Subject: Turn off RED for PASSIVE ONLY checks? Message-ID: <2B79966571B4B842B9C07E9910E38CE60C9D11@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Emmett Hogan > Sent: Thursday, February 10, 2005 2:19 PM > To: Nagios Users List > Subject: [Nagios-users] Turn off RED for PASSIVE ONLY checks? > > Hi Everyone, > > Is it possible to turn off the red "Services Disabled" display on the > TAC page for passive ONLY checks? > > Basically, I have a passive check that processes emails from the backup > system, and there is no active checks for this to do (unless of course > the "freshness" period expires). But, it is very distracting to have > the RED display under "Active Checks" when it's actually not an error, > the checks are intentionally turned off (as recommended by the Nagios > docs). > > Anybody found a way around this? active_checks_enabled 1 passive_checks_enabled 1 check_period none -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EmmettH at Examen.com Thu Feb 10 21:46:21 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Thu, 10 Feb 2005 12:46:21 -0800 Subject: Turn off RED for PASSIVE ONLY checks? In-Reply-To: <2B79966571B4B842B9C07E9910E38CE60C9D11@mismail.ena.com> References: <2B79966571B4B842B9C07E9910E38CE60C9D11@mismail.ena.com> Message-ID: <420BC81D.9010208@Examen.com> Marc Powell wrote: >>Is it possible to turn off the red "Services Disabled" display on the >>TAC page for passive ONLY checks? >> >> >active_checks_enabled 1 >passive_checks_enabled 1 >check_period none > > But this causes my Freshness checks to never run. (The result of check_period = none) :-( -Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From jorbir at gmail.com Thu Feb 10 22:38:20 2005 From: jorbir at gmail.com (=?ISO-8859-1?Q?J=F8rgen_Birkhaug?=) Date: Thu, 10 Feb 2005 22:38:20 +0100 Subject: Nagios/NSCA/Munin Integration In-Reply-To: <420BAF2B.1030102@op5.se> References: <6e60528f05021009136e5db92@mail.gmail.com> <420BAF2B.1030102@op5.se> Message-ID: <6e60528f050210133843697cb8@mail.gmail.com> On Thu, 10 Feb 2005 19:59:55 +0100, Andreas Ericsson wrote: > J?rgen Birkhaug wrote: > > Munin (third party monitoring software) is successfully sending alerts > > to nagios.cmd via NSCA, but I'm still (after having read just about > > everything about volatile services that I can find) having problems > > getting the Nagios Daemon to react upon passive service alerts written > > to nagios.cmd by NSCA. > > > > nagios.cmd might contain: > > > > ----------------------------------------------------------------------- > > EXTERNAL COMMAND: > > PROCESS_SERVICE_CHECK_RESULT;kang.os.ergo.no;df;2;Filesystem usage (in > > %):CRITICALs: /mnt/media is 100.00 (outside range [:98]). > > ----------------------------------------------------------------------- > > > > nagios.cmd isn't supposed to contain anything humanly readable. It's a > named pipe used for inter-process communication and exists only as a > fixed buffer of (usually, on linux) 4096 bytes of RAM allocated inside > the kernel, which punts the incoming bytes to the ipc-channel on the > reading end. No filesystem IO takes place, there has to be a reading end > connected for writing to succeed, and if you actually access it with cat > (or something else) you will empty the pipe (and possibly steal it) > before nagios can read the message. > > > shortly followed by message stating that the service 'df' could not be > > found by Nagios. > > > > Sorry for yet again bringing up syntax questions regarding passive > > alerts, but how do I correctly define a service that will pick up > > alerts written to nagios.cmd? > > > > My services.cfg contains: > > > > ----------------------------------------------------------------------- > > define service { > > use generic-service > > name munin > > register 0 > > service_description munin_alert > > is_volatile 1 > > check_command check-host-alive > > active_checks_enabled 0 > > passive_checks_enabled 1 > > max_check_attempts 1 > > normal_check_interval 1 > > retry_check_interval 1 > > check_period none > > notification_interval 31536000 > > } > > > > define service { > > use munin > > host_name host > > service_description df > > register 1 > > } > > ----------------------------------------------------------------------- > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer I should probably have clarified this in my initial post. The above message (EXTERNAL COMMAND) is derived from Nagios' own log file; nagios.log. It is not entered directly into nagios.cmd but rather dumped there by using the NSCA Daemon's 'command_file' parameter). So, presuming that external events are supposed to end up in nagios.cmd, how do I define a service that will actually generate a warning in Nagios? -- J?rgen Birkhaug ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 10 22:40:32 2005 From: mpowell at ena.com (Marc Powell) Date: Thu, 10 Feb 2005 15:40:32 -0600 Subject: Turn off RED for PASSIVE ONLY checks? Message-ID: <2B79966571B4B842B9C07E9910E38CE60C9D18@mismail.ena.com> > -----Original Message----- > From: Emmett Hogan [mailto:EmmettH at Examen.com] > Sent: Thursday, February 10, 2005 2:46 PM > To: Marc Powell > Cc: Nagios Users List > Subject: Re: [Nagios-users] Turn off RED for PASSIVE ONLY checks? > > Marc Powell wrote: > > >>Is it possible to turn off the red "Services Disabled" display on the > >>TAC page for passive ONLY checks? > >> > >> > >active_checks_enabled 1 > >passive_checks_enabled 1 > >check_period none > > > > > But this causes my Freshness checks to never run. (The result of > check_period = none) Are you sure about that? "What Happens When A Service Check Result Becomes "Stale" If the check results of a service are found to be "stale" (as described above), Nagios will force an active check of the service by executing the command specified by the check_command option in the service definition. ***It is important to note that an active service check which is being forced because the service was detected as being "stale" gets executed even if active service checks are disabled on a program-wide or service-specific basis.***" (emphasis mine) Also, looking at checks.c and commands.c, there appears to be a clear distinction between normally scheduled checks and forced checks. Freshness uses the latter. Additionally, this bit of code seems to indicate to me that the checks _will_ occur -- /* make sure this is a valid time to check the service */ if(check_time_against_period((unsigned long)current_time,svc-(check_period)==ERROR){ /* don't check the service if we're not forcing it through */ if(!(svc->check_options & CHECK_OPTION_FORCE_EXECUTION)) check_service=FALSE; /* get the next valid time we can run the check */ preferred_time=current_time; /* set the invalid time flag */ time_is_valid=FALSE; } -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 10 22:43:36 2005 From: mpowell at ena.com (Marc Powell) Date: Thu, 10 Feb 2005 15:43:36 -0600 Subject: Nagios/NSCA/Munin Integration Message-ID: <2B79966571B4B842B9C07E9910E38CE60C9D19@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of J?rgen Birkhaug > Sent: Thursday, February 10, 2005 3:38 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios/NSCA/Munin Integration > > On Thu, 10 Feb 2005 19:59:55 +0100, Andreas Ericsson wrote: > > J?rgen Birkhaug wrote: > > > Munin (third party monitoring software) is successfully sending alerts > > > to nagios.cmd via NSCA, but I'm still (after having read just about > > > everything about volatile services that I can find) having problems > > > getting the Nagios Daemon to react upon passive service alerts written > > > to nagios.cmd by NSCA. > > > > > > nagios.cmd might contain: > > > > > > ---------------------------------------------------------------------- > - > > > EXTERNAL COMMAND: > > > PROCESS_SERVICE_CHECK_RESULT;kang.os.ergo.no;df;2;Filesystem usage (in > > > %):CRITICALs: /mnt/media is 100.00 (outside range [:98]). > > > ---------------------------------------------------------------------- > - > > > > > > > nagios.cmd isn't supposed to contain anything humanly readable. It's a > > named pipe used for inter-process communication and exists only as a > > fixed buffer of (usually, on linux) 4096 bytes of RAM allocated inside > > the kernel, which punts the incoming bytes to the ipc-channel on the > > reading end. No filesystem IO takes place, there has to be a reading end > > connected for writing to succeed, and if you actually access it with cat > > (or something else) you will empty the pipe (and possibly steal it) > > before nagios can read the message. > > > > > shortly followed by message stating that the service 'df' could not be > > > found by Nagios. > > > > > > Sorry for yet again bringing up syntax questions regarding passive > > > alerts, but how do I correctly define a service that will pick up > > > alerts written to nagios.cmd? > > > > > > My services.cfg contains: > > > > > > ---------------------------------------------------------------------- > - > > > define service { > > > use generic-service > > > name munin > > > register 0 > > > service_description munin_alert > > > is_volatile 1 > > > check_command check-host-alive > > > active_checks_enabled 0 > > > passive_checks_enabled 1 > > > max_check_attempts 1 > > > normal_check_interval 1 > > > retry_check_interval 1 > > > check_period none > > > notification_interval 31536000 > > > } > > > > > > define service { > > > use munin > > > host_name host > > > service_description df > > > register 1 > > > } > > > ---------------------------------------------------------------------- > - > > > > > > > -- > > Andreas Ericsson andreas.ericsson at op5.se > > OP5 AB www.op5.se > > Lead Developer > > I should probably have clarified this in my initial post. The above > message (EXTERNAL COMMAND) is derived from Nagios' own log file; > nagios.log. > > It is not entered directly into nagios.cmd but rather dumped there by > using the NSCA Daemon's 'command_file' parameter). > > So, presuming that external events are supposed to end up in > nagios.cmd, how do I define a service that will actually generate a > warning in Nagios? The error message you see -- > > shortly followed by message stating that the service 'df' could not > > be found by Nagios. Indicates that nagios can't find the service df associated with the host that was also in that error message. This could be because you added it without restarting nagios or that there is a typo of some sort or it's really not associated with the host. Try running '/path/to/nagios -v /path/to/nagios.cfg' to check for errors and restart nagios. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From billwinkles at lucent.com Thu Feb 10 22:59:08 2005 From: billwinkles at lucent.com (Winkles, William (Bill)) Date: Thu, 10 Feb 2005 14:59:08 -0700 Subject: NagMin Help Message-ID: <0DB72ED9B906754EB93DA5D814E66F320BA6F88C@co7010exch004u.milehi.lucent.com> Can anyone clarify the instructions for setting up NagMIN after running the setup scrip? I got the below output of instructions after running setup. On step 4, should I be specifying /usr/local/nagmin/nagmin instead of /usr/local/nagios/etc for the path? Any help or suggestions are appreciated. Thanks. Bill NagMIN Database Setup Complete # # 1 - Now access WebMIN and install the NagMIN plugin # 2 - Configure NagMIN Nagios default values clicking Module Config in WebMIN # 3 - Edit your database tables and run Verification until you get # a clean configuration. This will create NagMIN configuration files in # /usr/local/nagmin/nagmin/ directory # 4 - Modify your nagios.cfg and cgi.cfg files to replace configuration file se ttings # with new NagMIN configuration files listed below. This must be done befo re # you can successfully activate your first NagMIN configuration. # 5 - Run Activate Config. Check the verification output for any errors. # 6 - Remove any unnecessary configuration files from your /usr/local/nagios/et c # directory. # 7 - Install the following optional software for full NagMIN functionality: # # - fping-2.3b1 # - nmap-3.50 # - rrdtool # - net-snmp-5.0.8 # # 8 - Install the following perl modules for full NagMIN functionality # - Net::SNMP # - CGI # - DBI # - Apache::DBI # # NagMIN Configuration Files # # cfg_file=/usr/local/nagios/etc/Contact.cfg # cfg_file=/usr/local/nagios/etc/ContactGroup.cfg # cfg_file=/usr/local/nagios/etc/Host.cfg # cfg_file=/usr/local/nagios/etc/HostEscalation.cfg # cfg_file=/usr/local/nagios/etc/HostGroup.cfg # cfg_file=/usr/local/nagios/etc/HostGroupEscalation.cfg # cfg_file=/usr/local/nagios/etc/Service.cfg # cfg_file=/usr/local/nagios/etc/ServiceDependency.cfg # cfg_file=/usr/local/nagios/etc/ServiceEscalation.cfg # cfg_file=/usr/local/nagios/etc/ServiceExtInfo.cfg # cfg_file=/usr/local/nagios/etc/ServiceTemplate.cfg # cfg_file=/usr/local/nagios/etc/TimePeriod.cfg Bill Winkles Lucent Technologies * Sr. Technical Engineer Global Network Operations Center - Denver * +1 720/482-6528 (Voice) * +1 303/941-2455 (Mobile) -------------- next part -------------- An HTML attachment was scrubbed... URL: From EmmettH at Examen.com Thu Feb 10 23:08:07 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Thu, 10 Feb 2005 14:08:07 -0800 Subject: Turn off RED for PASSIVE ONLY checks? In-Reply-To: <2B79966571B4B842B9C07E9910E38CE60C9D18@mismail.ena.com> References: <2B79966571B4B842B9C07E9910E38CE60C9D18@mismail.ena.com> Message-ID: <420BDB47.8010406@Examen.com> Marc Powell wrote: >Are you sure about that? > >"What Happens When A Service Check Result Becomes "Stale" > >If the check results of a service are found to be "stale" (as described >above), Nagios will force an active check of the service by executing >the command specified by the check_command option in the service >definition. ***It is important to note that an active service check >which is being forced because the service was detected as being "stale" >gets executed even if active service checks are disabled on a >program-wide or service-specific basis.***" > >(emphasis mine) > >Also, looking at checks.c and commands.c, there appears to be a clear >distinction between normally scheduled checks and forced checks. >Freshness uses the latter. Additionally, this bit of code seems to >indicate to me that the checks _will_ occur -- > >/* make sure this is a valid time to check the service */ >if(check_time_against_period((unsigned >long)current_time,svc-(check_period)==ERROR){ > > /* don't check the service if we're not forcing it through */ > if(!(svc->check_options & CHECK_OPTION_FORCE_EXECUTION)) > check_service=FALSE; > > /* get the next valid time we can run the check */ > preferred_time=current_time; > > /* set the invalid time flag */ > time_is_valid=FALSE; > } > > Hmmmm.....I was going off of another user's observations that I found in the archives. I guess I should have looked at the code myself. :-( Anyway, that brings up a different problem then...our backups only run Monday-Friday. So, is it possible to have the freshness check only run on those days? I guess I could put the intelligence into my "active_check" command to return an "OK - No weekend backups" result. Now that I think about it, that might be the easiest thing to do. Thanks for your help (and patience) :-) -Emmett -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From jorbir at gmail.com Thu Feb 10 23:12:19 2005 From: jorbir at gmail.com (=?ISO-8859-1?Q?J=F8rgen_Birkhaug?=) Date: Thu, 10 Feb 2005 23:12:19 +0100 Subject: Nagios/NSCA/Munin Integration In-Reply-To: <2B79966571B4B842B9C07E9910E38CE60C9D19@mismail.ena.com> References: <2B79966571B4B842B9C07E9910E38CE60C9D19@mismail.ena.com> Message-ID: <6e60528f05021014125f2dfbe@mail.gmail.com> On Thu, 10 Feb 2005 15:43:36 -0600, Marc Powell wrote: > > The error message you see -- > > > > shortly followed by message stating that the service 'df' could not > > > be found by Nagios. > > Indicates that nagios can't find the service df associated with the host that was also in that error message. This could be because you added it without restarting nagios or that there is a typo of some sort or it's really not associated with the host. Try running '/path/to/nagios -v /path/to/nagios.cfg' to check for errors and restart nagios. > > hehe. I've triple checked the config many times... 'nagios -v nagios.cfg' generates no errors or warnings related to the 'df' service or the host. Also, Nagios has been reloaded/restarted. Here's the complete message from nagios.log: ------------------------------------------------------- [02-10-2005 22:55:59] Warning: Message queue contained results for service 'df' on host 'kang.os.ergo.no'. The service could not be found! [02-10-2005 22:55:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;kang.os.ergo.no;df;2;Filesystem usage (in %):CRITICALs: /mnt/media is 100.00 (outside range [:98]). ------------------------------------------------------- -- J?rgen Birkhaug ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Feb 10 23:22:49 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 10 Feb 2005 23:22:49 +0100 Subject: Nagios/NSCA/Munin Integration In-Reply-To: <6e60528f05021014125f2dfbe@mail.gmail.com> References: <2B79966571B4B842B9C07E9910E38CE60C9D19@mismail.ena.com> <6e60528f05021014125f2dfbe@mail.gmail.com> Message-ID: <420BDEB9.5060905@op5.se> J?rgen Birkhaug wrote: > On Thu, 10 Feb 2005 15:43:36 -0600, Marc Powell > wrote: > > >> The error message you see -- >> >> >>>> shortly followed by message stating that the service 'df' could >>>> not be found by Nagios. >> >> Indicates that nagios can't find the service df associated with the >> host that was also in that error message. This could be because you >> added it without restarting nagios or that there is a typo of some >> sort or it's really not associated with the host. Try running >> '/path/to/nagios -v /path/to/nagios.cfg' to check for errors and >> restart nagios. >> >> > > > hehe. I've triple checked the config many times... 'nagios -v > nagios.cfg' generates no errors or warnings related to the 'df' > service or the host. > > Also, Nagios has been reloaded/restarted. > > Here's the complete message from nagios.log: > > ------------------------------------------------------- [02-10-2005 > 22:55:59] Warning: Message queue contained results for service 'df' > on host 'kang.os.ergo.no'. The service could not be found! Hmm.... mighty weird. Are you absolutely certain the host 'kang.os.ergo.no' has a service named 'df' that accepts passive service check results? Do a cut'n paste and grep for it. Otherwise this must be some problem with having dots in the submitted command. > [02-10-2005 22:55:54] EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;kang.os.ergo.no;df;2;Filesystem usage > (in %):CRITICALs: /mnt/media is 100.00 (outside range [:98]). > ------------------------------------------------------- > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Feb 11 07:44:07 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 11 Feb 2005 01:44:07 -0500 Subject: NC_Net v2.15 - New Version (with Perfomance counter FIX) In-Reply-To: References: <420BACDD.5030507@op5.se> Message-ID: The CONFIG command in NC_Net - is only capable of changing NC_Net parameters that were initially set durring the parsing of the startup.cfg. This feature was added primarily as a mechanism for testing NC_Net, as well as giving it a mechanism for changing certain variables durring the setup phase of a new Host. For instance if the Host name of the Windows server was to change in Nagios Config, this command would enable a mechanism for pushing the change to NC_Net via an active check. Another use of CONFIG command is if the address or port of either passive or active checks was to be changed. This may happen in a distributed nagios environment. Also, NC_Net can be configured at startup to reject these commands. I am not sure how I would be able to add non-plaintext authentication scheme to this command at this time. How would this be implemented into check_nt? because check_NT uses plain only. I do understand the concerns about random host reconfiguration, but I have also had requests for minimizing the necessity of logging onto the windows host once NC_Net has been installed. besides, I had a need for changing configuration dynamically and I added the capabilities of this command for my own testing using the test console tool. I figured I might as well make the command available via Check_nt as well. The lock_active_config parameter was added to help with this balance. NC_Net will reject any NC_Net reconfiguration command sent via active check port if lock_actice_config is set to true. I will make sure in future releases of NC_Net that this option is set by default so that NC_Net system config changes via check_nt are locked out unless this option is explicitly changed in the startup.cfg of the NC_Net or locally via passive.cfg. -- passive.cfg also has a lock parameter that will remain false (open) in the startup, allowing for NC_Net config changes by adding to the passive.cfg. The next enhancement that was going to be implemented was the ability to push new passive check commands into NC_Net passive check queue (the passive check queue is actually the passive.cfg file). So basically using check_Nt and a new option added to the service check, Check_nt would send the check to be added to the passive check queue instead of running the check as an active check. Thanks you for the comments. Tony On Thu, 10 Feb 2005 19:50:05 +0100, Andreas Ericsson wrote: > > Check_Nt - with NC_Net enhancements included with NC_Net has had > > CONFIG command added. > > I suppose you've thought about adding some sort of non-plaintext > authentication scheme for this. The idea of random hosts reconfiguring > even the smallest thing really doesn't feel all too good. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony.Caetano at t-systems.co.za Fri Feb 11 08:42:41 2005 From: Anthony.Caetano at t-systems.co.za (Anthony.Caetano at t-systems.co.za) Date: Fri, 11 Feb 2005 09:42:41 +0200 Subject: Turn off RED for PASSIVE ONLY checks? Message-ID: I agree with Emmet on both counts. Freshness checks will not be done if you check_period is not set (most likely what you want is to 24x7), at least with 2.0b1. Here is my post from a month ago where I detailed this: ----- Forwarded by Anthony Caetano/RUN/debis on 02/11/2005 09:35 AM ----- Anthony Caetano 01/14/2005 09:51 AM To: nagios-users at lists.sourceforge.net cc: Subject: heads up on freshness checking and your check_period Hi I have spent upwards of 4 hours trying to get freshness checking working in Nagios 2.0b1. So I am just posting this so it is in the archives. The nagios documentation says to set for the service you passively monitor active_checks_enabled 0 The documentation doesn't make mention of the check_period... I had set my check period to none since there would be no checks. Contrary to the docs I set active_checks_enabled to 1 in an attempt to avoid all the "red" for disabled services. (This is also recommended by the naplax.sf.net REL package which i was using for the passive checks) active_checks_enabled 1 check_period none No freshness checks were done, ever. I later saw that the Nagios documentation says to disable active checks. So I then had this active_checks_enabled 0 check_period none No freshness checks were done, ever. Only after looking at the code did i see in check.c /* see if the time is right... */ if(check_time_against_period(current_time,temp_service->check_period)==ERROR) continue; So basically you MUST set the equivalent of check_period 24x7 Otherwise the actual freshness check on that service is aborted. cheers -ant ************ Any views expressed in this message are those of the individual sender and not necessarily that of T-Systems South Africa (Pty) Ltd, its directors or employees, and accordingly no liability can be accepted therefore. Although this message has been scanned for the possible presence of computer viruses prior to dispatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for the transmission of any virus or other material transmitted with, or part of, this message. ************ Any views expressed in this message are those of the individual sender and not necessarily that of T-Systems South Africa (Pty) Ltd, its directors or employees, and accordingly no liability can be accepted therefore. Although this message has been scanned for the possible presence of computer viruses prior to dispatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for the transmission of any virus or other material transmitted with, or part of, this message. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kar at kakidata.dk Fri Feb 11 09:51:26 2005 From: kar at kakidata.dk (Kaare Rasmussen) Date: Fri, 11 Feb 2005 09:51:26 +0100 Subject: Different views? Message-ID: <200502110951.26752.kar@kakidata.dk> Hi I'd like to be able to partition the view from Nagios so some servers are presented on different pages. The way I figure to do this is to have different paths, ie http://www.server.name/view1 http://www.server.name/view2 http://www.server.name/view3 etc. and then to have different cgi configuration files. I can't find a way to limit the display of hosts though. Has anyone done this before so I can get some hints about what to do and pitfalls etc ? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From art at caa.is Fri Feb 11 10:06:04 2005 From: art at caa.is (Arnar Thorarinsson) Date: 11 Feb 2005 09:06:04 +0000 Subject: Different views? In-Reply-To: <200502110951.26752.kar@kakidata.dk> References: <200502110951.26752.kar@kakidata.dk> Message-ID: <1108112764.3709.33.camel@black148> http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=167 shows different hostgroups, ok but not perfect in my view. On Fri, 2005-02-11 at 08:51, Kaare Rasmussen wrote: > Hi > > I'd like to be able to partition the view from Nagios so some servers are > presented on different pages. > > The way I figure to do this is to have different paths, ie > http://www.server.name/view1 > http://www.server.name/view2 > http://www.server.name/view3 > etc. > > and then to have different cgi configuration files. I can't find a way to > limit the display of hosts though. > > Has anyone done this before so I can get some hints about what to do and > pitfalls etc ? > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Kve?ja Arnar ??rarinsson T?lvunarfr??ingur Kerfisdeild S?mi : 569 4289 GSM : 861 2871 ---------------------- Flugm?lastj?rn ?slands Reykjav?kurflugv?llur 121 Reykjav?k http://www.caa.is ---------------------- ?essi t?lvup?stur og vi?hengi hans geta innihaldi? tr?na?aruppl?singar og er eing?ngu ?tla?ur ?eim sem hann er st?la?ur ?. ?heimil me?fer? t?lvup?sts ?essa og vi?hengja hans getur var?a? ska?ab?ta- og refsi?byrg? samkv?mt l?gum um fjarskipti. Efni t?lvup?stsins og vi?hengja er ? ?byrg? sendanda ef ?a? tengist ekki starfsemi Flugm?lastj?rnar ?slands. Ef ?? ert ekki skr??ur m?ttakandi og hefur fengi? skeyti? vegna mistaka, vinsamlegast haf?u strax samband vi? sendanda. ------------ This e-mail and its attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Feb 11 10:10:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Feb 2005 10:10:05 +0100 Subject: NC_Net v2.15 - New Version (with Perfomance counter FIX) In-Reply-To: References: <420BACDD.5030507@op5.se> Message-ID: <420C766D.50501@op5.se> Anthony Montibello wrote: > The CONFIG command in NC_Net - is only capable of changing NC_Net > parameters that were initially set durring the parsing of the > startup.cfg. > > This feature was added primarily as a mechanism for testing NC_Net, as > well as giving it a mechanism for changing certain variables durring > the setup phase of a new Host. For instance if the Host name of the > Windows server was to change in Nagios Config, this command would > enable a mechanism for pushing the change to NC_Net via an active > check. Another use of CONFIG command is if the address or port of > either passive or active checks was to be changed. This may happen in > a distributed nagios environment. Also, NC_Net can be configured at > startup to reject these commands. > > I am not sure how I would be able to add non-plaintext authentication > scheme to this command at this time. How would this be implemented > into check_nt? because check_NT uses plain only. > But nsca is able to select from a wide range of different ciphers. It wouldn't be an overwhelming feat to add that same sort of encryption to check_nt (although a bit timeconsuming). > I do understand the concerns about random host reconfiguration, but I > have also had requests for minimizing the necessity of logging onto > the windows host once NC_Net has been installed. besides, I had a need > for changing configuration dynamically and I added the capabilities of > this command for my own testing using the test console tool. I > figured I might as well make the command available via Check_nt as > well. > The lock_active_config parameter was added to help with this balance. > NC_Net will reject any NC_Net reconfiguration command sent via active > check port if lock_actice_config is set to true. I will make sure in > future releases of NC_Net that this option is set by default so that > NC_Net system config changes via check_nt are locked out unless this > option is explicitly changed in the startup.cfg of the NC_Net or > locally via passive.cfg. Sound thinking. > -- passive.cfg also has a lock parameter that > will remain false (open) in the startup, allowing for NC_Net config > changes by adding to the passive.cfg. > > The next enhancement that was going to be implemented was the ability > to push new passive check commands into NC_Net passive check queue > (the passive check queue is actually the passive.cfg file). So > basically using check_Nt and a new option added to the service > check, Check_nt would send the check to be added to the passive check > queue instead of running the check as an active check. > > Thanks you for the comments. > Tony > > On Thu, 10 Feb 2005 19:50:05 +0100, Andreas Ericsson wrote: > >>>Check_Nt - with NC_Net enhancements included with NC_Net has had >>>CONFIG command added. >> >>I suppose you've thought about adding some sort of non-plaintext >>authentication scheme for this. The idea of random hosts reconfiguring >>even the smallest thing really doesn't feel all too good. >> >>-- >>Andreas Ericsson andreas.ericsson at op5.se >>OP5 AB www.op5.se >>Lead Developer >> > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wirtz at dfn.de Fri Feb 11 10:10:08 2005 From: wirtz at dfn.de (Holger Wirtz) Date: Fri, 11 Feb 2005 10:10:08 +0100 Subject: Nagios 2.0 CVS and contact_groups In-Reply-To: <420BAD76.5080007@op5.se> References: <20050210144722.GI6329@arktur.dfn.de> <420BAD76.5080007@op5.se> Message-ID: <20050211091008.GW6329@arktur.dfn.de> Andreas, On Thu, Feb 10, 2005 at 07:52:38PM +0100, Andreas Ericsson wrote: [Problem with contact_group defintion] > >Reading configuration data... > > > >Error: Invalid hostgroup object directive 'contact_groups'. > > Read the changelog. contact_groups have been moved to host objects so as > to adhere to the way services are configured. Ahhh, ok, sorry - that it. Now it works - but I really don't know exactly why. I put contact_groups only in the host definitions - that won't work. It worked after putting contact_groups in the absolute base template of my host AND service definitions... Holger > > >Error: Could not add object property in file > >'/usr/local/nagios/etc/hostgroups.c fg' on line 23. > >--- cut here --- > > > >Hm, this seems to be very strange because putting a line with > >"contact_groups" inside the object definition (hosts and services) works... > > > >Is this a bug or am I to stupid to configure nagios? > > > >Regards, Holger > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: wirtz at dfn.de ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Feb 11 10:17:12 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Feb 2005 10:17:12 +0100 Subject: Nagios 2.0 CVS and contact_groups In-Reply-To: <20050211091008.GW6329@arktur.dfn.de> References: <20050210144722.GI6329@arktur.dfn.de> <420BAD76.5080007@op5.se> <20050211091008.GW6329@arktur.dfn.de> Message-ID: <420C7818.4020007@op5.se> Holger Wirtz wrote: > Andreas, > > On Thu, Feb 10, 2005 at 07:52:38PM +0100, Andreas Ericsson wrote: > [Problem with contact_group defintion] > >>>Reading configuration data... >>> >>>Error: Invalid hostgroup object directive 'contact_groups'. >> >>Read the changelog. contact_groups have been moved to host objects so as >>to adhere to the way services are configured. > > > Ahhh, ok, sorry - that it. Now it works - but I really don't know > exactly why. > > I put contact_groups only in the host definitions - that won't work. > It worked after putting contact_groups in the absolute base template of > my host AND service definitions... > Hosts and services can have different contactgroups and they must be configured explicitly for both. I have long thought of adding cascading style contactgroups options (hostgroup -> host -> service, unless overridden somewhere), although that would in some ways rob the templates of one of their functions. > Holger > > >>>Error: Could not add object property in file >>>'/usr/local/nagios/etc/hostgroups.c fg' on line 23. >>>--- cut here --- >>> >>>Hm, this seems to be very strange because putting a line with >>>"contact_groups" inside the object definition (hosts and services) works... >>> >>>Is this a bug or am I to stupid to configure nagios? >>> >>>Regards, Holger >> >>-- >>Andreas Ericsson andreas.ericsson at op5.se >>OP5 AB www.op5.se >>Lead Developer >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when >>reporting any issue. ::: Messages without supporting info will risk being >>sent to /dev/null > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorbir at gmail.com Fri Feb 11 10:35:07 2005 From: jorbir at gmail.com (=?ISO-8859-1?Q?J=F8rgen_Birkhaug?=) Date: Fri, 11 Feb 2005 10:35:07 +0100 Subject: Nagios/NSCA/Munin Integration In-Reply-To: <420BDEB9.5060905@op5.se> References: <2B79966571B4B842B9C07E9910E38CE60C9D19@mismail.ena.com> <6e60528f05021014125f2dfbe@mail.gmail.com> <420BDEB9.5060905@op5.se> Message-ID: <6e60528f0502110135272657e6@mail.gmail.com> On Thu, 10 Feb 2005 23:22:49 +0100, Andreas Ericsson wrote: > Hmm.... mighty weird. Indeed. I tried with the same setup on a second Nagios server and passive alerts started working as expected! (which is semi annoying considering that the servers are identical (OS, hardware, LAN), but atleast it now works.) -- J?rgen Birkhaug ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ross at rbecker.org Fri Feb 11 10:44:40 2005 From: ross at rbecker.org (Ross Becker) Date: Fri, 11 Feb 2005 01:44:40 -0800 Subject: fresh install of nagios 2.0b2, issues I found Message-ID: <420C7E88.4020305@rbecker.org> Hello, I'm attempting to do a fresh install of nagios 2.0b2, and I've run into some issues, so I figured I'd post about them. Most are fairly minor. 1. the "INSTALLING" file tells you to give the configure command "--with-nagios-grp" for the group to use for nagios. The correct form is "--with-nagios-group". 2. The minimal.cfg-sample has the contact_groups directive within the hostgroup definition instead of the host definition, so it does not work "out of the box". 3. The daemon startup script "/etc/sbin/nagios" assumes that whichever username you start nagios under is the same as the group you run nagios under, and attempts to chown the run file for the service to username:username. If you configured nagios to use a different groupname than username, this will produce errors. 4. The daemon startup script also goes awry if the daemon fails to start because of a configuration error- it attempts to run "ps -p $NagiosPID", and if the daemon failed to start, there is nothing in $NagiosPID- the end result is you get an error message from PS instead of an error that the daemon failed to start. This is on SuSE 9.1, so it may be related to the OS and the flavor of ps on SuSE. The last issue I've encountered so far is actually related to the order of the documentation. Because I was doing a first time install, I was following the documentation. I used the minimal.cfg in order to get a basic version of things up and running, but when I went to the web interface, I got an error from all of the cgi's about not being able to load the object configuration because of issue #2 above. Unfortunately, that's the ONLY error message it gives. Not until I gave up on the web interface and moved on to configuring the daemon did I get an entry in the log file that told me what was wrong with the object configuration. I think either more detailed error reporting is needed in the web interface, or CGI's need to be able to write errors to a log file, or the documentation order ought to be changed, because that one kept me stumped for a while. Cheers Ross ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Feb 11 10:51:08 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 11 Feb 2005 04:51:08 -0500 Subject: NC_Net v2.15 - New Version (with Perfomance counter FIX) In-Reply-To: <420C766D.50501@op5.se> References: <420BACDD.5030507@op5.se> <420C766D.50501@op5.se> Message-ID: That is true, However my concern about adding encryption to check_nt is how to implement it so that the TCP listener port of NC_Net does not loose backwards compatibility with older versions of check_nt. (this is a part of my original requirements goals of NC_Net being a drop in replacement for NS_Client) About the level of complexity for the conversion; this would be moderate. It did take over full week to get the Xor running when I converter send_NSCA to c#. This is mostly due to c# being more like Java than C in both semantics and syntax. Once some of the current objective are met, I can look into adding encryption to the check_nt/NC_Net port while still maintaining its backwards compatibility. On Fri, 11 Feb 2005 10:10:05 +0100, Andreas Ericsson wrote: > Anthony Montibello wrote: > > I am not sure how I would be able to add non-plaintext authentication > > scheme to this command at this time. How would this be implemented > > into check_nt? because check_NT uses plain only. > > > > But nsca is able to select from a wide range of different ciphers. It > wouldn't be an overwhelming feat to add that same sort of encryption to > check_nt (although a bit timeconsuming). > > >>-- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > >> Thanks for the advise, Tony ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomvanoverbeke at yahoo.co.uk Fri Feb 11 12:55:24 2005 From: tomvanoverbeke at yahoo.co.uk (tom van overbeke) Date: Fri, 11 Feb 2005 11:55:24 +0000 (GMT) Subject: notification Message-ID: <20050211115524.66774.qmail@web26510.mail.ukl.yahoo.com> Hi, I'm just getting to grips with nagios, and i have a small question: Is it possible to assign other contact groups to a warning and to a critical state of the same service check ? example: if it's a warning, assign to MAIL1,MAIL2 and if it's a critical, assign to MAIL1,MAIL2,SMS1,SMS2 I'm sure it's possible, but I can't see how right now. thx, tom. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at medien-systempartner.de Fri Feb 11 13:01:42 2005 From: Michael.Huettig at medien-systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Fri, 11 Feb 2005 13:01:42 +0100 Subject: scheduling queue holds disabled services Message-ID: <200502111301.42251.Michael.Huettig@medien-systempartner.de> Hi all, i?m having a problem with nagios1.3 : During a problem with nrpe i disabled checks for a lot of services, Web-Interface shows, that next scheduled active check is not available, but the checks are scheduled and executed and web-interface shows "last update " Has anyone same problems with scheduling queue and disabling service-checks? -- Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Feb 11 13:05:48 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Feb 2005 13:05:48 +0100 Subject: NC_Net v2.15 - New Version (with Perfomance counter FIX) In-Reply-To: References: <420BACDD.5030507@op5.se> <420C766D.50501@op5.se> Message-ID: <420C9F9C.2060503@op5.se> Anthony Montibello wrote: > That is true, However my concern about adding encryption to check_nt > is how to implement it so that the TCP listener port of NC_Net does > not loose backwards compatibility with older versions of check_nt. If you can parse the incoming request plaintext, don't decrypt it. If you can't, decrypt it and try again. Still no go? Invalid request or incompatible cipher. How hard is that? > (this is a part of my original requirements goals of NC_Net being a > drop in replacement for NS_Client) > > > About the level of complexity for the conversion; this would be > moderate. It did take over full week to get the Xor running when I > converter send_NSCA to c#. This is mostly due to c# being more like > Java than C in both semantics and syntax. Doesn't it have inline assembly? An xor cipher is about 8 lines of asm, with bounds and error checking, so it couldn't possibly take a full week even with the monkey+typewriter theory. > Once some of the current > objective are met, I can look into adding encryption to the > check_nt/NC_Net port while still maintaining its backwards > compatibility. > > > > On Fri, 11 Feb 2005 10:10:05 +0100, Andreas Ericsson wrote: > >>Anthony Montibello wrote: >> >>>I am not sure how I would be able to add non-plaintext authentication >>>scheme to this command at this time. How would this be implemented >>>into check_nt? because check_NT uses plain only. >>> >> >>But nsca is able to select from a wide range of different ciphers. It >>wouldn't be an overwhelming feat to add that same sort of encryption to >>check_nt (although a bit timeconsuming). >> >> >>>>-- >> >>Andreas Ericsson andreas.ericsson at op5.se >>OP5 AB www.op5.se >>Lead Developer >> > Thanks for the advise, > Tony > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Feb 11 13:07:29 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 11 Feb 2005 13:07:29 +0100 Subject: notification In-Reply-To: <20050211115524.66774.qmail@web26510.mail.ukl.yahoo.com> References: <20050211115524.66774.qmail@web26510.mail.ukl.yahoo.com> Message-ID: <420CA001.5020207@op5.se> tom van overbeke wrote: > Hi, > > > I'm just getting to grips with nagios, and i have a > small question: > > Is it possible to assign other contact groups to a > warning and to a critical state of the same service > check ? > > example: > > if it's a warning, assign to MAIL1,MAIL2 > > and if it's a critical, assign to > MAIL1,MAIL2,SMS1,SMS2 > > I'm sure it's possible, but I can't see how right now. > Set up dual contacts for those receiving both mail and sms and have sms-contacts only receive critical notifications. It's standard procedure for setting such things up. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Fri Feb 11 14:26:51 2005 From: nagios-user at proy.org (Patrick Proy) Date: Fri, 11 Feb 2005 14:26:51 +0100 Subject: Check_SNMP_INT.PL help needed Message-ID: <20050211132655.7B1F4AC476@www.manubulon.com> Hi, The "No usable data on file (3 rows)" means the script can't make an average because he hasn't got enough data. By default (or use the -d option) he will look at the last value and a value between 4'30 and 15' earlier. So you just have to wait 5 minutes between 2 checks (when doing it by hand) and it will give you the bandwidth. Patrick nagios AT proy.org ________________________________ De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Sam Reynolds Envoy? : jeudi 10 f?vrier 2005 19:22 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Check_SNMP_INT.PL help needed Thanks for the help! That was the issue. Although I am now having an issue that says ?Serial5/2:UP No usable data on file (3 rows) :(1 UP): UNKNOWN?. I look in the tmp file that was created and there is data there. The command I am using is check_snmp_int.pl -H 127.0.0.1 -C -n Serial5/2 -k -w 200,400 -c 0,0 (IP and community name are real when I put in the command). I was expecting to determine what kind of bandwidth I am using on this interface. If I am using the wrong tool for this please let me know. Thanks, Sam ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at reseau.nl Fri Feb 11 14:39:18 2005 From: alex at reseau.nl (alex at reseau.nl) Date: Fri, 11 Feb 2005 14:39:18 +0100 Subject: External Command, scheduled downtime Message-ID: <1108129158.420cb586697bc@webmail.reseau.nl> I've been investigating Nagios for a while now. I had the last stable, beta1 and now beta2 installed. I have problems scheduling Service and Host downtime using external commands. I haven't used it before and started with it in beta1. I have seen that multiple people have had this issue, though they never got a reaction. I hope I will because I don't have much time left for this investigation and using external commands to schedule downtime is critical in our system. When I use the Addon nagdtsched i get a message in the Event log: [2005-02-11 11:08:10] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;linux1;PING;1108137600;1108195200;1;57600;nagios;Regularly Scheduled Dowtime but nothing shows up in the 'Downtime' page. If I schedule downtime via the webinterface then everythign goes ok. I tried echo-ing to var/rw/nagios.cmd myself and that worked like above. And both external commands for host and service downtime don't work. I first tried all of this in beta1, but hoping beta2 might have it fixed i installed that over 1, but that didn't help either. What I am using this for is to create performance data during business hours. But I want those hours defined in nagios, not in the data processing. I found out that I can use a macro that shows the downtime level, so i can easily use that calculating performance myself. It would help if there was a variant to the service&host notification hour settings. But this works just as well. Regards, Alex Haan ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam.Reynolds at networkts.com Fri Feb 11 16:06:02 2005 From: Sam.Reynolds at networkts.com (Sam Reynolds) Date: Fri, 11 Feb 2005 10:06:02 -0500 Subject: Check_SNMP_INT.PL help needed Message-ID: <6A1DD050FEF19644B488BD3889A0A2217DE658@FLASH.nts.local> Thanks! -----Original Message----- From: Patrick Proy [mailto:nagios-user at proy.org] Sent: Friday, February 11, 2005 8:27 AM To: Sam Reynolds; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_SNMP_INT.PL help needed Hi, The "No usable data on file (3 rows)" means the script can't make an average because he hasn't got enough data. By default (or use the -d option) he will look at the last value and a value between 4'30 and 15' earlier. So you just have to wait 5 minutes between 2 checks (when doing it by hand) and it will give you the bandwidth. Patrick nagios AT proy.org ________________________________ De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Sam Reynolds Envoy? : jeudi 10 f?vrier 2005 19:22 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Check_SNMP_INT.PL help needed Thanks for the help! That was the issue. Although I am now having an issue that says "Serial5/2:UP No usable data on file (3 rows) :(1 UP): UNKNOWN". I look in the tmp file that was created and there is data there. The command I am using is check_snmp_int.pl -H 127.0.0.1 -C -n Serial5/2 -k -w 200,400 -c 0,0 (IP and community name are real when I put in the command). I was expecting to determine what kind of bandwidth I am using on this interface. If I am using the wrong tool for this please let me know. Thanks, Sam ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmith at RadioFrameNetworks.com Fri Feb 11 16:18:38 2005 From: csmith at RadioFrameNetworks.com (Christopher Smith) Date: Fri, 11 Feb 2005 07:18:38 -0800 Subject: [Possible Spam] - Re: host down but up problem Message-ID: <4EE8236B66247849BD4E1B5383AF4F48233259@exchwaus01.redmond.radioframenetworks.com> Okay, so I am having this problem with the Check_Icmp plugin. If I run the check_icmp as the default nagios user account, I receive a status information message in Nagios stating that 'Root access needed (for raw sockets)' is necessary. Yet, as stipulated by another's post, it runs as root, no problem. I have verified that the permissions (from Linux) are set correctly. This is 1.4.x of the plugins running on SuSE 9.1 and Nagios 1.2. How does one get around this? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Wednesday, February 09, 2005 7:38 AM To: nagios-users at lists.sourceforge.net Subject: [Possible Spam] - Re: [Nagios-users] host down but up problem Serveur-Faucon Surveillance wrote: > Hi all, > > I have been using Nagios for quite a while now over 2 years, so I am > pretty familiar with it. > > One of my host recently went to a down state on the network status, > but is actually UP. This is not FAQ F0015 or F0016 related, since the > same command is used by all other hosts (and they are just fine). > > I use the check_host_alive default command to check on hosts status > (yeah I know, I dont use the hip (new, cool) check_icmp from Andreas > Ericsson for now. Later) > Don't know about hip and cool, but you're probably better off without it. "Don't fix it if it ain't broken". > So I went to my console to try a couple of things... ping myhost = ok! > check_ping -H myhost etc etc = ok! (exactly like the > check_host_alive) > > So... my next theory would be to erase everything from that host in > the history, and start over. But before that, is there someone who > actually had something like that? > > There was the bug witch two nagios process could run at the same time, > but that's not it. Thanks! > This can happen properly when the host starts flapping while down and comes out OK on the other end of the flapping. Assuming you aren't running 2.0 with f among your notification_options, ofcourse. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Fri Feb 11 16:49:04 2005 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 11 Feb 2005 10:49:04 -0500 Subject: Nagios 2.0 - Force a host check ever 2 mins. Message-ID: <420CD3F0.6010306@datawire.net> Hello All, a quick question about Passive host checks. I am setting up a distributed Nagios, and am using passive host checks to monitor hosts behind my FW. the passive host check and the Obsessive -ness work fine however I am getting into an issue. on the external Nagios box (the one that receives all the nsca service/host checks from the internal Nagios) I have freshness checking turned on for the host as well as the services... the problem is because of the default Nagios behaviour host checks are only run if there are service problems... So thus I am in the spot where all my services are OK on the box but the host's are critical because of freshness checking. Is there a way that I can get my internal Nagios to run Host Checks for the internal boxes every X mins like it would for a service check.. or is there another good way to deal with this? --Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Fri Feb 11 16:48:05 2005 From: srunschke at abit.de (Sascha Runschke) Date: Fri, 11 Feb 2005 16:48:05 +0100 Subject: Antwort: RE: [Possible Spam] - Re: host down but up problem [Virus scanned] Message-ID: Yes, set the permissions properly. Judging from your error message, I guess it isn't set suid root. chown root check_icmp chmod 4755 check_icmp regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. "Christopher Smith" Gesendet von: nagios-users-admin at lists.sourceforge.net 11.02.2005 16:18 An: "Andreas Ericsson" , Kopie: Thema: RE: [Possible Spam] - Re: [Nagios-users] host down but up problem [Virus scanned] Okay, so I am having this problem with the Check_Icmp plugin. If I run the check_icmp as the default nagios user account, I receive a status information message in Nagios stating that 'Root access needed (for raw sockets)' is necessary. Yet, as stipulated by another's post, it runs as root, no problem. I have verified that the permissions (from Linux) are set correctly. This is 1.4.x of the plugins running on SuSE 9.1 and Nagios 1.2. How does one get around this? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Wednesday, February 09, 2005 7:38 AM To: nagios-users at lists.sourceforge.net Subject: [Possible Spam] - Re: [Nagios-users] host down but up problem Serveur-Faucon Surveillance wrote: > Hi all, > > I have been using Nagios for quite a while now over 2 years, so I am > pretty familiar with it. > > One of my host recently went to a down state on the network status, > but is actually UP. This is not FAQ F0015 or F0016 related, since the > same command is used by all other hosts (and they are just fine). > > I use the check_host_alive default command to check on hosts status > (yeah I know, I dont use the hip (new, cool) check_icmp from Andreas > Ericsson for now. Later) > Don't know about hip and cool, but you're probably better off without it. "Don't fix it if it ain't broken". > So I went to my console to try a couple of things... ping myhost = ok! > check_ping -H myhost etc etc = ok! (exactly like the > check_host_alive) > > So... my next theory would be to erase everything from that host in > the history, and start over. But before that, is there someone who > actually had something like that? > > There was the bug witch two nagios process could run at the same time, > but that's not it. Thanks! > This can happen properly when the host starts flapping while down and comes out OK on the other end of the flapping. Assuming you aren't running 2.0 with f among your notification_options, ofcourse. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmith at RadioFrameNetworks.com Fri Feb 11 17:16:41 2005 From: csmith at RadioFrameNetworks.com (Christopher Smith) Date: Fri, 11 Feb 2005 08:16:41 -0800 Subject: Antwort: RE: [Possible Spam] - Re: host down but up problem [Virus scanned] Message-ID: <4EE8236B66247849BD4E1B5383AF4F48233260@exchwaus01.redmond.radioframenetworks.com> Currently, the permissions on check_icmp are listed below: -rwsr-xr-x 1 root root I believe this complies with not only what Sash suggests but what Andreas stated earlier. Still a no-go. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sascha Runschke Sent: Friday, February 11, 2005 7:48 AM To: nagios-users at lists.sourceforge.net Subject: Antwort: RE: [Possible Spam] - Re: [Nagios-users] host down but up problem [Virus scanned] Yes, set the permissions properly. Judging from your error message, I guess it isn't set suid root. chown root check_icmp chmod 4755 check_icmp regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. "Christopher Smith" Gesendet von: nagios-users-admin at lists.sourceforge.net 11.02.2005 16:18 An: "Andreas Ericsson" , Kopie: Thema: RE: [Possible Spam] - Re: [Nagios-users] host down but up problem [Virus scanned] Okay, so I am having this problem with the Check_Icmp plugin. If I run the check_icmp as the default nagios user account, I receive a status information message in Nagios stating that 'Root access needed (for raw sockets)' is necessary. Yet, as stipulated by another's post, it runs as root, no problem. I have verified that the permissions (from Linux) are set correctly. This is 1.4.x of the plugins running on SuSE 9.1 and Nagios 1.2. How does one get around this? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Wednesday, February 09, 2005 7:38 AM To: nagios-users at lists.sourceforge.net Subject: [Possible Spam] - Re: [Nagios-users] host down but up problem Serveur-Faucon Surveillance wrote: > Hi all, > > I have been using Nagios for quite a while now over 2 years, so I am > pretty familiar with it. > > One of my host recently went to a down state on the network status, > but is actually UP. This is not FAQ F0015 or F0016 related, since the > same command is used by all other hosts (and they are just fine). > > I use the check_host_alive default command to check on hosts status > (yeah I know, I dont use the hip (new, cool) check_icmp from Andreas > Ericsson for now. Later) > Don't know about hip and cool, but you're probably better off without it. "Don't fix it if it ain't broken". > So I went to my console to try a couple of things... ping myhost = ok! > check_ping -H myhost etc etc = ok! (exactly like the > check_host_alive) > > So... my next theory would be to erase everything from that host in > the history, and start over. But before that, is there someone who > actually had something like that? > > There was the bug witch two nagios process could run at the same time, > but that's not it. Thanks! > This can happen properly when the host starts flapping while down and comes out OK on the other end of the flapping. Assuming you aren't running 2.0 with f among your notification_options, ofcourse. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmith at RadioFrameNetworks.com Fri Feb 11 17:17:27 2005 From: csmith at RadioFrameNetworks.com (Christopher Smith) Date: Fri, 11 Feb 2005 08:17:27 -0800 Subject: Antwort: RE: [Possible Spam] - Re: host down but up problem [Virus scanned] Message-ID: <4EE8236B66247849BD4E1B5383AF4F48233261@exchwaus01.redmond.radioframenetworks.com> BTW, this is running as daemon (default SuSE user account for Nagios). Does this have anything to do with it? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sascha Runschke Sent: Friday, February 11, 2005 7:48 AM To: nagios-users at lists.sourceforge.net Subject: Antwort: RE: [Possible Spam] - Re: [Nagios-users] host down but up problem [Virus scanned] Yes, set the permissions properly. Judging from your error message, I guess it isn't set suid root. chown root check_icmp chmod 4755 check_icmp regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. "Christopher Smith" Gesendet von: nagios-users-admin at lists.sourceforge.net 11.02.2005 16:18 An: "Andreas Ericsson" , Kopie: Thema: RE: [Possible Spam] - Re: [Nagios-users] host down but up problem [Virus scanned] Okay, so I am having this problem with the Check_Icmp plugin. If I run the check_icmp as the default nagios user account, I receive a status information message in Nagios stating that 'Root access needed (for raw sockets)' is necessary. Yet, as stipulated by another's post, it runs as root, no problem. I have verified that the permissions (from Linux) are set correctly. This is 1.4.x of the plugins running on SuSE 9.1 and Nagios 1.2. How does one get around this? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Wednesday, February 09, 2005 7:38 AM To: nagios-users at lists.sourceforge.net Subject: [Possible Spam] - Re: [Nagios-users] host down but up problem Serveur-Faucon Surveillance wrote: > Hi all, > > I have been using Nagios for quite a while now over 2 years, so I am > pretty familiar with it. > > One of my host recently went to a down state on the network status, > but is actually UP. This is not FAQ F0015 or F0016 related, since the > same command is used by all other hosts (and they are just fine). > > I use the check_host_alive default command to check on hosts status > (yeah I know, I dont use the hip (new, cool) check_icmp from Andreas > Ericsson for now. Later) > Don't know about hip and cool, but you're probably better off without it. "Don't fix it if it ain't broken". > So I went to my console to try a couple of things... ping myhost = ok! > check_ping -H myhost etc etc = ok! (exactly like the > check_host_alive) > > So... my next theory would be to erase everything from that host in > the history, and start over. But before that, is there someone who > actually had something like that? > > There was the bug witch two nagios process could run at the same time, > but that's not it. Thanks! > This can happen properly when the host starts flapping while down and comes out OK on the other end of the flapping. Assuming you aren't running 2.0 with f among your notification_options, ofcourse. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduard.iacoboaia at distinctgroup.net Fri Feb 11 17:21:05 2005 From: eduard.iacoboaia at distinctgroup.net (Eduard Iacoboaia) Date: Fri, 11 Feb 2005 18:21:05 +0200 Subject: Notification missing parameters Message-ID: <420CDB71.30401@distinctgroup.net> Hello. From time to time, on various hosts i get some bad notifications. In stead of timestamp PROBLEM: host(ip)/ plugin is CRITICAL ::Info:... I get PROBLEM: host(ip)/ is Can anybody help me? What is the problem? Thank you, Eduard ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Feb 11 18:42:15 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 11 Feb 2005 09:42:15 -0800 Subject: Failover & passive checks Message-ID: <20050211174215.GA24306@zippy.toger.us> Has anycome come up with a reliable way of implementing passive checks that properly handles a Nagios failover? I'm looking at using SEC to send passive checks about syslog to Nagios. How should I go about handling the situation where my Nagios host fails over to another machine? send_nsca doesn't have any capability to attempt to detect if Nagios is running on the destination host when it transmits, and the 'failure' might not be as simple as a machine going down. The failover machine is in another datacenter, so a simple IP-handoff isn't feasible. How has everyone else handled this sort if situation? Thanks, -Jason Martin -- I parked my hard disk and now I can't find it! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From chris.stankaitis at datawire.net Fri Feb 11 18:49:38 2005 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Fri, 11 Feb 2005 12:49:38 -0500 Subject: Failover & passive checks In-Reply-To: <20050211174215.GA24306@zippy.toger.us> References: <20050211174215.GA24306@zippy.toger.us> Message-ID: <420CF032.3050809@datawire.net> Jason Martin wrote: > Has anycome come up with a reliable way of implementing passive > checks that properly handles a Nagios failover? > > I'm looking at using SEC to send passive checks about syslog to > Nagios. How should I go about handling the situation where my > Nagios host fails over to another machine? send_nsca doesn't > have any capability to attempt to detect if Nagios is running on > the destination host when it transmits, and the 'failure' might > not be as simple as a machine going down. > > The failover machine is in another datacenter, so a simple > IP-handoff isn't feasible. How has everyone else handled this > sort if situation? > > Thanks, > -Jason Martin It may be an idea for your fall-over nagios to execute an event handler which switches the IP of the main "nagios dns" and reloads your name servers, your NSCA boxes would hopefully be setup to use DNS rather then IP for the nsca config, and the boxes would be using your name servers, so when they lookup the main nagios dns it'll be the failover box. --Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EmmettH at Examen.com Fri Feb 11 18:57:10 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Fri, 11 Feb 2005 09:57:10 -0800 Subject: Turn off RED for PASSIVE ONLY checks? In-Reply-To: References: Message-ID: <420CF1F6.1020208@Examen.com> Ok....here's what I did: - Set active_check to 1 - Set check_period to "none" - Set active_checks_enabled to 1 - Set freshness_threshold to 120 seconds - Set passive_checks_enabled to 1 According to Marc, if the "Status Data Age" is more than 2 minutes, the check_command should be run even though "check_period" is set to "none". Do I have this right so far? Well, this gets rid of the red on the TAC page since I don't have any active_checks disabled, but even though my "Status Data Age" is " 0d 8h 47m 26s" the active check is NOT being run. :-( -Emmett Anthony.Caetano at t-systems.co.za wrote: >I agree with Emmet on both counts. >Freshness checks will not be done if you check_period is not set (most >likely what you want is to 24x7), at least with 2.0b1. >Here is my post from a month ago where I detailed this: > > >----- Forwarded by Anthony Caetano/RUN/debis on 02/11/2005 09:35 AM ----- > > >Anthony Caetano >01/14/2005 09:51 AM > > > To: nagios-users at lists.sourceforge.net > cc: > Subject: heads up on freshness checking and your check_period > >Hi > >I have spent upwards of 4 hours trying to get freshness checking working >in Nagios 2.0b1. So I am just posting this so it is in the archives. > >The nagios documentation says to set for the service you passively monitor >active_checks_enabled 0 > >The documentation doesn't make mention of the check_period... I had set >my check period to none since there would be no checks. Contrary to the >docs I set active_checks_enabled to 1 in an attempt to avoid all the "red" >for disabled services. (This is also recommended by the naplax.sf.net REL >package which i was using for the passive checks) >active_checks_enabled 1 >check_period none > >No freshness checks were done, ever. > >I later saw that the Nagios documentation says to disable active checks. >So I then had this >active_checks_enabled 0 >check_period none > >No freshness checks were done, ever. > >Only after looking at the code did i see in check.c > /* see if the time is right... */ > >if(check_time_against_period(current_time,temp_service->check_period)==ERROR) > continue; > >So basically you MUST set the equivalent of >check_period 24x7 > >Otherwise the actual freshness check on that service is aborted. > >cheers >-ant >************ >Any views expressed in this message are those of the individual sender and >not necessarily that of T-Systems South Africa (Pty) Ltd, its directors or >employees, and accordingly no liability can be accepted therefore. >Although this message has been scanned for the possible presence of >computer viruses prior to dispatch, T-Systems South Africa (Pty) Ltd >cannot be held responsible for the transmission of any virus or other >material transmitted with, or part of, this message. > > >************ >Any views expressed in this message are those of the individual sender and >not necessarily that of T-Systems South Africa (Pty) Ltd, its directors or >employees, and accordingly no liability can be accepted therefore. >Although this message has been scanned for the possible presence of >computer viruses prior to dispatch, T-Systems South Africa (Pty) Ltd >cannot be held responsible for the transmission of any virus or other >material transmitted with, or part of, this message. > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From beckhardt at infonow.com Fri Feb 11 19:20:59 2005 From: beckhardt at infonow.com (Bob Eckhardt) Date: Fri, 11 Feb 2005 11:20:59 -0700 Subject: solaris 2.5.1 Message-ID: Anyone know where I can find binaries for nagios-plugins.1.3.1 for solaris 2.5.1 and nrpe. I am having trouble compiling them myself here on these ancient legacy boxes. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrsouza at ig.com.br Fri Feb 11 20:46:11 2005 From: chrsouza at ig.com.br (Christian Souza) Date: Fri, 11 Feb 2005 16:46:11 -0300 Subject: error in nagios.cmd for update References: <420CF1F6.1020208@Examen.com> Message-ID: <00cf01c51072$56eaed00$1900a8c0@new.com.br> I have been searching anything about this error, but i can't found. When I tried do add a new coment for a service (as exemple), i receive the follow: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. was verified the configuration, bellow: #more nagios.cfg |grep check_ext check_external_commands=1 #ls -l /usr/local/nagios/var drwxrwxr-x 2 nagios nagios 4096 Feb 11 00:00 archives -rw-rw-r-- 1 nagios nagios 0 Feb 11 12:59 comment.log -rw-rw-r-- 1 nagios nagios 0 Feb 11 12:59 downtime.log -rw-r--r-- 1 root root 5 Feb 11 12:59 nagios.lock -rw-r--r-- 1 nagios nagios 33512 Feb 11 16:51 nagios.log drwxrwsr-x 2 nagios nagios 4096 Feb 11 12:59 rw -rw-rw-r-- 1 nagios nagios 13248 Feb 11 16:52 status.log -rw-r--r-- 1 nagios nagios 9924 Feb 11 15:59 status.sav Any idea? Thanks ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 11 19:53:54 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Feb 2005 13:53:54 -0500 (EST) Subject: error in nagios.cmd for update In-Reply-To: <00cf01c51072$56eaed00$1900a8c0@new.com.br> References: <420CF1F6.1020208@Examen.com> <00cf01c51072$56eaed00$1900a8c0@new.com.br> Message-ID: On Fri, 11 Feb 2005, Christian Souza wrote: > I have been searching anything about this error, but i can't found. > > When I tried do add a new coment for a service (as exemple), i receive the > follow: > > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for > update! > > > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > > > An error occurred while attempting to commit your command for processing. > > > was verified the configuration, bellow: > > #more nagios.cfg |grep check_ext > check_external_commands=1 > > > #ls -l /usr/local/nagios/var > drwxrwxr-x 2 nagios nagios 4096 Feb 11 00:00 archives > -rw-rw-r-- 1 nagios nagios 0 Feb 11 12:59 comment.log > -rw-rw-r-- 1 nagios nagios 0 Feb 11 12:59 downtime.log > -rw-r--r-- 1 root root 5 Feb 11 12:59 nagios.lock > -rw-r--r-- 1 nagios nagios 33512 Feb 11 16:51 nagios.log > drwxrwsr-x 2 nagios nagios 4096 Feb 11 12:59 rw > -rw-rw-r-- 1 nagios nagios 13248 Feb 11 16:52 status.log > -rw-r--r-- 1 nagios nagios 9924 Feb 11 15:59 status.sav > > Is the web server a member of the "nagios" group? otherwise it does not have write perms -- -sg ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrsouza at ig.com.br Fri Feb 11 21:02:16 2005 From: chrsouza at ig.com.br (Christian Souza) Date: Fri, 11 Feb 2005 17:02:16 -0300 Subject: error in nagios.cmd for update References: <420CF1F6.1020208@Examen.com> <00cf01c51072$56eaed00$1900a8c0@new.com.br> Message-ID: <00e301c51074$95ca21b0$1900a8c0@new.com.br> Yes. look: #more /etc/group .... nagios:x:503:nagios,apache ----- Original Message ----- From: "Subhendu Ghosh" To: "Christian Souza" Cc: Sent: Friday, February 11, 2005 3:53 PM Subject: Re: [Nagios-users] error in nagios.cmd for update > On Fri, 11 Feb 2005, Christian Souza wrote: > > > I have been searching anything about this error, but i can't found. > > > > When I tried do add a new coment for a service (as exemple), i receive the > > follow: > > > > > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for > > update! > > > > > > The permissions on the external command file and/or directory may be > > incorrect. Read the FAQs on how to setup proper permissions. > > > > > > An error occurred while attempting to commit your command for processing. > > > > > > was verified the configuration, bellow: > > > > #more nagios.cfg |grep check_ext > > check_external_commands=1 > > > > > > #ls -l /usr/local/nagios/var > > drwxrwxr-x 2 nagios nagios 4096 Feb 11 00:00 archives > > -rw-rw-r-- 1 nagios nagios 0 Feb 11 12:59 comment.log > > -rw-rw-r-- 1 nagios nagios 0 Feb 11 12:59 downtime.log > > -rw-r--r-- 1 root root 5 Feb 11 12:59 nagios.lock > > -rw-r--r-- 1 nagios nagios 33512 Feb 11 16:51 nagios.log > > drwxrwsr-x 2 nagios nagios 4096 Feb 11 12:59 rw > > -rw-rw-r-- 1 nagios nagios 13248 Feb 11 16:52 status.log > > -rw-r--r-- 1 nagios nagios 9924 Feb 11 15:59 status.sav > > > > > > Is the web server a member of the "nagios" group? otherwise it does not > have write perms > > > -- > -sg > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvanas at jackofallgames.com Fri Feb 11 20:10:47 2005 From: jvanas at jackofallgames.com (Josh Van As) Date: Fri, 11 Feb 2005 14:10:47 -0500 Subject: Help with Host checks Message-ID: I have hosts setup with no services (on 2.0b1). I am trying to use active checks only on the hosts. For some reason, I don't think that the check is every occurring because my "host status detail" says (null) under the "status information: c12-idf10-w12 UP N/A 0d 0h 10m 27s+ (null) Here is how my host.cfg is setup: define host{ name noservice-host notifications_enabled 1 active_checks_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 low_flap_threshold 0 high_flap_threshold 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 check_interval 1 passive_checks_enabled 1 max_check_attempts 5 notification_interval 5 notification_period 24x7 notification_options d,r contact_groups nullcontact register 0 } define host{ use noservice-host host_name c12-idf10-w12 alias c12-idf10-w12.joag.com address 10.10.90.100 parents c37-idf10-m02 } Can anyone help me troubleshoot this? If I look at "view config" under "hosts" I notice one strange thing: None of my hosts have "yes" under "Enable Active Checks". Which I thought should be turned on since I am setting both check_interval=1 and active_checks_enabled=1. TIA! Josh Van As ********************************************************************************************************************************************************************************************************************************** The information transmitted is intended only for the person to whom it is addressed and may be confidential and privileged and protected from disclosure. Any review, retransmission, dissemination or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipients are prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. ********************************************************************************************************************************************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From kmoogle at gmail.com Fri Feb 11 20:42:06 2005 From: kmoogle at gmail.com (kmoogle) Date: Fri, 11 Feb 2005 13:42:06 -0600 Subject: Compile issues on older system Message-ID: <5483568f050211114232106d03@mail.gmail.com> I'm trying to compile nagios-2.0b2 on an older system (my apologies in advance) -- but have run into an issue. './configure' runs properly, but fails on the 'make'. It currently runs Nagios 1.2. Any assistance is appreciated. Thank you. ======> Specifics gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) GNU Make version 3.78.1 GNU ld version 2.9.5 (with BFD 2.9.5.0.22) ldd (GNU libc) 2.1.3 kernel 2.4.23 GNU C Library stable release version 2.1.3 ======> 'make all' output [nagios-2.0b2]# make all cd ./base && make make[1]: Entering directory `/opt/src/nagios-2.0b2/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c In file included from ../include/nebmods.h:31, from broker.c:33: ../include/nebmodules.h:78: parse error before `lt_ptr' ../include/nebmodules.h:78: warning: no semicolon at end of struct or union ../include/nebmodules.h:79: warning: data definition has no type or storage class ../include/nebmodules.h:89: parse error before `}' ../include/nebmodules.h:89: warning: data definition has no type or storage class In file included from broker.c:33: ../include/nebmods.h:51: parse error before `*' ../include/nebmods.h:54: parse error before `*' make[1]: *** [broker.o] Error 1 make[1]: Leaving directory `/opt/src/nagios-2.0b2/base' make: *** [all] Error 2 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lgetschel at denver.westerngeco.slb.com Fri Feb 11 22:07:03 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Fri, 11 Feb 2005 14:07:03 -0700 Subject: External Command, scheduled downtime In-Reply-To: <1108129158.420cb586697bc@webmail.reseau.nl> References: <1108129158.420cb586697bc@webmail.reseau.nl> Message-ID: <420D1E77.9050908@denver.westerngeco.slb.com> OK, I may be off here, but I'll give it a try... I'm using 1.2, not the 2.0, but this sounds familiar... Question, how do you know that your command is getting into the nagios.cmd file? I ask because I did monitoring with tail -f var/rw/nagios.cmd and found that whenever I did that, I would SEE the command, but it would NEVER get processed. It was only after 'forgetting' to do the tail command that I figured that I was actually interfering with it! (I didn't realize it wasn't a 'file', but a named pipe until Andreas pointed it out. I have the following lines in an event handler I'm using (so nagios acknowledges this file system service is reaching a warning/critical level. This happens after another script mails out a message to the correct users) This builds up the proper format for the nagios.cmd "named pipe" to use: ---- cut here ---- # Now put the acknowledgment into Nagios so it doesn't continue to show warning/critical state echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command lines to add to the command file # the 4th parameter is 0=non-persistant, 1=persistant cmdline1="[$datetime] ADD_SVC_COMMENT;$4;$5;1;Nagios_script;ACKNOWLEDGEMENT: FS $freediskspace free disk,mail sent to $numberofmailsent users" cmdline2="[$datetime] ACKNOWLEDGE_SVC_PROBLEM;$4;$5;0;FS $freediskspace free disk, mail sent to $numberofmailsent users" `$echocmd $cmdline1 >> $CommandFile` `$echocmd $cmdline2 >> $CommandFile` ---- cut here ---- I'm not sure this helps, but I thought it might. Lewis alex at reseau.nl wrote: >I've been investigating Nagios for a while now. > >I had the last stable, beta1 and now beta2 installed. > >I have problems scheduling Service and Host downtime using external >commands. I haven't used it before and started with it in beta1. > >I have seen that multiple people have had this issue, though they >never got a reaction. I hope I will because I don't have much time >left for this investigation and using external commands to schedule >downtime is critical in our system. > >When I use the Addon nagdtsched i get a message in the Event log: > >[2005-02-11 11:08:10] EXTERNAL COMMAND: >SCHEDULE_SVC_DOWNTIME;linux1;PING;1108137600;1108195200;1;57600;nagios;Regularly >Scheduled Dowtime > >but nothing shows up in the 'Downtime' page. If I schedule downtime >via the webinterface then everythign goes ok. > >I tried echo-ing to var/rw/nagios.cmd myself and that worked like >above. And both external commands for host and service downtime don't >work. I first tried all of this in beta1, but hoping beta2 might have >it fixed i installed that over 1, but that didn't help either. > >What I am using this for is to create performance data during business >hours. But I want those hours defined in nagios, not in the data >processing. I found out that I can use a macro that shows the >downtime level, so i can easily use that calculating performance >myself. >It would help if there was a variant to the service&host notification >hour settings. But this works just as well. > >Regards, >Alex Haan > >---------------------------------------------------------------- >This message was sent using IMP, the Internet Messaging Program. > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_ide95&alloc_id396&opclick >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tomorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SLOANE at mail.ku.edu Fri Feb 11 22:43:49 2005 From: SLOANE at mail.ku.edu (Sloane, Robert Raymond) Date: Fri, 11 Feb 2005 15:43:49 -0600 Subject: Turn off RED for PASSIVE ONLY checks? Message-ID: <759618CD64AD564AB3756EF0B33D85332261E3@meadowlark2.home.ku.edu> It sounds like the behavior had changed from version 1.2 to 2.0. That would be a problem for me, since I use quiet a few passive checks with the check_period set to none. Is there any possibility of getting the old behavior back? -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Emmett Hogan > Sent: Friday, February 11, 2005 11:57 AM > To: Anthony.Caetano at t-systems.co.za > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Turn off RED for PASSIVE ONLY checks? > > > Ok....here's what I did: > > - Set active_check to 1 > - Set check_period to "none" > - Set active_checks_enabled to 1 > - Set freshness_threshold to 120 seconds > - Set passive_checks_enabled to 1 > > According to Marc, if the "Status Data Age" is more than 2 > minutes, the > check_command should be run even though "check_period" is set to > "none". Do I have this right so far? Well, this gets rid of > the red on > the TAC page since I don't have any active_checks disabled, but even > though my "Status Data Age" is " 0d 8h 47m 26s" the active > check is NOT > being run. :-( > > -Emmett ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 12 11:52:26 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 12 Feb 2005 11:52:26 +0100 Subject: [Possible Spam] - Re: host down but up problem In-Reply-To: <4EE8236B66247849BD4E1B5383AF4F48233259@exchwaus01.redmond.radioframenetworks.com> References: <4EE8236B66247849BD4E1B5383AF4F48233259@exchwaus01.redmond.radioframenetworks.com> Message-ID: <420DDFEA.3070304@op5.se> Christopher Smith wrote: > Okay, so I am having this problem with the Check_Icmp plugin. > > If I run the check_icmp as the default nagios user account, I receive a > status information message in Nagios stating that 'Root access needed > (for raw sockets)' is necessary. Yet, as stipulated by another's post, > it runs as root, no problem. I have verified that the permissions (from > Linux) are set correctly. > > This is 1.4.x of the plugins running on SuSE 9.1 and Nagios 1.2. > > How does one get around this? > Nagios doesn't run it as root, so it needs to be setuid 0 to get access to raw sockets and send ICMP messages. The following commands should get it working for you. su - root chown root:root /usr/local/nagios/libexec/check_icmp chmod 4755 /usr/local/nagios/libexec/check_icmp su - nagios /usr/local/nagios/libexec/check_icmp -H localhost > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: Wednesday, February 09, 2005 7:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Possible Spam] - Re: [Nagios-users] host down but up problem > > Serveur-Faucon Surveillance wrote: > >>Hi all, >> >>I have been using Nagios for quite a while now over 2 years, so I am >>pretty familiar with it. >> >>One of my host recently went to a down state on the network status, >>but is actually UP. This is not FAQ F0015 or F0016 related, since the >>same command is used by all other hosts (and they are just fine). >> >>I use the check_host_alive default command to check on hosts status >>(yeah I know, I dont use the hip (new, cool) check_icmp from Andreas >>Ericsson for now. Later) >> > > > Don't know about hip and cool, but you're probably better off without > it. "Don't fix it if it ain't broken". > > >>So I went to my console to try a couple of things... ping myhost = ok! > > >>check_ping -H myhost etc etc = ok! (exactly like the >>check_host_alive) >> >>So... my next theory would be to erase everything from that host in >>the history, and start over. But before that, is there someone who >>actually had something like that? >> >>There was the bug witch two nagios process could run at the same time, > > >>but that's not it. Thanks! >> > > > This can happen properly when the host starts flapping while down and > comes out OK on the other end of the flapping. Assuming you aren't > running 2.0 with f among your notification_options, ofcourse. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 12 11:54:19 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 12 Feb 2005 11:54:19 +0100 Subject: Nagios 2.0 - Force a host check ever 2 mins. In-Reply-To: <420CD3F0.6010306@datawire.net> References: <420CD3F0.6010306@datawire.net> Message-ID: <420DE05B.9050102@op5.se> Chris Stankaitis wrote: > > Hello All, a quick question about Passive host checks. > > I am setting up a distributed Nagios, and am using passive host checks > to monitor hosts behind my FW. the passive host check and the Obsessive > -ness work fine however I am getting into an issue. > > on the external Nagios box (the one that receives all the nsca > service/host checks from the internal Nagios) I have freshness checking > turned on for the host as well as the services... the problem is because > of the default Nagios behaviour host checks are only run if there are > service problems... > > So thus I am in the spot where all my services are OK on the box but the > host's are critical because of freshness checking. > > Is there a way that I can get my internal Nagios to run Host Checks for > the internal boxes every X mins like it would for a service check.. or > is there another good way to deal with this? > In 2.0 there is. Read the docs on host object configuration and the main config file for it. Be warned though that forcing host checks can prove to be a major slowdown as they aren't done in parallell. > --Chris > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 12 12:06:51 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 12 Feb 2005 12:06:51 +0100 Subject: Antwort: RE: [Possible Spam] - Re: host down but up problem [Virus scanned] In-Reply-To: <4EE8236B66247849BD4E1B5383AF4F48233261@exchwaus01.redmond.radioframenetworks.com> References: <4EE8236B66247849BD4E1B5383AF4F48233261@exchwaus01.redmond.radioframenetworks.com> Message-ID: <420DE34B.5050903@op5.se> Christopher Smith wrote: > BTW, this is running as daemon (default SuSE user account for > Nagios). Does this have anything to do with it? > Only if there are some restrictions on the daemon account to execute setuid programs. SuSE does a lot of things in a paranoid manner, so that might be it. You also need to check that the disk the check_icmp plugin resides on is mounted without the nosuid option, using the 'mount' command. > > > > > -----Original Message----- From: > nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sascha > Runschke Sent: Friday, February 11, 2005 7:48 AM To: > nagios-users at lists.sourceforge.net Subject: Antwort: RE: [Possible > Spam] - Re: [Nagios-users] host down but up problem [Virus scanned] > > Yes, set the permissions properly. Judging from your error message, I > guess it isn't set suid root. > > chown root check_icmp chmod 4755 check_icmp > > regards sash > > -------------------------------------------------- Sascha Runschke > Netzwerk Administration IT-Services > > ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch > > Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de > > http://www.abit.net http://www.abit-epos.net > http://www.my-academy.net > -------------------------------------------------- Der Inhalt dieser > Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten > Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser > Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? > jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder > Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie > au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das > Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die > M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie > diese Nachricht versehentlich erhalten, informieren Sie bitte den > Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen > Dank > > The information and any attachments contained in this email are > intended solely for the addressee. Access to this email by anyone > else is unauthorized. If you are not the intended recipient, any form > of disclosure, reproduction, distribution or any action taken or > refrained from in reliance on it, is prohibited and may be unlawful. > We also like to inform you that communication via email over the > internet is insecure because third parties may have the possibility > to access and manipulate emails. If you have received the message in > error, please advise the sender and delete the message and any > attachments. Thank you very much. > > > > > "Christopher Smith" Gesendet von: > nagios-users-admin at lists.sourceforge.net 11.02.2005 16:18 > > > An: "Andreas Ericsson" , > Kopie: Thema: RE: [Possible > Spam] - Re: [Nagios-users] host down but up problem [Virus scanned] > > > Okay, so I am having this problem with the Check_Icmp plugin. > > If I run the check_icmp as the default nagios user account, I receive > a status information message in Nagios stating that 'Root access > needed (for raw sockets)' is necessary. Yet, as stipulated by > another's post, it runs as root, no problem. I have verified that the > permissions (from Linux) are set correctly. > > This is 1.4.x of the plugins running on SuSE 9.1 and Nagios 1.2. > > How does one get around this? > > > > > -----Original Message----- From: > nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > Andreas Ericsson Sent: Wednesday, February 09, 2005 7:38 AM To: > nagios-users at lists.sourceforge.net Subject: [Possible Spam] - Re: > [Nagios-users] host down but up problem > > Serveur-Faucon Surveillance wrote: > >> Hi all, >> >> I have been using Nagios for quite a while now over 2 years, so I >> am pretty familiar with it. >> >> One of my host recently went to a down state on the network status, >> but is actually UP. This is not FAQ F0015 or F0016 related, since >> the same command is used by all other hosts (and they are just >> fine). >> >> I use the check_host_alive default command to check on hosts status >> (yeah I know, I dont use the hip (new, cool) check_icmp from >> Andreas Ericsson for now. Later) >> > > > Don't know about hip and cool, but you're probably better off without > it. "Don't fix it if it ain't broken". > > >> So I went to my console to try a couple of things... ping myhost = >> ok! > > >> check_ping -H myhost etc etc = ok! (exactly like the >> check_host_alive) >> >> So... my next theory would be to erase everything from that host in >> the history, and start over. But before that, is there someone who >> actually had something like that? >> >> There was the bug witch two nagios process could run at the same >> time, > > >> but that's not it. Thanks! >> > > > This can happen properly when the host starts flapping while down and > comes out OK on the other end of the flapping. Assuming you aren't > running 2.0 with f among your notification_options, ofcourse. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 12 12:13:08 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 12 Feb 2005 12:13:08 +0100 Subject: Failover & passive checks In-Reply-To: <20050211174215.GA24306@zippy.toger.us> References: <20050211174215.GA24306@zippy.toger.us> Message-ID: <420DE4C4.7000305@op5.se> Jason Martin wrote: > Has anycome come up with a reliable way of implementing passive > checks that properly handles a Nagios failover? > > I'm looking at using SEC to send passive checks about syslog to > Nagios. How should I go about handling the situation where my > Nagios host fails over to another machine? send_nsca doesn't > have any capability to attempt to detect if Nagios is running on > the destination host when it transmits, and the 'failure' might > not be as simple as a machine going down. > > The failover machine is in another datacenter, so a simple > IP-handoff isn't feasible. How has everyone else handled this > sort if situation? > A code solution would be to have your primary nsca cache results to a file and submitted periodically every seconds by a script. At submit-time, the script could check if nagios is running on its own host and if not, submit to the fail-over host. If nsca also goes down (or the entire server) you're shit out of luck, but you're going to have to choose what you think will work in the end anyways. > Thanks, > -Jason Martin -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 12 12:19:08 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 12 Feb 2005 12:19:08 +0100 Subject: Turn off RED for PASSIVE ONLY checks? In-Reply-To: <759618CD64AD564AB3756EF0B33D85332261E3@meadowlark2.home.ku.edu> References: <759618CD64AD564AB3756EF0B33D85332261E3@meadowlark2.home.ku.edu> Message-ID: <420DE62C.7000203@op5.se> Sloane, Robert Raymond wrote: > It sounds like the behavior had changed from version 1.2 to 2.0. That > would be a problem for me, since I use quiet a few passive checks with > the check_period set to none. Is there any possibility of getting the > old behavior back? Add some proper code to the if() statement at line 1652 in checks.c (as per latest CVS sourceforge would consent to hand out) or remove it altogether. Then recompile. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Feb 12 12:22:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 12 Feb 2005 12:22:38 +0100 Subject: Compile issues on older system In-Reply-To: <5483568f050211114232106d03@mail.gmail.com> References: <5483568f050211114232106d03@mail.gmail.com> Message-ID: <420DE6FE.4050505@op5.se> kmoogle wrote: > I'm trying to compile nagios-2.0b2 on an older system (my apologies in > advance) -- but have run into an issue. './configure' runs properly, > but fails on the 'make'. It currently runs Nagios 1.2. > > Any assistance is appreciated. > > Thank you. > > ======> Specifics > gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) > GNU Make version 3.78.1 > GNU ld version 2.9.5 (with BFD 2.9.5.0.22) > ldd (GNU libc) 2.1.3 > kernel 2.4.23 > GNU C Library stable release version 2.1.3 > > ======> 'make all' output > [nagios-2.0b2]# make all > cd ./base && make > make[1]: Entering directory `/opt/src/nagios-2.0b2/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c > In file included from ../include/nebmods.h:31, > from broker.c:33: > ../include/nebmodules.h:78: parse error before `lt_ptr' Install latest libtool with header files and such, or try ./configure --disable-event-broker. It's enabled by default, but the libtool support autodetection is a bit shoddy. There aren't that many modules to Nagios as of yet, so the usefulness of the event broker is still pretty limited. > ../include/nebmodules.h:78: warning: no semicolon at end of struct or union > ../include/nebmodules.h:79: warning: data definition has no type or > storage class > ../include/nebmodules.h:89: parse error before `}' > ../include/nebmodules.h:89: warning: data definition has no type or > storage class > In file included from broker.c:33: > ../include/nebmods.h:51: parse error before `*' > ../include/nebmods.h:54: parse error before `*' > make[1]: *** [broker.o] Error 1 > make[1]: Leaving directory `/opt/src/nagios-2.0b2/base' > make: *** [all] Error 2 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 prounix.net Sun Feb 13 19:20:53 2005 From: info at prounix.net (Alin S) Date: Sun, 13 Feb 2005 12:20:53 -0600 (CST) Subject: Compile issue on Solaris 10 Sparc Edition Message-ID: <5857105.1108318853855.SLOX.WebMail.wwwrun@mail.prounix.net> Hello, I'm trying to compile nagios-2.0b2 on Solaris10 sparc edition and I run into an issue during the "make all" sequence. Any help is appreciated. Thanks, Alin *********************************************************************************************************** root:ultra60/packages/nagios-2.0b2# make all cd ./base && make make[1]: Entering directory `/packages/nagios-2.0b2/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c In file included from /usr/include/sys/signal.h:34, from /usr/include/signal.h:26, from ../include/config.h:134, from checks.c:26: /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:292: error: parse error before '}' token /usr/include/sys/siginfo.h:294: error: parse error before '}' token /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: error: parse error before '}' token /usr/include/sys/siginfo.h:428: error: parse error before '}' token /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: error: parse error before '}' token In file included from /usr/include/signal.h:26, from ../include/config.h:134, from checks.c:26: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from ../include/config.h:134, from checks.c:26: /usr/include/signal.h:111: error: parse error before "siginfo_t" /usr/include/signal.h:113: error: parse error before "siginfo_t" make[1]: *** [checks.o] Error 1 make[1]: Leaving directory `/packages/nagios-2.0b2/base' make: *** [all] Error 2 ********************************************************************* ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xavier at rootshell.be Sun Feb 13 19:30:53 2005 From: xavier at rootshell.be (Xavier) Date: Sun, 13 Feb 2005 19:30:53 +0100 (CET) Subject: Keep data from Nagios 1.x/MySQL -> Nagios 2.0 Message-ID: Hi *, Running a Nagios 1.x with DB support for a while, I'd like to keep the most part of my data when upgrading to 2.0 (commands, data retention, ...) Anybody experienced this? Xavier -- LOAD "vmunix",8,1 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Feb 13 19:43:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 13 Feb 2005 19:43:31 +0100 Subject: Keep data from Nagios 1.x/MySQL -> Nagios 2.0 In-Reply-To: References: Message-ID: <420F9FD3.5050302@op5.se> Xavier wrote: > Hi *, > > Running a Nagios 1.x with DB support for a while, I'd like to keep > the most part of my data when upgrading to 2.0 > (commands, data retention, ...) > Anybody experienced this? > Nopes, but it should be pretty straightforward to write a script and pull everything from database and put it in flat files. I've got a couple of scripts for fixing config and comments and such if you're interested (not database based though, but that should be simple enough anyways). > Xavier > -- > LOAD "vmunix",8,1 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xavier at rootshell.be Sun Feb 13 19:52:16 2005 From: xavier at rootshell.be (Xavier Mertens) Date: Sun, 13 Feb 2005 19:52:16 +0100 (CET) Subject: Keep data from Nagios 1.x/MySQL -> Nagios 2.0 In-Reply-To: <420F9FD3.5050302@op5.se> References: <420F9FD3.5050302@op5.se> Message-ID: Hi Andreas, I'll investigate so! Maybe could you put your existing scripts online? Regards, Xavier -- It is easier to fix Unix than to live with NT. On Sun, 13 Feb 2005, Andreas Ericsson wrote: > Xavier wrote: > > Hi *, > > > > Running a Nagios 1.x with DB support for a while, I'd like to keep > > the most part of my data when upgrading to 2.0 > > (commands, data retention, ...) Anybody experienced this? > > > > Nopes, but it should be pretty straightforward to write a script and pull > everything from database and put it in flat files. I've got a couple of > scripts for fixing config and comments and such if you're interested (not > database based though, but that should be simple enough anyways). > > > Xavier > > -- > > LOAD "vmunix",8,1 > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting > > any issue. ::: Messages without supporting info will risk being sent to > > /dev/null > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Feb 13 19:54:36 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 13 Feb 2005 19:54:36 +0100 Subject: Compile issue on Solaris 10 Sparc Edition In-Reply-To: <5857105.1108318853855.SLOX.WebMail.wwwrun@mail.prounix.net> References: <5857105.1108318853855.SLOX.WebMail.wwwrun@mail.prounix.net> Message-ID: <420FA26C.9000705@op5.se> Alin S wrote: > Hello, > I'm trying to compile nagios-2.0b2 on Solaris10 sparc edition and I run into an issue during the "make all" sequence. > Any help is appreciated. > Thanks, > Alin > > *********************************************************************************************************** > root:ultra60/packages/nagios-2.0b2# make all > cd ./base && make > make[1]: Entering directory `/packages/nagios-2.0b2/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > In file included from /usr/include/sys/signal.h:34, > from /usr/include/signal.h:26, > from ../include/config.h:134, > from checks.c:26: > /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" > /usr/include/sys/siginfo.h:292: error: parse error before '}' token > /usr/include/sys/siginfo.h:294: error: parse error before '}' token > /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" This seems to indicate that your system header files are severely broken or that some header file defining the variable type ctid_t isn't being included. > /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' > /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' > /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' > /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' > /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' > /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' > /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' > /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' > /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' > /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' This is supposed to never ever happen. Have you managed to compile some other signal handling software on this system? > /usr/include/sys/siginfo.h:426: error: parse error before '}' token > /usr/include/sys/siginfo.h:428: error: parse error before '}' token > /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" > /usr/include/sys/siginfo.h:437: error: parse error before '}' token > In file included from /usr/include/signal.h:26, > from ../include/config.h:134, > from checks.c:26: > /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" > In file included from ../include/config.h:134, > from checks.c:26: > /usr/include/signal.h:111: error: parse error before "siginfo_t" > /usr/include/signal.h:113: error: parse error before "siginfo_t" > make[1]: *** [checks.o] Error 1 > make[1]: Leaving directory `/packages/nagios-2.0b2/base' > make: *** [all] Error 2 > > ********************************************************************* > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Feb 13 20:07:09 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 13 Feb 2005 20:07:09 +0100 Subject: Keep data from Nagios 1.x/MySQL -> Nagios 2.0 In-Reply-To: References: <420F9FD3.5050302@op5.se> Message-ID: <420FA55D.8070803@op5.se> Xavier Mertens wrote: > Hi Andreas, > I'll investigate so! Maybe could you put your existing scripts online? > http://oss.op5.se/nagios You want the gzipped php scripts. Mainly 12to20comments and object_config_fix. object_config_fix will mangle your notification commands, but 2.0 doesn't have the same macro names so you'd have to change them sooner or later anyway. I'm sure you get the general idea. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 prounix.net Sun Feb 13 20:15:26 2005 From: info at prounix.net (Alin S) Date: Sun, 13 Feb 2005 13:15:26 -0600 (CST) Subject: Compile issue on Solaris 10 Sparc Edition References: <5857105.1108318853855.SLOX.WebMail.wwwrun@mail.prounix.net><420FA26C.9000705@op5.se> Message-ID: <2478770.1108322126539.SLOX.WebMail.wwwrun@mail.prounix.net> This is a fresh installation on Solaris10 (entire distribution). I didn?t' compile anything else on the system since I installed the OS (last night). The only thing that I have done is to load some standard packages on the system. Do you think that one of the packages loaded on the system corrupted the headers? Listed below are the packages installed on the system: application SMCautoc autoconf application SMCautom automake application SMCcurl curl application SMCdb db application SMCdiffu diffutils application SMCegd egd application SMCexpat expat application SMCfontc fontconfig application SMCfreet freetype application SMCgawk gawk application SMCgcc gcc application SMCgd gd application SMCgdbm gdbm application SMCglib1 glib application SMCgtk gtk+ application SMCiconv libiconv application SMCimlib imlib application SMCjpeg jpeg application SMClibnet libnet application SMClibtool libtool application SMClpng libpng application SMClungif libungif application SMClxslt libxslt application SMCm4 m4 application SMCmake make application SMCncurs ncurses application SMCossh openssh application SMCpango pango application SMCpgsql postgresql application SMCphp php application SMCprngd prngd application SMCpythn python application SMCsmake smake application SMCsudo sudo application SMCtop top application SMCvnc vnc Thanks, Alin On Feb 13, 2005 06:54 PM, Andreas Ericsson wrote: > Alin S wrote: > > Hello, > > I'm trying to compile nagios-2.0b2 on Solaris10 sparc edition and I run into an issue during the "make all" sequence. > > Any help is appreciated. > > Thanks, > > Alin > > > > *********************************************************************************************************** > > root:ultra60/packages/nagios-2.0b2# make all > > cd ./base && make > > make[1]: Entering directory `/packages/nagios-2.0b2/base' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c > > In file included from /usr/include/sys/signal.h:34, > > from /usr/include/signal.h:26, > > from ../include/config.h:134, > > from checks.c:26: > > /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" > > /usr/include/sys/siginfo.h:292: error: parse error before '}' token > > /usr/include/sys/siginfo.h:294: error: parse error before '}' token > > /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" > > This seems to indicate that your system header files are severely broken > or that some header file defining the variable type ctid_t isn't being > included. > > > /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' > > /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' > > /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' > > /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' > > /usr/include/sys/siginfo.h:404: error: conflicting types for `__file' > > /usr/include/sys/siginfo.h:273: error: previous declaration of `__file' > > /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' > > /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' > > /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' > > /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' > > This is supposed to never ever happen. Have you managed to compile some > other signal handling software on this system? > > > /usr/include/sys/siginfo.h:426: error: parse error before '}' token > > /usr/include/sys/siginfo.h:428: error: parse error before '}' token > > /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" > > /usr/include/sys/siginfo.h:437: error: parse error before '}' token > > In file included from /usr/include/signal.h:26, > > from ../include/config.h:134, > > from checks.c:26: > > /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" > > In file included from ../include/config.h:134, > > from checks.c:26: > > /usr/include/signal.h:111: error: parse error before "siginfo_t" > > /usr/include/signal.h:113: error: parse error before "siginfo_t" > > make[1]: *** [checks.o] Error 1 > > make[1]: Leaving directory `/packages/nagios-2.0b2/base' > > make: *** [all] Error 2 > > > > ********************************************************************* > > > > > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide > > Read honest & candid reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start reading now. > > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sun Feb 13 20:58:11 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 13 Feb 2005 20:58:11 +0100 Subject: Compile issue on Solaris 10 Sparc Edition In-Reply-To: <2478770.1108322126539.SLOX.WebMail.wwwrun@mail.prounix.net> References: <5857105.1108318853855.SLOX.WebMail.wwwrun@mail.prounix.net><420FA26C.9000705@op5.se> <2478770.1108322126539.SLOX.WebMail.wwwrun@mail.prounix.net> Message-ID: <420FB153.6030100@op5.se> Alin S wrote: > This is a fresh installation on Solaris10 (entire distribution). > I didn???t' compile anything else on the system since I installed > the OS (last night). The only thing that I have done is to load > some standard packages on the system. Do you think that one of the > packages loaded on the system corrupted the headers? No, I think you have either missed to load one or more packages containing development files (most likely), or the files included in one or more of the packages are corrupt (not likely), or the header files are simply poorly written (somewhat likely). > Listed below > are the packages installed on the system: > > application SMCautoc autoconf > application SMCautom automake > application SMCcurl curl > application SMCdb db > application SMCdiffu diffutils > application SMCegd egd > application SMCexpat expat > application SMCfontc fontconfig > application SMCfreet freetype > application SMCgawk gawk > application SMCgcc gcc > application SMCgd gd > application SMCgdbm gdbm > application SMCglib1 glib > application SMCgtk gtk+ > application SMCiconv libiconv > application SMCimlib imlib > application SMCjpeg jpeg > application SMClibnet libnet > application SMClibtool libtool > application SMClpng libpng > application SMClungif libungif > application SMClxslt libxslt > application SMCm4 m4 > application SMCmake make > application SMCncurs ncurses > application SMCossh openssh > application SMCpango pango > application SMCpgsql postgresql > application SMCphp php > application SMCprngd prngd > application SMCpythn python > application SMCsmake smake > application SMCsudo sudo > application SMCtop top > application SMCvnc vnc > > Thanks, > Alin > > On Feb 13, 2005 06:54 PM, Andreas Ericsson wrote: > > >>Alin S wrote: >> >>> Hello, >>> I'm trying to compile nagios-2.0b2 on Solaris10 sparc edition and I run into an issue during the "make all" sequence. >>> Any help is appreciated. >>>Thanks, >>>Alin >>> >>>*********************************************************************************************************** >>>root:ultra60/packages/nagios-2.0b2# make all >>>cd ./base && make >>>make[1]: Entering directory `/packages/nagios-2.0b2/base' >>>gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c >>>In file included from /usr/include/sys/signal.h:34, >>> from /usr/include/signal.h:26, >>> from ../include/config.h:134, >>> from checks.c:26: >>>/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" >>>/usr/include/sys/siginfo.h:292: error: parse error before '}' token >>>/usr/include/sys/siginfo.h:294: error: parse error before '}' token >>>/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t" >> >>This seems to indicate that your system header files are severely broken >>or that some header file defining the variable type ctid_t isn't being >>included. >> >> >>>/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc' >>>/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc' >>>/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault' >>>/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault' >>>/usr/include/sys/siginfo.h:404: error: conflicting types for `__file' >>>/usr/include/sys/siginfo.h:273: error: previous declaration of `__file' >>>/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof' >>>/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof' >>>/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl' >>>/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl' >> >>This is supposed to never ever happen. Have you managed to compile some >>other signal handling software on this system? >> >> >>>/usr/include/sys/siginfo.h:426: error: parse error before '}' token >>>/usr/include/sys/siginfo.h:428: error: parse error before '}' token >>>/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t" >>>/usr/include/sys/siginfo.h:437: error: parse error before '}' token >>>In file included from /usr/include/signal.h:26, >>> from ../include/config.h:134, >>> from checks.c:26: >>>/usr/include/sys/signal.h:85: error: parse error before "siginfo_t" >>>In file included from ../include/config.h:134, >>> from checks.c:26: >>>/usr/include/signal.h:111: error: parse error before "siginfo_t" >>>/usr/include/signal.h:113: error: parse error before "siginfo_t" >>>make[1]: *** [checks.o] Error 1 >>>make[1]: Leaving directory `/packages/nagios-2.0b2/base' >>>make: *** [all] Error 2 >>> >>>********************************************************************* >>> >>> >>> >>> >>>------------------------------------------------------- >>>SF email is sponsored by - The IT Product Guide >>>Read honest & candid reviews on hundreds of IT Products from real users. >>>Discover which products truly live up to the hype. Start reading now. >>>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> >> >>-- >>Andreas Ericsson andreas.ericsson at op5.se >>OP5 AB www.op5.se >>Lead Developer >> >> >>------------------------------------------------------- >>SF email is sponsored by - The IT Product Guide >>Read honest & candid reviews on hundreds of IT Products from real users. >>Discover which products truly live up to the hype. Start reading now. >>http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Feb 14 00:41:06 2005 From: benny at bennyvision.com (C. Bensend) Date: Sun, 13 Feb 2005 17:41:06 -0600 (CST) Subject: Service dependencies not working as I would think? Message-ID: <52446.63.227.74.41.1108338066.squirrel@webmail.stinkweasel.net> Hey folks, So, after an unintentional barrage of alerts, I started playing around with service dependencies. I do an awful lot of checks using check_by_ssh, so I'd like to set up dependencies for other services that depend on ssh. Simple, I would think. In my dependencies.cfg (this is Nagios 1.2): # Servicedependency definition define servicedependency{ host_name neutron service_description ssh dependent_host_name neutron dependent_service_description postgresql execution_failure_criteria w,u,c ; These are the criteria ; for which check execution ; will be supressed notification_failure_criteria w,u,c ; These are the criteria ; for which notifications ; will be supressed } For the above host (neutron), I use check_by_ssh to execute check_pgsql locally. So, with the above config, I would think that if ssh goes away, the postgresql service will not be tested and will not alert. To test, I killed ssh on neutron, and watched what happened - and to my dismay, Nagios alerted on both ssh and postgresql. :( The "view config" in the web interface seems to show the dependency set up correctly - what the heck am I missing? Thanks! Benny -- "I'm so Goth, my wrists slit themselves." -- bash.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardomachado at gmail.com Mon Feb 14 04:00:05 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Mon, 14 Feb 2005 01:00:05 -0200 Subject: Service dependencies not working as I would think? In-Reply-To: <52446.63.227.74.41.1108338066.squirrel@webmail.stinkweasel.net> References: <52446.63.227.74.41.1108338066.squirrel@webmail.stinkweasel.net> Message-ID: The following could happen: - ssh is OK - you kill ssh - nagios chek pgsql (it thinks that ssh is OK, since no check occured since last OK) - nagios says pgsql is DOWN (because you killed ssh) - after a while nagios check ssh - nagios says ssh is DOWN Dependencies means that nagios will check last result of a service before checking the dependent service. It does not means that nagios will check service ssh every time it needs to check pgsql. On Sun, 13 Feb 2005 17:41:06 -0600 (CST), C. Bensend wrote: > > Hey folks, > > So, after an unintentional barrage of alerts, I started playing > around with service dependencies. I do an awful lot of checks using > check_by_ssh, so I'd like to set up dependencies for other services > that depend on ssh. Simple, I would think. > > In my dependencies.cfg (this is Nagios 1.2): > > # Servicedependency definition > define servicedependency{ > host_name neutron > service_description ssh > dependent_host_name neutron > dependent_service_description postgresql > execution_failure_criteria w,u,c ; These are the criteria > ; for which check execution > ; will be supressed > notification_failure_criteria w,u,c ; These are the criteria > ; for which notifications > ; will be supressed > } > > For the above host (neutron), I use check_by_ssh to execute > check_pgsql locally. So, with the above config, I would think that > if ssh goes away, the postgresql service will not be tested and will > not alert. > > To test, I killed ssh on neutron, and watched what happened - > and to my dismay, Nagios alerted on both ssh and postgresql. :( > The "view config" in the web interface seems to show the dependency > set up correctly - what the heck am I missing? > > Thanks! > > Benny > > -- > "I'm so Goth, my wrists slit themselves." > -- bash.org > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Leonardo Henrique Machado ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Feb 14 04:18:01 2005 From: benny at bennyvision.com (C. Bensend) Date: Sun, 13 Feb 2005 21:18:01 -0600 (CST) Subject: Service dependencies not working as I would think? In-Reply-To: References: <52446.63.227.74.41.1108338066.squirrel@webmail.stinkweasel.net> Message-ID: <64969.63.227.74.41.1108351081.squirrel@webmail.stinkweasel.net> > The following could happen: > > - ssh is OK > - you kill ssh > - nagios chek pgsql (it thinks that ssh is OK, since no check occured > since last OK) > - nagios says pgsql is DOWN (because you killed ssh) > - after a while nagios check ssh > - nagios says ssh is DOWN > > Dependencies means that nagios will check last result of a service > before checking the dependent service. It does not means that nagios > will check service ssh every time it needs to check pgsql. Hi Leonardo, Looking at the docs, it appears that the dependency will look at the last HARD state of the depended-upon service. By using the soft_state_dependencies option, it should notice that the ssh service (the depended-on service) is not in an OK state, and hopefully will not alert. Not sure how I missed that bit of info, but it's been One Of Those Days(tm). So, I added 'soft_state_dependencies=1' to nagios.cfg, and restarted. Killing ssh seems to be producing the results I wanted - it logged the postgresql failure, and immediately started testing the ssh service, and ONLY the ssh service. Yay! To me, it seems like soft_state_dependencies should default to on - why would you not want a failure in a depended-upon service to be ignored when checking a dependent service, even if it is in a SOFT failure? Ethan? Anyhoo - thanks much, Leonardo. That got me thinking in the right direction. :) Benny -- "I'm so Goth, my wrists slit themselves." -- bash.org ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aurbain at adeptra.com Mon Feb 14 04:25:51 2005 From: aurbain at adeptra.com (Aaron Urbain) Date: Sun, 13 Feb 2005 22:25:51 -0500 Subject: distributed nagios config Message-ID: <42101A3F.1000004@adeptra.com> I have a master and 5 slave nagios servers. I'm interested in getting all the slaves to #include the same main config options but cant find a directive which will include properly. cfg_file and resource_file will not work. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Feb 14 04:28:37 2005 From: jhmartin at toger.us (Jason Martin) Date: Sun, 13 Feb 2005 19:28:37 -0800 Subject: distributed nagios config In-Reply-To: <42101A3F.1000004@adeptra.com> References: <42101A3F.1000004@adeptra.com> Message-ID: <20050214032837.GC24306@zippy.toger.us> On Sun, Feb 13, 2005 at 10:25:51PM -0500, Aaron Urbain wrote: > I have a master and 5 slave nagios servers. > I'm interested in getting all the slaves to #include the same main > config options but cant find a directive which will include properly. The main nagios.cfg is not include'able. -Jason Martin -- You are only young once, but you can be immature forever. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From frederik.vanhee at perso.be Mon Feb 14 09:31:37 2005 From: frederik.vanhee at perso.be (Vanhee Frederik) Date: Mon, 14 Feb 2005 09:31:37 +0100 Subject: authentication issue Nagios2.0b2 Message-ID: <002b01c5126f$99905510$570312ac@t03017> Hello, I have this problem (probably not related to a certain Nagios-version). I have nagios configured with apache-authentication, so each user must login before having access to the Nagios pages I want to setup one user for demonstration purposes, who can view everything, but can't touch anything, so I added the user to "authorized_for_all_hosts"-directive in cgi-config-file and so, he can see all hosts and all services and as described in the documentation : "Users in this list are not automatically authorized to issue commands for all hosts or services". To make things clear : my user isn't defined in any contacts or contactgroups, so it's an authenticated user but not an authenticated contact. And now my problem : the user doesn't have the permission to issue host commands, which is normal, but the user DOES have permissions to execute hostgroups commands, thus : scheduling downtime, disable notifications,... and I don't want him to do that. Thanks, Frederik -------------- next part -------------- An HTML attachment was scrubbed... URL: From matato at pregi.net Mon Feb 14 17:32:20 2005 From: matato at pregi.net (matato at pregi.net) Date: Mon, 14 Feb 2005 16:32:20 -0000 (GMT) Subject: Where are the $ARGn$ macros will come from?? Message-ID: <1433.202.90.128.21.1108398740.squirrel@mail.pregi.net> Hi, I'm a little bit confuse about where the $ARGn$ macros will come from. for example, I have a service named squid and I used the check_tcp as its checkcommand.the actual command_line is: /usr/local/nagios/libexec/check_tcp -H $HOSTADDRESS$ -p $ARG1$ Where $ARG1$ must be the port the service is listening on. In my case 3128. I know that the $HOSTADDRESS$ will automatically be the address of the host the service belongs to, but how about the $ARG1$. How will I tell nagios that, "hey, this number "3128" is the $ARG1$, this is the port you should check for tcp connection". Is it included in any configuration file? Any idea?? thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Feb 14 10:05:33 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Feb 2005 10:05:33 +0100 Subject: Service dependencies not working as I would think? In-Reply-To: <64969.63.227.74.41.1108351081.squirrel@webmail.stinkweasel.net> References: <52446.63.227.74.41.1108338066.squirrel@webmail.stinkweasel.net> <64969.63.227.74.41.1108351081.squirrel@webmail.stinkweasel.net> Message-ID: <421069DD.6070306@op5.se> C. Bensend wrote: >>The following could happen: >> >>- ssh is OK >>- you kill ssh >>- nagios chek pgsql (it thinks that ssh is OK, since no check occured >>since last OK) >>- nagios says pgsql is DOWN (because you killed ssh) >>- after a while nagios check ssh >>- nagios says ssh is DOWN >> >>Dependencies means that nagios will check last result of a service >>before checking the dependent service. It does not means that nagios >>will check service ssh every time it needs to check pgsql. > > > Hi Leonardo, > > Looking at the docs, it appears that the dependency will look at > the last HARD state of the depended-upon service. By using the > soft_state_dependencies option, it should notice that the ssh > service (the depended-on service) is not in an OK state, and hopefully > will not alert. Not sure how I missed that bit of info, but it's been > One Of Those Days(tm). > > So, I added 'soft_state_dependencies=1' to nagios.cfg, and restarted. > Killing ssh seems to be producing the results I wanted - it logged the > postgresql failure, and immediately started testing the ssh service, and > ONLY the ssh service. Yay! > > To me, it seems like soft_state_dependencies should default to on - > why would you not want a failure in a depended-upon service to be > ignored when checking a dependent service, even if it is in a SOFT > failure? Ethan? > Because SOFT states are considered temporary network flukes. A probably more accurate way would be to implement some sort of dependency_freshness interval, so that the SSH gets checked once more (and re-scheduled appropriately) when check_pgsql is about to run if more than (timing_interval * dependency_freshness) seconds have passed since last logged HARD ok. If that checks fails to, then put check_pgsql in a dependent soft state down. > Anyhoo - thanks much, Leonardo. That got me thinking in the right > direction. :) > > Benny > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Feb 14 10:08:08 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Feb 2005 10:08:08 +0100 Subject: Where are the $ARGn$ macros will come from?? In-Reply-To: <1433.202.90.128.21.1108398740.squirrel@mail.pregi.net> References: <1433.202.90.128.21.1108398740.squirrel@mail.pregi.net> Message-ID: <42106A78.9040603@op5.se> matato at pregi.net wrote: > Hi, > I'm a little bit confuse about where the $ARGn$ macros will come from. > for example, I have a service named squid and I used the check_tcp as its > checkcommand.the actual command_line is: > /usr/local/nagios/libexec/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > Where $ARG1$ must be the port the service is listening on. In my case 3128. > > I know that the $HOSTADDRESS$ will automatically be the address of the > host the service belongs to, but how about the $ARG1$. How will I tell > nagios that, "hey, this number "3128" is the $ARG1$, this is the port you > should check for tcp connection". Is it included in any configuration > file? > Any idea?? thanks. > check_command check_squid!arg1!arg2!arg3!arg4 I'm sure you get the idea, and I believe this is documented somewhere. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephan.janosch at interface-business.de Mon Feb 14 10:35:32 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 14 Feb 2005 10:35:32 +0100 Subject: Why we need a check_period at hosts? Message-ID: <421070E4.6060603@interface-business.de> Hi Readers around! Looking and searching in the docu gives me absolut no idea why I need a check_period at the host definition. The check_command is not required, but the strange _not documented_ check_period. So I could imagine, that the check_period determines, when the host gets checked. Is that right? Regards; Stephan ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at reseau.nl Mon Feb 14 10:57:07 2005 From: alex at reseau.nl (alex at reseau.nl) Date: Mon, 14 Feb 2005 10:57:07 +0100 Subject: External Command, scheduled downtime Message-ID: <1108375027.421075f33c0d8@webmail.reseau.nl> Hmm, now a bit edited and send to the group.. Quoting Lewis Getschel : > OK, I may be off here, but I'll give it a try... > I'm using 1.2, not the 2.0, but this sounds familiar... > > Question, how do you know that your command is getting into the > nagios.cmd file? > I ask because I did monitoring with tail -f var/rw/nagios.cmd > and found that whenever I did that, I would SEE the command, but it > would NEVER get processed. > It was only after 'forgetting' to do the tail command that I > figured > that I was actually interfering with it! > (I didn't realize it wasn't a 'file', but a named pipe until > Andreas pointed it out. Yes well, seeing the event being added to the Event Log in Nagios shows me it is being read by Nagios. But it isn't handled any further. > > I have the following lines in an event handler I'm using (so nagios > acknowledges this file system service > is reaching a warning/critical level. This happens after another > script > mails out a message to the correct users) > This builds up the proper format for the nagios.cmd "named pipe" to > use: > ---- cut here ---- > # Now put the acknowledgment into Nagios so it doesn't continue to > show > warning/critical state > echocmd="/bin/echo" > CommandFile="/usr/local/nagios/var/rw/nagios.cmd" > # get the current date/time in seconds since UNIX epoch > datetime=`date +%s` > # create the command lines to add to the command file > # the 4th parameter is 0=non-persistant, 1=persistant > cmdline1="[$datetime] > ADD_SVC_COMMENT;$4;$5;1;Nagios_script;ACKNOWLEDGEMENT: FS > $freediskspace > free disk,mail sent to $numberofmailsent users" > cmdline2="[$datetime] ACKNOWLEDGE_SVC_PROBLEM;$4;$5;0;FS > $freediskspace free disk, mail sent to $numberofmailsent users" > `$echocmd $cmdline1 >> $CommandFile` > `$echocmd $cmdline2 >> $CommandFile` > ---- cut here ---- > > I'm not sure this helps, but I thought it might. > Lewis Well thanks for replying (3 times ;). That script has some undefined variables in it, but that isn't too much a problem. That pointed me to something though.. running that script by itself gave this first line in the Event Log: [2005-02-14 09:38:22] EXTERNAL COMMAND: ADD_SVC_COMMENT;;;1;Nagios_script;ACKNOWLEDGEMENT: FS free disk,mail sent to users Even though the host_name and service_description fields are empty, it is loaded into the logfile. I know Nagios does report it when it finds an unknown command. But apparently it doesn't check whether the host or service exists. I guess, to start with, this is a bug. Ofcourse this check is done at a different level, but still. In cgi.cfg 'my' user has is in all the user-permission lists, so that can't be it either (authorized_for_system_information, authorized_for_configuration_information, authorized_for_system_commands, authorized_for_all_services, authorized_for_all_hosts, authorized_for_all_service_commands, authorized_for_all_host_commands). I checked all logfiles I could think of, but I don't find an error message from Nagios anywhere, even though somewhere that command has to be rejected. Unfortunately I'm not so much a 'compiler' myself, nor do I really have the time to check the code myself. So I really hope one of the developers has an idea here. Btw, adding te right parameters a service did get a comment, so that IS working. Regards, Alex Haan > > alex at reseau.nl wrote: > > >I've been investigating Nagios for a while now. > > > >I had the last stable, beta1 and now beta2 installed. > > > >I have problems scheduling Service and Host downtime using > external > >commands. I haven't used it before and started with it in beta1. > > > >I have seen that multiple people have had this issue, though they > >never got a reaction. I hope I will because I don't have much time > >left for this investigation and using external commands to > schedule > >downtime is critical in our system. > > > >When I use the Addon nagdtsched i get a message in the Event log: > > > >[2005-02-11 11:08:10] EXTERNAL COMMAND: > >SCHEDULE_SVC_DOWNTIME;linux1;PING;1108137600;1108195200;1;57600;nagios;Regularly > >Scheduled Dowtime > > > >but nothing shows up in the 'Downtime' page. If I schedule > downtime > >via the webinterface then everythign goes ok. > > > >I tried echo-ing to var/rw/nagios.cmd myself and that worked like > >above. And both external commands for host and service downtime > don't > >work. I first tried all of this in beta1, but hoping beta2 might > have > >it fixed i installed that over 1, but that didn't help either. > > > >What I am using this for is to create performance data during > business > >hours. But I want those hours defined in nagios, not in the data > >processing. I found out that I can use a macro that shows the > >downtime level, so i can easily use that calculating performance > >myself. > >It would help if there was a variant to the service&host > notification > >hour settings. But this works just as well. > > > >Regards, > >Alex Haan > > > >---------------------------------------------------------------- > >This message was sent using IMP, the Internet Messaging Program. > > > > > >------------------------------------------------------- > >SF email is sponsored by - The IT Product Guide > >Read honest & candid reviews on hundreds of IT Products from real > users. > >Discover which products truly live up to the hype. Start reading > now. > >http://ads.osdn.com/?ad_ide95&alloc_id396&opclick > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > -- > Lewis Getschel | Today is done... > WesternGeco | Today was fun... > 1625 Broadway | Tomorrow is another one. > Denver, CO 80202 | > Direct Phone - 303-389-4407| -- Dr. Seuss -- > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecasbas at unav.es Mon Feb 14 13:28:39 2005 From: ecasbas at unav.es (Emilio Casbas) Date: Mon, 14 Feb 2005 13:28:39 +0100 Subject: monitorizing cups Message-ID: <42109977.3020105@unav.es> Hi Is possible use nagios to monitor a print's server with cups? Thanks Emilio C. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Feb 14 13:36:13 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Feb 2005 13:36:13 +0100 Subject: monitorizing cups In-Reply-To: <42109977.3020105@unav.es> References: <42109977.3020105@unav.es> Message-ID: <42109B3D.1090507@op5.se> Emilio Casbas wrote: > Hi > > Is possible use nagios to monitor a print's server with cups? > Yes. > > Thanks > Emilio C. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardomachado at gmail.com Mon Feb 14 14:06:01 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Mon, 14 Feb 2005 11:06:01 -0200 Subject: force "CURRENT SERVICE STATE" check Message-ID: I noticed that nagios does a check on every services and hosts and outputs in the following format: ---------- [1106359200] CURRENT SERVICE STATE: comp1;Usuarios;OK;HARD;1;Output [1106359200] CURRENT SERVICE STATE: comp2;Usuarios;OK;HARD;1;Output [1106359200] CURRENT SERVICE STATE: comp3;Usuarios;OK;HARD;1;Output [1106359200] CURRENT SERVICE STATE: comp4;Usuarios;OK;HARD;1;Output [1106359200] CURRENT SERVICE STATE: comp5;Usuarios;OK;HARD;1;Output ----------- I have 2 questions about it: 1- When does CURRENT SERVICE STATE check occurs? At startup? 2- How can I force nagios to output the CURRENT SERVICE STATE every 5 minutes and redirect the output to file? -- Leonardo Henrique Machado ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Feb 14 14:43:14 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Feb 2005 14:43:14 +0100 Subject: force "CURRENT SERVICE STATE" check In-Reply-To: References: Message-ID: <4210AAF2.1040601@op5.se> Leonardo Henrique Machado wrote: > I noticed that nagios does a check on every services and hosts and > outputs in the following format: > ---------- > [1106359200] CURRENT SERVICE STATE: comp1;Usuarios;OK;HARD;1;Output > [1106359200] CURRENT SERVICE STATE: comp2;Usuarios;OK;HARD;1;Output > [1106359200] CURRENT SERVICE STATE: comp3;Usuarios;OK;HARD;1;Output > [1106359200] CURRENT SERVICE STATE: comp4;Usuarios;OK;HARD;1;Output > [1106359200] CURRENT SERVICE STATE: comp5;Usuarios;OK;HARD;1;Output > ----------- > > I have 2 questions about it: > > 1- When does CURRENT SERVICE STATE check occurs? At startup? Yes. > 2- How can I force nagios to output the CURRENT SERVICE STATE every 5 > minutes and redirect the output to file? > Why would you want to? Nagios writes it every time the state changes and every time it rotates its logs. It's possible through a loadable NEB-module or some such, I expect. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvanas at jackofallgames.com Mon Feb 14 14:52:14 2005 From: jvanas at jackofallgames.com (Josh Van As) Date: Mon, 14 Feb 2005 08:52:14 -0500 Subject: Help with Host checks Message-ID: Oops... Sorry to have bothered everyone. I see my error. I am missing the check command. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Josh Van As Sent: Friday, February 11, 2005 2:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help with Host checks I have hosts setup with no services (on 2.0b1). I am trying to use active checks only on the hosts. For some reason, I don't think that the check is every occurring because my "host status detail" says (null) under the "status information: c12-idf10-w12 UP N/A 0d 0h 10m 27s+ (null) Here is how my host.cfg is setup: define host{ name noservice-host notifications_enabled 1 active_checks_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 low_flap_threshold 0 high_flap_threshold 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 0 check_interval 1 passive_checks_enabled 1 max_check_attempts 5 notification_interval 5 notification_period 24x7 notification_options d,r contact_groups nullcontact register 0 } define host{ use noservice-host host_name c12-idf10-w12 alias c12-idf10-w12.joag.com address 10.10.90.100 parents c37-idf10-m02 } Can anyone help me troubleshoot this? If I look at "view config" under "hosts" I notice one strange thing: None of my hosts have "yes" under "Enable Active Checks". Which I thought should be turned on since I am setting both check_interval=1 and active_checks_enabled=1. TIA! Josh Van As ************************************************************************ ************************************************************************ ************************************************************************ ********** The information transmitted is intended only for the person to whom it is addressed and may be confidential and privileged and protected from disclosure. Any review, retransmission, dissemination or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipients are prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. ************************************************************************ ************************************************************************ ************************************************************************ ********** -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.garrett at shell.com Mon Feb 14 14:57:55 2005 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITISEEEE) Date: Mon, 14 Feb 2005 13:57:55 -0000 Subject: Nagios V2 Hostgroup escalations Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D50147889F@abe-s-039.europe.shell.com> Folks As I understand Hostgroup / Service escalations have now been removed. I am sure there must have been a good reason for this , but now need to re-write *.cfg files. A small sample of the autogenerated nagios config file # Host abe-u-s00055 sun check host alive define host{ use generic-host host_name abe-u-s00055 alias abe_geoportal_apps_servers address 134.What.ever check_command check-host-alive max_check_attempts 10 notification_interval 7 notification_period 24x7 notification_options d,u,r } #Serviceescalation definition abe-u-s00055 sun PING define serviceescalation{ host_name abe-u-s00055 service_description PING first_notification 2 last_notification 2 contact_groups sun-admins-escalation notification_interval 0 } #Service Definition abe-u-s00055 sun PING define service{ use generic-service host_name abe-u-s00055 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sun-admins notification_interval 7 notification_period 24x7 notification_options c,r check_command check_newping } # List of which machines are part of Sun-Servers group define hostgroup{ hostgroup_name sun-servers alias Sun Servers contact_groups sun-admins members abe-u-s00055 # Hostgroup 'sun-servers' escalation definition define hostgroupescalation{ hostgroup_name sun-servers first_notification 2 last_notification 2 contact_groups sccalert-admins notification_interval 0 } Any idea , on how to re-write this under Nagios V2.X Thanks Matt Matthew Garrett Linux / Unix Help Desk EP Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 7920 Other Tel: Internal 630 1506 Email: Internet: http://www.shell.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Werner.Flamme at ufz.de Mon Feb 14 15:16:17 2005 From: Werner.Flamme at ufz.de (Werner Flamme) Date: Mon, 14 Feb 2005 15:16:17 +0100 Subject: SSL won't work Message-ID: <4210B2B1.9030800@ufz.de> Hi all, I installed nagios on 1 host and nrpe on 4 hosts and everythings works fine - as long as I use "-n" on both sides. When leaving -n away, I find the following lines in /var/log/messages: ---snip--- Feb 14 14:58:34 sapsid nrpe[23577]: connect from 141.65.xx.yyy (141.65.xx.yyy) Feb 14 14:58:34 sapsid nrpe[23577]: Added command[check_sap_psapfull]=/usr/lib/nagios/plugins/check_sap_cons psapfull SID Feb 14 14:58:34 sapsid nrpe[23577]: Added command[check_sap_psap620full]=/usr/lib/nagios/plugins/check_sap_cons psap620full SID Feb 14 14:58:34 sapsid nrpe[23577]: Added command[check_sap_systemfull]=/usr/lib/nagios/plugins/check_sap_cons systemfull SID Feb 14 14:58:34 sapsid nrpe[23577]: Added command[check_sap_instanz]=/usr/lib/nagios/plugins/check_sap_cons instanzstatus SID Feb 14 14:58:34 sapsid nrpe[23577]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Feb 14 14:58:34 sapsid nrpe[23577]: Handling the connection... Feb 14 14:58:34 sapsid nrpe[23577]: Error: Could not complete SSL handshake. 1 ---pins--- All nagios hosts (SuSE Linux Enterprise Server 8) have openssl-devel-0.9.6g-114 installed. nrpe (and nagios and all plugins) were compiled on the hosts. On the man page of openssl I don't read anything about AES, so I may have the problem Derrick speaks about in README.SSL. I think I need another set of certificate, right? How do I get them? Where to store them? Thanks in advance, \/\/erner -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15, 04318 Leipzig - http://www.ufz.de eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From glestadt4 at yahoo.com Mon Feb 14 17:23:49 2005 From: glestadt4 at yahoo.com (joe ritter) Date: Mon, 14 Feb 2005 08:23:49 -0800 (PST) Subject: nrpe check_disk Message-ID: <20050214162349.65788.qmail@web90109.mail.scd.yahoo.com> Hello, I am usig nagios with check_nrpe to monitor remote hosts running the nrpe daemon. I anm having difficulty with the plugin check_disk. If I run the the command by hand on the nagios hosts all is well: /usr/lib/nagios/plugins/check_nrpe -H 192.168.120.11 -c check_disk -a 20% 10% /dev/cciss/c0d0p1 DISK OK [67334 kB (71%) free on /dev/cciss/c0d0p1] If run the command on the remote hosts all look fine as well: /usr/lib/nagios/plugins/check_disk -w 20% -c 10% /dev/cciss/c0d0p1 DISK OK [67334 kB (71%) free on /dev/cciss/c0d0p1] However when the command is run by the nagios daemon on the moniting host the I recieve the follwoing error in the web interface: Warning threshold must be integer or percentage! Here are the relevant defines I have set up for this plugin: nrpe.cfg on remote host: command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ - p $ARG3$ service.cfg on nagios host: define service{ use generic-service check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 hostgroup_name web_servers contact_groups devs service_description partition_usage2 check_command check_nrpe!check_disk!20%!10%!/ If someone could shed some light on where I am going wrong I would greatly appreciate. Thanks in advance. j. __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nuffers at tsainc.com Mon Feb 14 18:10:52 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Mon, 14 Feb 2005 11:10:52 -0600 Subject: Keep data from Nagios 1.x/MySQL -> Nagios 2.0 In-Reply-To: <20050214041403.E38D68833C@sc8-sf-spam1.sourceforge.net> References: <20050214041403.E38D68833C@sc8-sf-spam1.sourceforge.net> Message-ID: I have been using Nagios 1.x for about 8 months now and we are going to go production very soon. We have some new servers and I thought about going to Nagios 2.x. One of the reasons, I don't want to go there is managing the configuration files. I currently use Nagmin with MySQL database. Works great for entering information. You mentioned about keeping the data in MySQL. How are you going to manage the MySQL database? Entering data? NagMin? I would also be interested in the MySQL export scripts that someone has created. Last question. Is my concern in entering the data in the flat files over the top? We may have a couple of people entering data and I don't want to create problems with that. Thoughts? Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From yatindra.ranpura at ukbroadband.com Mon Feb 14 18:52:36 2005 From: yatindra.ranpura at ukbroadband.com (Yatindra Ranpura) Date: Mon, 14 Feb 2005 17:52:36 -0000 Subject: check_disk plugin problem In-Reply-To: <20050214162349.65788.qmail@web90109.mail.scd.yahoo.com> References: <20050214162349.65788.qmail@web90109.mail.scd.yahoo.com> Message-ID: <20050214175237.2548E4B685@netpilot.ukbroadband.com> Im not sure if I am doing this the correct way, I have pasted the services.cfg portion below that isnt correct, # Service definition define service{ use generic-service ; Name of service template to use host_name fileServer service_description DISK is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_interval 1 notification_period 24x7 notification_options w,u,c,r check_command check_disk 85%, 95% } I would like to monitor all hard drives on a machine called fileServer and set warning and critical alarms at 85% and 95%, Thanks in advance, Yatindra -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron.gage at handleman.com Mon Feb 14 19:17:25 2005 From: ron.gage at handleman.com (Gage, Ron) Date: Mon, 14 Feb 2005 13:17:25 -0500 Subject: check_disk plugin problem Message-ID: <283990F4F0B37641AF824B7AC258E1BE046E1E2E@troy-exch3.handleman.com> Yatrindra: Not sure what version you are running, but this advice is specific for 1.3 The default command name (unless you changed the command name in checkcommands.cfg) is check_local_disk. The default setup has this command with 3 parameters, -w, -c and -p. -w is the warning value, -c is the critical value and -p is path. Thus, to make your command work, try the following: check_command check_local_disk!85!95!/usr/disk1 This, of course, presumes that the volume you want to check space on is mounted as /usr/disk1. Adjust this accordingly... Ron Gage - IT Support Team (IBM) Handleman Corp. Troy, Michigan (248) 362-4400 x4626 ron.gage at handleman.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Yatindra Ranpura Sent: Monday, February 14, 2005 12:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_disk plugin problem Im not sure if I am doing this the correct way, I have pasted the services.cfg portion below that isnt correct, # Service definition define service{ use generic-service ; Name of service template to use host_name fileServer service_description DISK is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_interval 1 notification_period 24x7 notification_options w,u,c,r check_command check_disk 85%, 95% } I would like to monitor all hard drives on a machine called fileServer and set warning and critical alarms at 85% and 95%, Thanks in advance, Yatindra -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.7 - Release Date: 10/02/2005 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JoeRegular at gov.nl.ca Mon Feb 14 20:27:25 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Mon, 14 Feb 2005 15:57:25 -0330 Subject: Trends Not Working - Problem Solved Message-ID: After getting a hint from Marc Powell and Lionel Verscheur concerning the gd libraries I noticed that in the Apache2 error log I was getting errors concerning libgd.so.1.8. However, since I am using SUSE 9.1, I didn't have a libgd.so.1.8 library, I had a libgd.so.2.0.0 library. To solve the problem I simply created a symbolic link to libgd.so.2.0.0 called libgd.so.1.8. Problem solved. Thanks guys, Joe >>> "Marc Powell" 2005-02-09 1:51:07 PM >>> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joe Regular > Sent: Wednesday, February 09, 2005 11:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Trends Not Working > > When trying to access the Trends section I get the following error. Has > anyone encountered this before? > > Server error! > The server encountered an internal error and was unable to complete > your request. > > Error message: > Premature end of script headers: trends.cgi > > If you think this is a server error, please contact the webmaster. > > Error 500 > 10.15.0.205 > Wed Feb 9 13:05:50 2005 > Apache/2.0.49 (Linux/SuSE) HTTP Error 500 is a generic error message when the web server can't figure out what the problem is. There will be more specific information in your apache error_log that should tell you what the problem is. If you can't decipher it, post the full error from the logs to the list as well as specifics about your environment. It's purely a guess but it may be that the gd libraries aren't in the default library path for your web server. -- Marc ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Feb 14 20:43:42 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Feb 2005 20:43:42 +0100 Subject: Trends Not Working - Problem Solved In-Reply-To: References: Message-ID: <4210FF6E.1070102@op5.se> Joe Regular wrote: > After getting a hint from Marc Powell and Lionel Verscheur concerning > the gd libraries I noticed that in the Apache2 error log I was getting > errors concerning libgd.so.1.8. However, since I am using SUSE 9.1, I > didn't have a libgd.so.1.8 library, I had a libgd.so.2.0.0 library. To > solve the problem I simply created a symbolic link to libgd.so.2.0.0 > called libgd.so.1.8. Problem solved. > This link might vanish the next time you or a package you install runs ldconfig. > Thanks guys, > Joe > > >>>>"Marc Powell" 2005-02-09 1:51:07 PM >>> > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Joe Regular >>Sent: Wednesday, February 09, 2005 11:12 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Trends Not Working >> >>When trying to access the Trends section I get the following error. > > Has > >>anyone encountered this before? >> >>Server error! >>The server encountered an internal error and was unable to complete >>your request. >> >>Error message: >>Premature end of script headers: trends.cgi >> >>If you think this is a server error, please contact the webmaster. >> >>Error 500 >>10.15.0.205 >>Wed Feb 9 13:05:50 2005 >>Apache/2.0.49 (Linux/SuSE) > > > HTTP Error 500 is a generic error message when the web server can't > figure out what the problem is. There will be more specific > information > in your apache error_log that should tell you what the problem is. If > you can't decipher it, post the full error from the logs to the list > as > well as specifics about your environment. It's purely a guess but it > may > be that the gd libraries aren't in the default library path for your > web > server. > > -- > Marc > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmith at RadioFrameNetworks.com Mon Feb 14 21:48:30 2005 From: csmith at RadioFrameNetworks.com (Christopher Smith) Date: Mon, 14 Feb 2005 12:48:30 -0800 Subject: [Possible Spam] - Re: host down but up problem Message-ID: <4EE8236B66247849BD4E1B5383AF4F48021EB5@exchwaus01.redmond.radioframenetworks.com> Andreas, et al: Thank you for your assistance in this matter. The steps listed below provided the necessary link. While I was changing the permissions on the "/usr/lib/nagios/plugins/check_icmp," it also needed to be set at the "/usr/local/nagios/libexec/check_icmp" (or maybe that is where I should have been initially). Again, thank you. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Saturday, February 12, 2005 2:52 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Possible Spam] - Re: [Nagios-users] host down but up problem Christopher Smith wrote: > Okay, so I am having this problem with the Check_Icmp plugin. > > If I run the check_icmp as the default nagios user account, I receive > a status information message in Nagios stating that 'Root access > needed (for raw sockets)' is necessary. Yet, as stipulated by > another's post, it runs as root, no problem. I have verified that the > permissions (from > Linux) are set correctly. > > This is 1.4.x of the plugins running on SuSE 9.1 and Nagios 1.2. > > How does one get around this? > Nagios doesn't run it as root, so it needs to be setuid 0 to get access to raw sockets and send ICMP messages. The following commands should get it working for you. su - root chown root:root /usr/local/nagios/libexec/check_icmp chmod 4755 /usr/local/nagios/libexec/check_icmp su - nagios /usr/local/nagios/libexec/check_icmp -H localhost > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas > Ericsson > Sent: Wednesday, February 09, 2005 7:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Possible Spam] - Re: [Nagios-users] host down but up problem > > Serveur-Faucon Surveillance wrote: > >>Hi all, >> >>I have been using Nagios for quite a while now over 2 years, so I am >>pretty familiar with it. >> >>One of my host recently went to a down state on the network status, >>but is actually UP. This is not FAQ F0015 or F0016 related, since the >>same command is used by all other hosts (and they are just fine). >> >>I use the check_host_alive default command to check on hosts status >>(yeah I know, I dont use the hip (new, cool) check_icmp from Andreas >>Ericsson for now. Later) >> > > > Don't know about hip and cool, but you're probably better off without > it. "Don't fix it if it ain't broken". > > >>So I went to my console to try a couple of things... ping myhost = ok! > > >>check_ping -H myhost etc etc = ok! (exactly like the >>check_host_alive) >> >>So... my next theory would be to erase everything from that host in >>the history, and start over. But before that, is there someone who >>actually had something like that? >> >>There was the bug witch two nagios process could run at the same time, > > >>but that's not it. Thanks! >> > > > This can happen properly when the host starts flapping while down and > comes out OK on the other end of the flapping. Assuming you aren't > running 2.0 with f among your notification_options, ofcourse. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aurbain at adeptra.com Mon Feb 14 22:06:55 2005 From: aurbain at adeptra.com (Aaron Urbain) Date: Mon, 14 Feb 2005 16:06:55 -0500 Subject: Nagios V2 Hostgroup escalations In-Reply-To: <4E88F6699E4BAE41B724A3EC3CC457D50147889F@abe-s-039.europe.shell.com> References: <4E88F6699E4BAE41B724A3EC3CC457D50147889F@abe-s-039.europe.shell.com> Message-ID: <421112EF.1010605@adeptra.com> same here, would be very good to have hostgroup service escalations, or better yet, host name and service name of * for all hosts and services. Garrett, Matt M SITI-ITISEEEE wrote: > Folks > > As I understand Hostgroup / Service escalations have now been removed. > > I am sure there must have been a good reason for this , but now need > to re-write *.cfg files. > > A small sample of the autogenerated nagios config file > > # Host abe-u-s00055 sun check host alive > define host{ > use generic-host > host_name abe-u-s00055 > alias abe_geoportal_apps_servers > address 134.What.ever > check_command check-host-alive > max_check_attempts 10 > notification_interval 7 > notification_period 24x7 > notification_options d,u,r > } > > #Serviceescalation definition abe-u-s00055 sun PING > define serviceescalation{ > host_name abe-u-s00055 > service_description PING > first_notification 2 > last_notification 2 > contact_groups sun-admins-escalation > notification_interval 0 > } > > #Service Definition abe-u-s00055 sun PING > define service{ > use generic-service > host_name abe-u-s00055 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups sun-admins > notification_interval 7 > notification_period 24x7 > notification_options c,r > check_command check_newping > } > > > # List of which machines are part of Sun-Servers group > define hostgroup{ > hostgroup_name sun-servers > alias Sun Servers > contact_groups sun-admins > members abe-u-s00055 > > # Hostgroup 'sun-servers' escalation definition > define hostgroupescalation{ > hostgroup_name sun-servers > first_notification 2 > last_notification 2 > contact_groups sccalert-admins > notification_interval 0 > } > > > > Any idea , on how to re-write this under Nagios V2.X > > Thanks > > Matt > > > > > > Matthew Garrett > Linux / Unix Help Desk EP > Shell Information Technology International Limited > Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom > > * Tel: * +44 (0)1224 81 7920 * Other Tel: * Internal 630 1506 > * Email: * > * Internet: * http://www.shell.com > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmoogle at gmail.com Mon Feb 14 22:29:11 2005 From: kmoogle at gmail.com (kmoogle) Date: Mon, 14 Feb 2005 15:29:11 -0600 Subject: Compile issues on older system In-Reply-To: <20050213041307.02B3A130AE@sc8-sf-spam2.sourceforge.net> References: <20050213041307.02B3A130AE@sc8-sf-spam2.sourceforge.net> Message-ID: <5483568f050214132958eccfb0@mail.gmail.com> Things were looking great until.. cgi.o xstatusdata-cgi.o -lgd -lttf -lpng -ljpeg -lz -lm gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o histogram.cgi histogram.c getcgi.o cgiutils.o cgiauth.o objects-cgi.o xobjects-cgi.o statu sdata-cgi.o xstatusdata-cgi.o -lgd -lttf -lpng -ljpeg -lz -lm make[1]: Leaving directory `/opt/src/nagios-2.0b2/cgi' cd ./html && make make[1]: Entering directory `/opt/src/nagios-2.0b2/html' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/src/nagios-2.0b2/html' cd ./module && make make[1]: Entering directory `/opt/src/nagios-2.0b2/module' gcc -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c /usr/lib/crt1.o: In function `_start': /usr/lib/crt1.o(.text+0x18): undefined reference to `main' /tmp/ccJ6bUlv.o: In function `nebmodule_init': /opt/src/nagios-2.0b2/module/helloworld.c:45: undefined reference to `write_to_all_logs' /opt/src/nagios-2.0b2/module/helloworld.c:50: undefined reference to `write_to_all_logs' /opt/src/nagios-2.0b2/module/helloworld.c:55: undefined reference to `schedule_new_event' /tmp/ccJ6bUlv.o: In function `nebmodule_deinit': /opt/src/nagios-2.0b2/module/helloworld.c:68: undefined reference to `write_to_all_logs' /tmp/ccJ6bUlv.o: In function `reminder_message': /opt/src/nagios-2.0b2/module/helloworld.c:81: undefined reference to `write_to_all_logs' collect2: ld returned 1 exit status make[1]: *** [helloworld.o] Error 1 make[1]: Leaving directory `/opt/src/nagios-2.0b2/module' make: *** [all] Error 2 Not a huge deal. I'm going to upgrade the box soon anyway. If you have any suggestions, as always, they're appreciated. Take care. :) > Date: Sat, 12 Feb 2005 12:22:38 +0100 > From: Andreas Ericsson > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Compile issues on older system > > kmoogle wrote: > > I'm trying to compile nagios-2.0b2 on an older system (my apologies in > > advance) -- but have run into an issue. './configure' runs properly, > > but fails on the 'make'. It currently runs Nagios 1.2. > > > > Any assistance is appreciated. > > > > Thank you. > > > > ======> Specifics > > gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) > > GNU Make version 3.78.1 > > GNU ld version 2.9.5 (with BFD 2.9.5.0.22) > > ldd (GNU libc) 2.1.3 > > kernel 2.4.23 > > GNU C Library stable release version 2.1.3 > > > > ======> 'make all' output > > [nagios-2.0b2]# make all > > cd ./base && make > > make[1]: Entering directory `/opt/src/nagios-2.0b2/base' > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c > > In file included from ../include/nebmods.h:31, > > from broker.c:33: > > ../include/nebmodules.h:78: parse error before `lt_ptr' > > Install latest libtool with header files and such, or try ./configure > --disable-event-broker. It's enabled by default, but the libtool support > autodetection is a bit shoddy. > > There aren't that many modules to Nagios as of yet, so the usefulness of > the event broker is still pretty limited. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m at rtij.nl Mon Feb 14 23:32:29 2005 From: m at rtij.nl (Martijn Lievaart) Date: Mon, 14 Feb 2005 23:32:29 +0100 Subject: nrpe check_disk In-Reply-To: <20050214162349.65788.qmail@web90109.mail.scd.yahoo.com> References: <20050214162349.65788.qmail@web90109.mail.scd.yahoo.com> Message-ID: <421126FD.7010503@rtij.nl> joe ritter wrote: >Hello, >I am usig nagios with check_nrpe to monitor remote >hosts running the nrpe daemon. I anm having difficulty >with the plugin check_disk. If I run the the command >by hand on the nagios hosts all is well: > > /usr/lib/nagios/plugins/check_nrpe -H 192.168.120.11 >-c check_disk -a 20% 10% /dev/cciss/c0d0p1 >DISK OK [67334 kB (71%) free on /dev/cciss/c0d0p1] > >If run the command on the remote hosts all look fine >as well: > > /usr/lib/nagios/plugins/check_disk -w 20% -c 10% >/dev/cciss/c0d0p1 >DISK OK [67334 kB (71%) free on /dev/cciss/c0d0p1] > > >However when the command is run by the nagios daemon >on the moniting host the I recieve the follwoing error >in the web interface: > >Warning threshold must be integer or percentage! > >Here are the relevant defines I have set up for this >plugin: > >nrpe.cfg on remote host: > >command[check_disk]=/usr/lib/nagios/plugins/check_disk > -w $ARG1$ -c $ARG2$ - >p $ARG3$ > > > You do have nrpe compiled with remote args? Otherwise it will not see the arguments. M4 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvanas at jackofallgames.com Tue Feb 15 00:10:44 2005 From: jvanas at jackofallgames.com (Josh Van As) Date: Mon, 14 Feb 2005 18:10:44 -0500 Subject: Statusmap page errors Message-ID: When I go to the status map page I get this error: 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 localhost 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. Here is the error in the httpd error_log: [Mon Feb 14 18:06:09 2005] [error] [client 10.10.22.11] Premature end of script headers: statusmap.cgi, referer: http://t2utlmon03.joag.com/nagios/side.html [Mon Feb 14 18:06:09 2005] [error] [client 10.10.22.11] /usr/local/nagios/sbin/statusmap.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory, referer: http://t2utlmon03.joag.com/nagios/side.html [Mon Feb 14 18:06:13 2005] [error] [client 10.10.22.11] Premature end of script headers: statusmap.cgi, referer: http://t2utlmon03.joag.com/nagios/side.html [Mon Feb 14 18:06:13 2005] [error] [client 10.10.22.11] /usr/local/nagios/sbin/statusmap.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory, referer: http://t2utlmon03.joag.com/nagios/side.html I am running: Red Hat Linux Enterprise V3. Nagios 2.0b2. Any ideas? TIA! Josh Van As ********************************************************************************************************************************************************************************************************************************** The information transmitted is intended only for the person to whom it is addressed and may be confidential and privileged and protected from disclosure. Any review, retransmission, dissemination or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipients are prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. ********************************************************************************************************************************************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Feb 15 00:20:00 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 14 Feb 2005 18:20:00 -0500 (EST) Subject: Where are the $ARGn$ macros will come from?? In-Reply-To: <1433.202.90.128.21.1108398740.squirrel@mail.pregi.net> References: <1433.202.90.128.21.1108398740.squirrel@mail.pregi.net> Message-ID: On Mon, 14 Feb 2005 matato at pregi.net wrote: > Hi, > I'm a little bit confuse about where the $ARGn$ macros will come from. > for example, I have a service named squid and I used the check_tcp as its > checkcommand.the actual command_line is: > /usr/local/nagios/libexec/check_tcp -H $HOSTADDRESS$ -p $ARG1$ > Where $ARG1$ must be the port the service is listening on. In my case 3128. > > I know that the $HOSTADDRESS$ will automatically be the address of the > host the service belongs to, but how about the $ARG1$. How will I tell > nagios that, "hey, this number "3128" is the $ARG1$, this is the port you > should check for tcp connection". Is it included in any configuration > file? > Any idea?? thanks. > In the service definition's check command, all items demarcated by "!" (bang) following the command name are the ARGn macro values check_squid!3128 $ARG1$ == 3128 -- -sg ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Feb 15 00:35:35 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 14 Feb 2005 18:35:35 -0500 (EST) Subject: Statusmap page errors In-Reply-To: References: Message-ID: On Mon, 14 Feb 2005, Josh Van As wrote: > When I go to the status map page I get this error: > > > 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 localhost 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. > > > > Here is the error in the httpd error_log: > > [Mon Feb 14 18:06:09 2005] [error] [client 10.10.22.11] Premature end of > script headers: statusmap.cgi, referer: > http://t2utlmon03.joag.com/nagios/side.html > > [Mon Feb 14 18:06:09 2005] [error] [client 10.10.22.11] > /usr/local/nagios/sbin/statusmap.cgi: error while loading shared > libraries: libgd.so.2: cannot open shared object file: No such file or > directory, referer: http://t2utlmon03.joag.com/nagios/side.html > > [Mon Feb 14 18:06:13 2005] [error] [client 10.10.22.11] Premature end of > script headers: statusmap.cgi, referer: > http://t2utlmon03.joag.com/nagios/side.html > > [Mon Feb 14 18:06:13 2005] [error] [client 10.10.22.11] > /usr/local/nagios/sbin/statusmap.cgi: error while loading shared > libraries: libgd.so.2: cannot open shared object file: No such file or > directory, referer: http://t2utlmon03.joag.com/nagios/side.html > > > > > > I am running: Red Hat Linux Enterprise V3. Nagios 2.0b2. > > RHEL3 ships with gd v1.8 so during compile time you must have specified gd v2 from a /usr/local other non-default install location. You need to add this lib path to /etc/ld.so.conf and run ldconfig -- -sg ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From csmith at RadioFrameNetworks.com Tue Feb 15 00:38:49 2005 From: csmith at RadioFrameNetworks.com (Christopher Smith) Date: Mon, 14 Feb 2005 15:38:49 -0800 Subject: Question regarding custom notifications Message-ID: <4EE8236B66247849BD4E1B5383AF4F48021EB9@exchwaus01.redmond.radioframenetworks.com> I lost the email thread from roughly 1 month, detailing the custom notifications. Is there a permanent link to this somewhere? Christopher M. Smith Systems Administrator RadioFrame Networks 1120 112th Avenue N.E., Suite 600 Bellevue, WA 98004 http://www.radioframenetworks.com O: 425.278.2661 F: 425.278.2861 M: 425.208.5198 csmith at radioframenetworks.com ........................................................................ .......... The only converged system designed to optimize in-building voice over cellular / PCS and WLANs Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Feb 15 00:47:47 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 14 Feb 2005 18:47:47 -0500 (EST) Subject: Question regarding custom notifications In-Reply-To: <4EE8236B66247849BD4E1B5383AF4F48021EB9@exchwaus01.redmond.radioframenetworks.com> References: <4EE8236B66247849BD4E1B5383AF4F48021EB9@exchwaus01.redmond.radioframenetworks.com> Message-ID: http://news.gmane.org/gmane.network.nagios.user On Mon, 14 Feb 2005, Christopher Smith wrote: > I lost the email thread from roughly 1 month, detailing the custom > notifications. Is there a permanent link to this somewhere? > > > Christopher M. Smith > Systems Administrator > RadioFrame Networks > 1120 112th Avenue N.E., Suite 600 > Bellevue, WA 98004 > http://www.radioframenetworks.com > > O: 425.278.2661 > F: 425.278.2861 > M: 425.208.5198 > csmith at radioframenetworks.com > -- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matato at pregi.net Tue Feb 15 09:48:28 2005 From: matato at pregi.net (matato at pregi.net) Date: Tue, 15 Feb 2005 08:48:28 -0000 (GMT) Subject: Do I really need to have an account for postgresql and mysql?? Message-ID: <3493.202.90.128.27.1108457308.squirrel@mail.pregi.net> Hi, We have servers running postgresql and mysql. The plugin requires username and password. Do I really need to ask for the password and username of the administrator of those database servers? Thank you very much. jay ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Feb 15 02:30:55 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 15 Feb 2005 14:30:55 +1300 Subject: check_ldaps problems with startTLS Message-ID: <011b01c512fd$fe7dcb90$01fea8c0@itss.auckland.ac.nz> I'm having problems in making check_ldap work with our SSL LDAP servers. I'm trying to do an authenticated bind, with TLS, but the TLS can never start. ./check_ldaps -H ecedir-01.ec -b ou=ec,o=uoa -D cn=yyyyyyyy,ou=webapps,ou=ec,o=uoa -P xxxxxx Could not init startTLS at port 389: Connect error This is nagios-plugins v1.4 with a slightly enhanced error output. I have softlinked check_ldaps->check_ldap as required. I can successfully perform an anonymous bind without SSL ./check_ldap -H ecedir-01.ec -b ou=ec,o=uoa LDAP OK - 0.282 seconds response time|time=0.281768s;;;0.000000 but out server does not permit authenticated binds unless you use SSL, and if you use SSL, then you must authenticate. ./check_ldap -H ecedir-01.ec -b o=uoa -D cn=yyyyyyyyy,ou=webapps,ou=ec,o=uoa -P xxxxxxx Could not bind to the ldap-server: Confidentiality required Now this would seem to indicate that the SSL is somehow screwed; however the OpenSSL is working fine for ssh and other applications. The compile of check_ldap was also done on this machine and the configure process went through cleanly. It's not a bad password; it doesn't get that far. It fails in the StartTLS, for which I (inconveniently) have no documentation. Does anyone have any ideas what the problem could be? Hopefully, I am merely doing something amazingly stupid which is easy to correct :) Thanks in advance, Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From matato at pregi.net Tue Feb 15 10:38:56 2005 From: matato at pregi.net (matato at pregi.net) Date: Tue, 15 Feb 2005 09:38:56 -0000 (GMT) Subject: Question regarding services without plugins to check them Message-ID: <3770.202.90.128.27.1108460336.squirrel@mail.pregi.net> Hi, We have these servers running services that doesn't have any plugin associated with them(though i'm not so sure). Some of these services are: zebra ospf ospfd bgp bgpd netbios-ssn netview-aix-1 squid I did a google on squid however and learned from someone that he used check_tcp for it. Since these services runs on tcp, is it safe to assume that a tcp checking made by check_tcp will definitely prove that the service is running ok? If this is so, does it mean that check_tcp will work for any other services like ftp, smtp, pop etc.??? And one more thing, do I really need to have a database account for mysql and postgresql to be able to run the check_mysql and check_pgsql plugins?I've tried the one for pgsql because I have a database account and the plugin worked using the default template of postgresql as its data... I'm thinking perhaps I'm going to create a dummy template on each servers running mysql and postgresql and also dummy accounts to make the plugins work, but I guess that would be troublesome and I'm not so sure if the database administrators of those servers will allow me to do so.Any idea? Thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matato at pregi.net Tue Feb 15 10:41:43 2005 From: matato at pregi.net (matato at pregi.net) Date: Tue, 15 Feb 2005 09:41:43 -0000 (GMT) Subject: Question regarding services without plugins to check them Message-ID: <4253.202.90.128.27.1108460503.squirrel@mail.pregi.net> Hi, We have these servers running services that doesn't have any plugin associated with them(though i'm not so sure). Some of these services are: zebra ospf ospfd bgp bgpd netbios-ssn netview-aix-1 squid I did a google on squid however and learned from someone that he used check_tcp for it. Since these services runs on tcp, is it safe to assume that a tcp checking made by check_tcp will definitely prove that the service is running ok? If this is so, does it mean that check_tcp will work for any other services like ftp, smtp, pop etc.??? And one more thing, do I really need to have a database account for mysql and postgresql to be able to run the check_mysql and check_pgsql plugins?I've tried the one for pgsql because I have a database account and the plugin worked using the default template of postgresql as its data... I'm thinking perhaps I'm going to create a dummy template on each servers running mysql and postgresql and also dummy accounts to make the plugins work, but I guess that would be troublesome and I'm not so sure if the database administrators of those servers will allow me to do so.Any idea? Thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Tue Feb 15 03:03:55 2005 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 15 Feb 2005 10:03:55 +0800 Subject: Question regarding services without plugins to check them In-Reply-To: <4253.202.90.128.27.1108460503.squirrel@mail.pregi.net> References: <4253.202.90.128.27.1108460503.squirrel@mail.pregi.net> Message-ID: <20050215020355.GA29431@quex.org> On Tue, Feb 15, 2005 at 09:41:43AM -0000, matato at pregi.net wrote: > I did a google on squid however and learned from someone that he used > check_tcp for it. Since these services runs on tcp, is it safe to > assume that a tcp checking made by check_tcp will definitely prove > that the service is running ok? No, a TCP connection check does not definitely prove that the service is running okay. If it's out of disc space or the upstream network is broken, a server may very well accept a connection but not be able to do anything useful with it. It is a reasonable indicator that the service is actually running on the host, however. > If this is so, does it mean that check_tcp will work for any other > services like ftp, smtp, pop etc.??? It isn't so, but you can use it to test if the service is running. Some of these do have specific plugins, or you can use the options of the check_tcp plugin to check for the expected "welcome banner" that FTP, SMTP, POP3, and many other services send when they receive a client connection. This will give you a better idea of whether the program providing the service is functioning, but many servers will still send a welcome banner even if they're unable to do their task; it's not until a client requests an action that it discovers it hasn't sufficient resources to carry it out. You need to decide how thoroughly you want to test services. For squid, you could send an HTTP request through it and make sure it's able to retrieve the page - but then, if the server you've picked as your testbed goes down, you'll get an error even though your proxy is actually functioning fine. For SMTP, you can even do a complete test - send the mail through one server, and make sure it's received at the final destination. This takes a bit more work, of course, but provides a better check than just "when I connect to port 25, does it say hello?". When deciding how thorough to make your tests, keep in mind that you'll probably need to write your own plugins for some of them (not that it's difficult, but can take some time), and also that you'll be increasing the load on your services. You might like to start with basic check_tcp type checks, and then get more elaborate for especially critical services. > And one more thing, do I really need to have a database account for > mysql and postgresql to be able to run the check_mysql and check_pgsql > plugins? Of course. These plugins log in to the database and check it's functioning correctly; exactly how they check it I'm not sure, but they do obviously require access to the database they're checking. You could use a check_tcp to ensure the port is open, but that doesn't check authentication is working, or that the drive the database is on hasn't failed and it's all completely broken (unless the database server exits/crashes when the media fails), etc. > I've tried the one for pgsql because I have a database account and the > plugin worked using the default template of postgresql as its data... > I'm thinking perhaps I'm going to create a dummy template on each > servers running mysql and postgresql and also dummy accounts to make > the plugins work, but I guess that would be troublesome and I'm not so > sure if the database administrators of those servers will allow me to > do so.Any idea? That's what you'll need to do, pretty much - though testing a dummy database won't tell you if the ones people actually need are broken. When creating the database accounts for the plugin, make sure they have the least required privileges possible. I'm not sure how the plugins work, but you may be able to get a stored procedure created that does the testing, and allow the account Nagios uses for the checks to run the stored procedure, but with no other access. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bugsweber at yahoo.com.sg Tue Feb 15 05:12:29 2005 From: bugsweber at yahoo.com.sg (bugs killa) Date: Tue, 15 Feb 2005 12:12:29 +0800 (CST) Subject: basic question again Message-ID: <20050215041229.69554.qmail@web41505.mail.yahoo.com> i'm about to try nagios to monitor my network could you tell me the list of package that i need to install nagios thanks advance and sorry for my bad english __________________________________________________ Do You Yahoo!? Download the latest ringtones, games, and more! http://sg.mobile.yahoo.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Tue Feb 15 06:05:55 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 15 Feb 2005 15:05:55 +1000 Subject: Running Nagios 1.2 on RH EL3 Message-ID: <42118333.6080108@qut.edu.au> Hi all, Has anyone here run Nagios 1.2 (stable) on RH EL3? I'm trying to find the cause of the segfaults that Nagios is giving me... -- Greg Vickers Lab Monitor Project Manager Teaching and Learning Support Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 8276 mobile: 0416 001 674, SD #6 6147 CIROS code: 00213J ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Tue Feb 15 06:40:20 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 14 Feb 2005 23:40:20 -0600 (CST) Subject: Running Nagios 1.2 on RH EL3 In-Reply-To: <42118333.6080108@qut.edu.au> References: <42118333.6080108@qut.edu.au> Message-ID: On Tue, 15 Feb 2005, Greg Vickers wrote: > Hi all, > > Has anyone here run Nagios 1.2 (stable) on RH EL3? I'm trying to find > the cause of the segfaults that Nagios is giving me... I'm running the Nagios 1.2 binary provided by the Dag RPM here: http://dag.wieers.com/packages/nagios/nagios-1.1-6.rhel3.dag.i386.rpm I've had no problems with any of the RH kernels, 2.4.21-4 through 2.4.21-27. Tried strace? --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Tue Feb 15 07:33:56 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Tue, 15 Feb 2005 12:03:56 +0530 Subject: Running Nagios 1.2 on RH EL3 In-Reply-To: <42118333.6080108@qut.edu.au> References: <42118333.6080108@qut.edu.au> Message-ID: <559e3cb605021422334e0a3be6@mail.gmail.com> If your rpm -qa gives you "nagios-1.2-0.rhel3.dag" then yeh i have used it for quite sometime. Untill i migrated to 2 which i compiled from the source. Trevor On Tue, 15 Feb 2005 15:05:55 +1000, Greg Vickers wrote: > Hi all, > > Has anyone here run Nagios 1.2 (stable) on RH EL3? I'm trying to find > the cause of the segfaults that Nagios is giving me... > > -- > Greg Vickers > Lab Monitor Project Manager > Teaching and Learning Support Services > Information Technology Services > Queensland University of Technology > > email: g.vickers at qut.edu.au > phone: (07) 3864 8276 > mobile: 0416 001 674, SD #6 6147 > > CIROS code: 00213J > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please incl