From scubacuda at gmail.com Mon Oct 1 01:41:48 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Sun, 30 Sep 2007 16:41:48 -0700 Subject: Nagios and Capacity Planning In-Reply-To: <6546343904687E41B19D8E5A26AB9F5301722A68@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F5301722A68@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <2b7af7c40709301641y4ced4037l5f6e67cafece1469@mail.gmail.com> On 9/28/07, tom.welsh at bt.com wrote: > > Hi All, > > Does anyone know off a capacity planning add-on for Nagios or are others > using data from Nagios to perform capacity planning functions? > I am unaware of any "add-on". You have to define all of your checks manually and give threshholds that you have arbitrarily set. Perhaps if you gave us a bit more information as to what exactly you're trying to accomplish, one of us might be able to help give you a better answer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Mon Oct 1 04:17:03 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Sun, 30 Sep 2007 22:17:03 -0400 Subject: Nagios and Capacity Planning In-Reply-To: <2b7af7c40709301641y4ced4037l5f6e67cafece1469@mail.gmail.com> References: <6546343904687E41B19D8E5A26AB9F5301722A68@E03MVB2-UKBR.domain1.systemhost.net> <2b7af7c40709301641y4ced4037l5f6e67cafece1469@mail.gmail.com> Message-ID: <2274b9c30709301917y418f12a0p51edf1b42b0a0732@mail.gmail.com> If you mean capacity planning of the resources being monitored, then just ensure your check results contain performance data. There are many tools which can take the data, store it in a db, and graph it. If you're talking capacity planning for the monitoring servers (100 monitored devices today 500 in 3 months...) that's an entirely more complicated discussion, and you'll need to provide more details (number of services, types of checks (active/passive,snmp/nrpe/ping?) --kyleo On 9/30/07, Rogelio Bastardo wrote: > > On 9/28/07, tom.welsh at bt.com wrote: > > > > Hi All, > > > > Does anyone know off a capacity planning add-on for Nagios or are others > > using data from Nagios to perform capacity planning functions? > > > I am unaware of any "add-on". You have to define all of your checks > manually and give threshholds that you have arbitrarily set. > > Perhaps if you gave us a bit more information as to what exactly you're > trying to accomplish, one of us might be able to help give you a better > answer. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.wing at steria.co.uk Mon Oct 1 09:50:04 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Mon, 1 Oct 2007 08:50:04 +0100 Subject: check_cluster config Message-ID: <012001c803ff$adac6780$9702a8c0@uk.sterianet> Hi I am trying to setup the check_cluster service I have 2 aix client machines configured for HACMP and I need to measure the filesystem fullness which I already do for filesystems that remain on each host. I also need to measure the filesystems that will move between hosts if the cluster fails over. For each cluster member I have setup a service to monitor the desired filesystem that moves hosts, so nagios shows the filesystem is OK on the active host and a critical alert on the passive host. I want to use check_cluster to monitor alerts if filesystem is not visible on either host. I have setup the servicecluster.cfg file with the 2 hosts and the service descriptions on each. I have defined the command as follows :- # 'check_service_cluster' command definition define command{ command_name check_service_cluster command_line /usr/local/nagios/libexec/check_cluster --service /usr/local/nagios/var/status.dat $ARG1$ $ARG2$ < $ARG3$ } I have also defined the service against the nagios server as :- define service { host_name aixtest1 service_description hcn cluster status check_command check_service_cluster!1!2!/usr/local/nagios/etc/servicecluster.cfg use generic-service max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r notifications_enabled 1 contact_groups admins } With this setup, nagios gives the error :- Could not parse arguments Has anybody done this sort of thing before and have any ideas why it is not working. Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk.  This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Mon Oct 1 12:26:18 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 1 Oct 2007 12:26:18 +0200 Subject: Nc-Net issue Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E19A1@hermes.sapphire-int.gi> Hi Tony, I have installed Nc-Net on various Windows systems and have one server that gives the following problem. Everything appears to be monitored fine, except that once in a while check_nt (The Nc-Net version) returns: No data was received from host! This repeats for some time, and eventually fires a Nagios notification. Checking the Windows eventlog I see the following events before the time that the host produces the alert: Timer Elapsed:2878 CCID:2878 For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. The number for CCID & "Timer Elapsed" increases with each event in the event log. Any idea what may cause this? The system is an Active Directory Domain Controller. Thanks Giles -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Mon Oct 1 14:50:34 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 01 Oct 2007 08:50:34 -0400 Subject: check_cluster config In-Reply-To: <012001c803ff$adac6780$9702a8c0@uk.sterianet> References: <012001c803ff$adac6780$9702a8c0@uk.sterianet> Message-ID: <4700ED1A.2060600@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/10/07 03:50 AM, stephen wing wrote: > Hi > > I am trying to setup the check_cluster service > > I have 2 aix client machines configured for HACMP and I need to measure > the filesystem fullness which I already do for filesystems that remain > on each host. I also need to measure the filesystems that will move > between hosts if the cluster fails over. For each cluster member I have > setup a service to monitor the desired filesystem that moves hosts, so > nagios shows the filesystem is OK on the active host and a critical > alert on the passive host. > > I want to use check_cluster to monitor alerts if filesystem is not > visible on either host. > > > > I have setup the servicecluster.cfg file with the 2 hosts and the > service descriptions on each. > > I have defined the command as follows :- > > > > # 'check_service_cluster' command definition > > define command{ > > command_name check_service_cluster > > command_line /usr/local/nagios/libexec/check_cluster > --service /usr/local/nagios/var/status.dat $ARG1$ $ARG2$ < $ARG3$ I simply can't understand your command line. 1. Make sure you're using a recent enough Nagios-plugins version that ships check_cluster as a core plug-in (everything in /contrib is unsupported). 2. the command line looks like this: check_cluster (-s | -h) -d val1[,val2,...,valn] [-l label] [-w threshold] [-c threshold] So basically you will have to pass the following arguments (assuming $USER1$ is the path to the plugins directory): $USER1$/check_cluster -s -d $ARG1$,$ARG2$ -l "$ARG3$" -c 1 Then in your service check (change the "_" to spaces if you like, they are there for line-wrapping issues): check_service_cluster!$SERVICESTATEID:server1:Shared_disk$!$SERVICESTATEID:server2:Shared_disk$!Shared_disks Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAO0a6dZ+Kt5BchYRAgPfAKDauX4V4LFrUKcMEl5aVqPFqjM7CACg1n1C mRrgvBf7D53MQGhHODEux5A= =+GpD -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.wing at steria.co.uk Mon Oct 1 15:49:40 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Mon, 1 Oct 2007 14:49:40 +0100 Subject: check_cluster config In-Reply-To: <4700ED1A.2060600@aei.ca> References: <4700ED1A.2060600@aei.ca> Message-ID: <016101c80431$ea4b9670$9702a8c0@uk.sterianet> Hi Thomas Thanks for the reply. In the check_service_cluster setup that you have described, what is the variable Shared_disk$ set to because the way that I am doing this is that I have setup a service for both server1 and server2 to search for the following filesystem :- /hcndata To do this I have the nrpe daemon running on both servers and a service running against both these servers as follows :- define service { host_name hcntest service_description /hcndata Free Space check_command check_nrpe!check_hcndata use generic-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,c,r contact_groups admins } The check_hcndata command is defined in the nrpe.cfg file on each server which uses the check_disk command to measure the filesystem fullness. Hope you can understand the setup that I have. Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: 01 October 2007 13:51 To: stephen wing Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_cluster config -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/10/07 03:50 AM, stephen wing wrote: > Hi > > I am trying to setup the check_cluster service > > I have 2 aix client machines configured for HACMP and I need to measure > the filesystem fullness which I already do for filesystems that remain > on each host. I also need to measure the filesystems that will move > between hosts if the cluster fails over. For each cluster member I have > setup a service to monitor the desired filesystem that moves hosts, so > nagios shows the filesystem is OK on the active host and a critical > alert on the passive host. > > I want to use check_cluster to monitor alerts if filesystem is not > visible on either host. > > > > I have setup the servicecluster.cfg file with the 2 hosts and the > service descriptions on each. > > I have defined the command as follows :- > > > > # 'check_service_cluster' command definition > > define command{ > > command_name check_service_cluster > > command_line /usr/local/nagios/libexec/check_cluster > --service /usr/local/nagios/var/status.dat $ARG1$ $ARG2$ < $ARG3$ I simply can't understand your command line. 1. Make sure you're using a recent enough Nagios-plugins version that ships check_cluster as a core plug-in (everything in /contrib is unsupported). 2. the command line looks like this: check_cluster (-s | -h) -d val1[,val2,...,valn] [-l label] [-w threshold] [-c threshold] So basically you will have to pass the following arguments (assuming $USER1$ is the path to the plugins directory): $USER1$/check_cluster -s -d $ARG1$,$ARG2$ -l "$ARG3$" -c 1 Then in your service check (change the "_" to spaces if you like, they are there for line-wrapping issues): check_service_cluster!$SERVICESTATEID:server1:Shared_disk$!$SERVICESTATEID:s erver2:Shared_disk$!Shared_disks Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAO0a6dZ+Kt5BchYRAgPfAKDauX4V4LFrUKcMEl5aVqPFqjM7CACg1n1C mRrgvBf7D53MQGhHODEux5A= =+GpD -----END PGP SIGNATURE----- ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. ? This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.knecht at anyweb.ch Mon Oct 1 16:04:19 2007 From: david.knecht at anyweb.ch (David Knecht) Date: Mon, 01 Oct 2007 16:04:19 +0200 Subject: Make a user see only a subset of a monitored host's service checks Message-ID: <4700FE63.7020307@anyweb.ch> Hi all I'd like to define two Nagios login users/contacts where one user sees only a subset of all service checks that are assigned to a single host. Here is an example: The service checks SC1 and SC2 are running against the monitored host H1. User U1 must be able to monitor and control (e. g. enable/disable notifications etc.) H1 as well as SC1 and SC2 through the Nagios web interface while U2 must monitor and control only H1 and SC1. Is this possible? This seems to be an easy one, but I just don't make any progress configuring it... This is what I experience: - If H1 is assigned a contact group and U2 is part of this contact group then U2 sees both SC1 *and* SC2 even if SC2 is not assigned this contact group in the service definition. Is it possible to configure what I have outlined in the above example with Nagios 2.9? If not, might it be done using Nagios 3.0? Actually I assume I am making a configuration fault... Any hint is welcome! Thanks for your help, David ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Mon Oct 1 16:14:17 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Mon, 1 Oct 2007 10:14:17 -0400 Subject: NetApps Monitoring Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A4755@RL03EXCH1.replacements.com> Good Morning, I need some beginner help please with monitoring NetApps. I have downloaded the check_netapp2 plugin however, don't see how to fire it off. Nagios is reporting that the two heads are there but no services are associated with it. I guess that I really just need to define a service to fire off the plugin, but I am at a loss. Nagios Version 3.0a4 Thanks for your help Robert Ferguson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_b at users.sourceforge.net Mon Oct 1 16:18:08 2007 From: alex_b at users.sourceforge.net (Alex Burger) Date: Mon, 01 Oct 2007 10:18:08 -0400 Subject: Make a user see only a subset of a monitored host's service checks In-Reply-To: <4700FE63.7020307@anyweb.ch> References: <4700FE63.7020307@anyweb.ch> Message-ID: <470101A0.3040109@users.sourceforge.net> Hi David. David Knecht wrote: > I'd like to define two Nagios login users/contacts where one user sees > only a subset of all service checks that are assigned to a single host. > > Here is an example: > > The service checks SC1 and SC2 are running against the monitored host > H1. User U1 must be able to monitor and control (e. g. enable/disable > notifications etc.) H1 as well as SC1 and SC2 through the Nagios web > interface while U2 must monitor and control only H1 and SC1. > > Is this possible? > > This seems to be an easy one, but I just don't make any progress > configuring it... > > This is what I experience: > - If H1 is assigned a contact group and U2 is part of this contact group > then U2 sees both SC1 *and* SC2 even if SC2 is not assigned this contact > group in the service definition. The ability to limit what services a user sees is included in a patch I wrote last year to give the Nagios web interface more granular permissions. The patch is available at http://www.fragit.net/nagios.html There is a limitation to the patch where a user can execute a command on the host that includes 'all services on this host' even if he/she can't see the other services. I hope to fix this soon. Alex ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.wing at steria.co.uk Mon Oct 1 16:46:20 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Mon, 1 Oct 2007 15:46:20 +0100 Subject: check_disk command Message-ID: <017a01c80439$d46b7c00$9702a8c0@uk.sterianet> Hi All I have a query regarding the check_disk command running on an AIX machine via the nrpe daemon. I have defined the following commands on my client in the nrpe.cfg file :- command[check_root]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd4 command[check_usr]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd2 command[check_home]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd1 command[check_var]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd9var command[check_tmp]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd3 command[check_opt]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd10opt command[check_hcndata]=/usr/local/nagios/libexec/check_disk 90 95 /dev/fslv01 These commands work fine and give me the free disk space in the filesystems. My problem is that I unmounted the filesystem /hcndata which has a device name of /dev/fslv01. When this happens I would expect nagios to report that /hcndata filesystem was unavailable. Instead the service reports filesystem OK, but it is giving me the statistics from the / filesystem as checked by the first command, ie check_root. Has anybody else seen this and if so how do I resolve the issue ? I am running nagios 2.9 and nrpe 1.4.9 Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk.  This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Mon Oct 1 16:52:54 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Mon, 01 Oct 2007 10:52:54 -0400 Subject: check_disk command In-Reply-To: <017a01c80439$d46b7c00$9702a8c0@uk.sterianet> References: <017a01c80439$d46b7c00$9702a8c0@uk.sterianet> Message-ID: <1191250374.92544.13.camel@soundwave.pitbpa0.priv.collaborativefusion.com> We would need some sort of POSIX function to check to see if a file descriptor is an anchor/mount-point, otherwise the root file system will always check. ~BAS On Mon, 2007-10-01 at 15:46 +0100, stephen wing wrote: > I have a query regarding the check_disk command running on > an AIX machine via the nrpe daemon. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dennis at huenseler.net Mon Oct 1 16:54:03 2007 From: dennis at huenseler.net (=?UTF-8?Q?Dennis_H=C3=BCnseler?=) Date: Mon, 1 Oct 2007 16:54:03 +0200 Subject: =?UTF-8?Q?check=5Fdisk=20command?= In-Reply-To: <017a01c80439$d46b7c00$9702a8c0@uk.sterianet> References: <017a01c80439$d46b7c00$9702a8c0@uk.sterianet> Message-ID: <1f8ddeb2eefb14e4bfb81dc62b2cf86c@localhost> Hi Stephen, i think yoou should use check_disk 90 95 /hondata/subfolder as check parameter. This returns an error if it doesn't exist. Otherwise the new version of check_disc returns the value of the root partition. Kind regards, Dennis On Mon, 1 Oct 2007 15:46:20 +0100, "stephen wing" wrote: Hi All I have a query regarding the check_disk command running on an AIX machine via the nrpe daemon. I have defined the following commands on my client in the nrpe.cfg file :- command[check_root]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd4 command[check_usr]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd2 command[check_home]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd1 command[check_var]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd9var command[check_tmp]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd3 command[check_opt]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd10opt command[check_hcndata]=/usr/local/nagios/libexec/check_disk 90 95 /dev/fslv01 These commands work fine and give me the free disk space in the filesystems. My problem is that I unmounted the filesystem /hcndata which has a device name of /dev/fslv01. When this happens I would expect nagios to report that /hcndata filesystem was unavailable. Instead the service reports filesystem OK, but it is giving me the statistics from the / filesystem as checked by the first command, ie check_root. Has anybody else seen this and if so how do I resolve the issue ? I am running nagios 2.9 and nrpe 1.4.9 Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk.  This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. kind regards, Dennis H?nseler ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scubacuda at gmail.com Mon Oct 1 17:54:15 2007 From: scubacuda at gmail.com (Rogelio Bastardo) Date: Mon, 1 Oct 2007 08:54:15 -0700 Subject: Nc-Net issue In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57448E19A1@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57448E19A1@hermes.sapphire-int.gi> Message-ID: <2b7af7c40710010854l76f3f8d1q9d4fd53d7e9ff365@mail.gmail.com> On 10/1/07, Giles Coochey wrote: > > Checking the Windows eventlog I see the following events before the time > that the host produces the alert: > Timer Elapsed:2878 > > CCID:2878 > Have you been to eventid.net with your error? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Mon Oct 1 19:24:12 2007 From: zkenton at outcome.com (zack kenton) Date: Mon, 1 Oct 2007 19:24:12 +0200 (CEST) Subject: $ in my notifications Message-ID: <20071001172412.F0D2958001D@desire.netways.de> Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Mon Oct 1 19:32:43 2007 From: zkenton at outcome.com (zack kenton) Date: Mon, 1 Oct 2007 19:32:43 +0200 (CEST) Subject: $ in my notifications Message-ID: <20071001173243.8787C58001D@desire.netways.de> Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Mon Oct 1 19:37:13 2007 From: zkenton at outcome.com (zack kenton) Date: Mon, 1 Oct 2007 19:37:13 +0200 (CEST) Subject: $ in my notifications Message-ID: <20071001173714.7BF3D58001D@desire.netways.de> Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Oct 1 20:04:02 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Mon, 1 Oct 2007 14:04:02 -0400 Subject: Canot read nagios.cfg after the doing precheck help Message-ID: <7abcf48e0710011104k1a0aabb8nbee74e7d5c44ea56@mail.gmail.com> Hey all just installed nagios 2.9 and upgrade from wat i had 2.4 i dont see a diffrence anyways i am trying to run on command line to check for any errors */usr/local/nagios/bin/nagios -v nagios.cfg* ** this is what i get: *> /usr/local/nagios/bin/nagios -v nagios.cfg* Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Cannot open main configuration file '//nagios.cfg' for reading! ***> One or more problems was encountered while processing the config files... 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 regarding the config files, as well as the 'Whats New' section to find out what has changed. *it has to be a permission issue on the nagios.cfg file her are my permission :* *> ls -l* total 80 -rw-rw-r-- 1 nagios nagios 9577 Sep 29 19:30 cgi.cfg -rw-rw-r-- 1 nagios nagios 8579 Sep 29 18:46 commands.cfg -rw-r--r-- 1 root root 26 Sep 29 19:28 htpasswd.users -rw-rw-r-- 1 nagios nagios 12469 Sep 29 18:46 localhost.cfg -rw-rw-r-- 1 nagios nagios 31134 Oct 1 13:45 nagios.cfg -rw-rw---- 1 nagios nagios 1338 Sep 29 18:46 resource.cfg i restarted my apache and because the file cant be ready getting host down on the local host obiusly this has to do with my problem above also i may add i renamed the files from nagios.cfg-sample to nagios.cfg to all .cfg-sample files thanks for help in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Mon Oct 1 20:09:06 2007 From: zkenton at outcome.com (zack kenton) Date: Mon, 1 Oct 2007 20:09:06 +0200 (CEST) Subject: $ in my notifications Message-ID: <20071001180906.D28A658001D@desire.netways.de> Hi list So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Mon Oct 1 20:14:38 2007 From: CWaters at jeld-wen.com (Chris Waters) Date: Mon, 1 Oct 2007 11:14:38 -0700 Subject: Canot read nagios.cfg after the doing precheck help In-Reply-To: <7abcf48e0710011104k1a0aabb8nbee74e7d5c44ea56@mail.gmail.com> References: <7abcf48e0710011104k1a0aabb8nbee74e7d5c44ea56@mail.gmail.com> Message-ID: <30D62F21FD4BE1448C156D2A3E30039701B69B70@jwmail01.jeld-wen.com> I use full paths when ever checking this kind of thing. That being said, looking at the output, you have "//" for your path to nagios.cfg Try using the full paths to your config file. Chris Waters Technology Services - Network Group JELD-WEN, Inc. Information Systems cwaters at jeld-wen.com ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Nedim Bicic Sent: Monday, October 01, 2007 11:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Canot read nagios.cfg after the doing precheck help Hey all just installed nagios 2.9 and upgrade from wat i had 2.4 i dont see a diffrence anyways i am trying to run on command line to check for any errors /usr/local/nagios/bin/nagios -v nagios.cfg this is what i get: > /usr/local/nagios/bin/nagios -v nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Cannot open main configuration file '//nagios.cfg' for reading! ***> One or more problems was encountered while processing the config files... 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 regarding the config files, as well as the 'Whats New' section to find out what has changed. it has to be a permission issue on the nagios.cfg file her are my permission : > ls -l total 80 -rw-rw-r-- 1 nagios nagios 9577 Sep 29 19:30 cgi.cfg -rw-rw-r-- 1 nagios nagios 8579 Sep 29 18:46 commands.cfg -rw-r--r-- 1 root root 26 Sep 29 19:28 htpasswd.users -rw-rw-r-- 1 nagios nagios 12469 Sep 29 18:46 localhost.cfg -rw-rw-r-- 1 nagios nagios 31134 Oct 1 13:45 nagios.cfg -rw-rw---- 1 nagios nagios 1338 Sep 29 18:46 resource.cfg i restarted my apache and because the file cant be ready getting host down on the local host obiusly this has to do with my problem above also i may add i renamed the files from nagios.cfg-sample to nagios.cfg to all .cfg-sample files thanks for help in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Oct 1 20:53:56 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Mon, 1 Oct 2007 14:53:56 -0400 Subject: can not read localhost.cfg file that is crated webgui Message-ID: <7abcf48e0710011153x2a94655bpa4cade4472f0dce6@mail.gmail.com> Hi all running noagios 2.9 i have a localhost.cfg file that was created during the installtion I started restarted nagios when i go to host check i get this localhost Current Load CRITICAL 10-01-2007 14:44:56 0d 0h 58m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Current Users CRITICAL 10-01-2007 14:45:56 0d 0h 57m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) PING CRITICAL 10-01-2007 14:41:56 0d 0h 56m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Root Partition CRITICAL 10-01-2007 14:42:56 0d 0h 55m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) Total Processes CRITICAL 10-01-2007 14:43:56 0d 0h 54m 11s 1/4 (Return code of 127 is out of bounds - plugin may be missing) this is what i have in my nagios.cfg file *# Host and service definitions for monitoring this machine cfg_file=/usr/local/nagios/etc/localhost.cfg* as i understand it checkes this file thru the sanity precheck i did as i didnt get and warrrign messages or errors why doesnt it display the lcoal host information? thanks for your help in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Oct 1 20:57:55 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 01 Oct 2007 20:57:55 +0200 Subject: $ in my notifications In-Reply-To: <20071001180906.D28A658001D@desire.netways.de> References: <20071001180906.D28A658001D@desire.netways.de> Message-ID: <47014333.5060205@its-lehmann.de> Hi, 01.10.2007 20:09,, zack kenton wrote:: > Hi list > > So when something is critical and/or warning I get an email obviously. However, in the date/time and additional info fields I just get a $ instead of any useful information. In my previously working version of nagios it would give me the date/time stamp and additional info would say exactly what was wrong. Does anyone know how I can format this? Thanks Sending the same question so quickly is considered extremely rude by many people and might have the effect that you won't get any useful answer. The reason for your problem is the command definition of your notification commands. Take a close look at the variables you pass. All the information is in the manual. Arno > > - zack kenton (zkenton) > > ----------------------- > The mailing list archive is found here: > http://www.nagiosexchange.org/nagios-users.34.0.html > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Mon Oct 1 21:06:09 2007 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 1 Oct 2007 15:06:09 -0400 Subject: can not read localhost.cfg file that is crated webgui In-Reply-To: <7abcf48e0710011153x2a94655bpa4cade4472f0dce6@mail.gmail.com> References: <7abcf48e0710011153x2a94655bpa4cade4472f0dce6@mail.gmail.com> Message-ID: <302ce8b50710011206t79662941u1f8f2861022c3a48@mail.gmail.com> On 10/1/07, Nedim Bicic wrote: > this is what i have in my nagios.cfg file > > # Host and service definitions for monitoring this machine > cfg_file=/usr/local/nagios/etc/localhost.cfg > > as i understand it checkes this file thru the sanity precheck i did as i didnt get and warrrign messages or errors why doesnt it display the lcoal host information? No. Running nagios -v /path/to/nagios.cfg will check for errors, but it mostly just checks syntax. Your error would seem to indicate that either you've not installed the plugins, or your $USER1$ value is set improperly in your resource.cfg -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fan.jacques at gmail.com Mon Oct 1 21:07:32 2007 From: fan.jacques at gmail.com (Jacques FAN) Date: Mon, 1 Oct 2007 20:07:32 +0100 Subject: sms notification pbm Message-ID: <72f6f4340710011207u5f2871b7h8adf32ac631826e8@mail.gmail.com> Hello, I want to configure the notification by SMS, I configure everythings, but when I tried browsed this link : http://localhost/13013/cgi-bin/sendsms?username... I go this error : "3. message is queued for later delivery" I'm using the connection to the smsc plate form Someone can tell me what to do for fixing this problem? -- JFK "In God we trust, the rest we monitore" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Mon Oct 1 21:10:31 2007 From: zkenton at outcome.com (zack kenton) Date: Mon, 1 Oct 2007 21:10:31 +0200 (CEST) Subject: $ in my notifications In-Reply-To: <47014333.5060205@its-lehmann.de> References: <47014333.5060205@its-lehmann.de> Message-ID: <20071001191040.59C7658001D@desire.netways.de> Hi Arno before you jump at me over some little message board, I dont know why my question keeps reposting...but im not doing it intentionally - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4869 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Oct 1 21:23:58 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Mon, 1 Oct 2007 15:23:58 -0400 Subject: can not read localhost.cfg file that is crated webgui In-Reply-To: <302ce8b50710011206t79662941u1f8f2861022c3a48@mail.gmail.com> References: <7abcf48e0710011153x2a94655bpa4cade4472f0dce6@mail.gmail.com> <302ce8b50710011206t79662941u1f8f2861022c3a48@mail.gmail.com> Message-ID: <7abcf48e0710011223t1f2f6432k39bc98a9c8d3e7f4@mail.gmail.com> Is is possible not to run the macros i see ur right dont see the plugin in the path shown in the resource.cfg i want to use an existing commands.cfg , i dotn want to use no plugin is this possible or do i still have to install nagios plugin in order to get local info running again basically i am going to be using nagios for just pinging devices and setting up parenting i am not going o be doing anything fancy like checking nrpe not yet that is? thanks On 10/1/07, Jim Perrin wrote: > > On 10/1/07, Nedim Bicic wrote: > > > this is what i have in my nagios.cfg file > > > > # Host and service definitions for monitoring this machine > > cfg_file=/usr/local/nagios/etc/localhost.cfg > > > > as i understand it checkes this file thru the sanity precheck i did as i > didnt get and warrrign messages or errors why doesnt it display the lcoal > host information? > > No. Running nagios -v /path/to/nagios.cfg will check for errors, but > it mostly just checks syntax. > > Your error would seem to indicate that either you've not installed the > plugins, or your $USER1$ value is set improperly in your resource.cfg > > > > > -- > During times of universal deceit, telling the truth becomes a > revolutionary act. > George Orwell > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Oct 1 21:40:12 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 01 Oct 2007 21:40:12 +0200 Subject: $ in my notifications In-Reply-To: <20071001191040.59C7658001D@desire.netways.de> References: <47014333.5060205@its-lehmann.de> <20071001191040.59C7658001D@desire.netways.de> Message-ID: <47014D1C.1030104@its-lehmann.de> Hi, 01.10.2007 21:10,, zack kenton wrote:: > Hi Arno > > before you jump at me over some little message board, I dont know why my question keeps reposting...but im not doing it intentionally Did I jump over you? I don't think so... but it's good to see that this was not intentional - something nobody here can know unless you tell us. Anyway - what does your notification command look like now? Arno > > - zack kenton (zkenton) > > ----------------------- > This thread is located in the archive at this URL: > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4869 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Oct 1 21:42:02 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 01 Oct 2007 21:42:02 +0200 Subject: can not read localhost.cfg file that is crated webgui In-Reply-To: <7abcf48e0710011223t1f2f6432k39bc98a9c8d3e7f4@mail.gmail.com> References: <7abcf48e0710011153x2a94655bpa4cade4472f0dce6@mail.gmail.com> <302ce8b50710011206t79662941u1f8f2861022c3a48@mail.gmail.com> <7abcf48e0710011223t1f2f6432k39bc98a9c8d3e7f4@mail.gmail.com> Message-ID: <47014D8A.2030609@its-lehmann.de> Hi, 01.10.2007 21:23,, Nedim Bicic wrote:: > Is is possible not to run the macros i see ur right dont see the plugin > in the path shown in the resource.cfg > > i want to use an existing commands.cfg , i dotn want to use no plugin is > this possible or do i still have to install nagios plugin > in order to get local info running again Every check Nagios does is executed as a plugin. There is no exception to this, i.e. no check is implemented in Bacula itself. > basically i am going to be using nagios for just pinging devices and > setting up parenting i am not going o be doing anything fancy like > checking nrpe not yet that is? But you want to define the check commands... Arno > > thanks > > > On 10/1/07, *Jim Perrin* > > wrote: > > On 10/1/07, Nedim Bicic > > wrote: > > > this is what i have in my nagios.cfg file > > > > # Host and service definitions for monitoring this machine > > cfg_file=/usr/local/nagios/etc/localhost.cfg > > > > as i understand it checkes this file thru the sanity precheck i > did as i didnt get and warrrign messages or errors why doesnt it > display the lcoal host information? > > No. Running nagios -v /path/to/nagios.cfg will check for errors, but > it mostly just checks syntax. > > Your error would seem to indicate that either you've not installed the > plugins, or your $USER1$ value is set improperly in your resource.cfg > > > > > -- > During times of universal deceit, telling the truth becomes a > revolutionary act. > George Orwell > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Mon Oct 1 21:57:50 2007 From: zkenton at outcome.com (zack kenton) Date: Mon, 1 Oct 2007 21:57:50 +0200 (CEST) Subject: $ in my notifications In-Reply-To: <47014D1C.1030104@its-lehmann.de> References: <47014D1C.1030104@its-lehmann.de> Message-ID: <20071001195750.AE22158001D@desire.netways.de> Hi Arno well i did a major upgrade from 1.4 to 2.9, but kept the majority of the confiuration files...so the misccommands.cfg and command-plugins where the notification commands seemed to be defined are identical...it could just be some problems with the different versions? - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4874 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Mon Oct 1 22:00:11 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Mon, 01 Oct 2007 14:00:11 -0600 Subject: $ in my notifications In-Reply-To: <20071001195750.AE22158001D@desire.netways.de> References: <47014D1C.1030104@its-lehmann.de> <20071001195750.AE22158001D@desire.netways.de> Message-ID: <1191268811.20038.3.camel@sidhqmis4grdv91> some of the macro names have changed between 1.4 and 2.9. Make sure the macros you use in your commands are still valid. On Mon, 2007-10-01 at 21:57 +0200, zack kenton wrote: > Hi Arno > > well i did a major upgrade from 1.4 to 2.9, but kept the majority of the confiuration files...so the misccommands.cfg and command-plugins where the notification commands seemed to be defined are identical...it could just be some problems with the different versions? > > > - zack kenton (zkenton) > > ----------------------- > This thread is located in the archive at this URL: > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4874 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Mon Oct 1 22:18:47 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Mon, 01 Oct 2007 14:18:47 -0600 Subject: $ in my notifications In-Reply-To: <33DF1A59E633F64A996DABD8BE570108010A5F83@paradise.Outcome.local> References: <33DF1A59E633F64A996DABD8BE570108010A5F83@paradise.Outcome.local> Message-ID: <1191269927.20038.7.camel@sidhqmis4grdv91> Please always reply on-list. http://nagios.sourceforge.net/docs/2_0/macros.html The valid macros for 2.9 are listed on that page. You should just need to update the ones that aren't working with the new one in your command definition. On Mon, 2007-10-01 at 16:03 -0400, Zack Kenton wrote: > Is there somewhere they are defined? Unfortunately I overwrote my 2.9 > config files with the 1.4 ones. Everytyhing works nicely except the > alerting information. I also have an embedded perl problem which may > have something to do with macros. > > -----Original Message----- > From: Aaron M. Segura [mailto:aaron.segura at cabelas.com] > Sent: Monday, October 01, 2007 4:00 PM > To: Zack Kenton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] $ in my notifications > > some of the macro names have changed between 1.4 and 2.9. Make sure the > macros you use in your commands are still valid. > > On Mon, 2007-10-01 at 21:57 +0200, zack kenton wrote: > > Hi Arno > > > > well i did a major upgrade from 1.4 to 2.9, but kept the majority of > the confiuration files...so the misccommands.cfg and command-plugins > where the notification commands seemed to be defined are identical...it > could just be some problems with the different versions? > > > > > > - zack kenton (zkenton) > > > > ----------------------- > > This thread is located in the archive at this URL: > > > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_p > i1[showUid]=4874 > > > > > > > ------------------------------------------------------------------------ > - > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 1 22:45:29 2007 From: marc at ena.com (Marc Powell) Date: Mon, 1 Oct 2007 15:45:29 -0500 Subject: $ in my notifications In-Reply-To: <20071001195750.AE22158001D@desire.netways.de> References: <20071001195750.AE22158001D@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of zack kenton > Sent: Monday, October 01, 2007 2:58 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] $ in my notifications > > Hi Arno > > well i did a major upgrade from 1.4 to 2.9, but kept the majority of the > confiuration files...so the misccommands.cfg and command-plugins where the > notification commands seemed to be defined are identical...it could just > be some problems with the different versions? You'll probably want to review the 'What's New' documentation. It talks about the macro changes you're being affected by and other changes that might affect you further. - Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 1 22:48:57 2007 From: marc at ena.com (Marc Powell) Date: Mon, 1 Oct 2007 15:48:57 -0500 Subject: can not read localhost.cfg file that is cratedwebgui In-Reply-To: <7abcf48e0710011223t1f2f6432k39bc98a9c8d3e7f4@mail.gmail.com> References: <7abcf48e0710011223t1f2f6432k39bc98a9c8d3e7f4@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nedim Bicic > Sent: Monday, October 01, 2007 2:24 PM > To: Jim Perrin > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] can not read localhost.cfg file that is > cratedwebgui > > Is is possible not to run the macros i see ur right dont see the plugin in > the path shown in the resource.cfg > > i want to use an existing commands.cfg , i dotn want to use no plugin is > this possible or do i still have to install nagios plugin > in order to get local info running again I believe you had/have a working nagios that is checking hosts and services already, correct? What did you change? Are the previous checks you had still working? If so, how are the new service checks different than the working ones? Without seeing your service/command definitions in question, it sounds like you've got a check_command or command_line wrong. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 1 22:58:27 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 1 Oct 2007 16:58:27 -0400 Subject: Nc-Net issue In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57448E19A1@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57448E19A1@hermes.sapphire-int.gi> Message-ID: Thanks for the input, This has not been reported to me before, Feel free to submit it to the Forum on sourceforg: http://sourceforge.net/projects/nc-net On a quick search I would suspect that is correlates to something like this, http://support.microsoft.com/kb/842793 However I did not read the article, but the Title souds like a reasonable place to start researching the issue, Are you using v4.x of NC_NEt, if not please upgrade, also what check could be inducing the error, ie, What commands are you running, COuld it be a script that NC_NEt is hickuping on?? It may be best to move this discussion to NC_Net forum, Unless others have input on this issue. then if/when we resolve it, follow up on this thread. Tony (author of NC_NEt) On 10/1/07, Giles Coochey wrote: > > Hi Tony, > > > > I have installed Nc-Net on various Windows systems and have one server > that gives the following problem. > > > > Everything appears to be monitored fine, except that once in a while > check_nt (The Nc-Net version) returns: > > > > No data was received from host! > > > > This repeats for some time, and eventually fires a Nagios notification. > > > > Checking the Windows eventlog I see the following events before the time > that the host produces the alert: > > > > Timer Elapsed:2878 > > CCID:2878 > > > > For more information, see Help and Support Center at > http://go.microsoft.com/fwlink/events.asp. > > > > The number for CCID & "Timer Elapsed" increases with each event in the > event log. > > > > Any idea what may cause this? The system is an Active Directory Domain > Controller. > > > > Thanks > > > > Giles > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Oct 1 23:15:00 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Mon, 1 Oct 2007 17:15:00 -0400 Subject: can not read localhost.cfg file that is cratedwebgui In-Reply-To: References: <7abcf48e0710011223t1f2f6432k39bc98a9c8d3e7f4@mail.gmail.com> Message-ID: <7abcf48e0710011415w20085865u772118f294285d3e@mail.gmail.com> Here is what i have in the commands.cfg file *# 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 }* this should be workign regardless i mean i dont need a plugin this is a standard check that came with the distribution package why do i need to install a plugin i dont understand when i dont need to be running fancy commnads. also some one mentioned the resource.cfg file its pointing to the follwing : *# Sets $USER1$ to be the path to the plugins $USER1$=/usr/local/nagios/libexec* ** *should this last line be tweaked to be like this:* *$USER1$=/usr/local/nagios/commands.cfg ---> since the commads are defined here how to do the checks??* ** Please help me thanks ** ** ** On 10/1/07, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Nedim Bicic > > Sent: Monday, October 01, 2007 2:24 PM > > To: Jim Perrin > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] can not read localhost.cfg file that is > > cratedwebgui > > > > Is is possible not to run the macros i see ur right dont see the > plugin in > > the path shown in the resource.cfg > > > > i want to use an existing commands.cfg , i dotn want to use no plugin > is > > this possible or do i still have to install nagios plugin > > in order to get local info running again > > I believe you had/have a working nagios that is checking hosts and > services already, correct? What did you change? Are the previous checks > you had still working? If so, how are the new service checks different > than the working ones? Without seeing your service/command definitions > in question, it sounds like you've got a check_command or command_line > wrong. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Oct 1 23:52:01 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 01 Oct 2007 23:52:01 +0200 Subject: can not read localhost.cfg file that is cratedwebgui In-Reply-To: <7abcf48e0710011415w20085865u772118f294285d3e@mail.gmail.com> References: <7abcf48e0710011223t1f2f6432k39bc98a9c8d3e7f4@mail.gmail.com> <7abcf48e0710011415w20085865u772118f294285d3e@mail.gmail.com> Message-ID: <47016C01.8070009@its-lehmann.de> Hi, 01.10.2007 23:15,, Nedim Bicic wrote:: > Here is what i have in the commands.cfg file > > *# 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 5 The line above calls the *plugin command* check_ping. > }* > > this should be workign regardless i mean i dont need a plugin this is a > standard check that came with the distribution package As far as I know there are no check_* commands included in the Nagios core distribution. All the programs that do the actual checking are defined as plugins. > why do i need to > install a plugin i dont understand when i dont need to be running fancy > commnads. That's got nothing to do with fancy. Nagios itself *does not contain* the check commands, these are by definition plugins to Nagios. The plugins are distributed as separate packages. > also some one mentioned the resource.cfg file its pointing to the follwing : > > *# Sets $USER1$ to be the path to the plugins > $USER1$=/usr/local/nagios/libexec* > ** > *should this last line be tweaked to be like this:* > **$USER1$=/usr/local/nagios/commands.cfg ---> since the commads are > defined here how to do the checks??** > ** No, this would be wrong. $USER1$ is not supposed to point to a configuration file. You should reread the manual to refresh your knowledge of these variables, and why they are defined in a separate file. Arno > Please help me > > thanks > ** > ** > ** > > > > > On 10/1/07, *Marc Powell* > wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users- > > bounces at lists.sourceforge.net > ] On Behalf Of Nedim Bicic > > Sent: Monday, October 01, 2007 2:24 PM > > To: Jim Perrin > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] can not read localhost.cfg file that is > > cratedwebgui > > > > Is is possible not to run the macros i see ur right dont see the > plugin in > > the path shown in the resource.cfg > > > > i want to use an existing commands.cfg , i dotn want to use no plugin > is > > this possible or do i still have to install nagios plugin > > in order to get local info running again > > I believe you had/have a working nagios that is checking hosts and > services already, correct? What did you change? Are the previous checks > you had still working? If so, how are the new service checks different > than the working ones? Without seeing your service/command definitions > in question, it sounds like you've got a check_command or command_line > wrong. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Oct 2 00:31:47 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 01 Oct 2007 18:31:47 -0400 Subject: check_cluster config In-Reply-To: <016101c80431$ea4b9670$9702a8c0@uk.sterianet> References: <016101c80431$ea4b9670$9702a8c0@uk.sterianet> Message-ID: <47017553.5030802@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/10/07 09:49 AM, stephen wing wrote: > Hi Thomas > Thanks for the reply. > In the check_service_cluster setup that you have described, what is the > variable Shared_disk$ set to because the way that I am doing this is that I > have setup a service for both server1 and server2 to search for the > following filesystem :- > /hcndata > To do this I have the nrpe daemon running on both servers and a service > running against both these servers as follows :- > > define service { > host_name hcntest > service_description /hcndata Free Space > check_command check_nrpe!check_hcndata > use generic-service > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 60 > notification_period 24x7 > notification_options w,c,r > contact_groups admins > } Then substitute "Shared_disk" with "/hcndata Free Space" If you look the the command definition, what becomes the "-l" argument is just a label (What will be printed in the service status). In the example I wrote the label is the 3rd argument. The other arguments are macro definitions used to fetch the status of specific services on specific hosts ($SERVICESTATEID:host_name:service_description$). This will return the numerical equivalent of the Nagios status (0=>OK, 1=>WARNING, 2=>CRITICAL, etc.). check_cluster gets the status (passed to "-d") and send a critical alert when more than 1 service is non-OK ("-c 1"). if you want to warn only you can use "-w 1" instead of "-c 1" you can run check_cluster yourself to see the results: $ ./check_cluster -s -d 0,2 -l "Shared disk" -c 1 CLUSTER OK: Shared disk: 1 ok, 0 warning, 0 unknown, 1 critical $ ./check_cluster -s -d 1,2 -l "Shared disk" -c 1 CLUSTER CRITICAL: Shared disk: 0 ok, 1 warning, 0 unknown, 1 critical Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAXVT6dZ+Kt5BchYRAkfBAKDZYQ0ctT3Z2H/yty/O8cdon/2qhgCg2iOD zsLHjgJjtz6xE2lgFcrvG7o= =MhOe -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Oct 2 01:28:57 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 01 Oct 2007 19:28:57 -0400 Subject: (Return code of 9 is out of bounds) In-Reply-To: <20070928194250.0B447580078@desire.netways.de> References: <46FD3B62.7030102@aei.ca> <20070928194250.0B447580078@desire.netways.de> Message-ID: <470182B9.4050008@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28/09/07 03:42 PM, zack kenton wrote: > Hi Thomas and all, > For those of you eager to help me debug...haha...much appreciated At first glance I'd guess it's caused by the embedded Perl interpretor since this script uses global variables. Is the script working correctly when run from the command line? (Check the return code in $?) You can try changing your check command to include the full path to Perl. i.e. from: check_command $USER1$/check_oracle_instance.pl ARGS... to: check_command /usr/bin/perl USER1$/check_oracle_instance.pl ARGS... Also if all you need is to check if your Oracle database is responding, you could try the attached script that I wrote. Since I haven't tested it for Oracle yet I'd be glad to have some reports. You will have to specify the "Oracle" driver: ./check_sql -d Oracle -H hostname etc... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAYK56dZ+Kt5BchYRAtAXAKDNR5CL7ScTnAaoNeShqEL+PjleMACg3VX3 7PtOQqcfJNvGnLT0zXNJ8hg= =N5ZN -----END PGP SIGNATURE----- -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_sql URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 2 04:00:33 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 2 Oct 2007 15:00:33 +1300 Subject: looking for help with NSClient In-Reply-To: <036a01c800c1$84c28d90$6a0110ac@sdamle> References: <036a01c800c1$84c28d90$6a0110ac@sdamle> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A201393246@UXCHANGE3.UoA.auckland.ac.nz> The old NSClient is notorious for not reporting problems correctly. Usually, when this happens, I find the issue is that the TCP port has been stolen by another application. Exchange is frequently guilty of this as it starts getting temporary port numbers from 1024 upwards and quickly takes the NSclient port 1248. Try moving nsclient to a much higher port number, or else get it to start before any other apps on the box. You can test this by using netstat to see if port tcp/1248 is in use, and if so, by what. netstat -a -p TCP -b -n This might take a little time to run though. Look for lines with :1248 in the first column. Steve ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sudhir Damle I have installed NSClient 2.0.1.0 on Windows 2000 server. Client was working Good till I rebooted the server. Now whenever I start ' Nagios Agent' service, it gets started, application event viewer says 'NSClient is now responding to queries' but service simply stops after that. No error in event viewer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenlee at jeld-wen.com.au Tue Oct 2 04:24:07 2007 From: kenlee at jeld-wen.com.au (Ken Lee) Date: Tue, 2 Oct 2007 04:24:07 +0200 (CEST) Subject: notifications 3.0b3 not working. In-Reply-To: <20070928025403.486BE580078@desire.netways.de> References: <20070928025403.486BE580078@desire.netways.de> Message-ID: <20071002022407.A4FB958001D@desire.netways.de> Hi, Just wondering if anyone has any idea's on my issue. Regards, - Ken Lee (kenlee) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4774 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benjamincm at oss.co.nz Tue Oct 2 04:30:07 2007 From: benjamincm at oss.co.nz (Benjamin Cleyet-Marrel) Date: Tue, 02 Oct 2007 15:30:07 +1300 Subject: Nagios Latency Message-ID: <4701AD2F.80209@oss.co.nz> Hi, I am experiencing problems with Nagios latency that I can't understand. Upon Nagios startup or upon Nagios restart, the latency is bellow 0.1second which is fine. After a couple of days, without any change, and even though the execution time and the Nagios server load remain the same the latency slowly increase. It seems that it is an exponential growth. All the checks kicks in later and later, no exception. Usually after a week the latency is up to 60seconds and after 2 week up to 5 minutes. I have currently set up a Nagios restart every monday, but I would like to find a better solution and understand why does the latency keeps increasing. We monitor over 50 hosts and have over 1400 checks every 5 minutes. The nagios server is quite big and is not really loaded. Any Idea would be appreciated Cheers Ben -- ---------------------------------- Benjamin Cleyet-Marrel Consultant OSS: Open Systems Specialists Ltd phone: 09-984-3000 fax: 09-984-3001 mobile: 021-721-869 email: bcm at oss.co.nz web: www.oss.co.nz post: P.O. Box 8833, Auckland ---------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 2 07:36:25 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2007 07:36:25 +0200 Subject: can not read localhost.cfg file that is cratedwebgui In-Reply-To: <7abcf48e0710011415w20085865u772118f294285d3e@mail.gmail.com> References: <7abcf48e0710011223t1f2f6432k39bc98a9c8d3e7f4@mail.gmail.com> <7abcf48e0710011415w20085865u772118f294285d3e@mail.gmail.com> Message-ID: <4701D8D9.1030602@op5.se> Nedim Bicic wrote: > Here is what i have in the commands.cfg file > > *# 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 5 > }* > > this should be workign regardless i mean i dont need a plugin this is a > standard check that came with the distribution package why do i need to > install a plugin i dont understand when i dont need to be running fancy > commnads. > You need to install the check_ping program. Nagios has *no* builtin checks (although if it ever got any, that would probably be the very first one to become one). > also some one mentioned the resource.cfg file its pointing to the follwing : > > *# Sets $USER1$ to be the path to the plugins > $USER1$=/usr/local/nagios/libexec* > ** > *should this last line be tweaked to be like this:* > *$USER1$=/usr/local/nagios/commands.cfg ---> since the commads are defined > here how to do the checks??* No. USER1 should point to wherever you installed your plugins. Think of it as a variable that makes you save a lot of headache in case you should want to move your plugins somewhere else than where you originally installed them. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 2 07:59:26 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2007 07:59:26 +0200 Subject: Nagios Latency In-Reply-To: <4701AD2F.80209@oss.co.nz> References: <4701AD2F.80209@oss.co.nz> Message-ID: <4701DE3E.80103@op5.se> Benjamin Cleyet-Marrel wrote: > Hi, > > I am experiencing problems with Nagios latency that I can't understand. > > Upon Nagios startup or upon Nagios restart, the latency is bellow > 0.1second which is fine. > After a couple of days, without any change, and even though the > execution time and the Nagios server load remain the same the latency > slowly increase. It seems that it is an exponential growth. > > All the checks kicks in later and later, no exception. > > Usually after a week the latency is up to 60seconds and after 2 week up > to 5 minutes. > > I have currently set up a Nagios restart every monday, but I would like > to find a better solution and understand why does the latency keeps > increasing. > > We monitor over 50 hosts and have over 1400 checks every 5 minutes. > The nagios server is quite big and is not really loaded. > > Any Idea would be appreciated > Three things to check: service_reaper_frequency check_interleave_factor max_parallell_something_something I haven't done my morning routine yet, so you'll have to figure out the real variable names in case my memory is a bit off (which it no doubt is). Other than that.. What nagios version are you running, and how is your host check command defined? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 2 08:00:57 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2007 08:00:57 +0200 Subject: notifications 3.0b3 not working. In-Reply-To: <20071002022407.A4FB958001D@desire.netways.de> References: <20070928025403.486BE580078@desire.netways.de> <20071002022407.A4FB958001D@desire.netways.de> Message-ID: <4701DE99.4080907@op5.se> Ken Lee wrote: > Hi, > > Just wondering if anyone has any idea's on my issue. > It's beta. Don't run it unless you can figure out a few things on your own, or at least do some amount of testing (such as echoing all arguments from your notification-command to a file to make sure it's actually running). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenlee at jeld-wen.com.au Tue Oct 2 08:34:59 2007 From: kenlee at jeld-wen.com.au (Ken Lee) Date: Tue, 2 Oct 2007 08:34:59 +0200 (CEST) Subject: notifications 3.0b3 not working. In-Reply-To: <4701DE99.4080907@op5.se> References: <4701DE99.4080907@op5.se> Message-ID: <20071002063459.8BD0658001D@desire.netways.de> thanks for your wisdom Andreas, perhaps I should purchase Op5 monitor? Not. - Ken Lee (kenlee) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4893 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.wing at steria.co.uk Tue Oct 2 09:02:09 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Tue, 2 Oct 2007 08:02:09 +0100 Subject: check_cluster config In-Reply-To: <47017553.5030802@aei.ca> References: <47017553.5030802@aei.ca> Message-ID: <009a01c804c2$26adccb0$9602a8c0@uk.sterianet> Hi Thomas I replaced the Shared_disk variable with /hcndata Free Space and this worked fine. Thanks for the help. Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: 01 October 2007 23:32 To: stephen wing Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_cluster config -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/10/07 09:49 AM, stephen wing wrote: > Hi Thomas > Thanks for the reply. > In the check_service_cluster setup that you have described, what is the > variable Shared_disk$ set to because the way that I am doing this is that I > have setup a service for both server1 and server2 to search for the > following filesystem :- > /hcndata > To do this I have the nrpe daemon running on both servers and a service > running against both these servers as follows :- > > define service { > host_name hcntest > service_description /hcndata Free Space > check_command check_nrpe!check_hcndata > use generic-service > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 60 > notification_period 24x7 > notification_options w,c,r > contact_groups admins > } Then substitute "Shared_disk" with "/hcndata Free Space" If you look the the command definition, what becomes the "-l" argument is just a label (What will be printed in the service status). In the example I wrote the label is the 3rd argument. The other arguments are macro definitions used to fetch the status of specific services on specific hosts ($SERVICESTATEID:host_name:service_description$). This will return the numerical equivalent of the Nagios status (0=>OK, 1=>WARNING, 2=>CRITICAL, etc.). check_cluster gets the status (passed to "-d") and send a critical alert when more than 1 service is non-OK ("-c 1"). if you want to warn only you can use "-w 1" instead of "-c 1" you can run check_cluster yourself to see the results: $ ./check_cluster -s -d 0,2 -l "Shared disk" -c 1 CLUSTER OK: Shared disk: 1 ok, 0 warning, 0 unknown, 1 critical $ ./check_cluster -s -d 1,2 -l "Shared disk" -c 1 CLUSTER CRITICAL: Shared disk: 0 ok, 1 warning, 0 unknown, 1 critical Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAXVT6dZ+Kt5BchYRAkfBAKDZYQ0ctT3Z2H/yty/O8cdon/2qhgCg2iOD zsLHjgJjtz6xE2lgFcrvG7o= =MhOe -----END PGP SIGNATURE----- ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. ? This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Tue Oct 2 09:02:38 2007 From: al at its-lehmann.de (Arno Lehmann) Date: Tue, 02 Oct 2007 09:02:38 +0200 Subject: notifications 3.0b3 not working. In-Reply-To: <20071002063459.8BD0658001D@desire.netways.de> References: <4701DE99.4080907@op5.se> <20071002063459.8BD0658001D@desire.netways.de> Message-ID: <4701ED0E.3070608@its-lehmann.de> Hi, 02.10.2007 08:34,, Ken Lee wrote:: > thanks for your wisdom Andreas, perhaps I should purchase Op5 monitor? Not. While I can (kind of) understand your bitterness about not getting any replies yet, I think Andreas has made a good point here... Nagios 3 *IS* beta, and it is supposed to be used by people who will actively help getting it fixed. If you need a stable Nagios, use the 2.something versions. While I know that it's usually a good thing to prepare migration to a new version as early as possible, a complete switch to beta software in a production environment is surely not what I recommend to my customers. If you want reliable support, using Op5 would definitely be one of your options. I guess that you could agree on a contract where any sort of malfunctioning will make Op5 very busy fixing your issues... Arno > - Ken Lee (kenlee) > > ----------------------- > This thread is located in the archive at this URL: > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4893 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.wing at steria.co.uk Tue Oct 2 10:13:21 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Tue, 2 Oct 2007 09:13:21 +0100 Subject: =?utf-8?q?check=5Fdisk_command?= In-Reply-To: <1f8ddeb2eefb14e4bfb81dc62b2cf86c@localhost> References: <1f8ddeb2eefb14e4bfb81dc62b2cf86c@localhost> Message-ID: <00a801c804cc$1924a2d0$9602a8c0@uk.sterianet> Hi I replaced the definition from looking at the logical volume name to the filesystem name with a subfolder as follows :- command[check_hcndata]=/usr/local/nagios/libexec/check_disk 90 95 /hcndata/hcntest This worked successfully. For a bit of clarification, does the check_disk work with the filesystem mount point now aswell as the lv device name on aix ? Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 -----Original Message----- From: Dennis H?nseler [mailto:dennis at huenseler.net] Sent: 01 October 2007 15:54 To: stephen wing Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] =?UTF-8?Q?check=5Fdisk=20command?= Hi Stephen, i think yoou should use check_disk 90 95 /hondata/subfolder as check parameter. This returns an error if it doesn't exist. Otherwise the new version of check_disc returns the value of the root partition. Kind regards, Dennis On Mon, 1 Oct 2007 15:46:20 +0100, "stephen wing" wrote: Hi All I have a query regarding the check_disk command running on an AIX machine via the nrpe daemon. I have defined the following commands on my client in the nrpe.cfg file :- command[check_root]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd4 command[check_usr]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd2 command[check_home]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd1 command[check_var]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd9var command[check_tmp]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd3 command[check_opt]=/usr/local/nagios/libexec/check_disk 90 95 /dev/hd10opt command[check_hcndata]=/usr/local/nagios/libexec/check_disk 90 95 /dev/fslv01 These commands work fine and give me the free disk space in the filesystems. My problem is that I unmounted the filesystem /hcndata which has a device name of /dev/fslv01. When this happens I would expect nagios to report that /hcndata filesystem was unavailable. Instead the service reports filesystem OK, but it is giving me the statistics from the / filesystem as checked by the first command, ie check_root. Has anybody else seen this and if so how do I resolve the issue ? I am running nagios 2.9 and nrpe 1.4.9 Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk.  This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. kind regards, Dennis H?nseler ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. ? This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 2 10:33:33 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2007 10:33:33 +0200 Subject: notifications 3.0b3 not working. In-Reply-To: <20071002063459.8BD0658001D@desire.netways.de> References: <4701DE99.4080907@op5.se> <20071002063459.8BD0658001D@desire.netways.de> Message-ID: <4702025D.2050409@op5.se> Ken Lee wrote: > thanks for your wisdom Andreas, perhaps I should purchase Op5 monitor? Not. > Ach, soz. I wrote the first reply on a different computer and failed to see that you actually had tried a few tricks on your own. My apologies. Try this: ---%<---%<---%<--- notify-to-file.sh ---%<---%<---%<--- #!/bin/sh outfile=/tmp/nagios-notify.log echo "########################" >> $outfile echo "$@" >> $outfile echo "########################" >> $outfile env >> $outfile echo "########################" >> $outfile ---%<---%<---%<--- notify-to-file.sh ---%<---%<---%<--- define command{ command_name notify-to-file command_line /path/to/notify-to-file.sh } define contact{ contact_name always_notified alias ladida service_notification_timeperiod 24x7 service_notification_options c,w,r,f host_notification_options d,u,r host_notification_timeperiod 24x7 contactgroups * host_notification_commands notify-to-file service_notification_commands notify-to-file contact_email none at void.org } and see what happens. You may have to fiddle with the contact object a bit. I wrote it from memory, and it's still a bit early in the morning for me. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.knecht at anyweb.ch Tue Oct 2 11:12:22 2007 From: david.knecht at anyweb.ch (David Knecht) Date: Tue, 02 Oct 2007 11:12:22 +0200 Subject: Concurrent Service Check Execution In-Reply-To: <46E2F602.7070009@anyweb.ch> References: <46E2F602.7070009@anyweb.ch> Message-ID: <47020B76.4090303@anyweb.ch> For the records - as this might hopefully help others - I'd just like to report how we solved this issue. We created a Nagios service check SC1 which is responsible for scheduling service checks SC2 and SC3. Since SC2 and SC3 are configured "is_volatile 1" as suggested by Thomas they are never scheduled/executed by "themselves". SC1 basically performs two things: 1. Check the $SERVICESTATEID$ (http://nagios.sourceforge.net/docs/2_0/macros.html) of both SC2 and SC3. SC1 exits with the most critical exit code of both SC2 and SC3 (e. g. if SC2 returns "2" and SC3 returns "0", then SC1 returns "2"). SC1 (as well as SC2 and SC3 - see below) is then re-scheduled based on its settings for normal_check_interval, retry_check_interval and max_check_attempts. 2. Re-schedule SC2 and SC3 to be executed at "now+n seconds" using the external command SCHEDULE_FORCED_SVC_CHECK (http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=129). "n seconds" can be a static number or the result of a dynamic calculation (e. g. "60-$SERVICELATENCY$-$SERVICEEXECUTIONTIME"). SC2 and SC3 can be re-scheduled individually. This way we - can configure everything we need within Nagios configuration files (no need for external tools such as cron) using Nagios' scheduling capabilities - are pretty flexible in terms of scheduling SC2 and SC3 Hope this helps... Best regards, David ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaelkintzios at gmail.com Tue Oct 2 12:34:30 2007 From: michaelkintzios at gmail.com (Mick) Date: Tue, 2 Oct 2007 11:34:30 +0100 Subject: Differentiate between monitoring modem Vs router In-Reply-To: <200709302242.17576.michaelkintzios@gmail.com> References: <200709302242.17576.michaelkintzios@gmail.com> Message-ID: <200710021134.41242.michaelkintzios@gmail.com> On Sunday 30 September 2007, Mick wrote: > Hi All, > > I want to monitor a host who has a Linksys router, which after 24 hours or > so from being power cycled gradually locks out. All attempts to ping, > httping, traceroute, fail. Surprisingly, nmap shows: > ===================================== > Host XX-XXX-XXX-XX.dhcp.kgpt.tn.charter.com (XX.XXX.XXX.XX) appears to be > up ... good. > ===================================== > > Sometimes it may find an open port, sometimes not in which case it reports > that all ports are filtered. I assume from these tests that the problem > lies with the router as opposed to the modem, otherwise I would get a > connection refused/failed sort of message, right? Is there a way to set up > Nagios to monitor/compare both modem and router? I am thinking along the > lines of pinging the router as normal and when that fails repeatedly, to > run a command to check the modem. How should I go about setting this up? Any ideas at all guys? I'm really stuck here. -- Regards, Mick -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Tue Oct 2 13:04:20 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 2 Oct 2007 12:04:20 +0100 Subject: Differentiate between monitoring modem Vs router In-Reply-To: <200710021134.41242.michaelkintzios@gmail.com> References: <200710021134.41242.michaelkintzios@gmail.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5301784456@E03MVB2-UKBR.domain1.systemhost.net> Hi Mick, Not saying im gonna be able help but what is your nmap command line switches you use to perform the scan? Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mick Sent: 02 October 2007 11:35 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Differentiate between monitoring modem Vs router On Sunday 30 September 2007, Mick wrote: > Hi All, > > I want to monitor a host who has a Linksys router, which after 24 > hours or so from being power cycled gradually locks out. All attempts > to ping, httping, traceroute, fail. Surprisingly, nmap shows: > ===================================== > Host XX-XXX-XXX-XX.dhcp.kgpt.tn.charter.com (XX.XXX.XXX.XX) appears to > be up ... good. > ===================================== > > Sometimes it may find an open port, sometimes not in which case it > reports that all ports are filtered. I assume from these tests that > the problem lies with the router as opposed to the modem, otherwise I > would get a connection refused/failed sort of message, right? Is > there a way to set up Nagios to monitor/compare both modem and router? > I am thinking along the lines of pinging the router as normal and when > that fails repeatedly, to run a command to check the modem. How should I go about setting this up? Any ideas at all guys? I'm really stuck here. -- Regards, Mick ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaelkintzios at gmail.com Tue Oct 2 13:15:08 2007 From: michaelkintzios at gmail.com (Mick) Date: Tue, 2 Oct 2007 12:15:08 +0100 Subject: Differentiate between monitoring modem Vs router In-Reply-To: <200710021134.41242.michaelkintzios@gmail.com> References: <200709302242.17576.michaelkintzios@gmail.com> <200710021134.41242.michaelkintzios@gmail.com> Message-ID: <200710021215.09994.michaelkintzios@gmail.com> Thanks Tom, Something like this does the trick: nmap -A -sV -T4 -P0 -vv However, this returns a lot of info, most of which is not relevant. Sometimes it picks an open port, other times it doesn't. I wouldn't even know how to parse it in Nagios to generate the appropriate response. On Tuesday 02 October 2007, Mick wrote: > On Sunday 30 September 2007, Mick wrote: > > Hi All, > > > > I want to monitor a host who has a Linksys router, which after 24 hours > > or so from being power cycled gradually locks out. All attempts to ping, > > httping, traceroute, fail. Surprisingly, nmap shows: > > ===================================== > > Host XX-XXX-XXX-XX.dhcp.kgpt.tn.charter.com (XX.XXX.XXX.XX) appears to be > > up ... good. > > ===================================== > > > > Sometimes it may find an open port, sometimes not in which case it > > reports that all ports are filtered. I assume from these tests that the > > problem lies with the router as opposed to the modem, otherwise I would > > get a connection refused/failed sort of message, right? Is there a way > > to set up Nagios to monitor/compare both modem and router? I am thinking > > along the lines of pinging the router as normal and when that fails > > repeatedly, to run a command to check the modem. How should I go about > > setting this up? > > Any ideas at all guys? I'm really stuck here. -- Regards, Mick -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stephen.wing at steria.co.uk Tue Oct 2 13:15:58 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Tue, 2 Oct 2007 12:15:58 +0100 Subject: check_cluster config In-Reply-To: <009a01c804c2$26adccb0$9602a8c0@uk.sterianet> References: <009a01c804c2$26adccb0$9602a8c0@uk.sterianet> Message-ID: <00e001c804e5$9bf3b0c0$9602a8c0@uk.sterianet> Hi Thomas One further question relating to the check_cluster command. As I understand it, the check_cluster is setup so that it checks for the OK state. Can it be setup to use WARNING state also, ie so that if I am monitoring 2 hosts and I have a Critical on 1 host and Warning on the 2nd host, I would like to have Warning status on the check cluster command, also if I have Critical against both hosts, then the check_cluster reports Critical. Is this possible ? Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of stephen wing Sent: 02 October 2007 08:02 To: 'Thomas Guyot-Sionnest' Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_cluster config Hi Thomas I replaced the Shared_disk variable with /hcndata Free Space and this worked fine. Thanks for the help. Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: 01 October 2007 23:32 To: stephen wing Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_cluster config -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/10/07 09:49 AM, stephen wing wrote: > Hi Thomas > Thanks for the reply. > In the check_service_cluster setup that you have described, what is the > variable Shared_disk$ set to because the way that I am doing this is that I > have setup a service for both server1 and server2 to search for the > following filesystem :- > /hcndata > To do this I have the nrpe daemon running on both servers and a service > running against both these servers as follows :- > > define service { > host_name hcntest > service_description /hcndata Free Space > check_command check_nrpe!check_hcndata > use generic-service > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 60 > notification_period 24x7 > notification_options w,c,r > contact_groups admins > } Then substitute "Shared_disk" with "/hcndata Free Space" If you look the the command definition, what becomes the "-l" argument is just a label (What will be printed in the service status). In the example I wrote the label is the 3rd argument. The other arguments are macro definitions used to fetch the status of specific services on specific hosts ($SERVICESTATEID:host_name:service_description$). This will return the numerical equivalent of the Nagios status (0=>OK, 1=>WARNING, 2=>CRITICAL, etc.). check_cluster gets the status (passed to "-d") and send a critical alert when more than 1 service is non-OK ("-c 1"). if you want to warn only you can use "-w 1" instead of "-c 1" you can run check_cluster yourself to see the results: $ ./check_cluster -s -d 0,2 -l "Shared disk" -c 1 CLUSTER OK: Shared disk: 1 ok, 0 warning, 0 unknown, 1 critical $ ./check_cluster -s -d 1,2 -l "Shared disk" -c 1 CLUSTER CRITICAL: Shared disk: 0 ok, 1 warning, 0 unknown, 1 critical Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAXVT6dZ+Kt5BchYRAkfBAKDZYQ0ctT3Z2H/yty/O8cdon/2qhgCg2iOD zsLHjgJjtz6xE2lgFcrvG7o= =MhOe -----END PGP SIGNATURE----- ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. ***************************************************************** This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. ? This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livegreat007 at yahoo.com Tue Oct 2 04:13:03 2007 From: livegreat007 at yahoo.com (Live Great) Date: Mon, 1 Oct 2007 19:13:03 -0700 (PDT) Subject: apache(1.3) httpd.conf file with nagios cgi Message-ID: <237604.52057.qm@web45509.mail.sp1.yahoo.com> Hi, I am stuck in having apache1.3 execute nagios cgi, can anyone please post your working httpd.conf here for reference? Thanks for your help SW -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Tue Oct 2 14:25:50 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Tue, 2 Oct 2007 08:25:50 -0400 Subject: NetApps Monitoring Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A475B@RL03EXCH1.replacements.com> Good Morning All, I am resending this in hopes that I have not been forgotten about. I am eager to get this running and could use some help. If this is going to take some time, I understand, but if someone is looking into this, please let me know. Thank you for your help in advance. Robert ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Ferguson Sent: Monday, October 01, 2007 10:14 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NetApps Monitoring Good Morning, I need some beginner help please with monitoring NetApps. I have downloaded the check_netapp2 plugin however, don't see how to fire it off. Nagios is reporting that the two heads are there but no services are associated with it. I guess that I really just need to define a service to fire off the plugin, but I am at a loss. Nagios Version 3.0a4 Thanks for your help Robert Ferguson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Oct 2 14:28:20 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 02 Oct 2007 08:28:20 -0400 Subject: check_cluster config In-Reply-To: <00e001c804e5$9bf3b0c0$9602a8c0@uk.sterianet> References: <00e001c804e5$9bf3b0c0$9602a8c0@uk.sterianet> Message-ID: <47023964.1070104@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/10/07 07:15 AM, stephen wing wrote: > Hi Thomas > One further question relating to the check_cluster command. > As I understand it, the check_cluster is setup so that it checks for the OK > state. Can it be setup to use WARNING state also, ie so that if I am > monitoring 2 hosts and I have a Critical on 1 host and Warning on the 2nd > host, I would like to have Warning status on the check cluster command, also > if I have Critical against both hosts, then the check_cluster reports > Critical. > Is this possible ? I don't think the current check_cluster does that, but it can be done. Post a feature request on http://sourceforge.net/tracker/?group_id=29880&atid=397600 and maybe it will get done... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHAjlk6dZ+Kt5BchYRAqCpAJ9Df+vrCurt934015p1QVglVp8f3gCg98rn INz9JPTVhOkrz7Xe9Ao9Yqw= =aVok -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Tue Oct 2 14:04:20 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 02 Oct 2007 08:04:20 -0400 Subject: NetApps Monitoring In-Reply-To: <1DBAECAF1663DF4B97779F24ABABE24A4755@RL03EXCH1.replacements.com> References: <1DBAECAF1663DF4B97779F24ABABE24A4755@RL03EXCH1.replacements.com> Message-ID: <1191326660.3045.12.camel@localhost.localdomain> On Mon, 2007-10-01 at 10:14 -0400, Robert Ferguson wrote: > Good Morning, > > > > I need some beginner help please with monitoring NetApps. I have > downloaded the check_netapp2 plugin however, don?t see how to fire it Is this on nagiosexchange? Ask the committer/project maintainer to include some example config files in the header of the code and/or as a README file in addition to the check code. ~BAS > off. Nagios is reporting that the two heads are there but no > services are associated with it. I guess that I really just need to > define a service to fire off the plugin, but I am at a loss. > > > > Nagios Version 3.0a4 > > > > Thanks for your help > > > > Robert Ferguson > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Oct 2 14:33:32 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 2 Oct 2007 14:33:32 +0200 (CEST) Subject: NetApps Monitoring In-Reply-To: <1DBAECAF1663DF4B97779F24ABABE24A475B@RL03EXCH1.replacements.com> References: <1DBAECAF1663DF4B97779F24ABABE24A475B@RL03EXCH1.replacements.com> Message-ID: On Tue, 2 Oct 2007, Robert Ferguson wrote: > I am resending this in hopes that I have not been forgotten about. I am > eager to get this running and could use some help. If this is going to > take some time, I understand, but if someone is looking into this, Version 3.0 is experimental. If you do not know how to do something this simple my advise is: 1. Use a stable version of Nagios (That would be 2.9 at this time) 2. Read the nagios manual from cover to cover at least once. Unless you do this reading there is no point in answering your too-generic question. After going over the manual you should be able to be more specific in your questions. (If there remains a question at all.) Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florencio.cano at gmail.com Tue Oct 2 15:09:30 2007 From: florencio.cano at gmail.com (Florencio Cano) Date: Tue, 2 Oct 2007 15:09:30 +0200 Subject: Check Win2003 Event Log with Nagios and NRPE_NT Message-ID: Hi, Sorry if this message is posted twice. I resend it because the first time I was not a list member and I think it has been rejected. I'm looking for info about how to check the Windows 2003 events log and filter them from a Nagios (using Groundwork) server. I've tried some things before asking. I have searched the list archives but I only find solutions that are not apropiate for my situation. I prefer not to install Active Perl in the Windows machines thus I can't use elwatch.pl. I've tried elog.exe and eventlog.exe but I don't get any result (locally) and I have verified that there are events in the event log. I have tried the time flags for both programs. I would prefer not to install any additional software in the Windows machines apart from NRPE_NT if possible. Any idea? How do you check the windows event logs? -- Florencio Cano Gabarda ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Tue Oct 2 15:16:54 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Tue, 2 Oct 2007 08:16:54 -0500 Subject: Problem with NDOUtils 1.4b6 and MySQL In-Reply-To: <00e001c804e5$9bf3b0c0$9602a8c0@uk.sterianet> References: <009a01c804c2$26adccb0$9602a8c0@uk.sterianet> <00e001c804e5$9bf3b0c0$9602a8c0@uk.sterianet> Message-ID: I have been trying this for a day now and it is time to ask for some help. I have included the full output of the configure, as well as RPM output and directory listings. Any help would be greatly appreciated. It seems that NDO cannot find what it is looking for in regards to mysql yet AFAIK everything is there. Please advise if something is missing, or if I should compile mysql from source, or any other fix. Here is all the relevant information I can think of this morning: ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for sys/wait.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for getopt_long... yes checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lwrap... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for linker flags for loadable modules... -shared checking for compress in -lz... yes checking for mysql_store_result in -lmysqlclient... no *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql ******************************************************************** checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes checking for PQconnectdb in -lpq... no *** PostgreSQL library could not be located... ********************* You chose to compile NDBXT with PostgreSQL support, but I was unable to locate the PostgreSQL library on your system. If the library is installed, use the --with-pgsql-lib argument to specify the location of the PostgreSQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the PostgreSQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. ******************************************************************** checking libpq-fe.h usability... no checking libpq-fe.h presence... no checking for libpq-fe.h... no *** PostgreSQL include file could not be located... **************** You chose to compile NDBXT with PostgreSQL support, but I was unable to locate on your system. If the include file is installed, use the --with-pgsql-inc argument to specify the location of the PostgreSQL include file. ******************************************************************** configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged *** ndoutils 1.4b6 09-27-2007 *** Type 'make' to compile the NDO utilities. #ls /usr/lib/mysql libdbug.a libmyisam.a libmysqlclient.a libmysqlclient_r.a libmystrings.a libndbclient.a libvio.a libz.la mysqld.sym . libheap.a libmyisammrg.a libmysqlclient.la libmysqlclient_r.la libmysys.a libndbclient.la libz.a mysqld-debug.sym # rpm -qa | grep My MySQL-shared-community-5.0.45-0.sles9 MySQL-client-community-5.0.45-0.sles9 MySQL-server-community-5.0.45-0.sles9 MySQL-shared-compat-5.0.45-0.sles9 MySQL-devel-community-5.0.45-0.sles9 MySQL-test-community-5.0.45-0.sles9 Thanks in advance for any and all help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Oct 2 15:22:08 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 2 Oct 2007 15:22:08 +0200 (CEST) Subject: Check Win2003 Event Log with Nagios and NRPE_NT In-Reply-To: References: Message-ID: On Tue, 2 Oct 2007, Florencio Cano wrote: > Any idea? How do you check the windows event logs? Send them to a unix/linux system as syslog. There is a tool out there that will do this for you. Then you can do all of this on your Nagios machine itself perhaps? I do as little as possible on Windows to start with. So I prefer to send logs as syslog and work on them where I have the tools available for the job. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Oct 2 15:25:48 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 2 Oct 2007 15:25:48 +0200 (CEST) Subject: Problem with NDOUtils 1.4b6 and MySQL In-Reply-To: References: <009a01c804c2$26adccb0$9602a8c0@uk.sterianet> <00e001c804e5$9bf3b0c0$9602a8c0@uk.sterianet> Message-ID: On Tue, 2 Oct 2007, mark.potter at academy.com wrote: > checking for libpq-fe.h... no > > > *** PostgreSQL include file could not be located... **************** > > You chose to compile NDBXT with PostgreSQL support, but I was unable > to locate on your system. If the include file is > installed, use the --with-pgsql-inc argument to specify the location > of the PostgreSQL include file. > > ******************************************************************** Make a better choice and disable postgresql if you do not wish to use it. I guess the --without-pgsql-lib is the one you need. (But check the options available in the configure script.) Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.F.Wheeler at rl.ac.uk Tue Oct 2 15:27:02 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 2 Oct 2007 14:27:02 +0100 Subject: FW: Problem with NDOUtils 1.4b6 and MySQL Message-ID: -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net On Behalf Of mark.potter at academy.com Sent: 02 October 2007 14:17 > I have been trying this for a day now and it is time to ask for some help. I have included the full > output of the configure, as well as RPM output and directory listings. Any help would be greatly > appreciated. It seems that NDO cannot find what it is looking for in regards to mysql yet AFAIK > everything is there. Please advise if something is missing, or if I should compile mysql from source, or > any other fix. Here is all the relevant information I can think of this morning: > > ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql Use the following make command: ./configure --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql --disable-pgsql Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT4488961.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT4488962.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florencio.cano at gmail.com Tue Oct 2 15:33:14 2007 From: florencio.cano at gmail.com (Florencio Cano) Date: Tue, 2 Oct 2007 15:33:14 +0200 Subject: Check Win2003 Event Log with Nagios and NRPE_NT In-Reply-To: References: Message-ID: But then I have to install that tool and nrpe_nt in each Windows machine. I'm looking for any plugin that when put in the nrpe_nt plugins directory could be executed by Nagios. If there is any solution like this I will try other possibilities as installing Active Perl and elwatch.pl. Have you tried elwatch.pl? 2007/10/2, Hugo van der Kooij : > > Any idea? How do you check the windows event logs? > > Send them to a unix/linux system as syslog. There is a tool out there that > will do this for you. -- Florencio Cano Gabarda ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Tue Oct 2 15:37:11 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 2 Oct 2007 14:37:11 +0100 (BST) Subject: deferring a notification Message-ID: <149891.24789.qm@web26206.mail.ukl.yahoo.com> hi we have a weekly reboot for a server at midnight and we want nagios to defer the notification e-mail till morning. How to do that? thanks. ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 2 15:40:45 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 02 Oct 2007 15:40:45 +0200 Subject: deferring a notification In-Reply-To: <149891.24789.qm@web26206.mail.ukl.yahoo.com> References: <149891.24789.qm@web26206.mail.ukl.yahoo.com> Message-ID: <47024A5D.5060508@op5.se> Melanie Pfefer wrote: > hi > we have a weekly reboot for a server at midnight and > we want nagios to defer the notification e-mail till > morning. > > How to do that? Short answer: You can't. Long answer: Write a script that adds a "to-send" email file in mbox format (or some such) somewhere on the server, and have your cron run a script that sends those out whenever appropriate. The notification command script should ofcourse only queue mail for when you don't want to send it, and otherwise send it immediately. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Tue Oct 2 15:51:52 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Tue, 2 Oct 2007 08:51:52 -0500 Subject: FW: Problem with NDOUtils 1.4b6 and MySQL In-Reply-To: References: Message-ID: > > Use the following make command: > > ./configure --with-mysql-lib=/usr/lib/mysql > --with-mysql-inc=/usr/include/mysql --disable-pgsql > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/[attachment > "ATT4488962.txt" deleted by Mark Potter/IS/Academy] > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Thank you Mr Wheeler and Hugo for your advice. I have snipped the output of the suggested command from Mr. Wheeler. checking for mysql_store_result in -lmysqlclient... no *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql ******************************************************************** checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged *** ndoutils 1.4b6 09-27-2007 *** Type 'make' to compile the NDO utilities. That is running : ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql --disable-pgsql I should have been a little more clear. I spent yesterday going over the archives in depth and trying solutions for issues that seemed to be the same or similar. Thanks to everyone for such quick responses! I noticed I had not specified my actual distro, although it could have been derived from the RPM output, I am running SLES9 with full updates, upgraded MySQL (as shown in my first email), and while it doesn't matter just yet Nagios 2.9. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Oct 2 16:00:19 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 2 Oct 2007 16:00:19 +0200 (CEST) Subject: deferring a notification In-Reply-To: <149891.24789.qm@web26206.mail.ukl.yahoo.com> References: <149891.24789.qm@web26206.mail.ukl.yahoo.com> Message-ID: On Tue, 2 Oct 2007, Melanie Pfefer wrote: > we have a weekly reboot for a server at midnight and > we want nagios to defer the notification e-mail till > morning. Create a time period that will exclude the expected maintenance block and use that for your host(s). That shouldn't be too hard to configure. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 2 16:01:51 2007 From: srunschke at abit.de (Sascha Runschke) Date: Tue, 2 Oct 2007 16:01:51 +0200 Subject: CN=Sascha Runschke/O=ABIT is out of the office. Message-ID: Ich werde ab 27.09.2007 nicht im B?ro sein. Ich kehre zur?ck am 08.10.2007. In dringenden F?llen wenden sie sich bitte an meinen Kollegen Herrn Jost Menke unter 02150/9153-0. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 2 16:03:12 2007 From: marc at ena.com (Marc Powell) Date: Tue, 2 Oct 2007 09:03:12 -0500 Subject: deferring a notification In-Reply-To: <149891.24789.qm@web26206.mail.ukl.yahoo.com> References: <149891.24789.qm@web26206.mail.ukl.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Melanie Pfefer > Sent: Tuesday, October 02, 2007 8:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] deferring a notification > > hi > we have a weekly reboot for a server at midnight and > we want nagios to defer the notification e-mail till > morning. > > How to do that? Create a timeperiod that excludes the time in which you expect the host to be down. Assign that as the check_period for the service/host. Nagios will not check the service during this downtime and will notify you as normal if it's still down at the end of the period. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hindrek.murdsalu at tallink.ee Tue Oct 2 16:09:01 2007 From: hindrek.murdsalu at tallink.ee (hindrek murdsalu) Date: Tue, 2 Oct 2007 17:09:01 +0300 Subject: service_perfdata Message-ID: <9BC17A07F06EFA4A8C6CB304127DA4100195AD@mail1.tallink.ee> Hey, I was trying to get nagiosgrapher to work but it didn't seem to get any data from Nagios, so at the end of the day I got frustrated and checked if Nagios can output the data to a file with the default settings and to my surprise, it didn't write any data to file either, which is funny beacuse I've been able to do that before, the service-perfdata.out file still contains the old data from a month ago. Here's my config files: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/usr/local/nagios/var/service-perfdata.dat service_perfdata_file_template=[SERVICEPERFDATA]\t$DATE$\t$HOSTNAME$\t$S ERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t $SERVICEPERFDATA$ service_perfdata_file_mode=a (file processing disabled) Commands.cfg define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICE ATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t $SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/service-perfdata.out } I've made sure that I haven't disabled performance data processing on hosts/services/templates. As I said, this worked for me earlier with nagios version 3.0b1, now I use 3.0b3. What could be the problem here? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin.conolly at gmail.com Tue Oct 2 16:44:14 2007 From: martin.conolly at gmail.com (Martin Conolly) Date: Tue, 2 Oct 2007 15:44:14 +0100 Subject: Summarising or restricting alert notifications Message-ID: <3c089eea0710020744u3cd3df7eoe8b55c79cf315de6@mail.gmail.com> Hi, We're starting a project to migrate our main Big Brother system to Nagios. One of the features we rely on in BB is that it can summarise alerts by recipient - in effect it suppresses notifications that would be sent to a recipient if that recipient already has an unresolved alert. The most recent alert is always sent, to reduce the risk of a more minor alert masking a more serious one. Basically once an engineer is paged they are expected to get online and investigate, so they would then check the main status page and notice any other outstanding alerts. I know Nagios has the concept of service dependencies and will suppress notifications for child services, but what is the suggested method of acheiving what I've described above? Set up a "dummy" host per contact, and making everything a child of that? Thanks -- Martin ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Tue Oct 2 18:32:04 2007 From: caylan at mac.com (Caylan Van Larson) Date: Tue, 2 Oct 2007 11:32:04 -0500 Subject: nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand Message-ID: Hi, I'm seeing this error on CentOS release 4.5 (Final) with nagios- plugins-1.4.10. # ./configure && make all . . . make all-recursive make[1]: Entering directory `/root/nrpe.install/src/nagios- plugins-1.4.10' Making all in gl make[2]: Entering directory `/root/nrpe.install/src/nagios- plugins-1.4.10/gl' make all-am make[3]: Entering directory `/root/nrpe.install/src/nagios- plugins-1.4.10/gl' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT fsusage.o -MD -MP -MF ".deps/fsusage.Tpo" -c -o fsusage.o fsusage.c; \ then mv -f ".deps/fsusage.Tpo" ".deps/fsusage.Po"; else rm -f ".deps/ fsusage.Tpo"; exit 1; fi In file included from fsusage.h:25, from fsusage.c:22: ./stdint.h:76:6: operator '&&' has no left operand Thoughts? cvl --- Caylan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Tue Oct 2 18:42:25 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Tue, 2 Oct 2007 18:42:25 +0200 Subject: nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand In-Reply-To: References: Message-ID: <20071002164225.GP9102065@CIS.FU-Berlin.DE> * Caylan Van Larson [2007-10-02 11:32]: > `/root/nrpe.install/src/nagios-plugins-1.4.10/gl' > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT fsusage.o -MD > -MP -MF ".deps/fsusage.Tpo" -c -o fsusage.o fsusage.c; \ > then mv -f ".deps/fsusage.Tpo" ".deps/fsusage.Po"; else rm -f > ".deps/fsusage.Tpo"; exit 1; fi > In file included from fsusage.h:25, > from fsusage.c:22: > ./stdint.h:76:6: operator '&&' has no left operand Could you show copy'n'paste line 76 of the file /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h for us? Holger ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Tue Oct 2 19:31:04 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Tue, 2 Oct 2007 17:31:04 +0000 (GMT) Subject: nagios check_dxml_drvstate plugin Message-ID: <703144.1409.qm@web23306.mail.ird.yahoo.com> when i execute check_dxml_drvstate plugin locally like ./check_dxml_drvstate-u nagiosdriver.services.unl -p password -d idworks.urs-drivers.services.unl I get these responses Driver idworks.urs-drivers.services.unl is RUNNING. but when i run check_dxml_drvstate plugin through nagios nrpe.cfg I get the following responses NRPE: Unable to read output I think nrpe is expecting response like OK: Warning Critical: how can i fix these problem so that nagios nrpe will be able to read output? ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Tue Oct 2 19:35:06 2007 From: caylan at mac.com (Caylan Van Larson) Date: Tue, 2 Oct 2007 12:35:06 -0500 Subject: nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand In-Reply-To: <20071002164225.GP9102065@CIS.FU-Berlin.DE> References: <20071002164225.GP9102065@CIS.FU-Berlin.DE> Message-ID: <1EE0C875-507E-4C64-9192-21002E43ECF9@mac.com> On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote: > * Caylan Van Larson [2007-10-02 11:32]: >> `/root/nrpe.install/src/nagios-plugins-1.4.10/gl' >> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT >> fsusage.o -MD >> -MP -MF ".deps/fsusage.Tpo" -c -o fsusage.o fsusage.c; \ >> then mv -f ".deps/fsusage.Tpo" ".deps/fsusage.Po"; else rm -f >> ".deps/fsusage.Tpo"; exit 1; fi >> In file included from fsusage.h:25, >> from fsusage.c:22: >> ./stdint.h:76:6: operator '&&' has no left operand > > Could you show copy'n'paste line 76 of the file > > /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h > > for us? # if && ! defined __BIT_TYPES_DEFINED__ /* Linux libc4 >= 4.6.7 and libc5 have a that defines int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is included by . */ # include #endif -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Oct 2 19:45:46 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 2 Oct 2007 10:45:46 -0700 Subject: Check Win2003 Event Log with Nagios and NRPE_NT In-Reply-To: References: Message-ID: <2b7af7c40710021045m7309803fvfb87b7f18802896a@mail.gmail.com> On 10/2/07, Florencio Cano wrote: > But then I have to install that tool and nrpe_nt in each Windows > machine. I'm looking for any plugin that when put in the nrpe_nt > plugins directory could be executed by Nagios. If there is any > solution like this I will try other possibilities as installing Active > Perl and elwatch.pl. Have you tried elwatch.pl? NC_net includes a lot of what nrpe_nt does, and since it's an MSI file, I'm guessing that you should have no problems pushing it out via Microsoft's Group Policy. (Sorry, but I cannot comment on elwatch.pl. For those who arne't familiar with it, here is a URL: http://www.hannes-schulz.de/projs/nagios/check_elwatch.pl) -- http://www.NagiosWiki.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Tue Oct 2 20:35:37 2007 From: caylan at mac.com (Caylan Van Larson) Date: Tue, 2 Oct 2007 13:35:37 -0500 Subject: nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand In-Reply-To: <1EE0C875-507E-4C64-9192-21002E43ECF9@mac.com> References: <20071002164225.GP9102065@CIS.FU-Berlin.DE> <1EE0C875-507E-4C64-9192-21002E43ECF9@mac.com> Message-ID: On Oct 2, 2007, at 12:35 PM, Caylan Van Larson wrote: > On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote: > >> * Caylan Van Larson [2007-10-02 11:32]: >>> `/root/nrpe.install/src/nagios-plugins-1.4.10/gl' >>> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT >>> fsusage.o -MD >>> -MP -MF ".deps/fsusage.Tpo" -c -o fsusage.o fsusage.c; \ >>> then mv -f ".deps/fsusage.Tpo" ".deps/fsusage.Po"; else rm -f >>> ".deps/fsusage.Tpo"; exit 1; fi >>> In file included from fsusage.h:25, >>> from fsusage.c:22: >>> ./stdint.h:76:6: operator '&&' has no left operand >> >> Could you show copy'n'paste line 76 of the file >> >> /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h >> >> for us? > > # if && ! defined __BIT_TYPES_DEFINED__ > /* Linux libc4 >= 4.6.7 and libc5 have a that > defines > int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= > 5.2.2 it is > included by . */ > # include > #endif It's worth noting that I had no problem building the plugins on RHEL 3/4 boxes. Caylan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Tue Oct 2 20:55:44 2007 From: ifetch at du.edu (Ivan Fetch) Date: Tue, 02 Oct 2007 12:55:44 -0600 (MDT) Subject: Ideas for service dependencies on SSH? Message-ID: <20071002123309.L30065@tnetnzry.hgf.qh.rqh> Hello, I'm working to define service dependencies on SSH, for all services associated with the same host wich use SSH (via check_by_ssh) to run checks. I want to tap the collective brains for the most streamlined way to do this using templates and wild cards, while not creating dependencies I don't intend, or an incredible mess of config files. Here are some sample service definitions to illistrate: # Check SSH, this logs in via SSH and echos "OK - able to login via SSH" define service{ use generic-service hostgroup_name ^sol-servers service_description SSH contact_groups sol-admins check_command du_check_ssh } # Check Solaris disk suite define service{ use generic-service hostgroup_name ^sol-servers service_description Disksuite contact_groups sol-admins check_command du_check_disksuite_ssh normal_check_interval 30 notification_interval 360 } I would like the Disksuite service to depend on the SSH service on the same host. I experimented with this dependency definition: define servicedependency{ use generic-servicedependency-ssh dependent_hostgroup_name ^sol-servers dependent_service_description Disksuite hostgroup_name ^sol-servers } Unfortunately, what this appears to do, is to define all combinations of service dependencies - E.G. Disksuite on host2 depends on SSH on host1, Disksuite on host1 depends on SSH on host2, and so on... How are others accomplishing this? Thank you, Ivan Fetch. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bhuffman at incyte.com Tue Oct 2 21:05:59 2007 From: bhuffman at incyte.com (Brian Huffman) Date: Tue, 2 Oct 2007 15:05:59 -0400 Subject: tutorial on checking MS Exchange with NSClient++ &Nagios References: <2b7af7c40709292206m664f5c93mb23848f4f4480390@mail.gmail.com> Message-ID: <6D509397C4A994489CA26734D321297601623417@de-msx01.ds.incyte.com> Does anyone know if these checks still apply to Exchange 2007? Does anyone have anything that they've put together specifically for 2007? Thanks, Brian _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rogelio Bastardo Sent: Sunday, September 30, 2007 1:07 AM To: Nagios Users mailinglist Subject: [Nagios-users] tutorial on checking MS Exchange with NSClient++ &Nagios Yet another "how to check Microsoft Exchange Server with Nagios" wiki entry http://nagioswiki.com/wiki/index.php/Nagios_Checks_for_Exchange_Server_2 00x ************************************************************ The contents of this message are intended only for the use of the individual to which they are addressed and may contain confidential or privileged information. If you are not the intended recipient, you are hereby notified that any use, distribution, disclosure or copying of this message, any attachment or the information contained therein is strictly prohibited. If you have received this transmission in error, please notify the original sender immediately and delete all copies of this message, along with any attachments. Thank you. ************************************************************ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benjamincm at oss.co.nz Tue Oct 2 22:05:55 2007 From: benjamincm at oss.co.nz (Benjamin Cleyet-Marrel) Date: Wed, 03 Oct 2007 09:05:55 +1300 Subject: Nagios Latency In-Reply-To: <4701DE3E.80103@op5.se> References: <4701AD2F.80209@oss.co.nz> <4701DE3E.80103@op5.se> Message-ID: <4702A4A3.603@oss.co.nz> Hi Andreas, Thanks for answering . I have more or less followed the documentation on how to tune nagios. service_reaper_frequency=2 max_concurrent_checks=0 service_interleave_factor=s host_inter_check_delay_method=s The host check command is check_icmp We use nagios 2.7.1 The nagios server is not overloaded 4Go RAM and dual core 3GHz. But still the nagios latency is increasing for no particular reason ... see the graph attached. Cheers Ben Andreas Ericsson wrote: > Benjamin Cleyet-Marrel wrote: >> Hi, >> >> I am experiencing problems with Nagios latency that I can't understand. >> >> Upon Nagios startup or upon Nagios restart, the latency is bellow >> 0.1second which is fine. >> After a couple of days, without any change, and even though the >> execution time and the Nagios server load remain the same the latency >> slowly increase. It seems that it is an exponential growth. >> >> All the checks kicks in later and later, no exception. >> >> Usually after a week the latency is up to 60seconds and after 2 week >> up to 5 minutes. >> >> I have currently set up a Nagios restart every monday, but I would >> like to find a better solution and understand why does the latency >> keeps increasing. >> >> We monitor over 50 hosts and have over 1400 checks every 5 minutes. >> The nagios server is quite big and is not really loaded. >> >> Any Idea would be appreciated >> > > Three things to check: > service_reaper_frequency > check_interleave_factor > max_parallell_something_something > > I haven't done my morning routine yet, so you'll have to figure out the > real variable names in case my memory is a bit off (which it no doubt > is). > > Other than that.. What nagios version are you running, and how is your > host check command defined? > > -- ---------------------------------- Benjamin Cleyet-Marrel Consultant OSS: Open Systems Specialists Ltd phone: 09-984-3000 fax: 09-984-3001 mobile: 021-721-869 email: bcm at oss.co.nz web: www.oss.co.nz post: P.O. Box 8833, Auckland ---------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-latency.png Type: image/png Size: 33267 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Tue Oct 2 23:01:30 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Tue, 02 Oct 2007 17:01:30 -0400 Subject: Some Observations on Installation In-Reply-To: <1190424463.5281.28.camel@jimsx220.pyenet.co.nz> References: <1190424463.5281.28.camel@jimsx220.pyenet.co.nz> Message-ID: <1191358890.4667.24.camel@squeak> On Sat, 2007-09-22 at 13:27 +1200, Jim Pye wrote: > 1. The --with-htmlurl option on the ./configure command did not seem to > work for either install. It seems you have a typo. The option name is '-with-htmurl'. > 2. The filename for the rc.d script was just nagios which meant that one > would override the other. That's pretty much standard behavior for most software that installs an init script, and is usually what is needed 90% of the time. (I too have done side-by-side installs of Nagios, so I just make sure to avoid running "make install-init".) -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Tue Oct 2 23:17:47 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Tue, 02 Oct 2007 17:17:47 -0400 Subject: notifications 3.0b3 not working. In-Reply-To: <20070928025403.486BE580078@desire.netways.de> References: <8A793F1AC3ED7447B580082FCF608CF9FE24DC@twtexchange1.twt.intern> <20070928025403.486BE580078@desire.netways.de> Message-ID: <1191359867.4667.31.camel@squeak> On Fri, 2007-09-28 at 04:54 +0200, Ken Lee wrote: > Mate, there are no lines similar to this in the messages file, in fact > no mention of smtp at all in the latest one. I have also looked in the > mail log and the only nagios entries are the tests that I have done. You said you didn't see any "SERVICE ALERT" lines in /var/log/messages, but did you also check /usr/local/nagios/var/nagios.log? From the configs you posted, that should be where those types of messages go. (You'll have to excuse me if you already checked that file. I just wasn't sure based on your response if you have looked there as well.) -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Tue Oct 2 23:23:34 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Tue, 02 Oct 2007 17:23:34 -0400 Subject: service/host escallations with additional groups In-Reply-To: References: Message-ID: <1191360215.4667.37.camel@squeak> On Thu, 2007-09-27 at 11:29 -0700, Scott Brynen wrote: > I'm trying to define some service/host escallations that add an additional > user to the first notification, however, the additive operator doesn't seem > to work > > define hostescalation{ > hostgroup_name * > first_notification 1 > last_notification 1 > contact_groups +servicedesk > } > (on the first notification, send a note to the servicedesk IN ADDITION to > the normal.) The contact_groups value in a host escalation replaces the contact_groups value from the host definition. To accomplish what you want, you need to set contact_groups to be ",servicedesk". Of course, you are using a wildcard for the hostgroup_name, so you would probably need a separate escalation for each hostgroup since they may have different original contact groups. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Tue Oct 2 23:32:39 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Tue, 02 Oct 2007 17:32:39 -0400 Subject: Ideas for service dependencies on SSH? In-Reply-To: <20071002123309.L30065@tnetnzry.hgf.qh.rqh> References: <20071002123309.L30065@tnetnzry.hgf.qh.rqh> Message-ID: <1191360759.4667.45.camel@squeak> On Tue, 2007-10-02 at 12:55 -0600, Ivan Fetch wrote: > Unfortunately, what this appears to do, is to define all combinations > of service dependencies - E.G. Disksuite on host2 depends on SSH on host1, > Disksuite on host1 depends on SSH on host2, > and so on... > > How are others accomplishing this? Waiting for the final Nagios 3.0 release :-) Assuming that you are using Nagios 2.x, what you want to do is not possible unless you define a dependency separately for every host. That is the biggest issue keeping me from using proper service dependencies in my setup. However, Nagios 3.0 addresses that. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.pye at pyenet.co.nz Wed Oct 3 00:17:05 2007 From: jim.pye at pyenet.co.nz (Jim Pye) Date: Wed, 03 Oct 2007 10:17:05 +1200 Subject: Some Observations on Installation In-Reply-To: <1191358890.4667.24.camel@squeak> References: <1190424463.5281.28.camel@jimsx220.pyenet.co.nz> <1191358890.4667.24.camel@squeak> Message-ID: <1191363425.3929.5.camel@jimsx220.pyenet.co.nz> On Tue, 2007-10-02 at 17:01 -0400, Richard Mohr wrote: > > 1. The --with-htmlurl option on the ./configure command did not seem to > > work for either install. > > It seems you have a typo. The option name is '-with-htmurl'. Rechecking and you are correct. Wonder why it accepted -with-htmlurl without complaining? No problems, I will keep an eye on the spelling next time... > > > 2. The filename for the rc.d script was just nagios which meant that one > > would override the other. > > That's pretty much standard behavior for most software that installs an > init script, and is usually what is needed 90% of the time. (I too have > done side-by-side installs of Nagios, so I just make sure to avoid > running "make install-init".) > I saw this one coming after I installed the first version so manually renamed the script etc. before installing the second version. Cheers Jim -- Jim Pye PyeNet Universal http://www.pyenet.co.nz ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Wed Oct 3 01:42:05 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Wed, 3 Oct 2007 01:42:05 +0200 Subject: nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand In-Reply-To: References: <20071002164225.GP9102065@CIS.FU-Berlin.DE> <1EE0C875-507E-4C64-9192-21002E43ECF9@mac.com> Message-ID: <20071002234205.GT9102065@CIS.FU-Berlin.DE> * Caylan Van Larson [2007-10-02 13:35]: > On Oct 2, 2007, at 12:35 PM, Caylan Van Larson wrote: >> On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote: >>> * Caylan Van Larson [2007-10-02 11:32]: >>>> ./stdint.h:76:6: operator '&&' has no left operand >>> >>> Could you show copy'n'paste line 76 of the file >>> >>> /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h >>> >>> for us? >> >> # if && ! defined __BIT_TYPES_DEFINED__ >> /* Linux libc4 >= 4.6.7 and libc5 have a that defines >> int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is >> included by . */ >> # include >> #endif > > It's worth noting that I had no problem building the plugins on RHEL 3/4 > boxes. What's the output of the following commands? $ cd /root/nrpe.install/src/nagios-plugins-1.4.10 $ grep ^HAVE config.log gl/Makefile Just to make sure, running "make distclean" and re-running "./configure; make" won't solve the problem? Holger ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caylan at mac.com Wed Oct 3 01:52:50 2007 From: caylan at mac.com (Caylan Van Larson) Date: Tue, 2 Oct 2007 18:52:50 -0500 Subject: nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand In-Reply-To: <20071002234205.GT9102065@CIS.FU-Berlin.DE> References: <20071002164225.GP9102065@CIS.FU-Berlin.DE> <1EE0C875-507E-4C64-9192-21002E43ECF9@mac.com> <20071002234205.GT9102065@CIS.FU-Berlin.DE> Message-ID: On Oct 2, 2007, at 6:42 PM, Holger Weiss wrote: > * Caylan Van Larson [2007-10-02 13:35]: >> On Oct 2, 2007, at 12:35 PM, Caylan Van Larson wrote: >>> On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote: >>>> * Caylan Van Larson [2007-10-02 11:32]: >>>>> ./stdint.h:76:6: operator '&&' has no left operand >>>> >>>> Could you show copy'n'paste line 76 of the file >>>> >>>> /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h >>>> >>>> for us? >>> >>> # if && ! defined __BIT_TYPES_DEFINED__ >>> /* Linux libc4 >= 4.6.7 and libc5 have a that >>> defines >>> int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= >>> 5.2.2 it is >>> included by . */ >>> # include >>> #endif >> >> It's worth noting that I had no problem building the plugins on >> RHEL 3/4 >> boxes. > > What's the output of the following commands? > > $ cd /root/nrpe.install/src/nagios-plugins-1.4.10 > $ grep ^HAVE config.log gl/Makefile > > Just to make sure, running "make distclean" and re-running "./ > configure; > make" won't solve the problem? Ahha, distclean fixed the problem. Must have had some cruft from a previous build on RHEL. Thank you, Holger. -Caylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Wed Oct 3 02:34:34 2007 From: patrickm at garlic.com (Patrick M.) Date: Tue, 02 Oct 2007 17:34:34 -0700 Subject: Tivoli TSM Checks via NRPE Message-ID: <4702E39A.1060601@garlic.com> Hi all, I went to Nagios Exchange and downloaded the tsm checks so I can use them on our Tivoli Storage Manager server via NRPE. I'm running into an issue here, as I think the script wasn't intended to be used on any other host than localhost. The reason I say this is because it appears when I run it locally compared to running it via NRPE, I get different results. For example: On localhost: localhost:/usr/local/nagios/libexec # ./tsm_disk_pool.sh tsm_disk info OK | pct_util(BACKUPPOOL)=36.0;;;; pct_migr(BACKUPPOOL)=36.0;;;; pct_util(LARGEDISK)=74.7;;;; pct_migr(LARGEDISK)=74.7;;;; On our Nagios Server: nagios:/etc/nagios/libexec# ./check_nrpe -H oahu.garlic.com -c tsm_disk_pool tsm_disk info OK | Is there an alternative as to how I can run the scripts? If not, does anyone know how I can modify these scripts to be run properly? Anyone have any experience with these scripts? Thanks in advance. Patrick ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Wed Oct 3 03:45:06 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Tue, 2 Oct 2007 18:45:06 -0700 Subject: no error if no notification_options Message-ID: Recently, I messed up my (version 2.2) configs and it took me a while to figure out why I wasn't getting any alerts: turns out the scripts I use to generate my configs were not writing out the notification_options directive on my templates. Even though I had notifications enabled everywhere, I was not getting alerts. While admittedly, this was my problem and not Nagios', it would have been nice to see a warning in the verification routine. Like: Warning: service xyz has no notification options enabled. That would have tipped me off right away. I checked this against a 3.0b2 version i'm running on a dev server and it seemed to exhibit the same behavior. According to the docs, I thought notification_options was a required directive? In that case, shouldn't it throw an error? here's a snippit of a config that passes verify: define service { name generic-service max_check_attempts 3 normal_check_interval 30 retry_check_interval 15 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 freshness_threshold 0 flap_detection_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_period 24x7 notifications_enabled 1 register 0 } define service { hostgroup_name zzdummy service_description zzdummy use generic-service check_command check_dummy contact_groups nagios_dev } notice in the template: no notification_options no alerts will ever be sent for this service. Is this a bug or am I missing something? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtabasz at cisco.com Wed Oct 3 05:02:18 2007 From: jtabasz at cisco.com (John Tabasz (jtabasz)) Date: Tue, 2 Oct 2007 20:02:18 -0700 Subject: ping service In-Reply-To: References: <1188554927.11907.8.camel@localhost> Message-ID: <999D9C7316770741A028EF2A88B8E46803E2E890@xmb-sjc-22a.amer.cisco.com> I am in a quite similar situation as Fanen. My question is more about the configuration aspect. I have each host defined in the hosts.cfg file, with a "check-host-alive" argument to the check_command directive. Do I need to also build the commands.cfg or services.cfg file such that every host has a declaration for every command I want to run on it? If I want to monitor 2K plus hosts, this is a lot of config file building/monitoring/troubleshooting to do. Not to mention some large files to be parsed by Nagios. Thanks, John -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, August 31, 2007 5:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] ping service > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Fanen Ahua > Sent: Friday, August 31, 2007 5:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ping service > > Hi, > I recently installed and setup nagios on an ubuntu 7.04 system. > > I believe i have my configuration in place, and working, and i'm trying > to monitor a system via ping, > It monitors, whenever i schedule it explicitly. I want it to automatically > run > the check every few minutes. I believe that's what 'normal_check_interval' > is for. > Is there something i'm missing? Did you disable execution of service checks in nagios.cfg perhaps? http://nagios.sourceforge.net/docs/2_0/configmain.html#execute_service_c hecks Also running /path/to/nagios -s /path/to/nagios.cfg might reveal interesting information. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livegreat007 at yahoo.com Wed Oct 3 08:22:48 2007 From: livegreat007 at yahoo.com (Live Great) Date: Tue, 2 Oct 2007 23:22:48 -0700 (PDT) Subject: check_by_ssh - please clarify. Message-ID: <81599.12134.qm@web45508.mail.sp1.yahoo.com> Hi, This is the follow up the previous question. For example, if I want to check disk info in a remote host, In the NSCA server, I will define the following config: define command{ command_name check_slash_free command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l root -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p /' }Do I only need to install check_disk script/program in the remote host without installing nagios and other nagios plugins? Thanks[ Sam ----- Original Message ---- From: Live Great To: nagios-users at lists.sourceforge.net; nagios-users at lists.sourceforge.net Sent: Wednesday, October 3, 2007 4:14:25 PM Subject: check_by_ssh - please clarify. Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.F.Wheeler at rl.ac.uk Wed Oct 3 10:28:37 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 3 Oct 2007 09:28:37 +0100 Subject: FW: Problem with NDOUtils 1.4b6 and MySQL Message-ID: -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net On Behalf Of mark.potter at academy.com > Sent: 02 October 2007 14:52 > > Thank you Mr Wheeler and Hugo for your advice. I have snipped the output of the suggested command from > Mr. Wheeler. > > checking for mysql_store_result in -lmysqlclient... no > > *** MySQL library could not be located... ************************** Do you have the mysql-devel RPM installed ? This RPM contains the /usr/include/mysql files and would be required by the build. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hindrek.murdsalu at tallink.ee Wed Oct 3 11:29:00 2007 From: hindrek.murdsalu at tallink.ee (hindrek murdsalu) Date: Wed, 3 Oct 2007 12:29:00 +0300 Subject: service_perfdata In-Reply-To: <9BC17A07F06EFA4A8C6CB304127DA4100195AD@mail1.tallink.ee> References: <9BC17A07F06EFA4A8C6CB304127DA4100195AD@mail1.tallink.ee> Message-ID: <9BC17A07F06EFA4A8C6CB304127DA4100195C1@mail1.tallink.ee> This is getting a bit incomprehensible; I even went as far as to roll back to 3.0b1, still the same situation, nothing is being written to file. Checked if the Nagios user could use printf and did a test, it wrote into the same file just fine, then figured maybe 1 of the macros used in defining the command has been renamed/removed (even though I switched back to 3.0b1), so tried with define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\n" >> /usr/local/nagios/var/service- perfdata.out } Still nothing of course, there doesn't seem to be any debug info for performance data either, which is weird considering I may use Nagios' own internal write-to-file method instead of using the command with printf (which I did and it didn't work either). Switched retain_nonstatus_information to 0 before reloading Nagios just in case, that didn't do the trick either. Could something non-Nagios related be preventing it from fetching/writing the data? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of hindrek murdsalu Sent: 2. oktoober 2007. a. 17:09 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service_perfdata Hey, I was trying to get nagiosgrapher to work but it didn't seem to get any data from Nagios, so at the end of the day I got frustrated and checked if Nagios can output the data to a file with the default settings and to my surprise, it didn't write any data to file either, which is funny beacuse I've been able to do that before, the service-perfdata.out file still contains the old data from a month ago. Here's my config files: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/usr/local/nagios/var/service-perfdata.dat service_perfdata_file_template=[SERVICEPERFDATA]\t$DATE$\t$HOSTNAME$\t$S ERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t $SERVICEPERFDATA$ service_perfdata_file_mode=a (file processing disabled) Commands.cfg define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICE ATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t $SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/service-perfdata.out } I've made sure that I haven't disabled performance data processing on hosts/services/templates. As I said, this worked for me earlier with nagios version 3.0b1, now I use 3.0b3. What could be the problem here? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livegreat007 at yahoo.com Wed Oct 3 08:14:25 2007 From: livegreat007 at yahoo.com (Live Great) Date: Tue, 2 Oct 2007 23:14:25 -0700 (PDT) Subject: check_by_ssh - please clarify. Message-ID: <281009.77592.qm@web45511.mail.sp1.yahoo.com> Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.mclaughlin at bizneteis.com Wed Oct 3 12:30:04 2007 From: daniel.mclaughlin at bizneteis.com (Daniel McLaughlin) Date: Wed, 3 Oct 2007 11:30:04 +0100 Subject: Nagios latency In-Reply-To: References: Message-ID: I have experienced the same issue, I inherited a nagios installation from a previous administrator and they had neglected to set parallelize_check = 1 and it exhibited the exact same symptoms as you describe. Daniel -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: 03 October 2007 11:06 To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 17, Issue 6 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Nagios Latency (Benjamin Cleyet-Marrel) 2. Re: Some Observations on Installation (Richard Mohr) 3. Re: notifications 3.0b3 not working. (Richard Mohr) 4. Re: service/host escallations with additional groups (Richard Mohr) 5. Re: Ideas for service dependencies on SSH? (Richard Mohr) 6. Re: Some Observations on Installation (Jim Pye) 7. Re: nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand (Holger Weiss) 8. Re: nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand (Caylan Van Larson) 9. Tivoli TSM Checks via NRPE (Patrick M.) 10. no error if no notification_options (Rob Brown) 11. Re: ping service (John Tabasz (jtabasz)) 12. Re: check_by_ssh - please clarify. (Live Great) 13. FW: Problem with NDOUtils 1.4b6 and MySQL (Wheeler, JF (Jonathan)) 14. Re: service_perfdata (hindrek murdsalu) 15. check_by_ssh - please clarify. (Live Great) 16. check_by_ssh - please clarify. (Live Great) ---------------------------------------------------------------------- Message: 1 Date: Wed, 03 Oct 2007 09:05:55 +1300 From: Benjamin Cleyet-Marrel Subject: Re: [Nagios-users] Nagios Latency To: nagios-users at lists.sourceforge.net Message-ID: <4702A4A3.603 at oss.co.nz> Content-Type: text/plain; charset="iso-8859-15" Hi Andreas, Thanks for answering . I have more or less followed the documentation on how to tune nagios. service_reaper_frequency=2 max_concurrent_checks=0 service_interleave_factor=s host_inter_check_delay_method=s The host check command is check_icmp We use nagios 2.7.1 The nagios server is not overloaded 4Go RAM and dual core 3GHz. But still the nagios latency is increasing for no particular reason ... see the graph attached. Cheers Ben Andreas Ericsson wrote: > Benjamin Cleyet-Marrel wrote: >> Hi, >> >> I am experiencing problems with Nagios latency that I can't understand. >> >> Upon Nagios startup or upon Nagios restart, the latency is bellow >> 0.1second which is fine. >> After a couple of days, without any change, and even though the >> execution time and the Nagios server load remain the same the latency >> slowly increase. It seems that it is an exponential growth. >> >> All the checks kicks in later and later, no exception. >> >> Usually after a week the latency is up to 60seconds and after 2 week >> up to 5 minutes. >> >> I have currently set up a Nagios restart every monday, but I would >> like to find a better solution and understand why does the latency >> keeps increasing. >> >> We monitor over 50 hosts and have over 1400 checks every 5 minutes. >> The nagios server is quite big and is not really loaded. >> >> Any Idea would be appreciated >> > > Three things to check: > service_reaper_frequency > check_interleave_factor > max_parallell_something_something > > I haven't done my morning routine yet, so you'll have to figure out the > real variable names in case my memory is a bit off (which it no doubt > is). > > Other than that.. What nagios version are you running, and how is your > host check command defined? > > -- ---------------------------------- Benjamin Cleyet-Marrel Consultant OSS: Open Systems Specialists Ltd phone: 09-984-3000 fax: 09-984-3001 mobile: 021-721-869 email: bcm at oss.co.nz web: www.oss.co.nz post: P.O. Box 8833, Auckland ---------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-latency.png Type: image/png Size: 33267 bytes Desc: not available ------------------------------ Message: 2 Date: Tue, 02 Oct 2007 17:01:30 -0400 From: Richard Mohr Subject: Re: [Nagios-users] Some Observations on Installation To: jim.pye at pyenet.co.nz Cc: nagios-users at lists.sourceforge.net Message-ID: <1191358890.4667.24.camel at squeak> Content-Type: text/plain On Sat, 2007-09-22 at 13:27 +1200, Jim Pye wrote: > 1. The --with-htmlurl option on the ./configure command did not seem to > work for either install. It seems you have a typo. The option name is '-with-htmurl'. > 2. The filename for the rc.d script was just nagios which meant that one > would override the other. That's pretty much standard behavior for most software that installs an init script, and is usually what is needed 90% of the time. (I too have done side-by-side installs of Nagios, so I just make sure to avoid running "make install-init".) -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------ Message: 3 Date: Tue, 02 Oct 2007 17:17:47 -0400 From: Richard Mohr Subject: Re: [Nagios-users] notifications 3.0b3 not working. To: Ken Lee Cc: nagios-users at lists.sourceforge.net Message-ID: <1191359867.4667.31.camel at squeak> Content-Type: text/plain On Fri, 2007-09-28 at 04:54 +0200, Ken Lee wrote: > Mate, there are no lines similar to this in the messages file, in fact > no mention of smtp at all in the latest one. I have also looked in the > mail log and the only nagios entries are the tests that I have done. You said you didn't see any "SERVICE ALERT" lines in /var/log/messages, but did you also check /usr/local/nagios/var/nagios.log? From the configs you posted, that should be where those types of messages go. (You'll have to excuse me if you already checked that file. I just wasn't sure based on your response if you have looked there as well.) -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------ Message: 4 Date: Tue, 02 Oct 2007 17:23:34 -0400 From: Richard Mohr Subject: Re: [Nagios-users] service/host escallations with additional groups To: Scott Brynen Cc: nagios-users at lists.sourceforge.net Message-ID: <1191360215.4667.37.camel at squeak> Content-Type: text/plain On Thu, 2007-09-27 at 11:29 -0700, Scott Brynen wrote: > I'm trying to define some service/host escallations that add an additional > user to the first notification, however, the additive operator doesn't seem > to work > > define hostescalation{ > hostgroup_name * > first_notification 1 > last_notification 1 > contact_groups +servicedesk > } > (on the first notification, send a note to the servicedesk IN ADDITION to > the normal.) The contact_groups value in a host escalation replaces the contact_groups value from the host definition. To accomplish what you want, you need to set contact_groups to be ",servicedesk". Of course, you are using a wildcard for the hostgroup_name, so you would probably need a separate escalation for each hostgroup since they may have different original contact groups. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------ Message: 5 Date: Tue, 02 Oct 2007 17:32:39 -0400 From: Richard Mohr Subject: Re: [Nagios-users] Ideas for service dependencies on SSH? To: Ivan Fetch Cc: nagios-users at lists.sourceforge.net Message-ID: <1191360759.4667.45.camel at squeak> Content-Type: text/plain On Tue, 2007-10-02 at 12:55 -0600, Ivan Fetch wrote: > Unfortunately, what this appears to do, is to define all combinations > of service dependencies - E.G. Disksuite on host2 depends on SSH on host1, > Disksuite on host1 depends on SSH on host2, > and so on... > > How are others accomplishing this? Waiting for the final Nagios 3.0 release :-) Assuming that you are using Nagios 2.x, what you want to do is not possible unless you define a dependency separately for every host. That is the biggest issue keeping me from using proper service dependencies in my setup. However, Nagios 3.0 addresses that. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------ Message: 6 Date: Wed, 03 Oct 2007 10:17:05 +1200 From: Jim Pye Subject: Re: [Nagios-users] Some Observations on Installation To: nagios-users at lists.sourceforge.net Message-ID: <1191363425.3929.5.camel at jimsx220.pyenet.co.nz> Content-Type: text/plain On Tue, 2007-10-02 at 17:01 -0400, Richard Mohr wrote: > > 1. The --with-htmlurl option on the ./configure command did not seem to > > work for either install. > > It seems you have a typo. The option name is '-with-htmurl'. Rechecking and you are correct. Wonder why it accepted -with-htmlurl without complaining? No problems, I will keep an eye on the spelling next time... > > > 2. The filename for the rc.d script was just nagios which meant that one > > would override the other. > > That's pretty much standard behavior for most software that installs an > init script, and is usually what is needed 90% of the time. (I too have > done side-by-side installs of Nagios, so I just make sure to avoid > running "make install-init".) > I saw this one coming after I installed the first version so manually renamed the script etc. before installing the second version. Cheers Jim -- Jim Pye PyeNet Universal http://www.pyenet.co.nz ------------------------------ Message: 7 Date: Wed, 3 Oct 2007 01:42:05 +0200 From: Holger Weiss Subject: Re: [Nagios-users] nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand To: Nagios Users Message-ID: <20071002234205.GT9102065 at CIS.FU-Berlin.DE> Content-Type: text/plain; charset=us-ascii * Caylan Van Larson [2007-10-02 13:35]: > On Oct 2, 2007, at 12:35 PM, Caylan Van Larson wrote: >> On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote: >>> * Caylan Van Larson [2007-10-02 11:32]: >>>> ./stdint.h:76:6: operator '&&' has no left operand >>> >>> Could you show copy'n'paste line 76 of the file >>> >>> /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h >>> >>> for us? >> >> # if && ! defined __BIT_TYPES_DEFINED__ >> /* Linux libc4 >= 4.6.7 and libc5 have a that defines >> int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is >> included by . */ >> # include >> #endif > > It's worth noting that I had no problem building the plugins on RHEL 3/4 > boxes. What's the output of the following commands? $ cd /root/nrpe.install/src/nagios-plugins-1.4.10 $ grep ^HAVE config.log gl/Makefile Just to make sure, running "make distclean" and re-running "./configure; make" won't solve the problem? Holger ------------------------------ Message: 8 Date: Tue, 2 Oct 2007 18:52:50 -0500 From: Caylan Van Larson Subject: Re: [Nagios-users] nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand To: Holger Weiss Cc: Nagios Users Message-ID: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Oct 2, 2007, at 6:42 PM, Holger Weiss wrote: > * Caylan Van Larson [2007-10-02 13:35]: >> On Oct 2, 2007, at 12:35 PM, Caylan Van Larson wrote: >>> On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote: >>>> * Caylan Van Larson [2007-10-02 11:32]: >>>>> ./stdint.h:76:6: operator '&&' has no left operand >>>> >>>> Could you show copy'n'paste line 76 of the file >>>> >>>> /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h >>>> >>>> for us? >>> >>> # if && ! defined __BIT_TYPES_DEFINED__ >>> /* Linux libc4 >= 4.6.7 and libc5 have a that >>> defines >>> int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= >>> 5.2.2 it is >>> included by . */ >>> # include >>> #endif >> >> It's worth noting that I had no problem building the plugins on >> RHEL 3/4 >> boxes. > > What's the output of the following commands? > > $ cd /root/nrpe.install/src/nagios-plugins-1.4.10 > $ grep ^HAVE config.log gl/Makefile > > Just to make sure, running "make distclean" and re-running "./ > configure; > make" won't solve the problem? Ahha, distclean fixed the problem. Must have had some cruft from a previous build on RHEL. Thank you, Holger. -Caylan ------------------------------ Message: 9 Date: Tue, 02 Oct 2007 17:34:34 -0700 From: "Patrick M." Subject: [Nagios-users] Tivoli TSM Checks via NRPE To: nagios-users at lists.sourceforge.net Message-ID: <4702E39A.1060601 at garlic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Hi all, I went to Nagios Exchange and downloaded the tsm checks so I can use them on our Tivoli Storage Manager server via NRPE. I'm running into an issue here, as I think the script wasn't intended to be used on any other host than localhost. The reason I say this is because it appears when I run it locally compared to running it via NRPE, I get different results. For example: On localhost: localhost:/usr/local/nagios/libexec # ./tsm_disk_pool.sh tsm_disk info OK | pct_util(BACKUPPOOL)=36.0;;;; pct_migr(BACKUPPOOL)=36.0;;;; pct_util(LARGEDISK)=74.7;;;; pct_migr(LARGEDISK)=74.7;;;; On our Nagios Server: nagios:/etc/nagios/libexec# ./check_nrpe -H oahu.garlic.com -c tsm_disk_pool tsm_disk info OK | Is there an alternative as to how I can run the scripts? If not, does anyone know how I can modify these scripts to be run properly? Anyone have any experience with these scripts? Thanks in advance. Patrick ------------------------------ Message: 10 Date: Tue, 2 Oct 2007 18:45:06 -0700 From: "Rob Brown" Subject: [Nagios-users] no error if no notification_options To: nagios-users at lists.sourceforge.net Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Recently, I messed up my (version 2.2) configs and it took me a while to figure out why I wasn't getting any alerts: turns out the scripts I use to generate my configs were not writing out the notification_options directive on my templates. Even though I had notifications enabled everywhere, I was not getting alerts. While admittedly, this was my problem and not Nagios', it would have been nice to see a warning in the verification routine. Like: Warning: service xyz has no notification options enabled. That would have tipped me off right away. I checked this against a 3.0b2 version i'm running on a dev server and it seemed to exhibit the same behavior. According to the docs, I thought notification_options was a required directive? In that case, shouldn't it throw an error? here's a snippit of a config that passes verify: define service { name generic-service max_check_attempts 3 normal_check_interval 30 retry_check_interval 15 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 freshness_threshold 0 flap_detection_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_period 24x7 notifications_enabled 1 register 0 } define service { hostgroup_name zzdummy service_description zzdummy use generic-service check_command check_dummy contact_groups nagios_dev } notice in the template: no notification_options no alerts will ever be sent for this service. Is this a bug or am I missing something? ------------------------------ Message: 11 Date: Tue, 2 Oct 2007 20:02:18 -0700 From: "John Tabasz (jtabasz)" Subject: Re: [Nagios-users] ping service To: "Marc Powell" , Message-ID: <999D9C7316770741A028EF2A88B8E46803E2E890 at xmb-sjc-22a.amer.cisco.com> Content-Type: text/plain; charset="US-ASCII" I am in a quite similar situation as Fanen. My question is more about the configuration aspect. I have each host defined in the hosts.cfg file, with a "check-host-alive" argument to the check_command directive. Do I need to also build the commands.cfg or services.cfg file such that every host has a declaration for every command I want to run on it? If I want to monitor 2K plus hosts, this is a lot of config file building/monitoring/troubleshooting to do. Not to mention some large files to be parsed by Nagios. Thanks, John -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, August 31, 2007 5:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] ping service > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Fanen Ahua > Sent: Friday, August 31, 2007 5:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ping service > > Hi, > I recently installed and setup nagios on an ubuntu 7.04 system. > > I believe i have my configuration in place, and working, and i'm trying > to monitor a system via ping, > It monitors, whenever i schedule it explicitly. I want it to automatically > run > the check every few minutes. I believe that's what 'normal_check_interval' > is for. > Is there something i'm missing? Did you disable execution of service checks in nagios.cfg perhaps? http://nagios.sourceforge.net/docs/2_0/configmain.html#execute_service_c hecks Also running /path/to/nagios -s /path/to/nagios.cfg might reveal interesting information. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------ Message: 12 Date: Tue, 2 Oct 2007 23:22:48 -0700 (PDT) From: Live Great Subject: Re: [Nagios-users] check_by_ssh - please clarify. To: nagios-users at lists.sourceforge.net Message-ID: <81599.12134.qm at web45508.mail.sp1.yahoo.com> Content-Type: text/plain; charset="us-ascii" Hi, This is the follow up the previous question. For example, if I want to check disk info in a remote host, In the NSCA server, I will define the following config: define command{ command_name check_slash_free command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l root -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p /' }Do I only need to install check_disk script/program in the remote host without installing nagios and other nagios plugins? Thanks[ Sam ----- Original Message ---- From: Live Great To: nagios-users at lists.sourceforge.net; nagios-users at lists.sourceforge.net Sent: Wednesday, October 3, 2007 4:14:25 PM Subject: check_by_ssh - please clarify. Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 13 Date: Wed, 3 Oct 2007 09:28:37 +0100 From: "Wheeler, JF \(Jonathan\)" Subject: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL To: Message-ID: Content-Type: text/plain; charset="us-ascii" -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net On Behalf Of mark.potter at academy.com > Sent: 02 October 2007 14:52 > > Thank you Mr Wheeler and Hugo for your advice. I have snipped the output of the suggested command from > Mr. Wheeler. > > checking for mysql_store_result in -lmysqlclient... no > > *** MySQL library could not be located... ************************** Do you have the mysql-devel RPM installed ? This RPM contains the /usr/include/mysql files and would be required by the build. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------ Message: 14 Date: Wed, 3 Oct 2007 12:29:00 +0300 From: "hindrek murdsalu" Subject: Re: [Nagios-users] service_perfdata To: Message-ID: <9BC17A07F06EFA4A8C6CB304127DA4100195C1 at mail1.tallink.ee> Content-Type: text/plain; charset="us-ascii" This is getting a bit incomprehensible; I even went as far as to roll back to 3.0b1, still the same situation, nothing is being written to file. Checked if the Nagios user could use printf and did a test, it wrote into the same file just fine, then figured maybe 1 of the macros used in defining the command has been renamed/removed (even though I switched back to 3.0b1), so tried with define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\n" >> /usr/local/nagios/var/service- perfdata.out } Still nothing of course, there doesn't seem to be any debug info for performance data either, which is weird considering I may use Nagios' own internal write-to-file method instead of using the command with printf (which I did and it didn't work either). Switched retain_nonstatus_information to 0 before reloading Nagios just in case, that didn't do the trick either. Could something non-Nagios related be preventing it from fetching/writing the data? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of hindrek murdsalu Sent: 2. oktoober 2007. a. 17:09 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service_perfdata Hey, I was trying to get nagiosgrapher to work but it didn't seem to get any data from Nagios, so at the end of the day I got frustrated and checked if Nagios can output the data to a file with the default settings and to my surprise, it didn't write any data to file either, which is funny beacuse I've been able to do that before, the service-perfdata.out file still contains the old data from a month ago. Here's my config files: Nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata service_perfdata_file=/usr/local/nagios/var/service-perfdata.dat service_perfdata_file_template=[SERVICEPERFDATA]\t$DATE$\t$HOSTNAME$\t$S ERVICEDESC$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t $SERVICEPERFDATA$ service_perfdata_file_mode=a (file processing disabled) Commands.cfg define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICE ATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t $SERVICEOUTPUT$\t$SERVICEPERFDATA$\n" >> /usr/local/nagios/var/service-perfdata.out } I've made sure that I haven't disabled performance data processing on hosts/services/templates. As I said, this worked for me earlier with nagios version 3.0b1, now I use 3.0b3. What could be the problem here? ------------------------------ Message: 15 Date: Tue, 2 Oct 2007 23:14:25 -0700 (PDT) From: Live Great Subject: [Nagios-users] check_by_ssh - please clarify. To: nagios-users at lists.sourceforge.net, nagios-users at lists.sourceforge.net Message-ID: <281009.77592.qm at web45511.mail.sp1.yahoo.com> Content-Type: text/plain; charset="us-ascii" Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 16 Date: Tue, 2 Oct 2007 23:14:25 -0700 (PDT) From: Live Great Subject: [Nagios-users] check_by_ssh - please clarify. To: nagios-users at lists.sourceforge.net, nagios-users at lists.sourceforge.net Message-ID: <281009.77592.qm at web45511.mail.sp1.yahoo.com> Content-Type: text/plain; charset="us-ascii" Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 17, Issue 6 ******************************************* If you are not the intended recipient, or person responsible for delivering it to the intended recipient, you are not authorised to and must not disclose, copy, distribute or retain this message or any part of it. The opinions/views/comments on this e-mail do not necessarily reflect any views or policies of BizNet. The recipient should check this email and any attachments for the presence of viruses. BizNet accepts no liability for any damage caused by any virus transmitted by this email. BizNet Solutions 2007 BizNet Solutions Ltd. is a Company registered in Northern Ireland, Company Reg: NI 39404 Head Office 133-137 Lisburn Road, Belfast, Northern Ireland, BT9 7AG ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livegreat007 at yahoo.com Wed Oct 3 03:09:25 2007 From: livegreat007 at yahoo.com (Live Great) Date: Tue, 2 Oct 2007 18:09:25 -0700 (PDT) Subject: live demo Message-ID: <114036.74558.qm@web45504.mail.sp1.yahoo.com> Hi, I am looking for a live demo website for the introudction of nagios. Can anyone please point me to an available link? I 've been searched in google, can't find a link for that. The one at Nagios website is broken. Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tbabar at osius.com Wed Oct 3 13:15:04 2007 From: tbabar at osius.com (Tatyaso Babar) Date: Wed, 3 Oct 2007 04:15:04 -0700 Subject: NSCA & Nagios In-Reply-To: <114036.74558.qm@web45504.mail.sp1.yahoo.com> References: <114036.74558.qm@web45504.mail.sp1.yahoo.com> Message-ID: <1B88EE714FA1204D956B6232A887887401CF00F3@ex2.osius.com> Hi, Does anyone have the step by step guide for NSCA with Nagios. I have got the document from nagios site for NSCA daemon to be configured on nagios server. But I am unable to find information about configuring the nsca client to send the check results to server. It will be great help if someone can guide on this. Also if some one has how-to about nrpe, please let me know. Regards, Tatyaso -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ronald.rojas at gmail.com Wed Oct 3 13:20:00 2007 From: ronald.rojas at gmail.com (Ronald Rojas) Date: Wed, 03 Oct 2007 19:20:00 +0800 Subject: Nagios SAP CCMS Plugin Message-ID: <1191410400.28155.5.camel@localhost> Hi everyone, I'm having a problem compiling sap-ccms-plugin on 64-bit architecture. Here's the error: /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `librfc.a(rfcilib.o)' is incompatible with i386:x86-64 output /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `librfc.a(cpictlib.o)' is incompatible with i386:x86-64 output librfc.a(cpictlib.o): In function `adjust_clock': /bas/46B/gen/opt/linuxintel/krn/perf/pfclock.c:846: undefined reference to `__divdi3' /bas/46B/gen/opt/linuxintel/krn/perf/pfclock.c:846: undefined reference to `__divdi3' collect2: ld returned 1 exit status make[1]: *** [shared] Error 1 make[1]: Leaving directory `/usr/local/src/sap-ccms-plugin-0.7.3/src/sap_moni' make: *** [sap_moni] Error 2 Anybody here knows where can I get Nagios sap-ccms-plugin for 64-bit architecture? Thanks in advance, Ronald ================================================================================================== Ronald Rojas Systems Administrator Linux Registered User #427229 ================================================================================================== Stupid nick highlighting Whenever someone starts with "stupid" it highlights the nick. Hmm. -- #Debian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Oct 3 13:39:25 2007 From: Roger at NagiosWiki.com (Roger) Date: Wed, 3 Oct 2007 04:39:25 -0700 Subject: NSCA & Nagios In-Reply-To: <1B88EE714FA1204D956B6232A887887401CF00F3@ex2.osius.com> References: <114036.74558.qm@web45504.mail.sp1.yahoo.com> <1B88EE714FA1204D956B6232A887887401CF00F3@ex2.osius.com> Message-ID: <2b7af7c40710030439i235e918evd9b14c5ffac23714@mail.gmail.com> On 10/3/07, Tatyaso Babar wrote: > > Hi, > > Does anyone have the step by step guide for NSCA with Nagios. I have got > the document from nagios site for NSCA daemon to be configured on nagios > server. But I am unable to find information about configuring the nsca > client to send the check results to server. > > It will be great help if someone can guide on this. > > Also if some one has how-to about nrpe, please let me know. > I should have some somewhere that I've made for various clients. I'll try to dig them up, throw them up on NagiosWiki.com. -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Oct 3 14:19:38 2007 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Wed, 3 Oct 2007 08:19:38 -0400 Subject: NSCA & Nagios In-Reply-To: <2b7af7c40710030439i235e918evd9b14c5ffac23714@mail.gmail.com> References: <114036.74558.qm@web45504.mail.sp1.yahoo.com> <1B88EE714FA1204D956B6232A887887401CF00F3@ex2.osius.com> <2b7af7c40710030439i235e918evd9b14c5ffac23714@mail.gmail.com> Message-ID: <2274b9c30710030519l7afe8ba8u727dd4d022eb9364@mail.gmail.com> echo "hostname,servicename,state[0-3],output" | send_nsca -H nsca.server -c send_nsca.cfg -d "," nrpe.cfg (remote host) command[check_something]=/script/to exec -w $ARG1$ -c $ARG2$ commands.cfg (nagios server) check_command check_nrpe -H remotehost -c check_something -a $ARG1$ $ARG2$ --kyleo On 10/3/07, Roger wrote: > On 10/3/07, Tatyaso Babar wrote: > > > > Hi, > > > > Does anyone have the step by step guide for NSCA with Nagios. I have got > > the document from nagios site for NSCA daemon to be configured on nagios > > server. But I am unable to find information about configuring the nsca > > client to send the check results to server. > > > > It will be great help if someone can guide on this. > > > > Also if some one has how-to about nrpe, please let me know. > > > I should have some somewhere that I've made for various clients. I'll try to > dig them up, throw them up on NagiosWiki.com. > > -- > "Nagios, it's what's for breakfast!" > http://www.NagiosWiki.com > > Email me personally: > mailto:Roger at NagiosWiki.com?subject=NagiosWiki > > http://del.icio.us/RogerRustad/nagios > http://del.icio.us/rss/RogerRustad/nagios > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Oct 3 14:43:47 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 03 Oct 2007 08:43:47 -0400 Subject: Nagios SAP CCMS Plugin In-Reply-To: <1191410400.28155.5.camel@localhost> References: <1191410400.28155.5.camel@localhost> Message-ID: <47038E83.3080206@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/07 07:20 AM, Ronald Rojas wrote: > Hi everyone, > > I'm having a problem compiling sap-ccms-plugin on 64-bit architecture. > Here's the error: > > /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: > warning: i386 architecture of input file `librfc.a(rfcilib.o)' is > incompatible with i386:x86-64 output > /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: > warning: i386 architecture of input file `librfc.a(cpictlib.o)' is > incompatible with i386:x86-64 output > librfc.a(cpictlib.o): In function `adjust_clock': > /bas/46B/gen/opt/linuxintel/krn/perf/pfclock.c:846: undefined reference > to `__divdi3' > /bas/46B/gen/opt/linuxintel/krn/perf/pfclock.c:846: undefined reference > to `__divdi3' > collect2: ld returned 1 exit status > make[1]: *** [shared] Error 1 > make[1]: Leaving directory > `/usr/local/src/sap-ccms-plugin-0.7.3/src/sap_moni' > make: *** [sap_moni] Error 2 You seem to be missing the 64bit version of librfc (or possibly just trying to use the 32 bit version instead of the 64 bit). Look for a 64bit librfc or install it. Alternatively you can compile your plugin in 32bit if your system supports it and has all the required libraries. The easiest way is to compile it on a 32bit server and copy it over (compiling 32bit on a 64bit linux is doable but usually a bit complex; search google if you want to try it). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHA46D6dZ+Kt5BchYRArlCAJ9VGdAlDrkGDkCdSWeCO4IpBP23igCcCENf jdWPM8RXzmHnFquZEEVlRlc= =e55p -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Oct 3 15:03:15 2007 From: Roger at NagiosWiki.com (Roger) Date: Wed, 03 Oct 2007 06:03:15 -0700 Subject: NSCA & Nagios In-Reply-To: <2274b9c30710030519l7afe8ba8u727dd4d022eb9364@mail.gmail.com> References: <114036.74558.qm@web45504.mail.sp1.yahoo.com> <1B88EE714FA1204D956B6232A887887401CF00F3@ex2.osius.com> <2b7af7c40710030439i235e918evd9b14c5ffac23714@mail.gmail.com> <2274b9c30710030519l7afe8ba8u727dd4d022eb9364@mail.gmail.com> Message-ID: <47039313.7010501@NagiosWiki.com> kyle.odonnell at gmail.com wrote: > echo "hostname,servicename,state[0-3],output" | send_nsca -H > nsca.server -c send_nsca.cfg -d "," > > > nrpe.cfg (remote host) > > command[check_something]=/script/to exec -w $ARG1$ -c $ARG2$ > > commands.cfg (nagios server) > check_command check_nrpe -H remotehost -c check_something -a $ARG1$ $ARG2$ To the original poster, do the above steps make sense? Also, what distro are you putting this one? I've had issues with Red Hat based ones having issues with xinetd. I can try to dig up those notes, if you want. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Wed Oct 3 15:07:57 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Wed, 3 Oct 2007 08:07:57 -0500 Subject: FW: Problem with NDOUtils 1.4b6 and MySQL In-Reply-To: References: Message-ID: I have found the issue. The RPMs from mysql do not contain the proper shared objects. Installing MySQL from source solved the issue. I now have NDOUtils, NagVis, and various other customizations running flawlessly. Thank you all for the suggestions. nagios-users-bounces at lists.sourceforge.net wrote on 10/02/2007 08:27:02 AM: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net On Behalf Of > mark.potter at academy.com > Sent: 02 October 2007 14:17 > > > I have been trying this for a day now and it is time to ask for some > help. I have included the full > > output of the configure, as well as RPM output and directory listings. > Any help would be greatly > > appreciated. It seems that NDO cannot find what it is looking for in > regards to mysql yet AFAIK > > everything is there. Please advise if something is missing, or if I > should compile mysql from source, or > > any other fix. Here is all the relevant information I can think of > this morning: > > > > ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql > > Use the following make command: > > ./configure --with-mysql-lib=/usr/lib/mysql > --with-mysql-inc=/usr/include/mysql --disable-pgsql > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/[attachment > "ATT4488962.txt" deleted by Mark Potter/IS/Academy] > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tbabar at osius.com Wed Oct 3 15:11:29 2007 From: tbabar at osius.com (Tatyaso Babar) Date: Wed, 3 Oct 2007 06:11:29 -0700 Subject: NSCA & Nagios In-Reply-To: <47039313.7010501@NagiosWiki.com> References: <47039313.7010501@NagiosWiki.com> Message-ID: <1B88EE714FA1204D956B6232A887887401CF0135@ex2.osius.com> Hi Roger, The steps by Kyle are in general, as a newbie I would like to have some detailed steps and information. I am using nagios 2.x available with groundwork 5.1 on RHEL system. It would be great if you'd get me the notes. Regards, Tatyaso -----Original Message----- From: Rogelio Bastardo [mailto:scubacuda at gmail.com] On Behalf Of Roger Sent: Wednesday, October 03, 2007 6:33 PM To: kyle.odonnell at gmail.com Cc: Tatyaso Babar; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSCA & Nagios kyle.odonnell at gmail.com wrote: > echo "hostname,servicename,state[0-3],output" | send_nsca -H > nsca.server -c send_nsca.cfg -d "," > > > nrpe.cfg (remote host) > > command[check_something]=/script/to exec -w $ARG1$ -c $ARG2$ > > commands.cfg (nagios server) > check_command check_nrpe -H remotehost -c check_something -a $ARG1$ $ARG2$ To the original poster, do the above steps make sense? Also, what distro are you putting this one? I've had issues with Red Hat based ones having issues with xinetd. I can try to dig up those notes, if you want. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Wed Oct 3 16:31:57 2007 From: zkenton at outcome.com (zack kenton) Date: Wed, 3 Oct 2007 16:31:57 +0200 (CEST) Subject: nagios mailer Message-ID: <20071003143157.50C7D58800B@desire.netways.de> Hi list how would I go about changing how nagios sends the alert notifications? right now it's nagios at servername.companyname.com and I just want it to be nagios at companyname.com...thoughts? - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Wed Oct 3 16:33:15 2007 From: zkenton at outcome.com (zack kenton) Date: Wed, 3 Oct 2007 16:33:15 +0200 (CEST) Subject: nagios mailer Message-ID: <20071003143315.A8D9C58800B@desire.netways.de> Hi list how would I go about changing how nagios sends the alert notifications? right now it's nagios at servername.companyname.com and I just want it to be nagios at companyname.com...thoughts? - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Wed Oct 3 16:45:42 2007 From: zkenton at outcome.com (zack kenton) Date: Wed, 3 Oct 2007 16:45:42 +0200 (CEST) Subject: nagios mailer Message-ID: <20071003144543.3D28858800B@desire.netways.de> Hi list how would I go about changing how nagios sends the alert notifications? right now it's nagios at servername.companyname.com and I just want it to be nagios at companyname.com...thoughts? - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Oct 3 17:08:55 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 03 Oct 2007 16:08:55 +0100 Subject: nagios mailer In-Reply-To: <20071003143157.50C7D58800B@desire.netways.de> References: <20071003143157.50C7D58800B@desire.netways.de> Message-ID: <4703B087.3010006@googlemail.com> Change your mail server config to strip the hostname and just leave the domainname. In postfix this is called masquerading domains. You haven't mentioned what mail server you have, but this should get you googling. Another options is to replace the misccommand that mails to use another mail client that lets you specify the sender address... -h Hari Sekhon zack kenton wrote: > Hi list > > how would I go about changing how nagios sends the alert notifications? right now it's nagios at servername.companyname.com and I just want it to be nagios at companyname.com...thoughts? > > > - zack kenton (zkenton) > > ----------------------- > The mailing list archive is found here: > http://www.nagiosexchange.org/nagios-users.34.0.html > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Oct 3 17:23:53 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 03 Oct 2007 11:23:53 -0400 Subject: nagios mailer In-Reply-To: <20071003143157.50C7D58800B@desire.netways.de> References: <20071003143157.50C7D58800B@desire.netways.de> Message-ID: <4703B409.4010507@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/07 10:31 AM, zack kenton wrote: > Hi list > > how would I go about changing how nagios sends the alert notifications? right now it's nagios at servername.companyname.com and I just want it to be nagios at companyname.com...thoughts? First, please stop reposting the same message more that one time. I will ignore any new messages from you if you keep doing this. Make sure the notify* commands (usially in misccommands.cfg) set the "From" addresses. The email should be sent with a "From: " header with the email address you want. If using the sendmail command you should also use the "-f" switch to set the envelope address. Email format is quite simple: you have a series of headers, a blank line then the body text. The end result if you run the command by hands without piping it to sendmail should look like this: - --- CUT HERE --- From: nagios at companyname.com To: pagercontact at example.com Subject: Alert yadda yadda ydadda Some body text, more details, host/service notes, etc yadda yadda yadda - --- CUT HERE --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHA7QJ6dZ+Kt5BchYRAkEaAKDyDxijC39VzyY6F2GGPGTv5sIEyQCgtSHj gREnUqNJ7X2DMRV+kO3YpVw= =PfLq -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Wed Oct 3 17:24:46 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 3 Oct 2007 17:24:46 +0200 Subject: nagios mailer In-Reply-To: <20071003144543.3D28858800B@desire.netways.de> References: <20071003144543.3D28858800B@desire.netways.de> Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E1A68@hermes.sapphire-int.gi> > > Hi list > > how would I go about changing how nagios sends the alert notifications? > right now it's nagios at servername.companyname.com and I just want it to be > nagios at companyname.com...thoughts? > > Hi Zack, I think your email problems are a bit deeper than that. As it's been pointed out before, you seem to send multiple copies of every message you send to this list. I'd suggest you check that first, as some will get pretty tired of that and will slowly cease to feel the need to help you out. Giles ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Wed Oct 3 17:27:52 2007 From: zkenton at outcome.com (zack kenton) Date: Wed, 3 Oct 2007 17:27:52 +0200 (CEST) Subject: nagios mailer In-Reply-To: <4703B409.4010507@aei.ca> References: <4703B409.4010507@aei.ca> Message-ID: <20071003152752.EC81E58800B@desire.netways.de> Hi board Do you guys really think I come back onto here and re-post the same message over and over again? I am not doing this intentionally so all the emails telling me to stop reposting are a waste of time. Perhaps its a problem with the list, since I'm not the only it's been happening to. Ease up fellas, obviously its not an emergency for me to fix a simple little email problem, so I'm not consistently posting to find out the answer - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4976 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Wed Oct 3 17:49:10 2007 From: ifetch at du.edu (Ivan Fetch) Date: Wed, 03 Oct 2007 09:49:10 -0600 (MDT) Subject: Ideas for service dependencies on SSH? In-Reply-To: <1191360759.4667.45.camel@squeak> References: <20071002123309.L30065@tnetnzry.hgf.qh.rqh> <1191360759.4667.45.camel@squeak> Message-ID: <20071003093653.A30440@tnetnzry.hgf.qh.rqh> Hi Richard, > On Tue, 2007-10-02 at 12:55 -0600, Ivan Fetch wrote: > >> Unfortunately, what this appears to do, is to define all combinations >> of service dependencies - E.G. Disksuite on host2 depends on SSH on host1, >> Disksuite on host1 depends on SSH on host2, >> and so on... >> >> How are others accomplishing this? > > Waiting for the final Nagios 3.0 release :-) > > Assuming that you are using Nagios 2.x, what you want to do is not > possible unless you define a dependency separately for every host. That > is the biggest issue keeping me from using proper service dependencies > in my setup. However, Nagios 3.0 addresses that. Dam, I was afraid of that. Thanks for taking the time to reply, to help me along. I see what you're referring to here, "Same Host Dependencies" at http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependency I've pondered letting Nagios create all of the permutations of service dependencies, but this seems like a bad idea; it would create a tricky web of non-alerts. IF disk space via SSH was timeing out on host2, and (as it happened) SSH on host1 was down, we would never get a disk space alert for host 2... We would like to do away with the "plugin timed out..." alerts for checks which use check_by_ssh, in situations where a host is not allowing SSH logins (automounter is being worked on, host is in some state where SSH logins time out). In other words, to get a single "SSH timed out" instead of multiple time outs from plugins which use SSH. Any ideas for Nagios V2 on how to accomplish this? Defining individual service dependencies could be possible with some scripting, but it defeats the purpose of host groups. Even if we switch to NRPE instead of SSH, we still have the same issue. We could use an inverse model with send_nsca perhaps, but I'd have to explore that to see if it holds up. Thanks, Ivan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Oct 3 17:49:57 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 03 Oct 2007 11:49:57 -0400 Subject: nagios mailer In-Reply-To: <20071003152752.EC81E58800B@desire.netways.de> References: <4703B409.4010507@aei.ca> <20071003152752.EC81E58800B@desire.netways.de> Message-ID: <4703BA25.60502@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/07 11:27 AM, zack kenton wrote: > Hi board > > Do you guys really think I come back onto here and re-post the same message over and over again? I am not doing this intentionally so all the emails telling me to stop reposting are a waste of time. Perhaps its a problem with the list, since I'm not the only it's been happening to. Ease up fellas, obviously its not an emergency for me to fix a simple little email problem, so I'm not consistently posting to find out the answer Let's say it's true, although it's hard to believe given the fact that the Date: headers change between emails and it seems to only happens on the first post and never on replies, I still *won't change my mind* so as a quick fix you can create yourself an account on your favorite webmail site (I personally like Gmail: http://www.gmail.com/) and subscribe from there. Please keep in mind that you're getting free support on these mailing lists, and as with every other mailing list out there there are rules to play by. While you can view this email problem as benign it's annoying other people here; this is the reason why you should treat this as an important issue and stop posting from your current email address as long as you didn't find the root cause of the issue. Regards, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHA7ol6dZ+Kt5BchYRAvQ1AJ4vT1TI5FFEmyPFUi2LcBYyTe95egCdGVfx U8HwPo4nlzoDaVc8dyD1MVE= =CY5G -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 3 17:55:07 2007 From: marc at ena.com (Marc Powell) Date: Wed, 3 Oct 2007 10:55:07 -0500 Subject: nagios mailer In-Reply-To: <20071003152752.EC81E58800B@desire.netways.de> References: <20071003152752.EC81E58800B@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of zack kenton > Sent: Wednesday, October 03, 2007 10:28 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios mailer > > Hi board > > Do you guys really think I come back onto here and re-post the same > message over and over again? I am not doing this intentionally so all the > emails telling me to stop reposting are a waste of time. Perhaps its a > problem with the list, since I'm not the only it's been happening to. Ease > up fellas, obviously its not an emergency for me to fix a simple little > email problem, so I'm not consistently posting to find out the answer It is just you as far as I can see. This is a mailing list, not a message board. If you are reading/replying from a message board, I'd suggest that you not do so and use e-mail like most of the rest of us until you can fix whatever is wrong with the message board posting. You are solely responsible for how your posts reach the list. If the way you're posting is broken, it's your responsibility to correct it. Repeat postings, intentional or not, are considered rude or annoying. You probably don't want to be associated with either when asking for free help. Our telling you that you have a problem is an act of kindness, giving you an opportunity to fix it. Our other option is to simply ignore or /dev/null any postings from you. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinm at honeycomb.net Wed Oct 3 18:15:06 2007 From: justinm at honeycomb.net (Justin Maloney) Date: Wed, 3 Oct 2007 11:15:06 -0500 Subject: DFS check maybe? Message-ID: <64975B31C6249247A722D0610F4110F732310A@hive.officespace.honeycomb.net> Anyone know of a check that can check windows Distributed File System (DFS)? I know I can monitor the service, but there is a command line tool that you can get stats from and it would be nice to know if the namespaces where actually synced. If it was unix I would just write a command but I'm not confident in my windows programming ability and how to incorporated in to nsclient++. Thank you, Justin Maloney Systems Administrator Honeycomb Internet Services 612.617.0007 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dirk.schulz at kinzesberg.de Wed Oct 3 18:52:58 2007 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Wed, 03 Oct 2007 18:52:58 +0200 Subject: different contact_groups not used Message-ID: Hi folks, we are running Nagios 2.3.1 and use different email contacts that are consolidated in different contact_groups which are used within the host definitions. But ALL email notifications are sent to the same contact(_group), not minding which contact_group is used in the host/service definition that email is concerned about. I have tried to find a fault in nagios.cfg and in the several other cfg files, but there seems to be none. Any help or hint is appreciated. Dirk ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Wed Oct 3 19:42:53 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Wed, 3 Oct 2007 10:42:53 -0700 Subject: no error if missing notification_options Message-ID: Recently, I messed up my (version 2.2) configs and it took me a while to figure out why I wasn't getting any alerts: turns out the scripts I use to generate my configs were not writing out the notification_options directive on my templates. Even though I had notifications enabled everywhere, I was not getting alerts. While admittedly, this was my problem and not Nagios', it would have been nice to see a warning in the verification routine. Like: Warning: service xyz has no notification options enabled. That would have tipped me off right away. I checked this against a 3.0b2 version i'm running on a dev server and it seemed to exhibit the same behavior. According to the docs, I thought notification_options was a required directive? In that case, shouldn't it throw an error? here's a snippit of a config that passes verify: define service { name generic-service max_check_attempts 3 normal_check_interval 30 retry_check_interval 15 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 freshness_threshold 0 flap_detection_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_period 24x7 notifications_enabled 1 register 0 } define service { hostgroup_name zzdummy service_description zzdummy use generic-service check_command check_dummy contact_groups nagios_dev } notice in the template: no notification_options no alerts will ever be sent for this service. Is this a bug or am I missing something? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed Oct 3 20:13:51 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 3 Oct 2007 14:13:51 -0400 Subject: Maintaning Nagios 2.9 Message-ID: <7abcf48e0710031113r69b31a88mebf4500b884182a9@mail.gmail.com> Hey all i have nagios 2.9 installed everything working nice and peachy so far. I have question in terms of maintanace of nagios does the mysql databe needs to be truncated every one in a while, and what about the logs should i be running cron jobs on the linux box to delete logs and data that are more then 5 months old or does it overwrite information each day. Does anyone have doc on that since the maunal does focuse on maintace just installtion. For ex: i dont want to be running out of space any time soon do to these problems that may occur in the future thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Oct 3 20:24:01 2007 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 3 Oct 2007 14:24:01 -0400 Subject: Maintaning Nagios 2.9 In-Reply-To: <7abcf48e0710031113r69b31a88mebf4500b884182a9@mail.gmail.com> References: <7abcf48e0710031113r69b31a88mebf4500b884182a9@mail.gmail.com> Message-ID: <302ce8b50710031124x57ef8069j4dd8657f4ccad9b6@mail.gmail.com> On 10/3/07, Nedim Bicic wrote: > Hey all i have nagios 2.9 installed everything working nice and peachy so > far. > > I have question in terms of maintanace of nagios does the mysql databe needs > to be truncated every one in a while, and what about the logs should i be > running cron jobs on the linux box to delete logs and data that are more > then 5 months old or does it overwrite information each day. Does anyone > have doc on that since the maunal does focuse on maintace just installtion. > For ex: i dont want to be running out of space any time soon do to these > problems that may occur in the future Well, as nagios 2.9 doesn't use mysql at all by default, I'd say you have nothing to worry about so far as truncating the database. Now if you've added components that you haven't told us about, that's a whole different matter. As has been posted here before (and to you specifically I believe) please provide ALL relevant information. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 3 20:28:05 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 3 Oct 2007 20:28:05 +0200 (CEST) Subject: live demo In-Reply-To: <114036.74558.qm@web45504.mail.sp1.yahoo.com> References: <114036.74558.qm@web45504.mail.sp1.yahoo.com> Message-ID: On Tue, 2 Oct 2007, Live Great wrote: > Hi, I am looking for a live demo website for the introudction of nagios. Can anyone please point me to an available link? I 've been searched in google, can't find a link for that. The one at Nagios website is broken. nagios is so much more then just a couple of webpages. I suggest you grab one of the Virtual machines with Nagios on it from the catalog on the VmWare site and play a bit with it in a virtual machine. There really is no substitute for getting your feet wet other then taking a dive into this ocean. Enjoy your swim, Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 3 20:32:27 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 3 Oct 2007 20:32:27 +0200 (CEST) Subject: nagios mailer In-Reply-To: <20071003143157.50C7D58800B@desire.netways.de> References: <20071003143157.50C7D58800B@desire.netways.de> Message-ID: On Wed, 3 Oct 2007, zack kenton wrote: > how would I go about changing how nagios sends the alert notifications? right now it's nagios at servername.companyname.com and I just want it to be nagios at companyname.com...thoughts? I would fix this in your MTA. You need to fix that one anyway as it sends out messages 3 times instead of once. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 3 20:40:14 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 3 Oct 2007 20:40:14 +0200 (CEST) Subject: DFS check maybe? In-Reply-To: <64975B31C6249247A722D0610F4110F732310A@hive.officespace.honeycomb.net> References: <64975B31C6249247A722D0610F4110F732310A@hive.officespace.honeycomb.net> Message-ID: On Wed, 3 Oct 2007, Justin Maloney wrote: > Anyone know of a check that can check windows Distributed File System > (DFS)? I know I can monitor the service, but there is a command line > tool that you can get stats from and it would be nice to know if the > namespaces where actually synced. If it was unix I would just write a > command but I'm not confident in my windows programming ability and how > to incorporated in to nsclient++. If you have a command line you can use than all you need to do is some old fashioned BAT file that will take the output and translate it into error result codes for the BAT file. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtabasz at cisco.com Wed Oct 3 22:22:05 2007 From: jtabasz at cisco.com (John Tabasz (jtabasz)) Date: Wed, 3 Oct 2007 13:22:05 -0700 Subject: Errors from check_nagios -v In-Reply-To: <2EB5E682DC612D4CA067A4890785D9110F2A42@EXCH04.affymetrix.com> References: <2EB5E682DC612D4CA067A4890785D9110F2A42@EXCH04.affymetrix.com> Message-ID: <999D9C7316770741A028EF2A88B8E46803E2EBA6@xmb-sjc-22a.amer.cisco.com> Hi, Solaris 2.8; Nagios 2.9; It's a new installation and I'm trying to figure out why the hosts-alive is not running. All clients are status PENDING on the web page. I can 'reschedule the next test for this host' to do a one time check. This is not what I had in mind however. Any input is appreciated. Thanks, John I have some hosts defined in hosts.cfg: define host { name generic-host-template notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups admins register 0 } define host { # Name of host template to use use generic-host-template host_name dev5b alias dev5b address 10.1.1.10 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } define host { # Name of host template to use use generic-host-template host_name dev5b alias dev5b address 10.1.1.11 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Etc. These hosts are part of the hostgroups.cfg file: define hostgroup{ hostgroup_name testing-nagios-install-group alias Nagios Testing Servers # contact_groups admins # Members in this case means members of the hostgroup, i.e. hosts. members dev5b,dev5e,dev5i,dev5k,dev5v } >From the commands.cfg file: # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 500 0.0,100% -t 3 -m 1 } # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } >From the services.cfg file: define service{ name generic-service-template active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # Name of service template to use use generic-service host_name dev5b,dev5e,dev5i,dev5k,dev5v service_description PING 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_ping!100.0,20%!500.0,60% } I still get this output from check_nagios -v: Warning: Host 'dev5b' has no services associated with it! Warning: Host 'dev5e' has no services associated with it! Warning: Host 'dev5i' has no services associated with it! Warning: Host 'dev5k' has no services associated with it! Warning: Host 'dev5v' has no services associated with it! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed Oct 3 22:17:56 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 3 Oct 2007 16:17:56 -0400 Subject: No email alerts ?? Message-ID: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> Hey all have nagios 2.9 running linux red hat enterprise 4 the email for nagios sending notifications arent working for some reason i know the box can send email because the it has the MTA agent installed cuase i can send other emials from that machine I can see host down in nagios webpage i have the contact groups set appropritaley and of course my email address in contacts group i even did a sanity check to see if i have any syntex errors nothing so far. this is what i have in commands.cfg file under emails: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.9 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } and i also took out the option not to notify in my host file. something has to be tweaked for sure any help thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Oct 3 22:35:46 2007 From: teng at dataway.com (Tedman Eng) Date: Wed, 3 Oct 2007 13:35:46 -0700 Subject: Errors from check_nagios -v In-Reply-To: <999D9C7316770741A028EF2A88B8E46803E2EBA6@xmb-sjc-22a.amer.cisco.com> References: <2EB5E682DC612D4CA067A4890785D9110F2A42@EXCH04.affymetrix.com> <999D9C7316770741A028EF2A88B8E46803E2EBA6@xmb-sjc-22a.amer.cisco.com> Message-ID: One thing I see wrong with your config: use generic-service should be use generic-service-template > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of John Tabasz (jtabasz) > Sent: Wednesday, October 03, 2007 1:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Errors from check_nagios -v > > Hi, > > Solaris 2.8; Nagios 2.9; > > It's a new installation and I'm trying to figure out why the > hosts-alive > is not running. All clients are status PENDING on the web page. I can > 'reschedule the next test for this host' to do a one time > check. This is > not what I had in mind however. Any input is appreciated. > > Thanks, > > John > > I have some hosts defined in hosts.cfg: > define host { > name generic-host-template > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups admins > register 0 > } > > define host { > # Name of host template to use > use generic-host-template > host_name dev5b > alias dev5b > address 10.1.1.10 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > define host { > # Name of host template to use > use generic-host-template > host_name dev5b > alias dev5b > address 10.1.1.11 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > Etc. > > These hosts are part of the hostgroups.cfg file: > > define hostgroup{ > hostgroup_name testing-nagios-install-group > alias Nagios Testing Servers > # contact_groups admins > # Members in this case means members of the hostgroup, i.e. hosts. > members dev5b,dev5e,dev5i,dev5k,dev5v > } > > >From the commands.cfg file: > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_icmp -H $HOSTADDRESS$ -w > 3000.0,80% -c 500 > 0.0,100% -t 3 -m 1 > } > > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ > -w $ARG1$ -c > $ARG2$ > -p 5 > } > > >From the services.cfg file: > > define service{ > name generic-service-template > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 1 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > } > > # Name of service template to use > use generic-service > host_name dev5b,dev5e,dev5i,dev5k,dev5v > service_description PING > 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_ping!100.0,20%!500.0,60% > } > > I still get this output from check_nagios -v: > > Warning: Host 'dev5b' has no services associated with it! > Warning: Host 'dev5e' has no services associated with it! > Warning: Host 'dev5i' has no services associated with it! > Warning: Host 'dev5k' has no services associated with it! > Warning: Host 'dev5v' has no services associated with it! > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and > a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 3 22:38:09 2007 From: marc at ena.com (Marc Powell) Date: Wed, 3 Oct 2007 15:38:09 -0500 Subject: Errors from check_nagios -v In-Reply-To: <999D9C7316770741A028EF2A88B8E46803E2EBA6@xmb-sjc-22a.amer.cisco.com> References: <999D9C7316770741A028EF2A88B8E46803E2EBA6@xmb-sjc-22a.amer.cisco.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John Tabasz (jtabasz) > Sent: Wednesday, October 03, 2007 3:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Errors from check_nagios -v > > Hi, > > Solaris 2.8; Nagios 2.9; > > It's a new installation and I'm trying to figure out why the hosts-alive > is not running. All clients are status PENDING on the web page. I can > 'reschedule the next test for this host' to do a one time check. This is > not what I had in mind however. Any input is appreciated. > (included definitions look good. Thanks!) > I still get this output from check_nagios -v: > > Warning: Host 'dev5b' has no services associated with it! > Warning: Host 'dev5e' has no services associated with it! > Warning: Host 'dev5i' has no services associated with it! > Warning: Host 'dev5k' has no services associated with it! > Warning: Host 'dev5v' has no services associated with it! Did you remember to include services.cfg as a cfg_file in nagios.cfg? What's the full output of /path/to/nagios -v /path/to/nagios.cfg? -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed Oct 3 23:29:32 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 3 Oct 2007 17:29:32 -0400 Subject: No email alerts ?? In-Reply-To: <302ce8b50710031401lfd6bfd8t7ee4e24cc792b76d@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <302ce8b50710031401lfd6bfd8t7ee4e24cc792b76d@mail.gmail.com> Message-ID: <7abcf48e0710031429q8e58650k8075e8d041663963@mail.gmail.com> Here are my contact.cfg file define contact{ contact_name Nedo alias Nedo Bicic service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email nedo72 at gmail.com } this is my contactsgroup.cfg define contactgroup{ contactgroup_name Nedo alias Nedo Admin members Nedo } adn this is for my host file i disconnect in order to get email alerts: define host{ use generic-host ; Name of host template to use host_name Test1 alias Test1 address 10.8.2.40 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups Nedo } and these are the serivice.cfg file for the above define service{ use generic-service ; Name of service template to use host_name Test1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 2 retry_check_interval 1 contact_groups Nedo notification_options w,u,c,r notification_interval 60 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } and here is my commands.cfg file just incase something i am doing wrong # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 2.9 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } also i checked the nagios.log this is wat i get but my gmail is working i am sending email right now [1191443852] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.9 *****\n\nNotification Type: PROBLEM\nHost: Test1\nState: DOWN\nAddress: 10.8.2.40\nInfo: PING CRITICAL - Packet loss = 100%\n\nDate/Time: Wed Oct 3 15:37:32 CDT 2007\n" | /bin/mail -s "Host DOWN alert for Test1!" nedo72 at gmail.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... someone any clues On 10/3/07, Jim Perrin wrote: > > On 10/3/07, Nedim Bicic wrote: > > Hey all have nagios 2.9 running linux red hat enterprise 4 the email for > > nagios sending notifications arent working for some reason i know the > box > > can send email because the it has the MTA agent installed cuase i can > send > > other emials from that machine > > > > I can see host down in nagios webpage i have the contact groups set > > appropritaley and of course my email address in contacts group i even > did a > > sanity check to see if i have any syntex errors nothing so far. > > > > this is what i have in commands.cfg file under emails: > > > > # 'host-notify-by-email' command definition > > define command{ > > command_name host-notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios 2.9*****\n\nNotification > > Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | > > /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > } > > > > and i also took out the option not to notify in my host file. > > > > something has to be tweaked for sure any help > > Did you set your contacts up so that they recieve notifications? > > -- > During times of universal deceit, telling the truth becomes a > revolutionary act. > George Orwell > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Wed Oct 3 23:40:55 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Wed, 3 Oct 2007 21:40:55 +0000 (GMT) Subject: [Nagiosplug-help] nagios check_dxml_drvstate plugin Message-ID: <463333.65313.qm@web23315.mail.ird.yahoo.com> the problem has been fixed, it is a permission problem. I gave the plug in read, execute permission. chmod a+rx check_dxml_drstate ----- Original Message ---- From: trevor obba To: nagiosplug ; nagios-user Cc: lothar.haeger at brummelhook.com Sent: Tuesday, 2 October, 2007 6:31:04 PM Subject: [Nagiosplug-help] nagios check_dxml_drvstate plugin when i execute check_dxml_drvstate plugin locally like ./check_dxml_drvstate-u nagiosdriver.services.unl -p password -d idworks..urs-drivers.services.unl I get these responses Driver idworks.urs-drivers.services.unl is RUNNING. but when i run check_dxml_drvstate plugin through nagios nrpe.cfg I get the following responses NRPE: Unable to read output I think nrpe is expecting response like OK: Warning Critical: how can i fix these problem so that nagios nrpe will be able to read output? ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk..atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help at lists..sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 3 23:45:02 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 3 Oct 2007 23:45:02 +0200 (CEST) Subject: No email alerts ?? In-Reply-To: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> Message-ID: On Wed, 3 Oct 2007, Nedim Bicic wrote: > Hey all have nagios 2.9 running linux red hat enterprise 4 the email for > nagios sending notifications arent working for some reason i know the box > can send email because the it has the MTA agent installed cuase i can send > other emials from that machine > > I can see host down in nagios webpage i have the contact groups set > appropritaley and of course my email address in contacts group i even did a > sanity check to see if i have any syntex errors nothing so far. > > this is what i have in commands.cfg file under emails: > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios 2.9 *****\n\nNotification > Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | > /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > } > > and i also took out the option not to notify in my host file. Do you have events logged by Nagios? Does it show notifications? If that happens to be the case then llok at the delivery of the notifications. If one assumes you run this as the nagios user then test is as such. Become the nagios user with: su - nagios s /bin/sh Then execute the command as shown on the commandline but substitute $CONTACTEMAIL for the intended recipient. If that fails to deliver then you need to fix your MTA. Get to the logs of it to check it out. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Oct 3 23:48:59 2007 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 3 Oct 2007 17:48:59 -0400 Subject: No email alerts ?? In-Reply-To: <7abcf48e0710031429q8e58650k8075e8d041663963@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <302ce8b50710031401lfd6bfd8t7ee4e24cc792b76d@mail.gmail.com> <7abcf48e0710031429q8e58650k8075e8d041663963@mail.gmail.com> Message-ID: <302ce8b50710031448x62b8800flee34d56b0aee2613@mail.gmail.com> On 10/3/07, Nedim Bicic wrote: > [1191443852] Warning: Attempting to execute the command "/usr/bin/printf > "%b" "***** Nagios 2.9 *****\n\nNotification Type: PROBLEM\nHost: > Test1\nState: DOWN\nAddress: 10.8.2.40\nInfo: PING CRITICAL - Packet loss = > 100%\n\nDate/Time: Wed Oct 3 15:37:32 CDT 2007\n" | /bin/mail -s "Host DOWN > alert for Test1!" nedo72 at gmail.com" resulted in a return code of 127. Make > sure the script or binary you are trying to execute actually exists... This message itself gives you several clues. Nagios either doesn't have access to /usr/bin/printf, or to /bin/mail. You said you were on a RHEL4 box, do you have SELinux enabled? Have you tried running this command on your system as the nagios user manually? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtabasz at cisco.com Thu Oct 4 00:17:26 2007 From: jtabasz at cisco.com (John Tabasz (jtabasz)) Date: Wed, 3 Oct 2007 15:17:26 -0700 Subject: Errors from check_nagios -v In-Reply-To: References: <999D9C7316770741A028EF2A88B8E46803E2EBA6@xmb-sjc-22a.amer.cisco.com> Message-ID: <999D9C7316770741A028EF2A88B8E46803E2EC69@xmb-sjc-22a.amer.cisco.com> Here is the output of the check_nagios -v /opt/nagios/etc/nagios.cfg: check_nagios -v /opt/nagios/etc/nagios.cfg Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 10 services. Checking hosts... Warning: Host 'atest11idev1' has no services associated with it! Warning: Host 'dev5b' has no services associated with it! Warning: Host 'dev5e' has no services associated with it! Warning: Host 'dev5i' has no services associated with it! Warning: Host 'dev5k' has no services associated with it! Warning: Host 'dev5v' has no services associated with it! Warning: Host 'fengshui' has no services associated with it! Warning: Host 'milin-2k3' has no services associated with it! Warning: Host 'sjmcabcpp2-w2k' has no services associated with it! Warning: Host 'sjmcppdev2' has no services associated with it! Warning: Host 'sjmdev17' has no services associated with it! Warning: Host 'sjmdev17-lnx' has no services associated with it! Warning: Host 'sjmdev18' has no services associated with it! Warning: Host 'sjmdev18-lnx' has no services associated with it! Warning: Host 'sjmdev19' has no services associated with it! Warning: Host 'sjmdev19-lnx' has no services associated with it! Warning: Host 'sjmdev2' has no services associated with it! Warning: Host 'sjmdev20' has no services associated with it! Warning: Host 'sjmdev21' has no services associated with it! Warning: Host 'sjmdev25' has no services associated with it! Warning: Host 'sjmdev26' has no services associated with it! Warning: Host 'sjmdev28' has no services associated with it! Warning: Host 'sjmdev29' has no services associated with it! Warning: Host 'sjmdev30' has no services associated with it! Warning: Host 'sjmdev31' has no services associated with it! Warning: Host 'sjmdev5' has no services associated with it! Warning: Host 'sjmdev50-lnx' has no services associated with it! Warning: Host 'sjmdev51-lnx' has no services associated with it! Warning: Host 'sjmdev55-lnx' has no services associated with it! Warning: Host 'sjmnas2k3' has no services associated with it! Warning: Host 'sjmsabot-w2k2' has no services associated with it! Warning: Host 'sjmvsecdev10' has no services associated with it! Warning: Host 'stratdev125' has no services associated with it! Warning: Host 'stratdev127' has no services associated with it! Warning: Host 'stratdev15' has no services associated with it! Warning: Host 'tasmdev148' has no services associated with it! Warning: Host 'tasmdev18' has no services associated with it! Warning: Host 'tasmdev18a' has no services associated with it! Warning: Host 'tasmdev19' has no services associated with it! Warning: Host 'tasmdev2' has no services associated with it! Warning: Host 'tasmdev20' has no services associated with it! Warning: Host 'tasmdev42' has no services associated with it! Warning: Host 'tasmdev45' has no services associated with it! Warning: Host 'tasmdev50' has no services associated with it! Warning: Host 'tasmdev51' has no services associated with it! Warning: Host 'tasmdev60' has no services associated with it! Warning: Host 'tasmdevpc1-w2k' has no services associated with it! Checked 56 hosts. Checking host groups... Checked 4 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 2 contacts. Checking contact groups... Checked 2 contact groups. Checking service escalations... Checked 0 service 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 22 commands. Checking time periods... Checked 4 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 50 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check Thanks, John -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, October 03, 2007 1:38 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Errors from check_nagios -v > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John Tabasz (jtabasz) > Sent: Wednesday, October 03, 2007 3:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Errors from check_nagios -v > > Hi, > > Solaris 2.8; Nagios 2.9; > > It's a new installation and I'm trying to figure out why the hosts-alive > is not running. All clients are status PENDING on the web page. I can > 'reschedule the next test for this host' to do a one time check. This is > not what I had in mind however. Any input is appreciated. > (included definitions look good. Thanks!) > I still get this output from check_nagios -v: > > Warning: Host 'dev5b' has no services associated with it! > Warning: Host 'dev5e' has no services associated with it! > Warning: Host 'dev5i' has no services associated with it! > Warning: Host 'dev5k' has no services associated with it! > Warning: Host 'dev5v' has no services associated with it! Did you remember to include services.cfg as a cfg_file in nagios.cfg? What's the full output of /path/to/nagios -v /path/to/nagios.cfg? -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Thu Oct 4 01:02:35 2007 From: Roger at NagiosWiki.com (Roger) Date: Wed, 3 Oct 2007 16:02:35 -0700 Subject: nc_net service not stopping properly Message-ID: <2b7af7c40710031602m5c7aa479n6488ac42be67e338@mail.gmail.com> Does anyone else here experience problems with the NC_net service hanging on Windows servers? I installed it on my Exchange server, and for whatever reason, the service is taking forever (like two hours) to stop. Since this server is in production, I can't simply reboot it. I killed the nagios service (/etc/init.d/nagios stop), thinking that the checks might have something to do with it not stopping, but that didn't see to do anything, and the service in Windows still says "stopping". I tried to kill it from the command line (net stop nc_net stop /y), but that did nothing. I looked in EventID's application log (thinking nc_net might have entered some error), but couldn't find anything NC_net related there. Any suggestions? -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jakobjs at gmail.com Thu Oct 4 01:12:01 2007 From: jakobjs at gmail.com (Jakob Sigurdsson) Date: Wed, 3 Oct 2007 23:12:01 +0000 Subject: What's wrong with this timeperiod definition? Message-ID: <7624c4610710031612l34f21ed0v19b9c4e6b2735f0f@mail.gmail.com> Hello all. Can anyone tell me why this timeperiod does not work? It does not send notifications during the evenings and nights on weekdays, but sends successfully during the weekend! define timeperiod{ timeperiod_name offhours alias Non-Office Hours, 7 Days A Week sunday 00:00-24:00 monday 16:30-09:00 tuesday 16:30-09:00 wednesday 16:30-09:00 thursday 16:30-09:00 friday 16:30-09:00 saturday 00:00-24:00 } Thanks for your help. - Jakob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Thu Oct 4 01:28:40 2007 From: Roger at NagiosWiki.com (Roger) Date: Wed, 3 Oct 2007 16:28:40 -0700 Subject: What's wrong with this timeperiod definition? In-Reply-To: <7624c4610710031612l34f21ed0v19b9c4e6b2735f0f@mail.gmail.com> References: <7624c4610710031612l34f21ed0v19b9c4e6b2735f0f@mail.gmail.com> Message-ID: <2b7af7c40710031628h4d5354c4ja69ef99fbdec1b7c@mail.gmail.com> If I remember right, 24:00 should be something like 23:59 On 10/3/07, Jakob Sigurdsson wrote: > Hello all. > > Can anyone tell me why this timeperiod does not work? > It does not send notifications during the evenings and nights on weekdays, > but sends successfully during the weekend! > > define timeperiod{ > timeperiod_name offhours > alias Non-Office Hours, 7 Days A Week > sunday 00:00-24:00 > monday 16:30-09:00 > tuesday 16:30-09:00 > wednesday 16:30-09:00 > thursday 16:30-09:00 > friday 16:30-09:00 > saturday 00:00-24:00 > } > > Thanks for your help. > - Jakob > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Thu Oct 4 01:31:31 2007 From: Roger at NagiosWiki.com (Roger) Date: Wed, 3 Oct 2007 16:31:31 -0700 Subject: What's wrong with this timeperiod definition? In-Reply-To: <7624c4610710031612l34f21ed0v19b9c4e6b2735f0f@mail.gmail.com> References: <7624c4610710031612l34f21ed0v19b9c4e6b2735f0f@mail.gmail.com> Message-ID: <2b7af7c40710031631qe08cb3wd8d0baeea7f86344@mail.gmail.com> Whoops, I take that back. 24:00 should be ok. What are you trying to accomplish, exactly, by putting in "16:30-09:00"? On 10/3/07, Jakob Sigurdsson wrote: > Hello all. > > Can anyone tell me why this timeperiod does not work? > It does not send notifications during the evenings and nights on weekdays, > but sends successfully during the weekend! > > define timeperiod{ > timeperiod_name offhours > alias Non-Office Hours, 7 Days A Week > sunday 00:00-24:00 > monday 16:30-09:00 > tuesday 16:30-09:00 > wednesday 16:30-09:00 > thursday 16:30-09:00 > friday 16:30-09:00 > saturday 00:00-24:00 > } > > Thanks for your help. > - Jakob > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Oct 4 01:34:39 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 03 Oct 2007 19:34:39 -0400 Subject: What's wrong with this timeperiod definition? In-Reply-To: <7624c4610710031612l34f21ed0v19b9c4e6b2735f0f@mail.gmail.com> References: <7624c4610710031612l34f21ed0v19b9c4e6b2735f0f@mail.gmail.com> Message-ID: <4704270F.8030405@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/10/07 07:12 PM, Jakob Sigurdsson wrote: > Hello all. > > Can anyone tell me why this timeperiod does not work? > It does not send notifications during the evenings and nights on > weekdays, but sends successfully during the weekend! > > define timeperiod{ > timeperiod_name offhours > alias Non-Office Hours, 7 Days A Week > sunday 00:00-24:00 > monday 16:30-09:00 > tuesday 16:30-09:00 > wednesday 16:30-09:00 > thursday 16:30-09:00 > friday 16:30-09:00 > saturday 00:00-24:00 > } monday 00:00-09:00,16:30-24:00 etc. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHBCcP6dZ+Kt5BchYRAhuQAKDwBY43hflc4OlG73Z8efD4knDMKwCeMDDy mMlZV+6XynJcPL6P33qXHTw= =1Euc -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Thu Oct 4 02:32:40 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Wed, 3 Oct 2007 20:32:40 -0400 Subject: No email alerts ?? In-Reply-To: References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> Message-ID: <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> Hey sounds good but what exctly am i exucuting at the commadn line is this the line i am executing: i replaced $CONTACTEMAIL$ with my email address but says cant find directory i tried executing from root: su nagios s /bin/sh but says cant find directory ?? help please */bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $nedo72 at gmail.com$* On 10/3/07, Hugo van der Kooij wrote: > > On Wed, 3 Oct 2007, Nedim Bicic wrote: > > > Hey all have nagios 2.9 running linux red hat enterprise 4 the email for > > nagios sending notifications arent working for some reason i know the > box > > can send email because the it has the MTA agent installed cuase i can > send > > other emials from that machine > > > > I can see host down in nagios webpage i have the contact groups set > > appropritaley and of course my email address in contacts group i even > did a > > sanity check to see if i have any syntex errors nothing so far. > > > > this is what i have in commands.cfg file under emails: > > > > # 'host-notify-by-email' command definition > > define command{ > > command_name host-notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios 2.9*****\n\nNotification > > Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | > > /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > } > > > > and i also took out the option not to notify in my host file. > > Do you have events logged by Nagios? Does it show notifications? If that > happens to be the case then llok at the delivery of the notifications. > > If one assumes you run this as the nagios user then test is as such. > > Become the nagios user with: > su - nagios s /bin/sh > > Then execute the command as shown on the commandline but substitute > $CONTACTEMAIL for the intended recipient. > > If that fails to deliver then you need to fix your MTA. Get to the logs of > it to check it out. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for this quote of George Bernard Shaw.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livegreat007 at yahoo.com Thu Oct 4 03:00:41 2007 From: livegreat007 at yahoo.com (Live Great) Date: Wed, 3 Oct 2007 18:00:41 -0700 (PDT) Subject: NSCA on readonly system Message-ID: <924151.85781.qm@web45512.mail.sp1.yahoo.com> Hi, I planned to setup NSCA on customer site for remote monitoring. Can I configure the entire setup (NSCA + system) as a readonly device? NSCA give me an impression that it is just used to collect data from remote hosts and send it back to Nagios central server. Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Oct 4 03:23:22 2007 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 3 Oct 2007 21:23:22 -0400 Subject: No email alerts ?? In-Reply-To: <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> Message-ID: <302ce8b50710031823k5fd271d5rec577c98eed82c5b@mail.gmail.com> On 10/3/07, Nedim Bicic wrote: > > Hey sounds good but what exctly am i exucuting at the commadn line You're attempting to run the same command nagios is. Look at the command nagios is running, starting from /usr/bin/printf. Replace the variables listed with appropriate values. > is this the line i am executing: i replaced $CONTACTEMAIL$ with my email > address but says cant find directory i tried executing from root: > su nagios s /bin/sh but says cant find directory ?? help please > > /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $nedo72 at gmail.com$ Wow. You got this one really wrong. Start from /usr/bin/printf. Replace variables. DO NOT include the $ signs in your replacements. Also. When you attempted this install, did you add the nagios user and group? And to follow up on the last question you didn't answer: Since you're using RHEL4, does your system have selinux enabled? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 03:24:41 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 3 Oct 2007 21:24:41 -0400 Subject: nc_net service not stopping properly In-Reply-To: <2b7af7c40710031602m5c7aa479n6488ac42be67e338@mail.gmail.com> References: <2b7af7c40710031602m5c7aa479n6488ac42be67e338@mail.gmail.com> Message-ID: Hi Roger, I am guessing you are running an older version of NC_NEt, Check its version number. CLIENTVERISON command via check_nt. the current is v4.1a availible on sourceforge.http://sourceforge.net/projects/nc-net There was a potential Hang in older versions of NC_Net when writing Events to the application log was unavailible, but thia should not hold up a Shutdown. "End Process Tree" from Task Manager usually shuts NC_Net down quickly. but as you experienced not in this case. The only STOPPING issue I experienced was durring development when testing new code, But I never experienced this issue in production. If you find you are on an older version, upgrade, (read the new Startup.cfg and new documention if you are not using default setting. Tony (Author of NC_Net) On 10/3/07, Roger wrote: > > Does anyone else here experience problems with the NC_net service > hanging on Windows servers? > > I installed it on my Exchange server, and for whatever reason, the > service is taking forever (like two hours) to stop. Since this server > is in production, I can't simply reboot it. > > I killed the nagios service (/etc/init.d/nagios stop), thinking that > the checks might have something to do with it not stopping, but that > didn't see to do anything, and the service in Windows still says > "stopping". > > I tried to kill it from the command line (net stop nc_net stop /y), > but that did nothing. I looked in EventID's application log (thinking > nc_net might have entered some error), but couldn't find anything > NC_net related there. > > Any suggestions? > > -- > "Nagios, it's what's for breakfast!" > http://www.NagiosWiki.com > > Email me personally: > mailto:Roger at NagiosWiki.com?subject=NagiosWiki > > http://del.icio.us/RogerRustad/nagios > http://del.icio.us/rss/RogerRustad/nagios > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livegreat007 at yahoo.com Wed Oct 3 09:02:09 2007 From: livegreat007 at yahoo.com (Live Great) Date: Wed, 3 Oct 2007 00:02:09 -0700 (PDT) Subject: check_by_ssh - please clarify. Message-ID: <138799.41511.qm@web45506.mail.sp1.yahoo.com> If I want to set Nagios distribution architecture, can I still use check_by_ssh with NSCA server? eg. Nagios central server <--> NSCA ---execute ssh--> host 1 in this sense, NSCA will gather information from host 1 using check_by_ssh, and send back the collected data to the Nagios central server. Is this possible? how to setup the monitoring architecture like this? Links, reference/guides are most welcome. Thanks Sam ----- Original Message ---- From: Live Great To: nagios-users at lists.sourceforge.net Sent: Wednesday, October 3, 2007 4:22:48 PM Subject: Re: check_by_ssh - please clarify. Hi, This is the follow up the previous question. For example, if I want to check disk info in a remote host, In the NSCA server, I will define the following config: define command{ command_name check_slash_free command_line $USER1$/check_by_ssh -i /var/ssh/nagios-key -l root -H $HOSTADDRESS$ -C '$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p /' }Do I only need to install check_disk script/program in the remote host without installing nagios and other nagios plugins? Thanks[ Sam ----- Original Message ---- From: Live Great To: nagios-users at lists.sourceforge.net; nagios-users at lists.sourceforge.net Sent: Wednesday, October 3, 2007 4:14:25 PM Subject: check_by_ssh - please clarify. Hi, I am aware that NSCA can uses check_by_ssh to check remote host. I am wondering if this means I don't have to install NSCA or Nagios plugins in remote host? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kenlee at jeld-wen.com.au Thu Oct 4 08:40:06 2007 From: kenlee at jeld-wen.com.au (Ken Lee) Date: Thu, 4 Oct 2007 08:40:06 +0200 (CEST) Subject: notifications 3.0b3 not working. In-Reply-To: <4701ED0E.3070608@its-lehmann.de> References: <4701ED0E.3070608@its-lehmann.de> Message-ID: <20071004064006.9E9DE58800B@desire.netways.de> This problem has been solved. There was no issue at all with my config or setup. What I did was decided to move onto release 3.0b4 from 3. As soon as I started the service after the upgrade my service and host notifications came straight through. On another note. I really do appreciate those of you who read my email and replied trying to assist. This is what mailing lists are about. I do understand that a lot of the time you get people that do not do things themselves and expect all the answers for no work. I am not one of those people. I appreciate the apology Andreas thank you On the other hand, I am confused by Arno's reply. If you read my first and second and then third post you may have not rambled on in a totally unhelpful and I think embarrassing way. On the first point. I was not bitter at not getting any replies, you get that in this situation. I was actually a little annoyed at a post that suggested that I stop wasting everyone's time if I was not prepared to try things. I ended up getting an apology for that which I was grateful. I think that this will be my last post on this list, I have found that only two replies were in good faith, the remainder were.....uncalled for. I think we should think to ourselves, if we have nothing good to say, don't reply. On that note I will take my own advice and go off to enjoy my notifications working. - Ken Lee (kenlee) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=4896 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Thu Oct 4 10:42:46 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 4 Oct 2007 10:42:46 +0200 Subject: What's wrong with this timeperiod definition? In-Reply-To: <4704270F.8030405@aei.ca> References: <7624c4610710031612l34f21ed0v19b9c4e6b2735f0f@mail.gmail.com> <4704270F.8030405@aei.ca> Message-ID: <9D30659ABCA7FB428CF91E386C3A57448E1A8B@hermes.sapphire-int.gi> > > > > define timeperiod{ > > timeperiod_name offhours > > alias Non-Office Hours, 7 Days A Week > > sunday 00:00-24:00 > > monday 16:30-09:00 > > tuesday 16:30-09:00 > > wednesday 16:30-09:00 > > thursday 16:30-09:00 > > friday 16:30-09:00 > > saturday 00:00-24:00 > > } > > monday 00:00-09:00,16:30-24:00 > etc. > My Guess is that you cannot specify 16:30-09:00 (The 09:00 would be Tuesday, not Monday etc...) Your explanation is actually the correct syntax, Check http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod Specifically the example: Example Definition: define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Oct 4 11:17:26 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 4 Oct 2007 11:17:26 +0200 (CEST) Subject: No email alerts ?? In-Reply-To: <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> Message-ID: On Wed, 3 Oct 2007, Nedim Bicic wrote: > Hey sounds good but what exctly am i exucuting at the commadn line > > is this the line i am executing: i replaced $CONTACTEMAIL$ with my email > address but says cant find directory i tried executing from root: > su nagios s /bin/sh but says cant find directory ?? help please Where did you leave all those dashes? I said: su - nagios -s /bin/sh > */bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $nedo72 at gmail.com$* Loose the $ signs. They mark variables.so they are most definitly wrong around your email address. PS: Uberquotes sucks ;-) -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 12:36:11 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 04 Oct 2007 12:36:11 +0200 Subject: notifications 3.0b3 not working. In-Reply-To: <20071004064006.9E9DE58800B@desire.netways.de> References: <4701ED0E.3070608@its-lehmann.de> <20071004064006.9E9DE58800B@desire.netways.de> Message-ID: <4704C21B.8060002@op5.se> Ken Lee wrote: > This problem has been solved. > > There was no issue at all with my config or setup. What I did was > decided to move onto release 3.0b4 from 3. As soon as I started the > service after the upgrade my service and host notifications came > straight through. > > On another note. I really do appreciate those of you who read my > email and replied trying to assist. This is what mailing lists are > about. > > I do understand that a lot of the time you get people that do not do > things themselves and expect all the answers for no work. I am not > one of those people. > > I appreciate the apology Andreas thank you > > On the other hand, I am confused by Arno's reply. If you read my > first and second and then third post you may have not rambled on in a > totally unhelpful and I think embarrassing way. > I believe he fell into the same trap I did, by only reading my reply to you and the mail I replied to. For future reference, replying to your own email to make sure issues haven't just been overlooked would have made me see my error before hitting that send-button the first time, which would have saved me the embarrassment of assuming too much and you the annoyance of getting an undeserved rude reply. Again, my apologies. > On the first point. I was not bitter at not getting any replies, you > get that in this situation. I was actually a little annoyed at a post > that suggested that I stop wasting everyone's time if I was not > prepared to try things. I ended up getting an apology for that which > I was grateful. > > I think that this will be my last post on this list, I have found > that only two replies were in good faith, the remainder > were.....uncalled for. > > I think we should think to ourselves, if we have nothing good to say, > don't reply. On that note I will take my own advice and go off to > enjoy my notifications working. > Wise words. Check back in if you need a hand later :) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tbabar at osius.com Thu Oct 4 13:19:19 2007 From: tbabar at osius.com (Tatyaso Babar) Date: Thu, 4 Oct 2007 04:19:19 -0700 Subject: What's wrong with this timeperiod definition? In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57448E1A8B@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57448E1A8B@hermes.sapphire-int.gi> Message-ID: <1B88EE714FA1204D956B6232A887887401CF02AC@ex2.osius.com> That's correct.. the time period can not be 16:30-9:00 for a day...its reverse. I think the range should be between 00:00-24:00 & in the same order. Regards, Tatyaso -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Giles Coochey Sent: Thursday, October 04, 2007 2:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] What's wrong with this timeperiod definition? > > > > define timeperiod{ > > timeperiod_name offhours > > alias Non-Office Hours, 7 Days A Week > > sunday 00:00-24:00 > > monday 16:30-09:00 > > tuesday 16:30-09:00 > > wednesday 16:30-09:00 > > thursday 16:30-09:00 > > friday 16:30-09:00 > > saturday 00:00-24:00 > > } > > monday 00:00-09:00,16:30-24:00 > etc. > My Guess is that you cannot specify 16:30-09:00 (The 09:00 would be Tuesday, not Monday etc...) Your explanation is actually the correct syntax, Check http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#timeperiod Specifically the example: Example Definition: define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 4 15:02:17 2007 From: marc at ena.com (Marc Powell) Date: Thu, 4 Oct 2007 08:02:17 -0500 Subject: check_by_ssh - please clarify. In-Reply-To: <138799.41511.qm@web45506.mail.sp1.yahoo.com> References: <138799.41511.qm@web45506.mail.sp1.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Live Great > Sent: Wednesday, October 03, 2007 2:02 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_by_ssh - please clarify. > > If I want to set Nagios distribution architecture, can I still use > check_by_ssh with NSCA server? > eg. > Nagios central server <--> NSCA ---execute ssh--> host 1 > > in this sense, NSCA will gather information from host 1 using > check_by_ssh, and send back the collected data to the Nagios central > server. > > Is this possible? how to setup the monitoring architecture like this? If you haven't guessed, what you're trying to accomplish isn't clear. The question, as you've put it, doesn't make sense. About the only case I can think of that you might need to use NSCA and check_by_ssh together were if you were checking a third host that was only accessible from a second host, neither of which are directly accessible by your nagios server (i.e. firewalled, or other). send_nsca can be run on a remote host to send check results executed by an external program (nagios on that remote host or your own script), back to another nagios machine running NSCA. This is a passive check for nagios. Nagios doesn't 'call' or 'run' nsca or send_nsca. The Distributed Monitoring documentation, while specific to running a distributed nagios instance, talks about how this is accomplished. check_by_ssh is a plugin that is actively run by your nagios machine that will ssh into a remote host, execute a nagios plugin installed there and return the results to nagios as an active check. If you have direct access to the monitored machine and don't mind setting up key-based authentication for this purpose, this is probably the easiest way to go. Another option might be NRPE. Both accomplish the pretty much the same thing, just in very different ways. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hulme at ebi.ac.uk Thu Oct 4 15:30:20 2007 From: hulme at ebi.ac.uk (Robert Hulme) Date: Thu, 04 Oct 2007 14:30:20 +0100 Subject: Problem: Picking up wrong server hostname with check_http Message-ID: <4704EAEC.7030804@ebi.ac.uk> I am trying to use the check_http plugin in Nagios 3 to see if relibase.ebi.ac.uk is OK. When I call it from the command prompt I get this: trueman% /usr/local/nagios/libexec/check_http relibase HTTP WARNING: HTTP/1.1 404 Not Found trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk HTTP WARNING: HTTP/1.1 404 Not Found trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk. HTTP WARNING: HTTP/1.1 404 Not Found However if I access relibase in Firefox (or with wget) the index page is returned normally. A little digging later has revealed that there are two relibases: trueman% dig relibase ; <<>> DiG 9.3.4 <<>> relibase ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 12743 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;relibase. IN A ;; Query time: 0 msec ;; SERVER: 172.22.2.11#53(172.22.2.11) ;; WHEN: Thu Oct 4 14:24:29 2007 ;; MSG SIZE rcvd: 26 trueman% dig relibase.ebi.ac.uk ; <<>> DiG 9.3.4 <<>> relibase.ebi.ac.uk ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28374 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;relibase.ebi.ac.uk. IN A ;; ANSWER SECTION: relibase.ebi.ac.uk. 454 IN CNAME www4.ebi.ac.uk. www4.ebi.ac.uk. 2612 IN A 193.62.197.14 ;; Query time: 0 msec ;; SERVER: 172.22.2.11#53(172.22.2.11) ;; WHEN: Thu Oct 4 14:24:31 2007 ;; MSG SIZE rcvd: 71 Is there a way to force check_http to use the correct one? It seems to be resolving the first one rather than the second one. If I try to access "http://relibase/" from my desktop I get "The web server you are trying to contact has closed down. For further information, please contact support at ebi.ac.uk" which is not what I get if I access "http://relibase.ebi.ac.uk/". I'm going to try to get the systems deparment here to fix this so that both queries, but is there a work around? (other than using www4 or the IP directly). Thanks -Rob -- Think of how stupid the average person is, and realize half of them are stupider than that. -- George Carlin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dennis at huenseler.net Thu Oct 4 15:34:37 2007 From: dennis at huenseler.net (=?UTF-8?Q?Dennis_H=C3=BCnseler?=) Date: Thu, 4 Oct 2007 15:34:37 +0200 Subject: Problem: Picking up wrong serverhostname =?UTF-8?Q?withcheck=5Fhttp?= In-Reply-To: <4704EAEC.7030804@ebi.ac.uk> References: <4704EAEC.7030804@ebi.ac.uk> Message-ID: Hi Rob, try /usr/local/nagios/libexec/check_http -H relibase.ebi.ac.uk HTTP OK HTTP/1.1 200 OK - 419 bytes in 0.198 seconds |time=0.198169s;;;0.000000 size=419B;;;0 kind regards, Dennis On Thu, 04 Oct 2007 14:30:20 +0100, Robert Hulme wrote: > I am trying to use the check_http plugin in Nagios 3 to see if > relibase.ebi.ac.uk is OK. > > When I call it from the command prompt I get this: > trueman% /usr/local/nagios/libexec/check_http relibase > HTTP WARNING: HTTP/1.1 404 Not Found > trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk > HTTP WARNING: HTTP/1.1 404 Not Found > trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk. > HTTP WARNING: HTTP/1.1 404 Not Found > > However if I access relibase in Firefox (or with wget) the index page is > returned normally. > > A little digging later has revealed that there are two relibases: > > trueman% dig relibase > > ; <<>> DiG 9.3.4 <<>> relibase > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 12743 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;relibase. IN A > > ;; Query time: 0 msec > ;; SERVER: 172.22.2.11#53(172.22.2.11) > ;; WHEN: Thu Oct 4 14:24:29 2007 > ;; MSG SIZE rcvd: 26 > > trueman% dig relibase.ebi.ac.uk > > ; <<>> DiG 9.3.4 <<>> relibase.ebi.ac.uk > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28374 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 > > ;; QUESTION SECTION: > ;relibase.ebi.ac.uk. IN A > > ;; ANSWER SECTION: > relibase.ebi.ac.uk. 454 IN CNAME www4.ebi.ac.uk. > www4.ebi.ac.uk. 2612 IN A 193.62.197.14 > > ;; Query time: 0 msec > ;; SERVER: 172.22.2.11#53(172.22.2.11) > ;; WHEN: Thu Oct 4 14:24:31 2007 > ;; MSG SIZE rcvd: 71 > > Is there a way to force check_http to use the correct one? It seems to > be resolving the first one rather than the second one. > > If I try to access "http://relibase/" from my desktop I get "The web > server you are trying to contact has closed down. For further > information, please contact support at ebi.ac.uk" which is not what I get > if I access "http://relibase.ebi.ac.uk/". > > I'm going to try to get the systems deparment here to fix this so that > both queries, but is there a work around? (other than using www4 or the > IP directly). > > Thanks > -Rob > > -- > Think of how stupid the average person is, and realize half of them are > stupider than that. > -- George Carlin > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- kind regards, Dennis H?nseler ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Thu Oct 4 15:36:28 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Thu, 4 Oct 2007 08:36:28 -0500 (CDT) Subject: Problem: Picking up wrong server hostname with check_http In-Reply-To: <4704EAEC.7030804@ebi.ac.uk> References: <4704EAEC.7030804@ebi.ac.uk> Message-ID: > trueman% /usr/local/nagios/libexec/check_http relibase.ebi.ac.uk > HTTP WARNING: HTTP/1.1 404 Not Found Try with the -H switch. # /usr/lib/nagios/plugins/check_http -H relibase.ebi.ac.uk HTTP OK HTTP/1.1 200 OK - 419 bytes in 0.246 seconds |time=0.246498s;;;0.000000 size=419B;;; ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hulme at ebi.ac.uk Thu Oct 4 15:46:31 2007 From: hulme at ebi.ac.uk (Robert Hulme) Date: Thu, 04 Oct 2007 14:46:31 +0100 Subject: Problem: Picking up wrong server hostname withcheck_http In-Reply-To: References: <4704EAEC.7030804@ebi.ac.uk> Message-ID: <4704EEB7.3010907@ebi.ac.uk> Dennis H?nseler wrote: > Hi Rob, > /usr/local/nagios/libexec/check_http -H relibase.ebi.ac.uk > HTTP OK HTTP/1.1 200 OK - 419 bytes in 0.198 seconds > |time=0.198169s;;;0.000000 size=419B;;;0 Thanks guys, that's fixed it. -Rob -- Giving the Linus Torvalds Award to the Free Software Foundation is a bit like giving the Han Solo Award to the Rebel Alliance. -- Richard Stallman ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at dugas.cc Thu Oct 4 15:49:58 2007 From: paul at dugas.cc (Paul Dugas) Date: Thu, 04 Oct 2007 09:49:58 -0400 Subject: service dependency question Message-ID: <1191505798.24330.16.camel@ltpad.localdomain> I have a hostgroup defined for my application database servers. I have a service defined for the group that checks the database server process itself. I have additional services defined for the group that check the space used and other validity tests in our various databases. I'd like to setup service dependencies so the individual database checks don't happen when the main service isn't there. Is there a way to avoid having to enter all the service dependencies individually? With a dozen hosts and half a dozen databases on each one, it's getting ugly and error prone. Paul -- Paul Dugas, Computer Engineer Dugas Enterprises, LLC paul at dugas.cc phone: 404-932-1355 522 Black Canyon Park http://dugas.cc fax: 866-751-6494 Canton, GA 30114 USA -- This e-mail and any attachments are confidential. If you receive this message in error or are not the intended recipient, you should not retain, distribute, disclose or use any of this information and you should destroy the e-mail and any attachments or copies. -------------- 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: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 4 16:19:09 2007 From: marc at ena.com (Marc Powell) Date: Thu, 4 Oct 2007 09:19:09 -0500 Subject: Errors from check_nagios -v In-Reply-To: <999D9C7316770741A028EF2A88B8E46803E2EC69@xmb-sjc-22a.amer.cisco.com> References: <999D9C7316770741A028EF2A88B8E46803E2EC69@xmb-sjc-22a.amer.cisco.com> Message-ID: > -----Original Message----- > From: John Tabasz (jtabasz) [mailto:jtabasz at cisco.com] > Sent: Wednesday, October 03, 2007 5:17 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Errors from check_nagios -v > > Here is the output of the check_nagios -v /opt/nagios/etc/nagios.cfg: > > Checking services... > Checked 10 services. > Checking hosts... > Warning: Host 'atest11idev1' has no services associated with it! > Warning: Host 'dev5b' has no services associated with it! > Warning: Host 'dev5e' has no services associated with it! > Warning: Host 'dev5i' has no services associated with it! > Warning: Host 'dev5k' has no services associated with it! > Warning: Host 'dev5v' has no services associated with it! I think if you correct the service template name problem mentioned by others that I missed you should be OK. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Law at thomson.com Thu Oct 4 16:36:08 2007 From: Mark.Law at thomson.com (Mark.Law at thomson.com) Date: Thu, 4 Oct 2007 10:36:08 -0400 Subject: FW: Problem with NDOUtils 1.4b6 and MySQL In-Reply-To: References: Message-ID: Bizarrely, I used ./configure --with-mysql-lib=/usr/lib and everything worked fine. Mark Law Thomson Global Technology Infrastructure (TGTI) (734) 913-3775 Phone (734) 260-5740 Cell (734) 913- 3500 Fax mark.law at thomson.com ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of mark.potter at academy.com Sent: Wednesday, October 03, 2007 9:08 AM To: Wheeler, JF (Jonathan) Cc: nagios-users-bounces at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FW: Problem with NDOUtils 1.4b6 and MySQL I have found the issue. The RPMs from mysql do not contain the proper shared objects. Installing MySQL from source solved the issue. I now have NDOUtils, NagVis, and various other customizations running flawlessly. Thank you all for the suggestions. nagios-users-bounces at lists.sourceforge.net wrote on 10/02/2007 08:27:02 AM: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net On Behalf Of > mark.potter at academy.com > Sent: 02 October 2007 14:17 > > > I have been trying this for a day now and it is time to ask for some > help. I have included the full > > output of the configure, as well as RPM output and directory listings. > Any help would be greatly > > appreciated. It seems that NDO cannot find what it is looking for in > regards to mysql yet AFAIK > > everything is there. Please advise if something is missing, or if I > should compile mysql from source, or > > any other fix. Here is all the relevant information I can think of > this morning: > > > > ~/ndoutils-1.4b6 # ./configure --with-mysql-lib=/usr/lib/mysql > > Use the following make command: > > ./configure --with-mysql-lib=/usr/lib/mysql > --with-mysql-inc=/usr/include/mysql --disable-pgsql > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ [attachment > "ATT4488962.txt" deleted by Mark Potter/IS/Academy] > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Thu Oct 4 16:54:27 2007 From: ifetch at du.edu (Ivan Fetch) Date: Thu, 04 Oct 2007 08:54:27 -0600 (MDT) Subject: service dependency question In-Reply-To: <1191505798.24330.16.camel@ltpad.localdomain> References: <1191505798.24330.16.camel@ltpad.localdomain> Message-ID: <20071004084713.W48172@tnetnzry.hgf.qh.rqh> Hi Paul, On Thu, 4 Oct 2007, Paul Dugas wrote: > I have a hostgroup defined for my application database servers. I have > a service defined for the group that checks the database server process > itself. I have additional services defined for the group that check the > space used and other validity tests in our various databases. I'd like > to setup service dependencies so the individual database checks don't > happen when the main service isn't there. Is there a way to avoid > having to enter all the service dependencies individually? With a dozen > hosts and half a dozen databases on each one, it's getting ugly and > error prone. > > Paul I asked a simelar question about services which use SSH to run plugins on remote hosts, depending on a check for SSH. Here is that thread so far: http://sourceforge.net/mailarchive/forum.php?thread_name=20071002123309.L30065%40tnetnzry.hgf.qh.rqh&forum_name=nagios-users The one addition I have to this topic, is the possibility of using a script to automate the creation of individual service dependencies, given a set of hosts and services which you want to depend on your database process. This is also something I'm looking into, I know others are using something like this. Thanks, Ivan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.nail at amd.com Thu Oct 4 17:41:30 2007 From: tom.nail at amd.com (Tom Nail) Date: Thu, 04 Oct 2007 10:41:30 -0500 Subject: different contact_groups not used In-Reply-To: References: Message-ID: <470509AA.5000303@amd.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dirk H. Schulz wrote: > Hi folks, > > we are running Nagios 2.3.1 and use different email contacts that are > consolidated in different contact_groups which are used within the host > definitions. > Are you doing any templating for your host or service objects? It sounds like you are overriding your contact_group definition at some point, so you're going to have to figure out where that is occurring. > But ALL email notifications are sent to the same contact(_group), not > minding which contact_group is used in the host/service definition that > email is concerned about. > > I have tried to find a fault in nagios.cfg and in the several other cfg > files, but there seems to be none. > > Any help or hint is appreciated. > > Dirk It's hard to tell what you have defined without looking over your config file(s), but for starters, what does the command "nagios -v /path/to/nagios_config_file" show? Are there any contact errors? Cheers, - -=Tom Nail -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHBQmq1zsLRjt/NQ0RAtsBAJwMgDlT1jv3Lns55DBBLQduSzNK/ACcDfow aImKZDCWJZtIqdfiBSPSe6w= =zB4/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florencio.cano at gmail.com Thu Oct 4 18:23:22 2007 From: florencio.cano at gmail.com (Florencio Cano) Date: Thu, 4 Oct 2007 18:23:22 +0200 Subject: NC_Net.EventLog.Receiving error codes.Could I receive more info from the EventLog? Message-ID: Hello, Thanks to Hugo and Roger help I've been able to check Windows 2003 EventLog from the Nagios server. My idea is to audit access to some objects in the Windows 2003 machine as for example, a confidential document. And I want to see an alert in Nagios when I receive this information from the Windows EventLog Plugin (check_nt -v EVENTLOG). But, now, I'm receiving only the error codes and I want to receive more info detailed in the EventLog as for example the object name (filename in my case). Is this possible? And I wanted to say that I'm using NC_Net in a Spanish installation Windows 2003 installation and it seems to run ok. -- Florencio Cano Gabarda ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Roberts at pinkardcc.com Thu Oct 4 19:09:41 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Thu, 4 Oct 2007 11:09:41 -0600 Subject: Status Map Error Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE35FE@lwmailserver1.pinkard.com> I've installed Nagios on a Debian Linux Etch server. 3-D Status Map works fine, but Status Map returns the following error: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Anyone else run into the same thing and found a fix to this? Thanks in advance, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Thu Oct 4 19:08:37 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 4 Oct 2007 18:08:37 +0100 Subject: Status Map Error In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE35FE@lwmailserver1.pinkard.com> References: <2CE4DD25946EB940B8EE93877AF62531FE35FE@lwmailserver1.pinkard.com> Message-ID: <6546343904687E41B19D8E5A26AB9F53017D5D1B@E03MVB2-UKBR.domain1.systemhost.net> Look on the faq page of the nagios site. you have some libs missing. There is a faq that addresses this exact question. Regards Tom ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Joel Roberts Sent: 04 October 2007 18:10 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status Map Error I've installed Nagios on a Debian Linux Etch server. 3-D Status Map works fine, but Status Map returns the following error: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. Anyone else run into the same thing and found a fix to this? Thanks in advance, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Oct 4 19:09:59 2007 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 4 Oct 2007 13:09:59 -0400 Subject: Status Map Error In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE35FE@lwmailserver1.pinkard.com> References: <2CE4DD25946EB940B8EE93877AF62531FE35FE@lwmailserver1.pinkard.com> Message-ID: <302ce8b50710041009y1be7826fleeae1fc10bf061b5@mail.gmail.com> On 10/4/07, Joel Roberts wrote: > I've installed Nagios on a Debian Linux Etch server. 3-D Status Map works > fine, but Status Map returns the following error: > The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this > server. > Anyone else run into the same thing and found a fix to this? FAQ. Mostly, you didn't have all the deps when you built. See http://www.nagios.org/faqs/viewfaq.php?faq_id=55 -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Roberts at pinkardcc.com Thu Oct 4 19:15:16 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Thu, 4 Oct 2007 11:15:16 -0600 Subject: check_nt services not responding Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE35FF@lwmailserver1.pinkard.com> I've installed Nagios on a Debian Etch server and it seems to be working well, just a couple of things. Monitoring a Windows box, I've installed the NSClient++, for some reason there's no icon in the SysTray, but the service is up and running. Most of the Services respond, except the following: Drive space, CPU Load, Explorer and W3SVC I've verified the configuration file, but the Status Info in Nagios returns the following: Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout] Here are the entries in the windows.cfg file, Memory Usage works, Drive Space does not: define service{ use generic-service host_name lwsyslog1 service_description Memory Usage check_command check_nt!MEMUSE!-w 80 -c 90 } define service{ use generic-service host_name lwsyslog1 service_description C:\ Drive Space check_command check_nt!USEDDISKSPACE!-1 c -w 80 -c 90 } Thanks in advance, Joel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dirk.schulz at kinzesberg.de Thu Oct 4 19:20:20 2007 From: dirk.schulz at kinzesberg.de (Dirk H. Schulz) Date: Thu, 04 Oct 2007 19:20:20 +0200 Subject: different contact_groups not used In-Reply-To: <470509AA.5000303@amd.com> References: <470509AA.5000303@amd.com> Message-ID: Hello Tom, thanks for helping. --On 4. Oktober 2007 10:41:30 -0500 Tom Nail wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > Dirk H. Schulz wrote: >> Hi folks, >> >> we are running Nagios 2.3.1 and use different email contacts that are >> consolidated in different contact_groups which are used within the host >> definitions. >> > > Are you doing any templating for your host or service objects? It sounds > like you are overriding your contact_group definition at some point, so > you're going to have to figure out where that is occurring. That is the point. I do not use templating yet, but I have mixed several hosts with different contact_groups in the same service definitions with only one contact_group. That is simply stupid - the more since I am hunting down the problem for a long time now .... Thanks for your help and for directing me to the solution. Dirk ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtabasz at cisco.com Thu Oct 4 19:23:41 2007 From: jtabasz at cisco.com (John Tabasz (jtabasz)) Date: Thu, 4 Oct 2007 10:23:41 -0700 Subject: Errors from check_nagios -v In-Reply-To: References: <999D9C7316770741A028EF2A88B8E46803E2EC69@xmb-sjc-22a.amer.cisco.com> Message-ID: <999D9C7316770741A028EF2A88B8E46803E2EF8D@xmb-sjc-22a.amer.cisco.com> I was hoping that would be the case as well. If we're talking about the error I made by omitting the template string in "use-generic-template" line in the services.cfg file. I fixed that and rechecked the config files using nagios -s nagios.cfg and restarted the nagios process. Still get the "no services associated with $hostname" messages. Still no automatic running of the ping_check command. Do I need to specify a check_command argument in the host declaration in hosts.cfg? Is my services.cfg file looking the way it is supposed to? Do I need to include the hosts in a service group? Thanks, John -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, October 04, 2007 7:19 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Errors from check_nagios -v > -----Original Message----- > From: John Tabasz (jtabasz) [mailto:jtabasz at cisco.com] > Sent: Wednesday, October 03, 2007 5:17 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Errors from check_nagios -v > > Here is the output of the check_nagios -v /opt/nagios/etc/nagios.cfg: > > Checking services... > Checked 10 services. > Checking hosts... > Warning: Host 'atest11idev1' has no services associated with it! > Warning: Host 'dev5b' has no services associated with it! > Warning: Host 'dev5e' has no services associated with it! > Warning: Host 'dev5i' has no services associated with it! > Warning: Host 'dev5k' has no services associated with it! > Warning: Host 'dev5v' has no services associated with it! I think if you correct the service template name problem mentioned by others that I missed you should be OK. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 4 19:25:28 2007 From: marc at ena.com (Marc Powell) Date: Thu, 4 Oct 2007 12:25:28 -0500 Subject: check_nt services not responding In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE35FF@lwmailserver1.pinkard.com> References: <2CE4DD25946EB940B8EE93877AF62531FE35FF@lwmailserver1.pinkard.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Joel Roberts > Sent: Thursday, October 04, 2007 12:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nt services not responding > > I've verified the configuration file, but the Status Info in Nagios > returns the following: > > > > Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l > params] [-d SHOWALL] [-t timeout] > check_command check_nt!USEDDISKSPACE!-1 c -w 80 -c 90 > > } You meant to use '-l' (el), not -1 (number) above. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Roberts at pinkardcc.com Thu Oct 4 19:36:45 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Thu, 4 Oct 2007 11:36:45 -0600 Subject: check_nt services not responding In-Reply-To: References: <2CE4DD25946EB940B8EE93877AF62531FE35FF@lwmailserver1.pinkard.com> Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE3600@lwmailserver1.pinkard.com> That did it, thanks. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, October 04, 2007 11:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_nt services not responding > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Joel Roberts > Sent: Thursday, October 04, 2007 12:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nt services not responding > > I've verified the configuration file, but the Status Info in Nagios > returns the following: > > > > Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l > params] [-d SHOWALL] [-t timeout] > check_command check_nt!USEDDISKSPACE!-1 c -w 80 -c 90 > > } You meant to use '-l' (el), not -1 (number) above. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Thu Oct 4 19:53:19 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 4 Oct 2007 10:53:19 -0700 Subject: nc_net service not stopping properly In-Reply-To: References: <2b7af7c40710031602m5c7aa479n6488ac42be67e338@mail.gmail.com> Message-ID: <2b7af7c40710041053w3129f5bcm6fd8bb60d9a99ca2@mail.gmail.com> On 10/3/07, Anthony Montibello wrote: > I am guessing you are running an older version of NC_NEt, Check its version > number. CLIENTVERISON command via check_nt. the current is v4.1a availible > on sourceforge. http://sourceforge.net/projects/nc-net Actually, I'm using the latest version that I got off the site ( - NC_Net_setup.msi NC_Net 2.28 07/16/05). This worked on several servers, but not on my Exchange server. I finally uninstalled it for now until I figure out more of why it hangs when I try to shut it down. If I can do anything else to troubleshoot this (i.e. debug, logs, etc), please let me know, and I'll be happy to do so and share the results. Thanks for the reply, Tony. I very much appreciate it! Best, Roger -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Thu Oct 4 20:01:37 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Thu, 4 Oct 2007 14:01:37 -0400 Subject: No email alerts ?? In-Reply-To: References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> Message-ID: <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> OK check this out..funny thing is regarding the path /bin/mail doesnt exist anywhere from the root i tryed tracing back so i tryed executing this from the command line and i am able to recieve the email which now at least i know MTA is defintly working: "I didnt put any argumetns as u can see this is just to test" usr/bin/sendmail -s nedo72 at gmail.com works from command line but not from commands.cfg?? Now i editted the commands.cfg file copy and pasted the same exact above line, but doesnt send anything when i take down the host, I also had to tweak the linux firewall to allolw 25 in and out of that port. I did add nagios user and group that was when i configured apache and to accept external commands I cant answer that last question i dont even know wat kselinux is not to mention enabled , in one sentence wat is it and how does this affect emails for nagios on my issue thanks On 10/4/07, Hugo van der Kooij wrote: > > On Wed, 3 Oct 2007, Nedim Bicic wrote: > > > Hey sounds good but what exctly am i exucuting at the commadn line > > > > is this the line i am executing: i replaced $CONTACTEMAIL$ with my email > > address but says cant find directory i tried executing from root: > > su nagios s /bin/sh but says cant find directory ?? help please > > Where did you leave all those dashes? > > I said: > su - nagios -s /bin/sh > > > */bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $nedo72@ > gmail.com$* > > Loose the $ signs. They mark variables.so they are most definitly wrong > around your email address. > > PS: Uberquotes sucks ;-) > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for this quote of George Bernard Shaw.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 20:06:51 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 4 Oct 2007 14:06:51 -0400 Subject: NC_Net.EventLog.Receiving error codes.Could I receive more info from the EventLog? In-Reply-To: References: Message-ID: Hi, WMI should solve this problem for you. Just some notes on related to this issue, First off, make sure your using the current version of NC_NEt 4.1a and you would have access to a more optimized event log check called "eventlog_new" The original eventlog searched the logs from the wrong end, and thus takes a long time on large logs, this new version asside from using different syntex checks from the most resent event first. The Output is the same, thus it does not give what your are looking for. (but it may be more optimized than the WMI You would need to test this.) if it is a quicker test, I recomend using it and setting up event handlers or manually running check_nt using WMI to get the file name. note this assumes that you normally do not get an alert , so you would want the checking to induce the least load. If you know the names of the files you can setup seperate checks using the REGEXP of the EVENTLOG_NEw and this would serve as a workaround. If your looking for the files being modified. FILEAGE may be a good workaround. you should be able to setup an event handler that takes the EVENTID reported by EVENTLOG check and runs a WMICAT, querry the WMI (Windows Managment interface) for the Event Log Message. CLASS - CIMV2 Win32_NTLogEvent -has the events and the messeges in it. writing a querry to it may be tricky but if you need the File mane from the Message field this is the way to get it without writing new scripts, or paying for upgrades. or just run WMI checks directly and use wrapper scripts to interpret the results. please not on this, if a querry has no match there may be a NO OUTPUT error. Good Luck. TOny (author of NC_Net) On 10/4/07, Florencio Cano wrote: > > Hello, > Thanks to Hugo and Roger help I've been able to check Windows 2003 > EventLog from the Nagios server. My idea is to audit access to some > objects in the Windows 2003 machine as for example, a confidential > document. And I want to see an alert in Nagios when I receive this > information from the Windows EventLog Plugin (check_nt -v EVENTLOG). > But, now, I'm receiving only the error codes and I want to receive > more info detailed in the EventLog as for example the object name > (filename in my case). Is this possible? > > And I wanted to say that I'm using NC_Net in a Spanish installation > Windows 2003 installation and it seems to run ok. > -- > Florencio Cano Gabarda > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Oct 4 20:15:48 2007 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 4 Oct 2007 14:15:48 -0400 Subject: No email alerts ?? In-Reply-To: <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> Message-ID: <302ce8b50710041115y54b70fe3vab1589951f190bb4@mail.gmail.com> On 10/4/07, Nedim Bicic wrote: > OK check this out..funny thing is regarding the path /bin/mail doesnt exist > anywhere from the root i tryed tracing back so > i tryed executing this from the command line and i am able to recieve the > email which now at least i know MTA is defintly working: "I didnt put any > argumetns as u can see this is just to test" > > usr/bin/sendmail -s nedo72 at gmail.com works from command line but not from > commands.cfg?? > > Now i editted the commands.cfg file copy and pasted the same exact above > line, but doesnt send anything when i take down the host, I also had to > tweak the linux firewall to allolw 25 in and out of that port. > > I did add nagios user and group that was when i configured apache and to > accept external commands > > I cant answer that last question i dont even know wat kselinux is not to > mention enabled , in one sentence wat is it and how does this affect emails > for nagios on my issue https://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/ It is a security context that is enabled by default on RHEL4+. It prevents programs from doing things the system thinks it shouldn't be allowed to do. See the link. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Thu Oct 4 20:23:26 2007 From: frederik.vanhee at perso.be (Vanhee Frederik) Date: Thu, 04 Oct 2007 20:23:26 +0200 Subject: Nagios Latency In-Reply-To: <4702A4A3.603@oss.co.nz> References: <4701AD2F.80209@oss.co.nz> <4701DE3E.80103@op5.se> <4702A4A3.603@oss.co.nz> Message-ID: <47052F9E.3040508@perso.be> Benjamin, just out of curiosity : do you use ndomod ? I experience similar problems; I had a healthy Nagios install (1200 host, 7000 services, active+passive) with nagios 2.3 After upgrading to Nagios 2.9 with ndo-utils, I have 'latency-peaks' every day/few days. I'm in the middle of testing if it's related to the new Nagios version or the extra system load from ndo-utils, or a bug in ndo-utils. I'll keep the list informed. Frederik Benjamin Cleyet-Marrel wrote: > Hi Andreas, > > Thanks for answering . > > I have more or less followed the documentation on how to tune nagios. > > service_reaper_frequency=2 > max_concurrent_checks=0 > service_interleave_factor=s > host_inter_check_delay_method=s > > The host check command is check_icmp > We use nagios 2.7.1 > The nagios server is not overloaded 4Go RAM and dual core 3GHz. > > But still the nagios latency is increasing for no particular reason ... > see the graph attached. > > Cheers > Ben > > > Andreas Ericsson wrote: >> Benjamin Cleyet-Marrel wrote: >>> Hi, >>> >>> I am experiencing problems with Nagios latency that I can't understand. >>> >>> Upon Nagios startup or upon Nagios restart, the latency is bellow >>> 0.1second which is fine. >>> After a couple of days, without any change, and even though the >>> execution time and the Nagios server load remain the same the >>> latency slowly increase. It seems that it is an exponential growth. >>> >>> All the checks kicks in later and later, no exception. >>> >>> Usually after a week the latency is up to 60seconds and after 2 week >>> up to 5 minutes. >>> >>> I have currently set up a Nagios restart every monday, but I would >>> like to find a better solution and understand why does the latency >>> keeps increasing. >>> >>> We monitor over 50 hosts and have over 1400 checks every 5 minutes. >>> The nagios server is quite big and is not really loaded. >>> >>> Any Idea would be appreciated >>> >> >> Three things to check: >> service_reaper_frequency >> check_interleave_factor >> max_parallell_something_something >> >> I haven't done my morning routine yet, so you'll have to figure out the >> real variable names in case my memory is a bit off (which it no doubt >> is). >> >> Other than that.. What nagios version are you running, and how is your >> host check command defined? >> >> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Thu Oct 4 20:24:47 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Thu, 4 Oct 2007 14:24:47 -0400 Subject: No email alerts ?? In-Reply-To: <302ce8b50710041115y54b70fe3vab1589951f190bb4@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> <302ce8b50710041115y54b70fe3vab1589951f190bb4@mail.gmail.com> Message-ID: <7abcf48e0710041124v776e8e39t3ec8492f3b24d6f8@mail.gmail.com> So what do you think about me execting from the command line i still cant get it to execute from the nagios I will check out this manaul link On 10/4/07, Jim Perrin wrote: > > On 10/4/07, Nedim Bicic wrote: > > OK check this out..funny thing is regarding the path /bin/mail doesnt > exist > > anywhere from the root i tryed tracing back so > > i tryed executing this from the command line and i am able to recieve > the > > email which now at least i know MTA is defintly working: "I didnt put > any > > argumetns as u can see this is just to test" > > > > usr/bin/sendmail -s nedo72 at gmail.com works from command line but not > from > > commands.cfg?? > > > > Now i editted the commands.cfg file copy and pasted the same exact above > > line, but doesnt send anything when i take down the host, I also had to > > tweak the linux firewall to allolw 25 in and out of that port. > > > > I did add nagios user and group that was when i configured apache and to > > accept external commands > > > > I cant answer that last question i dont even know wat kselinux is not to > > mention enabled , in one sentence wat is it and how does this affect > emails > > for nagios on my issue > > > https://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/ > It is a security context that is enabled by default on RHEL4+. It > prevents programs from doing things the system thinks it shouldn't be > allowed to do. See the link. > > > -- > During times of universal deceit, telling the truth becomes a > revolutionary act. > George Orwell > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Oct 4 20:37:42 2007 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 4 Oct 2007 14:37:42 -0400 Subject: No email alerts ?? In-Reply-To: <7abcf48e0710041124v776e8e39t3ec8492f3b24d6f8@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> <302ce8b50710041115y54b70fe3vab1589951f190bb4@mail.gmail.com> <7abcf48e0710041124v776e8e39t3ec8492f3b24d6f8@mail.gmail.com> Message-ID: <302ce8b50710041137i45665b3bm49b03354c038b9bf@mail.gmail.com> On 10/4/07, Nedim Bicic wrote: > So what do you think about me execting from the command line I still don't think you're doing it properly, With as long as you've been on this list, and as many people have invested in helping you, you should pretty well be a nagios expert by now. > i still cant get it to execute from the nagios You still keep top-posting too, instead of threading your messages properly. You also still haven't supplied information I'd asked you for earlier in this thread. Doing the same thing and expecting different results is basically how Einstein defined insanity. > I will check out this manaul link You should have done this long ago when you started looking at RHEL4. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Thu Oct 4 20:56:48 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 4 Oct 2007 11:56:48 -0700 Subject: tips before integrating Nagios and Splunk? Message-ID: <2b7af7c40710041156q1ad24220x9dc09c352d4abd73@mail.gmail.com> Googling for stuff on integrating Nagios and Splunk, I stumbled across these resources http://www.splunk.com/doc/2.2/admin/integratenagios http://www.splunk.com/doc/3.0.1/admin/Splunk2Nagios Anyone have any suggestions or comments on this sort of integration? -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Thu Oct 4 23:00:07 2007 From: israel at frontierflying.com (Israel Brewster) Date: Thu, 4 Oct 2007 13:00:07 -0800 Subject: Host searching Message-ID: Is there a way to search for a host in Nagios? For example, I have a number of hosts set up named freenasxxx, where xxx is the three- letter designator for the location. I would like to be able to type freenas and get a list of all of them. Or if I named one xxx-freenas for some reason, but don't remember that, I would like to be able to do the same thing and get that one as well. The "show host" box in the default sidebar only shows the first result for a partial match, which is almost useless. I did find < http://www.nagiosexchange.org/ Misc.36.0.html?&tx_netnagext_pi1[p_view]=553 >, which almost works, but has the problem of inserting two tabs before the hostname when you choose one of the options, which makes the search return no results. You can delete the tabs, of course, but this brings up the choice list again with the first item selected, so when you hit enter you get the tabs back. It also shows each host twice for some reason (I'm using the php script version). Any suggestions would be appreciated. Thanks! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Oct 4 23:24:20 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 4 Oct 2007 23:24:20 +0200 (CEST) Subject: No email alerts ?? In-Reply-To: <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> Message-ID: On Thu, 4 Oct 2007, Nedim Bicic wrote: > OK check this out..funny thing is regarding the path /bin/mail doesnt exist > anywhere from the root i tryed tracing back so > i tryed executing this from the command line and i am able to recieve the > email which now at least i know MTA is defintly working: "I didnt put any > argumetns as u can see this is just to test" > > usr/bin/sendmail -s nedo72 at gmail.com works from command line but not from > commands.cfg?? Wether it is sloppiness or a typo is not clear to me. But /usr/bin/sendmail is something entirely different from usr/bin/sendmail The second option will only happen to work if you happen to be in the root directory. It will fail from any other directory. Please be a 1000% more accurate. Because it will get back at you with in ways you do not seem to comprehend yet. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livegreat007 at yahoo.com Fri Oct 5 01:41:41 2007 From: livegreat007 at yahoo.com (Live Great) Date: Thu, 4 Oct 2007 16:41:41 -0700 (PDT) Subject: check_by_ssh - please clarify. Message-ID: <833770.93240.qm@web45505.mail.sp1.yahoo.com> Hi, Thank you for the explanation. I read through the Distributed Monitoring Document in the following link: http://nagios.sourceforge.net/docs/2_0/distributed.html In the last section "Performing Host Checks", It mentions ochp command can be used for processing host check. Can I use check_by_ssh in the ochp command? The reason of using check_by_ssh is that my clients don't want to have an *Agent* installed in their server. If I can use check_by_ssh with ochp, my goal is accomplished. Thanks Sam ----- Original Message ---- From: Marc Powell To: nagios-users at lists.sourceforge.net Sent: Thursday, October 4, 2007 11:02:17 PM Subject: Re: [Nagios-users] check_by_ssh - please clarify. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Live Great > Sent: Wednesday, October 03, 2007 2:02 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_by_ssh - please clarify. > > If I want to set Nagios distribution architecture, can I still use > check_by_ssh with NSCA server? > eg. > Nagios central server <--> NSCA ---execute ssh--> host 1 > > in this sense, NSCA will gather information from host 1 using > check_by_ssh, and send back the collected data to the Nagios central > server. > > Is this possible? how to setup the monitoring architecture like this? If you haven't guessed, what you're trying to accomplish isn't clear. The question, as you've put it, doesn't make sense. About the only case I can think of that you might need to use NSCA and check_by_ssh together were if you were checking a third host that was only accessible from a second host, neither of which are directly accessible by your nagios server (i.e. firewalled, or other). send_nsca can be run on a remote host to send check results executed by an external program (nagios on that remote host or your own script), back to another nagios machine running NSCA. This is a passive check for nagios. Nagios doesn't 'call' or 'run' nsca or send_nsca. The Distributed Monitoring documentation, while specific to running a distributed nagios instance, talks about how this is accomplished. check_by_ssh is a plugin that is actively run by your nagios machine that will ssh into a remote host, execute a nagios plugin installed there and return the results to nagios as an active check. If you have direct access to the monitored machine and don't mind setting up key-based authentication for this purpose, this is probably the easiest way to go. Another option might be NRPE. Both accomplish the pretty much the same thing, just in very different ways. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Fri Oct 5 02:35:36 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Thu, 4 Oct 2007 20:35:36 -0400 Subject: No email alerts ?? In-Reply-To: References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> Message-ID: <7abcf48e0710041735k4fb86e4fw6b4609a5037ec0cd@mail.gmail.com> Your definitly right about only sending from the root (usr/bin/sendmail) not a typo i tried that since /bin/mail didnt work for me so i thought i would try it out cause thats all it can do i tried placing that in the commands cfg obviusly didnt work... now i also tried making the user root and gave it permission but now i think i played way to much with mail and sendmail i screwed it up big time with the permissions.....wat i think will end up doing is reinstalling nagios again..crap I didnt know that sendmail and mail are two different i guess i was wrong .. i mean i did installation word by word as written in manaul i have everything working expet email ? one small question is bin/mail a relay client ? and where is $contactemail$ defined anywhere except commands.cfg i see in the nagios.log file as mention in my eearlier posts that i see its trying to send it out but keeps getting line code error 127 unkown email address (which is my gmail) On 10/4/07, Hugo van der Kooij wrote: > > On Thu, 4 Oct 2007, Nedim Bicic right about only sending from the root > casue thats all it can do i tried placing that in the commands cfg obviusly > didnt work... now i also tried making the user root and gave it permission > > > OK check this out..funny thing is regarding the path /bin/mail doesnt > exist > > anywhere from the root i tryed tracing back so > > i tryed executing this from the command line and i am able to recieve > the > > email which now at least i know MTA is defintly working: "I didnt put > any > > argumetns as u can see this is just to test" > > > > usr/bin/sendmail -s nedo72 at gmail.com works from command line but not > from > > commands.cfg?? > > Wether it is sloppiness or a typo is not clear to me. But > /usr/bin/sendmail is something entirely different from usr/bin/sendmail > > The second option will only happen to work if you happen to be in the root > directory. It will fail from any other directory. > > Please be a 1000% more accurate. Because it will get back at you with in > ways you do not seem to comprehend yet. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for this quote of George Bernard Shaw.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Fri Oct 5 03:06:13 2007 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 4 Oct 2007 21:06:13 -0400 Subject: No email alerts ?? In-Reply-To: <7abcf48e0710041735k4fb86e4fw6b4609a5037ec0cd@mail.gmail.com> References: <7abcf48e0710031317wdd94599raa54de0da0f72a8d@mail.gmail.com> <7abcf48e0710031732v13c12cf6h43db22dfb7616fc4@mail.gmail.com> <7abcf48e0710041101t64080251if38bf85657d5e06e@mail.gmail.com> <7abcf48e0710041735k4fb86e4fw6b4609a5037ec0cd@mail.gmail.com> Message-ID: <302ce8b50710041806x60f4c59eq176a1929c7c78998@mail.gmail.com> For the love of god please stop top-posting. On 10/4/07, Nedim Bicic wrote: > Your definitly right about only sending from the root (usr/bin/sendmail) > not a typo i tried that since /bin/mail didnt work for me so i thought i > would try it out cause thats all it can do i tried placing that in the > commands cfg obviusly didnt work... now i also tried making the user root > and gave it permission but now i think i played way to much with mail and > sendmail i screwed it up big time with the permissions.....wat i think will > end up doing is reinstalling nagios again..crap Did you check that /bin/mail actually exists? If it doesn't, you might consider installing the package which provides it. > I didnt know that sendmail and mail are two different i guess i was wrong .. > i mean i did installation word by word as written in manaul i have > everything working expet email ? Just because you followed the nagios install guide word for word doesn't mean you did it properly. If the system you're building nagios on isn't sane, then you're going to have many other issues no matter how closely you follow the nagios directions. Since you're on RHEL, why are you building nagios from scratch? Why not use the rpms which are built for RHEL and listed on the download section of the nagios page? > one small question is bin/mail a relay client ? and where is $contactemail$ > defined anywhere except commands.cfg The $contactemail$ variable is defined in your contact definition, and is set by (of all magical options) the 'email' section. > i see in the nagios.log file as mention in my eearlier posts that i see its > trying to send it out but keeps getting line code error 127 unkown email > address (which is my gmail) No. The error you referenced earlier stated that nagios didn't have permission to, or could not find /bin/mail or /usr/bin/printf.... Did you check the mail log for sendmail to see if it actually got the message but failed to send, or are you simply looking at the nagios.log? Given the vast amounts of typos and misplacings of the /, I would very much recommend that you go back over your configs and make sure you haven't typed them as accurately as you've formed your emails. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Fri Oct 5 05:40:45 2007 From: ifetch at du.edu (Ivan Fetch) Date: Thu, 04 Oct 2007 21:40:45 -0600 (MDT) Subject: Switching to passive checks instead of active ones? Message-ID: <20071004192828.G58687@tnetnzry.hgf.qh.rqh> Hello, I'm wondering whether anyone has used send_nsca as a primary "transport" for service checks, and has any experience and recommendations? We're looking at using send_nsca to submit passive service checks in place of check_by_ssh or NRPE for active checks and would like some feedback on the sanity for doing this. The plan is to 1. Run a script from cron, which iterates through a list of checks (plugins to run, with parameters), and runs each check. There would need to be a timeout mechanism, to reap checks which hang - does anyone have something they use for this with send_nsca (not all plugins have builtin timeouts)? 2. Each plugin is run via a wrapper script (nsca_wrapper) which runs the plugin and passes the results to send_nsca. IF send_nsca returns an error, the wrapper script logs to the local syslog. I'm starting with a wrapper script from here: http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1%5Bp_view%5D=980 3. Nagios' freshness checking will alert us if Nagios stops hearing from any of these passive checks. Some of the motivations for switching to this method for running checks are: * System logs are not cluttered with frequent SSH logins by Nagios * A new system service (NRPE) is not added to systems, some of which are particularly tightened and narrow in purpose * Thresholds for checks (disk space percentages, mail queue volume) are moved to the client, not defined in Nagios checks - some admins like the ability to adjust these locally I'm looking for folks doing something like this, or reasons why this might be a particularly bad idea. Perhaps Nagios triggering checks has so much sanity built in, that moving checks to the push-to-Nagios model is a bad idea? Thanks all, Ivan Fetch. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livegreat007 at yahoo.com Fri Oct 5 06:48:06 2007 From: livegreat007 at yahoo.com (Live Great) Date: Thu, 4 Oct 2007 23:48:06 -0500 (CDT) Subject: Switching to passive checks instead of active ones? Message-ID: <848481.84568.qm@web45510.mail.sp1.yahoo.com> Hello Ivan, I believe the host check can only be done via a Nagios agent installed in the remote host or via check_by_ssh. You said you want to replace check_by_ssh, why are you doing so? Most customer don't want a specific monitoring agent installed in their server (a remote host in Nagios' slang). Thanks Sam. ----- Original Message ---- From: Ivan Fetch To: nagios-users at lists.sourceforge.net Sent: Friday, October 5, 2007 1:40:45 PM Subject: [Nagios-users] Switching to passive checks instead of active ones? Hello, I'm wondering whether anyone has used send_nsca as a primary "transport" for service checks, and has any experience and recommendations? We're looking at using send_nsca to submit passive service checks in place of check_by_ssh or NRPE for active checks and would like some feedback on the sanity for doing this. The plan is to 1. Run a script from cron, which iterates through a list of checks (plugins to run, with parameters), and runs each check. There would need to be a timeout mechanism, to reap checks which hang - does anyone have something they use for this with send_nsca (not all plugins have builtin timeouts)? 2. Each plugin is run via a wrapper script (nsca_wrapper) which runs the plugin and passes the results to send_nsca. IF send_nsca returns an error, the wrapper script logs to the local syslog. I'm starting with a wrapper script from here: http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1%5Bp_view%5D=980 3. Nagios' freshness checking will alert us if Nagios stops hearing from any of these passive checks. Some of the motivations for switching to this method for running checks are: * System logs are not cluttered with frequent SSH logins by Nagios * A new system service (NRPE) is not added to systems, some of which are particularly tightened and narrow in purpose * Thresholds for checks (disk space percentages, mail queue volume) are moved to the client, not defined in Nagios checks - some admins like the ability to adjust these locally I'm looking for folks doing something like this, or reasons why this might be a particularly bad idea. Perhaps Nagios triggering checks has so much sanity built in, that moving checks to the push-to-Nagios model is a bad idea? Thanks all, Ivan Fetch. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hindrek.murdsalu at tallink.ee Fri Oct 5 08:56:05 2007 From: hindrek.murdsalu at tallink.ee (hindrek murdsalu) Date: Fri, 5 Oct 2007 09:56:05 +0300 Subject: Host searching In-Reply-To: References: Message-ID: <9BC17A07F06EFA4A8C6CB304127DA41001962D@mail1.tallink.ee> Hey, I gather the 'freenasxxx' servers are somehow connected to each other (they're in same farm or provide same services), if so you could just define a hostgroup named 'freenas servers' or whichever name you desire and add the servers as members to it so you'd be able to list them all in 1 window. This, of course, isn't a solution to search rather than being an alternative. Hindrek -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Israel Brewster Sent: 5. oktoober 2007. a. 0:00 To: Nagios Users mailinglist Subject: [Nagios-users] Host searching Is there a way to search for a host in Nagios? For example, I have a number of hosts set up named freenasxxx, where xxx is the three- letter designator for the location. I would like to be able to type freenas and get a list of all of them. Or if I named one xxx-freenas for some reason, but don't remember that, I would like to be able to do the same thing and get that one as well. The "show host" box in the default sidebar only shows the first result for a partial match, which is almost useless. I did find < http://www.nagiosexchange.org/ Misc.36.0.html?&tx_netnagext_pi1[p_view]=553 >, which almost works, but has the problem of inserting two tabs before the hostname when you choose one of the options, which makes the search return no results. You can delete the tabs, of course, but this brings up the choice list again with the first item selected, so when you hit enter you get the tabs back. It also shows each host twice for some reason (I'm using the php script version). Any suggestions would be appreciated. Thanks! ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pablo.buenaventura at gmail.com Fri Oct 5 09:18:50 2007 From: pablo.buenaventura at gmail.com (Pablo Buenaventura) Date: Fri, 5 Oct 2007 09:18:50 +0200 Subject: Integrated OVO with Nagios Message-ID: <593f2c150710050018v741c238ej89702fe2ecd2c408@mail.gmail.com> Hi All, I am working with OpenView 7.5.1 and Nagios 1.2 and I am new baby with Monitoring staff. ?is it possible the integration between then throught rsh??How? ?does exist another way to comunicated-integrated to each other? I am looking for some documentation about this ?any help? Many thanks to all. Pablo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Fri Oct 5 09:44:47 2007 From: ifetch at du.edu (Ivan Fetch) Date: Fri, 05 Oct 2007 01:44:47 -0600 (MDT) Subject: Switching to passive checks instead of active ones? In-Reply-To: <848481.84568.qm@web45510.mail.sp1.yahoo.com> References: <848481.84568.qm@web45510.mail.sp1.yahoo.com> Message-ID: <20071005011937.V58687@tnetnzry.hgf.qh.rqh> HI Sam, On Thu, 4 Oct 2007, Live Great wrote: > Hello Ivan, > I believe the host check can only be done via a Nagios agent installed > in the remote host or via check_by_ssh. BY host check, do you mean the host check which Nagios does when it finds services are unavailable? We will leave the host check (the Nagios check-host-alive command) defined as ping. I believe that if the passive checks become stale, Nagios will trigger the active host check. We also will likely have at least one active service check (say, for SSH) - if that service becomes unavailable, the host check will be triggered too. > You said you want to replace check_by_ssh, why are you doing so? > Most customer don't want a specific monitoring agent installed in their > server (a remote host in Nagios' slang). Besides the reasons I gave in my initial post, we are looking at it this way: Plugins (for checks like disk space, RAID controllers, volume management, mail queues, process checks) exist locally on the hosts anyhow. Pushying check results to Nagios keeps us from having to open up new inbound connections (NRPE) or allowing key-based SSH logins from the Nagios server to our hosts. We're not so strict that this "push; agent approach" is absolutely necessary on all hosts, but we do have some hosts which we would like to keep more closed and secure. I'm looking for folks who are using, or have significantly explored, the passive service checks on this level. I can experiment and reach my own conclusions, but there are also a lot of good folks here who have done more with Nagios than I. Thanks, Ivan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 10:42:03 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 05 Oct 2007 10:42:03 +0200 Subject: Switching to passive checks instead of active ones? In-Reply-To: <20071004192828.G58687@tnetnzry.hgf.qh.rqh> References: <20071004192828.G58687@tnetnzry.hgf.qh.rqh> Message-ID: <4705F8DB.50400@op5.se> Ivan Fetch wrote: > Hello, > > > I'm wondering whether anyone has used send_nsca as a primary > "transport" for service checks, and has any experience and > recommendations? > I'm sure they have, as that's what it's primarily intended for. > > The plan is to > > 1. Run a script from cron, which iterates through a list of > checks (plugins to run, with parameters), and runs each check. There > would need to be a timeout mechanism, to reap checks which hang - does > anyone have something they use for this with send_nsca (not all plugins > have builtin timeouts)? > I should think not. Besides, running checks from cron will lose you the fine ability to do re-checks on temporary errors. > 2. Each plugin is run via a wrapper script (nsca_wrapper) which runs > the plugin and passes the results to send_nsca. IF send_nsca returns an > error, the wrapper script logs to the local syslog. I'm starting with a > wrapper script from here: > http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1%5Bp_view%5D=980 > Make it a wrapper C-program and you'll have excellent control over checks that time out. > 3. Nagios' freshness checking will alert us if Nagios stops hearing > from any of these passive checks. > Yup. > > Some of the motivations for switching to this method for running checks > are: > > * System logs are not cluttered with frequent SSH logins by Nagios > You can disable that, I think. Or perhaps it was some patch I made for a customer who didn't want that either. I'll do some research. > * Thresholds for checks (disk space percentages, mail queue volume) are > moved to the client, not defined in Nagios checks - some > admins like the ability to adjust these locally > That option is still available though, provided you either compiled nrpe without support for accepting arguments, or if you disable them in nrpe.conf. > > I'm looking for folks doing something like this, or reasons why this > might be a particularly bad idea. Perhaps Nagios triggering checks > has so much sanity built in, that moving checks to the > push-to-Nagios model is a bad idea? > It's not a particularly bad idea, but you'll have to accept that you don't get nagios' "check max_check_attempts times before sending alerts" logic, unless you implement it yourself. In other words, the number of false positives will most likely go up. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florencio.cano at gmail.com Fri Oct 5 11:17:01 2007 From: florencio.cano at gmail.com (Florencio Cano) Date: Fri, 5 Oct 2007 11:17:01 +0200 Subject: NC_Net.EventLog.Receiving error codes.Could I receive more info from the EventLog? In-Reply-To: References: Message-ID: Thanks. You gave me some valious point to continue my work. I was not using the last version of NC_Net. I will try EVENTLOG_NEW and I will try to implement any of the solutions that you have commented. I will post any result I get. 2007/10/4, Anthony Montibello : > WMI should solve this problem for you. > > First off, make sure your using the current version of NC_NEt 4.1a and you > would have access to a more optimized event log check called "eventlog_new" > > The Output is the same, thus it does not give what your are looking for. > (but it may be more optimized than the WMI You would need to test this.) if > it is a quicker test, I recomend using it and setting up event handlers or > manually running check_nt using WMI to get the file name. note this assumes > that you normally do not get an alert , so you would want the checking to > induce the least load. > > If you know the names of the files you can setup seperate checks using the > REGEXP of the EVENTLOG_NEw and this would serve as a workaround. > > If your looking for the files being modified. FILEAGE may be a good > workaround. > > you should be able to setup an event handler that takes the EVENTID reported > by EVENTLOG check and runs a WMICAT, querry the WMI (Windows Managment > interface) for the Event Log Message. > CLASS - CIMV2 Win32_NTLogEvent -has the events and the messeges in it. > writing a querry to it may be tricky but if you need the File mane from the > Message field this is the way to get it without writing new scripts, or > paying for upgrades. > > or just run WMI checks directly and use wrapper scripts to interpret the > results. > please not on this, if a querry has no match there may be a NO OUTPUT error. -- Florencio Cano Gabarda ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florencio.cano at gmail.com Fri Oct 5 11:43:21 2007 From: florencio.cano at gmail.com (Florencio Cano) Date: Fri, 5 Oct 2007 11:43:21 +0200 Subject: nc_net service not stopping properly In-Reply-To: <2b7af7c40710041053w3129f5bcm6fd8bb60d9a99ca2@mail.gmail.com> References: <2b7af7c40710031602m5c7aa479n6488ac42be67e338@mail.gmail.com> <2b7af7c40710041053w3129f5bcm6fd8bb60d9a99ca2@mail.gmail.com> Message-ID: You can download a new version from Sourceforge: http://sourceforge.net/projects/nc-net 2007/10/4, Roger : > Actually, I'm using the latest version that I got off the site ( - > NC_Net_setup.msi NC_Net 2.28 07/16/05). -- Florencio Cano Gabarda ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Fri Oct 5 14:26:01 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Fri, 5 Oct 2007 14:26:01 +0200 Subject: Switching to passive checks instead of active ones? In-Reply-To: <4705F8DB.50400@op5.se> References: <20071004192828.G58687@tnetnzry.hgf.qh.rqh> <4705F8DB.50400@op5.se> Message-ID: <20071005122601.GF10082215@CIS.FU-Berlin.DE> * Andreas Ericsson [2007-10-05 10:42]: > Ivan Fetch wrote: > > I'm looking for folks doing something like this, or reasons why this > > might be a particularly bad idea. Perhaps Nagios triggering checks > > has so much sanity built in, that moving checks to the > > push-to-Nagios model is a bad idea? We use NSCA for a large number of service checks (we don't use NRPE) and it works just fine for us. > It's not a particularly bad idea, but you'll have to accept that you don't > get nagios' "check max_check_attempts times before sending alerts" logic, > unless you implement it yourself. You do get that logic, you can specify max_check_attempts just as for active checks. You just don't get a retry_check_interval different from the normal_check_interval unless you implement it yourself. For us, that's not a problem, as we don't want a different retry_check_interval anyway (for most checks, we submit check results once a minute). But if you rely on this Nagios feature, that's a real drawback of NSCA, yes. Holger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 5 14:34:33 2007 From: marc at ena.com (Marc Powell) Date: Fri, 5 Oct 2007 07:34:33 -0500 Subject: Switching to passive checks instead of active ones? In-Reply-To: <20071004192828.G58687@tnetnzry.hgf.qh.rqh> References: <20071004192828.G58687@tnetnzry.hgf.qh.rqh> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ivan Fetch > Sent: Thursday, October 04, 2007 10:41 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Switching to passive checks instead of active > ones? > > Hello, > > > I'm wondering whether anyone has used send_nsca as a primary > "transport" for service checks, and has any experience and > recommendations? I can't talk about writing what essentially appears to be a mini-nagios to execute plugins on remote hosts but we're using send_nsca to submit ~4,000 checks every 5 minutes to two central nagios boxen (distributed architecture) and it's worked great for many years. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Oct 5 14:48:22 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 5 Oct 2007 14:48:22 +0200 (CEST) Subject: Integrated OVO with Nagios In-Reply-To: <593f2c150710050018v741c238ej89702fe2ecd2c408@mail.gmail.com> References: <593f2c150710050018v741c238ej89702fe2ecd2c408@mail.gmail.com> Message-ID: On Fri, 5 Oct 2007, Pablo Buenaventura wrote: > I am working with OpenView 7.5.1 and Nagios 1.2 and I am new baby with > Monitoring staff. Well. Nagios 1.2 is ancient history. I think it dates before the dino's. I would sugest to scrap that version and look at a recent version. At this point that would be version 2.9 (version 3 is still experimental) What sort of integrations do you expect? What bit of OpenView are you referring to? The NodeManager? I suggest you go to the nagios site. Pick the manual and browse through it. Once you have done so you may understand what Nagios does and does not do and you can ask more specific questions. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Oct 5 14:51:24 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 5 Oct 2007 14:51:24 +0200 (CEST) Subject: nc_net service not stopping properly In-Reply-To: References: <2b7af7c40710031602m5c7aa479n6488ac42be67e338@mail.gmail.com> <2b7af7c40710041053w3129f5bcm6fd8bb60d9a99ca2@mail.gmail.com> Message-ID: On Fri, 5 Oct 2007, Florencio Cano wrote: > You can download a new version from Sourceforge: > http://sourceforge.net/projects/nc-net > > 2007/10/4, Roger : > >> Actually, I'm using the latest version that I got off the site ( - >> NC_Net_setup.msi NC_Net 2.28 07/16/05). Just curious. But does 07/16/05 translate to 2005-07-16 or 2007-05-16 in YYY-MM-DD notation? Hugo. PS: Programmers please use neither US nor European dates but ISO dates in version numbers. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for this quote of George Bernard Shaw.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pablo.buenaventura at gmail.com Fri Oct 5 14:55:33 2007 From: pablo.buenaventura at gmail.com (Pablo Buenaventura) Date: Fri, 5 Oct 2007 14:55:33 +0200 Subject: Integrated OVO with Nagios In-Reply-To: References: <593f2c150710050018v741c238ej89702fe2ecd2c408@mail.gmail.com> Message-ID: <593f2c150710050555sa36c630gfcb8b6ec315cc061@mail.gmail.com> Yes, I am working with Node Manager. Pablo. On 10/5/07, Hugo van der Kooij wrote: > > On Fri, 5 Oct 2007, Pablo Buenaventura wrote: > > > I am working with OpenView 7.5.1 and Nagios 1.2 and I am new baby with > > Monitoring staff. > > Well. Nagios 1.2 is ancient history. I think it dates before the > dino's. I would sugest to scrap that version and look at a recent version. > At this point that would be version 2.9 (version 3 is still experimental) > > What sort of integrations do you expect? What bit of OpenView are you > referring to? The NodeManager? > > I suggest you go to the nagios site. Pick the manual and browse through > it. Once you have done so you may understand what Nagios does and does not > do and you can ask more specific questions. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for this quote of George Bernard Shaw.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Fri Oct 5 15:30:14 2007 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Fri, 5 Oct 2007 09:30:14 -0400 Subject: nagios and peregrine Message-ID: <2274b9c30710050630g501bda39l31463e9fa3e02fba@mail.gmail.com> Hi, Does anyone know of, or have an integration between nagios and peregrine service desk (bi-directional would be nice :) --kyleo ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorge.gonzalez at degesys.com Fri Oct 5 16:41:39 2007 From: jorge.gonzalez at degesys.com (Jorge Gonzalez) Date: Fri, 05 Oct 2007 16:41:39 +0200 Subject: Wrong results from NRPE Message-ID: <47064D23.3030409@degesys.com> Hi all! I'm trying to get NRPE working but results are not what should be expected and I don't know why. If check_xenvm is runned from console without NRPE results are ok but with NRPE there's no VM running. /-sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen Critical Xen VMs Usage - Total NB: 0 - detected VMs: NRPE.conf command[check_xen]=/usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 -sh-3.1$ /usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 OK: Xen Hypervisor "jano.degesys-test.net" is running Xen VMs: VM2 clust1 clust2 -rwxrwxrwx 1 root root 2308 Sep 28 12:19 check_xenvm/ I also tried with root user but nothing. What I'm doing wrong? thanks in advance. /jorge -------------- next part -------------- A non-text attachment was scrubbed... Name: jorge.gonzalez.vcf Type: text/x-vcard Size: 350 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Fri Oct 5 16:45:01 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Fri, 5 Oct 2007 11:45:01 -0300 Subject: NAGIOS Notifications Problems Message-ID: Hello, I'm looking for help in notifications. If anyone could answer this i'd be pleased. My Nagios has some hosts configured with parents settings, so when a host is down, Nagios checks out his parent to see if it is down too. OK, I think this is working. But When the notifications comes into place, I receive notifications for parents and ALSO for his children like this: *PARENT* CRITICAL - Plugin Timed out after 3 seconds *RT1* CRITICAL - Plugin Timed out after 3 seconds *RT2* CRITICAL - Plugin Timed out after 3 seconds *RT3* CRITICAL - Plugin Timed out after 3 seconds The parents settings are like this: PARENT------RT1-------RT3 | | | | | RT2 I want to receive a notification only for the parent host. How can this be done? Is there something wrong? Configuration: OS: Debian Stable NAGIOS: 2.6 Thank you in advance, L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Roberts at pinkardcc.com Fri Oct 5 17:03:01 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Fri, 5 Oct 2007 09:03:01 -0600 Subject: Nagios For Debian In-Reply-To: <4706502F.1080100@catfolks.net> References: <47063EBF.3050802@gmail.com> <577770.12699.qm@web35712.mail.mud.yahoo.com> <2CE4DD25946EB940B8EE93877AF62531FE3607@lwmailserver1.pinkard.com> <4706502F.1080100@catfolks.net> Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE3608@lwmailserver1.pinkard.com> Yes, I have Nagios up and running, it's currently monitoring both Windows and Linux Servers, but I'm unable to add any Cisco Routers because the check_snmp did not compile. Does the check_snmp plugin exist in your /usr/local/nagios/libexec directory? If so, what snmp packages do you have installed? Etch won't let me install snmp because it says it's replaced by libsnmp-base and libnsmp9. -----Original Message----- From: Daniel Mahoney [mailto:dan at catfolks.net] Sent: Friday, October 05, 2007 8:55 AM To: Joel Roberts Subject: Re: Nagios For Debian Joel Roberts wrote: > Is anyone else using Nagios on Debian Etch? I've got it set up for > monitoring Linux and Windows servers, but the check_snmp plugin won't > compile. The Nagios FAQ says it must be missing SNMP packages, but > Synaptic reports they're all installed. > > Checking the list of Nagios Plugins for the Debian install, I don't even > see check_snmp listed any more. I have MRTG up and running on the same > box, so I know at least the SNMP packages needed for MRTG are there. > > I've posted a message to the Nagios mailing list as well, but haven't > gotten any response. Hoping there's some Debian Nagios users on here. > > Thanks in advance, > > Joel > > I'm running nagios-text on Etch. It installed just fine using apt-get. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 5 17:07:34 2007 From: marc at ena.com (Marc Powell) Date: Fri, 5 Oct 2007 10:07:34 -0500 Subject: Wrong results from NRPE In-Reply-To: <47064D23.3030409@degesys.com> References: <47064D23.3030409@degesys.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jorge Gonzalez > Sent: Friday, October 05, 2007 9:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Wrong results from NRPE > > Hi all! > > I'm trying to get NRPE working but results are not what should be > expected and I don't know why. If check_xenvm is runned from console > without NRPE results are ok but with NRPE there's no VM running. > > /-sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen > Critical Xen VMs Usage - Total NB: 0 - detected VMs: > > NRPE.conf > command[check_xen]=/usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 > > -sh-3.1$ /usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 > OK: Xen Hypervisor "jano.degesys-test.net" is running Xen VMs: > VM2 > clust1 > clust2 > > -rwxrwxrwx 1 root root 2308 Sep 28 12:19 check_xenvm/ > > I also tried with root user but nothing. What I'm doing wrong? Are you testing the plugin as the user that NRPE is running as? That is almost always the case when differences like this are seen. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 5 17:10:19 2007 From: marc at ena.com (Marc Powell) Date: Fri, 5 Oct 2007 10:10:19 -0500 Subject: NAGIOS Notifications Problems In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Livio Zanol Puppim > Sent: Friday, October 05, 2007 9:45 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NAGIOS Notifications Problems > > Hello, > > I'm looking for help in notifications. If anyone could answer this i'd be > pleased. > > My Nagios has some hosts configured with parents settings, so when a host > is down, Nagios checks out his parent to see if it is down too. > OK, I think this is working. But When the notifications comes into place, > I receive notifications for parents and ALSO for his children like this: > > *PARENT* CRITICAL - Plugin Timed out after 3 seconds > *RT1* CRITICAL - Plugin Timed out after 3 seconds > *RT2* CRITICAL - Plugin Timed out after 3 seconds > *RT3* CRITICAL - Plugin Timed out after 3 seconds > Are the RT* notifications DOWN or UNREACHABLE notifications? There is a difference. > I want to receive a notification only for the parent host. How can this be > done? > > Is there something wrong? Sounds like it. Post a complete host definition for RT1 and PARENT so we can see if there is. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Fri Oct 5 17:20:43 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 5 Oct 2007 15:20:43 +0000 Subject: Problem with nagios check_ping plugin Message-ID: <4b008f7d0710050820v76f7fa12gef56b6c9afdd17af@mail.gmail.com> Hi Everyone, I have been using nagios for 2 months now and it is really good. So far, all plug-ins work well but recently the check_ping plugin has been acting funny and giving wrong results. This is the OS info OS - Debian Nagios Version 2.9 Problem = check_ping plugin reports alot of packet loss on our network but when we use regular ping commands, it is not true. check_ping looks like this in the command.cfg file # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 10 } This is an example of a service that uses check_ping define service{ use servers host_name bhslave at nkwanta service_description PING check_command check_ping!200.0,20%!600.0,60% } The problem is nagios will warn me of 28% packet loss to this host that is 3 hops away from the monitoring system and the RTA will be about 60ms. It does this randomly. I will like to know how nagios computes this info and how it determines this. Any help will be greatly appreciated. Regards, Alex Dehaini -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Oct 5 17:22:02 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 5 Oct 2007 08:22:02 -0700 Subject: Nagios For Debian In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE3608@lwmailserver1.pinkard.com> References: <47063EBF.3050802@gmail.com> <577770.12699.qm@web35712.mail.mud.yahoo.com> <2CE4DD25946EB940B8EE93877AF62531FE3607@lwmailserver1.pinkard.com> <4706502F.1080100@catfolks.net> <2CE4DD25946EB940B8EE93877AF62531FE3608@lwmailserver1.pinkard.com> Message-ID: <2b7af7c40710050822n6fda2674we3acf226026bc4d9@mail.gmail.com> On 10/5/07, Joel Roberts wrote: > > Yes, I have Nagios up and running, it's currently monitoring both > Windows and Linux Servers, but I'm unable to add any Cisco Routers > because the check_snmp did not compile. Does the check_snmp plugin exist > in your /usr/local/nagios/libexec directory? I have to install Nagios on Debian in another week or so. When I do, I'll update you on what I find, if you'd like. -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 5 17:38:56 2007 From: marc at ena.com (Marc Powell) Date: Fri, 5 Oct 2007 10:38:56 -0500 Subject: Problem with nagios check_ping plugin In-Reply-To: <4b008f7d0710050820v76f7fa12gef56b6c9afdd17af@mail.gmail.com> References: <4b008f7d0710050820v76f7fa12gef56b6c9afdd17af@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: Friday, October 05, 2007 10:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem with nagios check_ping plugin > > The problem is nagios will warn me of 28% packet loss to this host that is > 3 hops away from the monitoring system and the RTA will be about 60ms. It > does this randomly. I will like to know how nagios computes this info and > how it determines this. check_ping is a wrapper to /bin/ping. It simply calls your system ping and evaluates the rta and packet loss reported by that against your warning and critical values. I'd say the packet loss reported is coming from your system ping program unless it were happening 100% of the time implying a parsing problem. $ ./check_ping -v -v -v -H 127.0.0.1 -w 100,10% -c 200,20% CMD: /bin/ping -n -U -w 10 -c 5 127.0.0.1 Output: PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. Output: 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.049 ms Output: 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.066 ms Output: 64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.043 ms Output: 64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.034 ms Output: 64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.072 ms Output: Output: --- 127.0.0.1 ping statistics --- Output: 5 packets transmitted, 5 received, 0% packet loss, time 4015ms Output: rtt min/avg/max/mdev = 0.034/0.052/0.072/0.016 ms, pipe 2 PING OK - Packet loss = 0%, RTA = 0.05 ms 100.000000:10% 200.000000:20% ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Fri Oct 5 17:43:06 2007 From: ifetch at du.edu (Ivan Fetch) Date: Fri, 05 Oct 2007 09:43:06 -0600 (MDT) Subject: Switching to passive checks instead of active ones? In-Reply-To: <20071005122601.GF10082215@CIS.FU-Berlin.DE> References: <20071004192828.G58687@tnetnzry.hgf.qh.rqh> <4705F8DB.50400@op5.se> <20071005122601.GF10082215@CIS.FU-Berlin.DE> Message-ID: <20071005093848.S58687@tnetnzry.hgf.qh.rqh> HI Holger, thanks for your reply, On Fri, 5 Oct 2007, Holger Weiss wrote: > * Andreas Ericsson [2007-10-05 10:42]: >> Ivan Fetch wrote: >>> I'm looking for folks doing something like this, or reasons why this >>> might be a particularly bad idea. Perhaps Nagios triggering checks >>> has so much sanity built in, that moving checks to the >>> push-to-Nagios model is a bad idea? > > We use NSCA for a large number of service checks (we don't use NRPE) and > it works just fine for us. > >> It's not a particularly bad idea, but you'll have to accept that you don't >> get nagios' "check max_check_attempts times before sending alerts" logic, >> unless you implement it yourself. > > You do get that logic, you can specify max_check_attempts just as for > active checks. You just don't get a retry_check_interval different from > the normal_check_interval unless you implement it yourself. For us, > that's not a problem, as we don't want a different retry_check_interval > anyway (for most checks, we submit check results once a minute). But if > you rely on this Nagios feature, that's a real drawback of NSCA, yes. Good point. We do use retry_check_interval in some cases, but it's not strictly necessary. If a "it's fixed" state and notification are important enough, and desired before the next natural check, an admin could always run the passive check manually. Thanks again, Ivan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Fri Oct 5 17:49:05 2007 From: ifetch at du.edu (Ivan Fetch) Date: Fri, 05 Oct 2007 09:49:05 -0600 (MDT) Subject: Switching to passive checks instead of active ones? In-Reply-To: References: Message-ID: <20071005094402.L58687@tnetnzry.hgf.qh.rqh> HI Marc, On Fri, 5 Oct 2007, Marc Powell wrote: > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Ivan Fetch >> Sent: Thursday, October 04, 2007 10:41 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Switching to passive checks instead of active >> ones? >> >> Hello, >> >> >> I'm wondering whether anyone has used send_nsca as a primary >> "transport" for service checks, and has any experience and >> recommendations? > > > I can't talk about writing what essentially appears to be a mini-nagios > to execute plugins on remote hosts but we're using send_nsca to submit > ~4,000 checks every 5 minutes to two central nagios boxen (distributed > architecture) and it's worked great for many years. > Are most of your 4000 uses made up of hosts sending results to your two Nagios boxes, or the two Nagios boxes cross-sending results to one-another? Are you wrapping your checks to be able to use plugins as-is, or do you have plugins which directly call send_nsca? Last but not least, how do you trigger your checks on your hosts, in cron? Thanks for taking the time to reply, Ivan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Fri Oct 5 18:01:04 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Fri, 5 Oct 2007 18:01:04 +0200 Subject: Switching to passive checks instead of active ones? In-Reply-To: <20071005093848.S58687@tnetnzry.hgf.qh.rqh> References: <20071004192828.G58687@tnetnzry.hgf.qh.rqh> <4705F8DB.50400@op5.se> <20071005122601.GF10082215@CIS.FU-Berlin.DE> <20071005093848.S58687@tnetnzry.hgf.qh.rqh> Message-ID: <20071005160104.GJ10082215@CIS.FU-Berlin.DE> * Ivan Fetch [2007-10-05 09:43]: > On Fri, 5 Oct 2007, Holger Weiss wrote: > > You do get that logic, you can specify max_check_attempts just as for > > active checks. You just don't get a retry_check_interval different from > > the normal_check_interval unless you implement it yourself. For us, > > that's not a problem, as we don't want a different retry_check_interval > > anyway (for most checks, we submit check results once a minute). But if > > you rely on this Nagios feature, that's a real drawback of NSCA, yes. > > Good point. We do use retry_check_interval in some cases, but it's not > strictly necessary. If a "it's fixed" state and notification are > important enough, and desired before the next natural check, an admin > could always run the passive check manually. Yes. If a service is in a _hard_ non-OK state (so that notifications have been sent out), it'll be re-checked using the normal_check_interval anyway, so _here_ there is no difference between active and passive checks. The retry_check_interval just specifies the check interval for active checks during soft states, that is, the interval for the max_check_attempts number of checks which are done for active checks in a non-OK state before notifications are sent out. This interval cannot be specified for passive checks via Nagios, of course. Holger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Oct 5 18:08:53 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 5 Oct 2007 09:08:53 -0700 Subject: updated HOWTO on Exchange check commands Message-ID: <2b7af7c40710050908x1e5fd8bflcb00df9613d4b239@mail.gmail.com> For those interested, I've updated my HOWTO on "Nagios Checks on Exchange 200x" Included are: NC_net instructions, security considerations, and some troubleshooting tips for those new to Nagios. http://nagioswiki.com/wiki/index.php/Nagios_Checks_for_Exchange_Server_200x I'll soon be testing this against some Exchange 2007 servers and will be modifying it appropriately. I'll also soon be updating it with some Microsoft counter and perfmon checks. -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto: Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Fri Oct 5 18:09:32 2007 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 5 Oct 2007 08:09:32 -0800 Subject: Host searching In-Reply-To: <9BC17A07F06EFA4A8C6CB304127DA41001962D@mail1.tallink.ee> References: <9BC17A07F06EFA4A8C6CB304127DA41001962D@mail1.tallink.ee> Message-ID: <69FF7644-1E8C-4C25-A254-3DCDC3DFAA64@frontierflying.com> On Oct 4, 2007, at 10:56 PM, hindrek murdsalu wrote: > Hey, > > I gather the 'freenasxxx' servers are somehow connected to each other > (they're in same farm or provide same services), if so you could just > define a hostgroup named 'freenas servers' or whichever name you > desire > and add the servers as members to it so you'd be able to list them all > in 1 window. > This, of course, isn't a solution to search rather than being an > alternative. > > > Hindrek > > Thanks for the response. Yeah, with that example a hostgroup could be a relatively adequate solution. I'll have to consider it further for organizational sake, if nothing else. the problem though is that this is only one example of where I would want a real search, and others may not work as well with this solution. I can't count the number of times I have wanted to get the IP for a given device, but don't remember exactly what I named it (such as freenasbrw or brw-freenas) or else have some other device with a similar name that comes up first. Or, perhaps for a better example, I know I have a printer out in Nome, but I can't remember if that was the xerox F12 or M15. To work with the hostgroup solution, I would need to have that in a "Nome" hostgroup. But I would also want it in a "printers" host group for logic sake, and perhaps a "F12" or "M15" hostgroup as well, for situations when I want to see where in the network I have a given type of printer. Can I put things in multiple host groups? I'll have to look into that. And no, with about a dozen different locations around the state, and probably at least as many different types of printers around the company, I'm not quite yet to the point where I can remember them all off the top of my head :) ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Israel > Brewster > Sent: 5. oktoober 2007. a. 0:00 > To: Nagios Users mailinglist > Subject: [Nagios-users] Host searching > > Is there a way to search for a host in Nagios? For example, I have a > number of hosts set up named freenasxxx, where xxx is the three- > letter designator for the location. I would like to be able to type > freenas and get a list of all of them. Or if I named one xxx-freenas > for some reason, but don't remember that, I would like to be able to > do the same thing and get that one as well. The "show host" box in > the default sidebar only shows the first result for a partial match, > which is almost useless. I did find < http://www.nagiosexchange.org/ > Misc.36.0.html?&tx_netnagext_pi1[p_view]=553 >, which almost works, > but has the problem of inserting two tabs before the hostname when > you choose one of the options, which makes the search return no > results. You can delete the tabs, of course, but this brings up the > choice list again with the first item selected, so when you hit enter > you get the tabs back. It also shows each host twice for some reason > (I'm using the php script version). Any suggestions would be > appreciated. Thanks! > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > ---------------------------------------------------------------------- > -- > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 5 18:12:26 2007 From: marc at ena.com (Marc Powell) Date: Fri, 5 Oct 2007 11:12:26 -0500 Subject: Switching to passive checks instead of activeones? In-Reply-To: <20071005094402.L58687@tnetnzry.hgf.qh.rqh> References: <20071005094402.L58687@tnetnzry.hgf.qh.rqh> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ivan Fetch > Sent: Friday, October 05, 2007 10:49 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Switching to passive checks instead of > activeones? > > HI Marc, > > On Fri, 5 Oct 2007, Marc Powell wrote: > > > > > > >> -----Original Message----- > >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > >> bounces at lists.sourceforge.net] On Behalf Of Ivan Fetch > >> Sent: Thursday, October 04, 2007 10:41 PM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] Switching to passive checks instead of active > >> ones? > >> > >> Hello, > >> > >> > >> I'm wondering whether anyone has used send_nsca as a primary > >> "transport" for service checks, and has any experience and > >> recommendations? > > > > > > I can't talk about writing what essentially appears to be a mini-nagios > > to execute plugins on remote hosts but we're using send_nsca to submit > > ~4,000 checks every 5 minutes to two central nagios boxen (distributed > > architecture) and it's worked great for many years. > > > > Are most of your 4000 uses made up of hosts sending results to your > two > Nagios boxes, or the two Nagios boxes cross-sending results to > one-another? 4 nagios boxen sending results all 4000 results to two other nagios boxen using the documented Distributed Monitoring. There's really no difference between what you're proposing and what we're doing other than the program executing the plugin and calling send_nsca. My implication was that there aren't any inherent problems in using nsca/send_nsca. You'll have to do work to run your plugins and get their output/exit codes to send_nsca but it'll work fine from there. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 18:28:04 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 5 Oct 2007 12:28:04 -0400 Subject: NC_Net.EventLog.Receiving error codes.Could I receive more info from the EventLog? In-Reply-To: References: Message-ID: Just to clarify, Eventlog_new Should be a cleaner command line, and should cut down in time to complete. IT will NOT return the Message field of the events! TOny (Author of NC_NEt) On 10/5/07, Florencio Cano wrote: > > Thanks. You gave me some valious point to continue my work. I was not > using the last version of NC_Net. I will try EVENTLOG_NEW and I will > try to implement any of the solutions that you have commented. I will > post any result I get. > > 2007/10/4, Anthony Montibello : > > > WMI should solve this problem for you. > > > > First off, make sure your using the current version of NC_NEt 4.1a and > you > > would have access to a more optimized event log check called > "eventlog_new" > > > > The Output is the same, thus it does not give what your are looking for. > > (but it may be more optimized than the WMI You would need to test > this.) if > > it is a quicker test, I recomend using it and setting up event handlers > or > > manually running check_nt using WMI to get the file name. note this > assumes > > that you normally do not get an alert , so you would want the checking > to > > induce the least load. > > > > If you know the names of the files you can setup seperate checks using > the > > REGEXP of the EVENTLOG_NEw and this would serve as a workaround. > > > > If your looking for the files being modified. FILEAGE may be a good > > workaround. > > > > you should be able to setup an event handler that takes the EVENTID > reported > > by EVENTLOG check and runs a WMICAT, querry the WMI (Windows Managment > > interface) for the Event Log Message. > > CLASS - CIMV2 Win32_NTLogEvent -has the events and the messeges in it. > > writing a querry to it may be tricky but if you need the File mane from > the > > Message field this is the way to get it without writing new scripts, or > > paying for upgrades. > > > > or just run WMI checks directly and use wrapper scripts to interpret the > > results. > > please not on this, if a querry has no match there may be a NO OUTPUT > error. > > -- > Florencio Cano Gabarda > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Oct 5 18:31:07 2007 From: td3201 at gmail.com (Terry) Date: Fri, 5 Oct 2007 11:31:07 -0500 Subject: notify contact only once Message-ID: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> I have a contact that I only want to receive one notification. How can I set this up? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 18:57:28 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 5 Oct 2007 12:57:28 -0400 Subject: nc_net service not stopping properly In-Reply-To: References: <2b7af7c40710031602m5c7aa479n6488ac42be67e338@mail.gmail.com> <2b7af7c40710041053w3129f5bcm6fd8bb60d9a99ca2@mail.gmail.com> Message-ID: Thank you For the comment Hugo, I will make sure future releases follow ISO dates. 07/16/05 is US date, July 16 2005, Sorry for the confussion , I try to keep the version# with the package. The current version of NC_Net is 4.1a And I advise anyone experiencing problems with NC_NEt (first test the newest version then upgrade) However if the current version is working for your needs keep using it, TOny (author of NC_NEt) On 10/5/07, Hugo van der Kooij wrote: > > On Fri, 5 Oct 2007, Florencio Cano wrote: > > > You can download a new version from Sourceforge: > > http://sourceforge.net/projects/nc-net > > > > 2007/10/4, Roger : > > > >> Actually, I'm using the latest version that I got off the site ( - > >> NC_Net_setup.msi NC_Net 2.28 07/16/05). > > Just curious. But does 07/16/05 translate to 2005-07-16 or 2007-05-16 in > YYY-MM-DD notation? > > Hugo. > > PS: Programmers please use neither US nor European dates but ISO dates in > version numbers. > > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for this quote of George Bernard Shaw.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Fri Oct 5 19:14:33 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Fri, 5 Oct 2007 14:14:33 -0300 Subject: NAGIOS Notifications Problems In-Reply-To: References: Message-ID: The Notifications are "HOST DOWN", not unreachable. Here is an example of the configuration.... As you can see, UNREACHABLE Notifications aren't send ------------------------------------------------------------ CFG ----------------------------------------------------------------- define host{ name generic-host notifications_enabled 1 active_checks_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive checks_enabled 1 max_check_attempts 1 notification_interval 0 notification_period 24x7 notification_options d contact_groups cg-ServiceDesk check_period 24x7 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL } define host{ name generic-host-wans-passive notifications_enabled 1 active_checks_enabled 0 passive_checks_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 check_freshness 1 freshness_threshold 86400 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive checks_enabled 1 max_check_attempts 1 notification_interval 0 notification_period 24x7 notification_options d contact_groups cg-ServiceDesk register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL } define host{ use generic-host host_name PARENT address 192.168.192.168 } define host{ use generic-host host_name RT1 address 192.168.192.167 parents PARENT } define host{ use generic-host host_name RT2 address 192.168.192.166 parents PARENT } define host{ use generic-host-wans-passive host_name RT3 address 192.168.192.165 parents RT1 } ------------------------------------------------------------ CFG ----------------------------------------------------------------- Thx, L?vio Zanol Puppim 2007/10/5, Marc Powell : > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Livio Zanol Puppim > > Sent: Friday, October 05, 2007 9:45 AM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NAGIOS Notifications Problems > > > > Hello, > > > > I'm looking for help in notifications. If anyone could answer this i'd > be > > pleased. > > > > My Nagios has some hosts configured with parents settings, so when a > host > > is down, Nagios checks out his parent to see if it is down too. > > OK, I think this is working. But When the notifications comes into > place, > > I receive notifications for parents and ALSO for his children like > this: > > > > *PARENT* CRITICAL - Plugin Timed out after 3 seconds > > *RT1* CRITICAL - Plugin Timed out after 3 seconds > > *RT2* CRITICAL - Plugin Timed out after 3 seconds > > *RT3* CRITICAL - Plugin Timed out after 3 seconds > > > > Are the RT* notifications DOWN or UNREACHABLE notifications? There is a > difference. > > > I want to receive a notification only for the parent host. How can > this be > > done? > > > > Is there something wrong? > > Sounds like it. Post a complete host definition for RT1 and PARENT so we > can see if there is. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 19:14:41 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 5 Oct 2007 13:14:41 -0400 Subject: Switching to passive checks instead of activeones? In-Reply-To: References: <20071005094402.L58687@tnetnzry.hgf.qh.rqh> Message-ID: I found it is fairly easy to upgrade form active checks to passive checks, there have been lots of good resposes already, so I am not sure if my responce is helpful. but a few notes on how I implement migrating to passive checks, If I already have the active check in nagios, I load and test the passive checks on the remote host. Since nagios can recieve both passive and active checks at the same time, there should be no downtime in setting this up. make sure the results make it to the nagios log, Once satisfied with the passive check results. then disable the particular Active checks and add the other variables to the nagios Configuration of that host. naturally there are cleaner ways of doing this, if you are using the object templates and inheritence in Nagios config files. My procedure was how I implement converting a single host from active checks to passive checks, and I usually run both check types for a while before turning off the active checks. Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhalik at jla.rutgers.edu Fri Oct 5 19:31:30 2007 From: dhalik at jla.rutgers.edu (David Halik) Date: Fri, 05 Oct 2007 13:31:30 -0400 Subject: Nagios3 b4 Solaris compile issues Message-ID: <470674F2.9020908@jla.rutgers.edu> Hi all, I originally posted this to the nagios-devel list, but haven't received any feedback on it. Maybe someone here has more experience with Solaris. I've been building Nagios3 betas1-3 without any issues, but with this latest release I ran into a compile problem. Using Sun Studio on Solaris 9 I'm seeing this: cc -I/usr/local/include -DHAVE_CONFIG_H -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DNSCGI -L/usr/local/lib -R/usr/local/lib -L/usr/sfw/lib -R/usr/sfw/lib -L/usr/local/lib -o config.cgi config.c getcgi.o cgiutils.o cgiauth.o macros-cgi.o ../common/snprintf.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o -lrt -L/usr/local/lib -lglib-2.0 -liconv "cmd.c", line 2296: warning: no explicit type given for parameter: cmd "config.c", line 135: warning: implicit function declaration: init_macros "config.c", line 473: warning: implicit function declaration: grab_host_macros Undefined first referenced symbol in file use_large_installation_tweaks macros-cgi.o ld: fatal: Symbol referencing errors. No output written to cmd.cgi gmake[1]: *** [cmd.cgi] Error 1 gmake[1]: *** Waiting for unfinished jobs.... "config.c", line 1203: warning: implicit function declaration: grab_service_macros Undefined first referenced symbol in file use_large_installation_tweaks macros-cgi.o ld: fatal: Symbol referencing errors. No output written to config.cgi gmake[1]: *** [config.cgi] Error 1 Undefined first referenced symbol in file use_large_installation_tweaks macros-cgi.o ld: fatal: Symbol referencing errors. No output written to avail.cgi gmake[1]: *** [avail.cgi] Error 1 use_large_installation_tweaks never gave me any troubles before, was this something that was recently added? I'm guessing it's defined somewhere that's not being linked to, but a quick grep shows me its just in check.c, config.c, events.c, nagios.c, macros.c, and utils.c rather than any header references. Any help would be appreciated. Thanks, -Dave -- ================================ David Halik Student Programmer OSS/NBCS - OIT Rutgers dhalik at jla.rutgers.edu ================================ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri Oct 5 20:37:56 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 05 Oct 2007 19:37:56 +0100 Subject: notify contact only once In-Reply-To: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> Message-ID: <47068484.4080908@aidananderson.co.uk> Terry wrote: > I have a contact that I only want to receive one notification. How > can I set this up? > > A good place to start looking would be here: http://nagios.sourceforge.net/docs/2_0/notifications.html ;) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From don_shesnicky at carleton.ca Fri Oct 5 20:53:05 2007 From: don_shesnicky at carleton.ca (Don Shesnicky) Date: Fri, 05 Oct 2007 14:53:05 -0400 Subject: v3 stability In-Reply-To: References: Message-ID: <47068811.8060504@carleton.ca> I'm wondering about which version to install v2 or v3? I understand that v3 is nearing full release, we're already on b4. Any comments on the stability of v3.0b4 and or which direction to head. I'll be running on Solaris by the way version 9 or a container on Solaris 10. Don ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Fri Oct 5 20:54:53 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Fri, 5 Oct 2007 14:54:53 -0400 Subject: v3 stability In-Reply-To: <47068811.8060504@carleton.ca> References: <47068811.8060504@carleton.ca> Message-ID: <20071005185453.GA63346@bewilderbeast.blackhelicopters.org> On Fri, Oct 05, 2007 at 02:53:05PM -0400, Don Shesnicky wrote: > I'm wondering about which version to install v2 or v3? I understand > that v3 is nearing full release, we're already on b4. Any comments on > the stability of v3.0b4 and or which direction to head. I'll be running > on Solaris by the way version 9 or a container on Solaris 10. Hi, Even though v3 is beta, if you have problems you'll be expected to help debug them. If you're comfortable with that you can certainly run v3. If you want something with more outside support, though, you want v2. ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Coming Soon: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Oct 5 21:01:29 2007 From: td3201 at gmail.com (Terry) Date: Fri, 5 Oct 2007 14:01:29 -0500 Subject: notify contact only once In-Reply-To: <47068484.4080908@aidananderson.co.uk> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> Message-ID: <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> Thanks for the reply. Let me be more specific: version: 2.9 OS: centos 5 I have regular contacts set up, me for example. I want to get notified every 30 minutes indefinitely if a service is in a hard state of warning or critical. However, I want another contact to only get notified one time when that hard state is achieved. That's it. >From what I can tell, I can only achieve this through the notification_interval which is only set at the host/service level, not the contact level. If this is true, I will need to create 2 services, each with a different notification_interval and of course apply the different contact groups to each service. Am I correct or is there another way around this? Thanks! On 10/5/07, Aidan Anderson wrote: > Terry wrote: > > I have a contact that I only want to receive one notification. How > > can I set this up? > > > > > A good place to start looking would be here: > > http://nagios.sourceforge.net/docs/2_0/notifications.html > > ;) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri Oct 5 21:04:41 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 05 Oct 2007 20:04:41 +0100 Subject: notify contact only once In-Reply-To: <47068484.4080908@aidananderson.co.uk> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> Message-ID: <47068AC9.9040000@aidananderson.co.uk> Aidan Anderson wrote: > Terry wrote: > >> I have a contact that I only want to receive one notification. How >> can I set this up? >> >> >> > A good place to start looking would be here: > > http://nagios.sourceforge.net/docs/2_0/notifications.html > > ;) > > without supporting info will risk being sent to /dev/null > Apologies, here is where you want to start: http://nagios.sourceforge.net/docs/2_0/escalations.html You would specify the contact you only want to receive one notification in the first escalation and all other contacts in the first and subsequent escalations. Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Fri Oct 5 21:06:44 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Fri, 05 Oct 2007 15:06:44 -0400 Subject: notify contact only once In-Reply-To: <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> Message-ID: <1191611204.6625.45.camel@squeak> On Fri, 2007-10-05 at 14:01 -0500, Terry wrote: > I want to get > notified every 30 minutes indefinitely if a service is in a hard state > of warning or critical. However, I want another contact to only get > notified one time when that hard state is achieved. That's it. Have you looked at service escalations? With those, you can change the list of contacts based on how many notifications have been sent. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at aidananderson.co.uk Fri Oct 5 21:08:45 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Fri, 05 Oct 2007 20:08:45 +0100 Subject: notify contact only once In-Reply-To: <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> Message-ID: <47068BBD.5030705@aidananderson.co.uk> Terry wrote: > Thanks for the reply. Let me be more specific: > > version: 2.9 > OS: centos 5 > > I have regular contacts set up, me for example. I want to get > notified every 30 minutes indefinitely if a service is in a hard state > of warning or critical. However, I want another contact to only get > notified one time when that hard state is achieved. That's it. > >From what I can tell, I can only achieve this through the > notification_interval which is only set at the host/service level, not > the contact level. If this is true, I will need to create 2 services, > each with a different notification_interval and of course apply the > different contact groups to each service. Am I correct or is there > another way around this? > > Thanks! > > On 10/5/07, Aidan Anderson wrote: > >> Terry wrote: >> >>> I have a contact that I only want to receive one notification. How >>> can I set this up? >>> >>> >>> Hi Terry, I've just posted you another message before seeing this one. You want to use host or service escalations to achieve this. I've briefly explained in the previous post but if you need more help, just shout. Aidan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Fri Oct 5 21:22:48 2007 From: frederik.vanhee at perso.be (Vanhee Frederik) Date: Fri, 05 Oct 2007 21:22:48 +0200 Subject: Nagios For Debian In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE3608@lwmailserver1.pinkard.com> References: <47063EBF.3050802@gmail.com> <577770.12699.qm@web35712.mail.mud.yahoo.com> <2CE4DD25946EB940B8EE93877AF62531FE3607@lwmailserver1.pinkard.com> <4706502F.1080100@catfolks.net> <2CE4DD25946EB940B8EE93877AF62531FE3608@lwmailserver1.pinkard.com> Message-ID: <47068F08.5080402@perso.be> Joel Roberts wrote: > Yes, I have Nagios up and running, it's currently monitoring both > Windows and Linux Servers, but I'm unable to add any Cisco Routers > because the check_snmp did not compile. Does the check_snmp plugin exist > in your /usr/local/nagios/libexec directory? > > If so, what snmp packages do you have installed? Etch won't let me > install snmp because it says it's replaced by libsnmp-base and libnsmp9. > > -----Original Message----- > From: Daniel Mahoney [mailto:dan at catfolks.net] > Sent: Friday, October 05, 2007 8:55 AM > To: Joel Roberts > Subject: Re: Nagios For Debian > > Joel Roberts wrote: > >> Is anyone else using Nagios on Debian Etch? I've got it set up for >> monitoring Linux and Windows servers, but the check_snmp plugin won't >> compile. The Nagios FAQ says it must be missing SNMP packages, but >> Synaptic reports they're all installed. >> >> Checking the list of Nagios Plugins for the Debian install, I don't >> > even > >> see check_snmp listed any more. I have MRTG up and running on the same >> box, so I know at least the SNMP packages needed for MRTG are there. >> >> I've posted a message to the Nagios mailing list as well, but haven't >> gotten any response. Hoping there's some Debian Nagios users on here. >> >> Thanks in advance, >> >> Joel >> >> >> > I'm running nagios-text on Etch. It installed just fine using apt-get. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > I'm running Nagios 2.9 on Debian etch; this is a list of the snmp related packages that are installed on the system -snmp -snmpd -libsnmp-session-perl -libsnmp-perl -libsnmp-base -libsnmp9 -libsnmp5 -libsnmp4.2 -libsnmp4.2-dev -libnet-snmp-perl I must admit that this system was upgraded from sarge to etch using 'apt-get dist-upgrade', but I already installed various Nagios servers on Debian Sarge and Etch and never had any problems of that kind. I looked up my own docs and these are my prerequisites for compiling snmp-plugins : -libnetsnmp-perl -libsnmp4.2 (or higher) -libsnmp4.2-dev (or higher) -snmpget Hope this helps, Frederik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Roberts at pinkardcc.com Fri Oct 5 22:10:33 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Fri, 5 Oct 2007 14:10:33 -0600 Subject: Nagios For Debian In-Reply-To: <47068F08.5080402@perso.be> References: <47063EBF.3050802@gmail.com> <577770.12699.qm@web35712.mail.mud.yahoo.com> <2CE4DD25946EB940B8EE93877AF62531FE3607@lwmailserver1.pinkard.com> <4706502F.1080100@catfolks.net> <2CE4DD25946EB940B8EE93877AF62531FE3608@lwmailserver1.pinkard.com> <47068F08.5080402@perso.be> Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE360A@lwmailserver1.pinkard.com> Ok, tried to wipe out the original Nagios install and do a clean install from Debian Synaptic manager and now it won't load. Following the walkthrough at http://www.debian-administration.org/articles/299 And everything goes fine until I stop and re-start Apache, then I get the following error: [warn] The ScriptAlias directive in /etc/apache2/sites-enabled/nagios at line 7 will probably never match because it overlaps an earlier ScriptAlias Anyone know what I need to do to remove the ScriptAlias from the previous install? When I log onto the webpage now, every page comes back with: Whoops! Error: Could not read host and service status information! Thanks -----Original Message----- From: Vanhee Frederik [mailto:frederik.vanhee at perso.be] Sent: Friday, October 05, 2007 1:23 PM To: Joel Roberts Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios For Debian Joel Roberts wrote: > Yes, I have Nagios up and running, it's currently monitoring both > Windows and Linux Servers, but I'm unable to add any Cisco Routers > because the check_snmp did not compile. Does the check_snmp plugin exist > in your /usr/local/nagios/libexec directory? > > If so, what snmp packages do you have installed? Etch won't let me > install snmp because it says it's replaced by libsnmp-base and libnsmp9. > > -----Original Message----- > From: Daniel Mahoney [mailto:dan at catfolks.net] > Sent: Friday, October 05, 2007 8:55 AM > To: Joel Roberts > Subject: Re: Nagios For Debian > > Joel Roberts wrote: > >> Is anyone else using Nagios on Debian Etch? I've got it set up for >> monitoring Linux and Windows servers, but the check_snmp plugin won't >> compile. The Nagios FAQ says it must be missing SNMP packages, but >> Synaptic reports they're all installed. >> >> Checking the list of Nagios Plugins for the Debian install, I don't >> > even > >> see check_snmp listed any more. I have MRTG up and running on the same >> box, so I know at least the SNMP packages needed for MRTG are there. >> >> I've posted a message to the Nagios mailing list as well, but haven't >> gotten any response. Hoping there's some Debian Nagios users on here. >> >> Thanks in advance, >> >> Joel >> >> >> > I'm running nagios-text on Etch. It installed just fine using apt-get. > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > I'm running Nagios 2.9 on Debian etch; this is a list of the snmp related packages that are installed on the system -snmp -snmpd -libsnmp-session-perl -libsnmp-perl -libsnmp-base -libsnmp9 -libsnmp5 -libsnmp4.2 -libsnmp4.2-dev -libnet-snmp-perl I must admit that this system was upgraded from sarge to etch using 'apt-get dist-upgrade', but I already installed various Nagios servers on Debian Sarge and Etch and never had any problems of that kind. I looked up my own docs and these are my prerequisites for compiling snmp-plugins : -libnetsnmp-perl -libsnmp4.2 (or higher) -libsnmp4.2-dev (or higher) -snmpget Hope this helps, Frederik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Roberts at pinkardcc.com Fri Oct 5 22:24:34 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Fri, 5 Oct 2007 14:24:34 -0600 Subject: Nagios For Debian In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE360A@lwmailserver1.pinkard.com> References: <47063EBF.3050802@gmail.com> <577770.12699.qm@web35712.mail.mud.yahoo.com> <2CE4DD25946EB940B8EE93877AF62531FE3607@lwmailserver1.pinkard.com> <4706502F.1080100@catfolks.net><2CE4DD25946EB940B8EE93877AF62531FE3608@lwmailserver1.pinkard.com><47068F08.5080402@perso.be> <2CE4DD25946EB940B8EE93877AF62531FE360A@lwmailserver1.pinkard.com> Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE360B@lwmailserver1.pinkard.com> Got it, original Nagios Quickstart instructions had the nagios.conf under /etc/apache2/conf.d Stopped nagios and apache, deleted that file, restarted nagios and apache, and all came back up again. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Joel Roberts Sent: Friday, October 05, 2007 2:11 PM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios For Debian Ok, tried to wipe out the original Nagios install and do a clean install from Debian Synaptic manager and now it won't load. Following the walkthrough at http://www.debian-administration.org/articles/299 And everything goes fine until I stop and re-start Apache, then I get the following error: [warn] The ScriptAlias directive in /etc/apache2/sites-enabled/nagios at line 7 will probably never match because it overlaps an earlier ScriptAlias Anyone know what I need to do to remove the ScriptAlias from the previous install? When I log onto the webpage now, every page comes back with: Whoops! Error: Could not read host and service status information! Thanks -----Original Message----- From: Vanhee Frederik [mailto:frederik.vanhee at perso.be] Sent: Friday, October 05, 2007 1:23 PM To: Joel Roberts Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios For Debian Joel Roberts wrote: > Yes, I have Nagios up and running, it's currently monitoring both > Windows and Linux Servers, but I'm unable to add any Cisco Routers > because the check_snmp did not compile. Does the check_snmp plugin exist > in your /usr/local/nagios/libexec directory? > > If so, what snmp packages do you have installed? Etch won't let me > install snmp because it says it's replaced by libsnmp-base and libnsmp9. > > -----Original Message----- > From: Daniel Mahoney [mailto:dan at catfolks.net] > Sent: Friday, October 05, 2007 8:55 AM > To: Joel Roberts > Subject: Re: Nagios For Debian > > Joel Roberts wrote: > >> Is anyone else using Nagios on Debian Etch? I've got it set up for >> monitoring Linux and Windows servers, but the check_snmp plugin won't >> compile. The Nagios FAQ says it must be missing SNMP packages, but >> Synaptic reports they're all installed. >> >> Checking the list of Nagios Plugins for the Debian install, I don't >> > even > >> see check_snmp listed any more. I have MRTG up and running on the same >> box, so I know at least the SNMP packages needed for MRTG are there. >> >> I've posted a message to the Nagios mailing list as well, but haven't >> gotten any response. Hoping there's some Debian Nagios users on here. >> >> Thanks in advance, >> >> Joel >> >> >> > I'm running nagios-text on Etch. It installed just fine using apt-get. > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > I'm running Nagios 2.9 on Debian etch; this is a list of the snmp related packages that are installed on the system -snmp -snmpd -libsnmp-session-perl -libsnmp-perl -libsnmp-base -libsnmp9 -libsnmp5 -libsnmp4.2 -libsnmp4.2-dev -libnet-snmp-perl I must admit that this system was upgraded from sarge to etch using 'apt-get dist-upgrade', but I already installed various Nagios servers on Debian Sarge and Etch and never had any problems of that kind. I looked up my own docs and these are my prerequisites for compiling snmp-plugins : -libnetsnmp-perl -libsnmp4.2 (or higher) -libsnmp4.2-dev (or higher) -snmpget Hope this helps, Frederik ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joel.Roberts at pinkardcc.com Fri Oct 5 23:09:18 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Fri, 5 Oct 2007 15:09:18 -0600 Subject: Nagios For Debian In-Reply-To: <47068F08.5080402@perso.be> References: <47063EBF.3050802@gmail.com> <577770.12699.qm@web35712.mail.mud.yahoo.com> <2CE4DD25946EB940B8EE93877AF62531FE3607@lwmailserver1.pinkard.com> <4706502F.1080100@catfolks.net> <2CE4DD25946EB940B8EE93877AF62531FE3608@lwmailserver1.pinkard.com> <47068F08.5080402@perso.be> Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE360C@lwmailserver1.pinkard.com> Of the packages listed below, I have: Snmp Snmpd Libsnmp-session-perl Libsnmp-perl Libsnmp-base Libsnmp9 Libnet-snmp-perl These do not even show as options: Libsnmp5 Libsnmp4.2 Libsnmp4.2-dev Snmpget I'm assuming the libsnmp5 and 4.2 are earlier versions and the libsnmp9 and libsnmp9-dev that I have installed will supersede these? The snmpget I can't find in any library or package search in debian or the debian.org website. I've retried the installation of Nagios through Synaptic installing nagios-text and still get the same thing, no check_snmp in the libexec directory. During the nagios-text installation I selected both the basic and standard plugins, so everything should be there. -----Original Message----- From: Vanhee Frederik [mailto:frederik.vanhee at perso.be] I'm running Nagios 2.9 on Debian etch; this is a list of the snmp related packages that are installed on the system -snmp -snmpd -libsnmp-session-perl -libsnmp-perl -libsnmp-base -libsnmp9 -libsnmp5 -libsnmp4.2 -libsnmp4.2-dev -libnet-snmp-perl I must admit that this system was upgraded from sarge to etch using 'apt-get dist-upgrade', but I already installed various Nagios servers on Debian Sarge and Etch and never had any problems of that kind. I looked up my own docs and these are my prerequisites for compiling snmp-plugins : -libnetsnmp-perl -libsnmp4.2 (or higher) -libsnmp4.2-dev (or higher) -snmpget Hope this helps, Frederik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Sat Oct 6 01:53:19 2007 From: ifetch at du.edu (Ivan Fetch) Date: Fri, 05 Oct 2007 17:53:19 -0600 (MDT) Subject: Switching to passive checks instead of activeones? In-Reply-To: References: <20071005094402.L58687@tnetnzry.hgf.qh.rqh> Message-ID: <20071005175029.N63953@tnetnzry.hgf.qh.rqh> HI Tony, On Fri, 5 Oct 2007, Anthony Montibello wrote: > I found it is fairly easy to upgrade form active checks to passive checks, > > there have been lots of good resposes already, > so I am not sure if my responce is helpful. > > but a few notes on how I implement migrating to passive checks, > > If I already have the active check in nagios, > I load and test the passive checks on the remote host. > Since nagios can recieve both passive and active checks at the same time, > there should be no downtime in setting this up. > make sure the results make it to the nagios log, > > Once satisfied with the passive check results. > then disable the particular Active checks and add the other variables to the > nagios Configuration of that host. > > naturally there are cleaner ways of doing this, if you are using the object > templates and inheritence in Nagios config files. > > My procedure was how I implement converting a single host from active checks > to passive checks, and I usually run both check types for a while before > turning off the active checks. > > Tony This is a good idea, thanks for bringing it up. Even using host groups and templating to define most of our services, we could still send passive results back to Nagios more frequently than Nagios triggers active checks. The (old) active check would serve as a sort of "freshness reaction" for a while. We can later change the active check to our generic "this service did not check in" notification via check_dummy. Thanks, Ivan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Sat Oct 6 05:59:56 2007 From: daehenoc at optusnet.com.au (Greg Vickers) Date: Sat, 06 Oct 2007 13:59:56 +1000 Subject: [FIXED] Re: check_lm_sensors problem with ePN In-Reply-To: <46FF97B9.5070902@optusnet.com.au> References: <46FF97B9.5070902@optusnet.com.au> Message-ID: <4707083C.20509@optusnet.com.au> Hi all, Greg Vickers wrote: > Hi all, > > I've downloaded the check_lm_sensors-2.0.tar.gz plugin from > NagiosExchange > (http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=1011) > and am trying to use it in a Nagios installation. Working with the author of the plugin, this problem has been resolved in v3.0.0. Thanks Matteo! Greg ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Sat Oct 6 13:57:02 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Sat, 6 Oct 2007 11:57:02 +0000 Subject: Running a service every 20 seconds Message-ID: <4b008f7d0710060457w5d4c441bjf864551250e79fe0@mail.gmail.com> Hi Guys, I am running and ping plugin as a service across many hosts. I will like to run the ping plugin every 30 seconds for all my services. Where do I set this and what parameter do I use. Thanks -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Oct 6 14:05:49 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 06 Oct 2007 14:05:49 +0200 Subject: [SPAM] Re: Running a service every 20 seconds In-Reply-To: <4b008f7d0710060457w5d4c441bjf864551250e79fe0@mail.gmail.com> References: <4b008f7d0710060457w5d4c441bjf864551250e79fe0@mail.gmail.com> Message-ID: <47077A1D.6080500@vanderkooij.org> Alex Dehaini wrote: > Hi Guys, > > I am running and ping plugin as a service across many hosts. I will like > to run the ping plugin every 30 seconds for all my services. Where do I > set this and what parameter do I use. Did you consult the manual on this? (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service) Many such questions can be answered from the existing documentation. The only thing it will not tell is that this put extra load on your system. In case of 100's of services this may be beyond what your machine can handle. Hugo. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Oct 7 17:00:37 2007 From: andy.shellam-lists at mailnetwork.co.uk (andy.shellam-lists at mailnetwork.co.uk) Date: Sun, 7 Oct 2007 16:00:37 +0100 Subject: Nagios 3.0b4 crashing Message-ID: Hi I'm trying out Nagios 3.0 beta 4 to migrate my Nagios 2.9 system when it's released, and if I use it with the default configs, it starts up happily and does what it's supposed to do. I've started working on my own configs, and suddenly it stopped processing external commands - when you submit a command through the web interface, the browser just sits there and never returns. In the process list, I get a "cmd.cgi" process which is running until I press Cancel in the browser. I thought originally it was because the server was running low on available memory (as it had ~11MB free), but now, it's got 134MB free, and when you run Nagios, it'll verify the configs fine, then when you start it up, it creates it's relevant lock file and according to the web interface "Process Info" Nagios is running, but you look in the process list, and the PID that Nagios should have isn't there, so presumably it's crashed. I've run a completely verbose debug, and attached the log - I can't see anything useful in it though. Any ideas how I can find out more about what's going on? Output from nagios -v ... Nagios 3.0b4 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 09-27-2007 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 8 services. Checking hosts... Checked 1 hosts. Checking host groups... Checked 2 host groups. Checking service groups... Checked 3 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service 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 4 commands. Checking time periods... Checked 1 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Thanks, Andy. -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.debug Type: application/octet-stream Size: 10652 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Sun Oct 7 17:32:57 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 07 Oct 2007 11:32:57 -0400 Subject: Nagios 3.0b4 crashing In-Reply-To: References: Message-ID: <1191771177.4098.3.camel@new-host-2.home> On Sun, 2007-10-07 at 16:00 +0100, andy.shellam-lists at mailnetwork.co.uk wrote: > Hi > I thought originally it was because the server was running low on available You'll want to compile the binary with debugging symbols so that you can trace core dumps. You'll also want to run the daemon in the foreground under strace(8)/ktrace(8) with debugging output. ~BAS > memory (as it had ~11MB free), but now, it's got 134MB free, and when you > run Nagios, it'll verify the configs fine, then when you start it up, it ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 zoosmart.us Mon Oct 8 03:59:47 2007 From: alex at zoosmart.us (alex) Date: Sun, 7 Oct 2007 21:59:47 -0400 Subject: how do you monitor virtual http hosts? Message-ID: <20071008015947.GA2717@zoosmart.us> hi, how do you monitor virtual http hosts where several websites may share the same ip? Thx ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifetch at du.edu Mon Oct 8 05:48:52 2007 From: ifetch at du.edu (Ivan Fetch) Date: Sun, 07 Oct 2007 21:48:52 -0600 (MDT) Subject: how do you monitor virtual http hosts? In-Reply-To: <20071008015947.GA2717@zoosmart.us> References: <20071008015947.GA2717@zoosmart.us> Message-ID: <20071007214231.E73753@tnetnzry.hgf.qh.rqh> HI Alex, On Sun, 7 Oct 2007, alex wrote: > hi, > > how do you monitor virtual http hosts where several websites may share > the same ip? Thx > IF you specify a fully qualified host name to the -H argument of the check_http plugin, those host headers will be sent as part of the HTTP get request. I have used this for multiple (virtual) hosts on the same IP address. For testing, you can use the -v option to check_http to see the HTML in the page body which the plugin receives during the check. For example: check_http -H host1.site.com -v check_http -H host2.site.com -v SO, use the host name of the web site as the "Address" in your nagios config, and your checks will differentiate virtual hosts. Thanks, Ivan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pablo.buenaventura at gmail.com Mon Oct 8 09:13:30 2007 From: pablo.buenaventura at gmail.com (Pablo Buenaventura) Date: Mon, 8 Oct 2007 09:13:30 +0200 Subject: Integrated OVO with Nagios In-Reply-To: References: <593f2c150710050018v741c238ej89702fe2ecd2c408@mail.gmail.com> Message-ID: <593f2c150710080013ufde8d2dm1b6e3bffe02f3f4a@mail.gmail.com> Hi Hugo, The possiblily to migrate to the lastes Nagios version is not possible at the moment. Unfortunatelly, I have to work with this. The bit I am talking about OpenView is Node Manager, you are right. Any idea around? Cheers, Pablo. On 10/5/07, Hugo van der Kooij wrote: > > On Fri, 5 Oct 2007, Pablo Buenaventura wrote: > > > I am working with OpenView 7.5.1 and Nagios 1.2 and I am new baby with > > Monitoring staff. > > Well. Nagios 1.2 is ancient history. I think it dates before the > dino's. I would sugest to scrap that version and look at a recent version. > At this point that would be version 2.9 (version 3 is still experimental) > > What sort of integrations do you expect? What bit of OpenView are you > referring to? The NodeManager? > > I suggest you go to the nagios site. Pick the manual and browse through > it. Once you have done so you may understand what Nagios does and does not > do and you can ask more specific questions. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > This message is using 100% recycled electrons. > > Some men see computers as they are and say "Windows" > I use computers with Linux and say "Why Windows?" > (Thanks JFK, for this quote of George Bernard Shaw.) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorge.gonzalez at degesys.com Mon Oct 8 10:51:03 2007 From: jorge.gonzalez at degesys.com (Jorge Gonzalez) Date: Mon, 08 Oct 2007 10:51:03 +0200 Subject: Wrong results from NRPE In-Reply-To: References: <47064D23.3030409@degesys.com> Message-ID: <4709EF77.6060508@degesys.com> Hi Janet! Yes, It returns mjore than one line. I did shutdown in all VM but one which is up, then script returns only one line but NRPE saids nothing running -sh-3.1$ /usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 Warning Xen VMs Usage - Total NB: 1 - detected VMs: VM2 -sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen Critical Xen VMs Usage - Total NB: 0 - detected VMs: I think is not about NRPE because the line "Critical Xen VMs Usage - Total NB: 0 - detected VMs" (or similar) is returned by the script check_xenvm. Maybe something like permissions but script is been runned as root and as nagios user and script is 777 chmoded /jorge Janet Post escribi?: > Hello, > > My first thought is that your check is returning more than one line of > return data. It works great from the command line, but nagios doesn't > like it too much. In fact, nagios gets rather cranky about it. > > Hope this helps, > > Janet > > > On 10/5/07, *Jorge Gonzalez* > wrote: > > Hi all! > > I'm trying to get NRPE working but results are not what should be > expected and I don't know why. If check_xenvm is runned from console > without NRPE results are ok but with NRPE there's no VM running. > > /-sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen > Critical Xen VMs Usage - Total NB: 0 - detected VMs: > > NRPE.conf > command[check_xen]=/usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 > > -sh-3.1$ /usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 > OK: Xen Hypervisor " jano.degesys-test.net > " is running Xen VMs: > VM2 > clust1 > clust2 > > -rwxrwxrwx 1 root root 2308 Sep 28 12:19 check_xenvm/ > > I also tried with root user but nothing. What I'm doing wrong? > > thanks in advance. > > /jorge > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- A non-text attachment was scrubbed... Name: jorge.gonzalez.vcf Type: text/x-vcard Size: 350 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jorge.gonzalez at degesys.com Mon Oct 8 10:52:33 2007 From: jorge.gonzalez at degesys.com (Jorge Gonzalez) Date: Mon, 08 Oct 2007 10:52:33 +0200 Subject: Wrong results from NRPE In-Reply-To: References: Message-ID: <4709EFD1.1050307@degesys.com> Marc Powell escribi?: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Jorge Gonzalez >> Sent: Friday, October 05, 2007 9:42 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Wrong results from NRPE >> >> Hi all! >> >> I'm trying to get NRPE working but results are not what should be >> expected and I don't know why. If check_xenvm is runned from console >> without NRPE results are ok but with NRPE there's no VM running. >> >> /-sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen >> Critical Xen VMs Usage - Total NB: 0 - detected VMs: >> >> NRPE.conf >> command[check_xen]=/usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 >> >> -sh-3.1$ /usr/lib64/nagios/plugins/check_xenvm -w 2 -c 0 >> OK: Xen Hypervisor "jano.degesys-test.net" is running Xen VMs: >> VM2 >> clust1 >> clust2 >> >> -rwxrwxrwx 1 root root 2308 Sep 28 12:19 check_xenvm/ >> >> I also tried with root user but nothing. What I'm doing wrong? >> > > Are you testing the plugin as the user that NRPE is running as? That is > almost always the case when differences like this are seen. > > -- > Marc > > Hi Marc! yes, NRPE runs as nagios user. I tried with root and nagios user and file is 777 /jorge > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: jorge.gonzalez.vcf Type: text/x-vcard Size: 350 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hulme at ebi.ac.uk Mon Oct 8 11:20:19 2007 From: hulme at ebi.ac.uk (Robert Hulme) Date: Mon, 08 Oct 2007 10:20:19 +0100 Subject: check_ftp Message-ID: <4709F653.2010609@ebi.ac.uk> Is there a way to check if a directory / file exists on an ftp server? I'm trying to use check_ftp but I'm not sure if I should be using -s, and if so what I should put there to check for /foo/bar -Rob -- Any fool can write code that a computer can understand. Good programmers write code that humans can understand. -- M. Fowler ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 8 12:12:42 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Oct 2007 12:12:42 +0200 Subject: Host searching In-Reply-To: <69FF7644-1E8C-4C25-A254-3DCDC3DFAA64@frontierflying.com> References: <9BC17A07F06EFA4A8C6CB304127DA41001962D@mail1.tallink.ee> <69FF7644-1E8C-4C25-A254-3DCDC3DFAA64@frontierflying.com> Message-ID: <470A029A.60304@op5.se> Israel Brewster wrote: > > On Oct 4, 2007, at 10:56 PM, hindrek murdsalu wrote: > >> Hey, >> >> I gather the 'freenasxxx' servers are somehow connected to each other >> (they're in same farm or provide same services), if so you could just >> define a hostgroup named 'freenas servers' or whichever name you >> desire >> and add the servers as members to it so you'd be able to list them all >> in 1 window. >> This, of course, isn't a solution to search rather than being an >> alternative. >> >> >> Hindrek >> >> > > type of printer. Can I put things in multiple host groups? Yes. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 8 12:17:44 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Oct 2007 12:17:44 +0200 Subject: Wrong results from NRPE In-Reply-To: <47064D23.3030409@degesys.com> References: <47064D23.3030409@degesys.com> Message-ID: <470A03C8.1080104@op5.se> Jorge Gonzalez wrote: > Hi all! > > I'm trying to get NRPE working but results are not what should be > expected and I don't know why. If check_xenvm is runned from console > without NRPE results are ok but with NRPE there's no VM running. > I'm 99% certain that you tested this from command-line as root, while nrpe runs as a different user that doesn't have sufficient access to obtain the data you ask for. > I also tried with root user but nothing. What I'm doing wrong? > How? NRPE refuses to run as root. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaimeventura at ipp.pt Mon Oct 8 12:40:33 2007 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Mon, 08 Oct 2007 11:40:33 +0100 Subject: using web content to determine the nagios status Message-ID: <470A0921.3090409@ipp.pt> Hello, Im trying to monitor a webserver (and its services) without installing a client on it. For that I was hopping to use a created php page which tests several services(mysql, ...) and prints a status message. Is there any way to take the status message presented by the php page (OK, WARNING, ERROR,..) and map it to nagios status? I tried check_http -H webserver -u /status.htm -s "STATUS OK", but this way I can only get a status ok or error on nagios status. Is there any other way to do it, besides developing a specific plug-in? Thanks jaime ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Mon Oct 8 13:05:01 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Mon, 8 Oct 2007 12:05:01 +0100 Subject: using web content to determine the nagios status In-Reply-To: <470A0921.3090409@ipp.pt> References: <470A0921.3090409@ipp.pt> Message-ID: <6546343904687E41B19D8E5A26AB9F53017D6694@E03MVB2-UKBR.domain1.systemhost.net> Why don't you just do a nontent check on a page that wont change much? It beats the hell out off writing one? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jaime Ventura Sent: 08 October 2007 11:41 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] using web content to determine the nagios status Hello, Im trying to monitor a webserver (and its services) without installing a client on it. For that I was hopping to use a created php page which tests several services(mysql, ...) and prints a status message. Is there any way to take the status message presented by the php page (OK, WARNING, ERROR,..) and map it to nagios status? I tried check_http -H webserver -u /status.htm -s "STATUS OK", but this way I can only get a status ok or error on nagios status. Is there any other way to do it, besides developing a specific plug-in? Thanks jaime ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hulme at ebi.ac.uk Mon Oct 8 13:09:43 2007 From: hulme at ebi.ac.uk (Robert Hulme) Date: Mon, 08 Oct 2007 12:09:43 +0100 Subject: using web content to determine the nagios status In-Reply-To: <470A0921.3090409@ipp.pt> References: <470A0921.3090409@ipp.pt> Message-ID: <470A0FF7.9080404@ebi.ac.uk> Jaime Ventura wrote: > I tried check_http -H webserver -u /status.htm -s "STATUS OK", but > this way I can only get a status ok or error on nagios status. > Is there any other way to do it, besides developing a specific plug-in? Yes you could do: check_http -s "STATUS FOR foo IS OK" -H www.mydomain.com -u /status.php check_http -s "STATUS FOR bar IS OK" -H www.mydomain.com -u /status.php etc Using regular expressions might be slightly better. Having the page return a data structure (YAML / JSON / etc) that a plugin parses would be a bit better. Using Nagios / NPRE to solve the whole thing is probably better still. -Rob -- I'm as poor as a church mouse, that's just had an enormous tax bill on the very day his wife ran off with another mouse, taking all the cheese. -- Edmund Blackadder ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 8 13:19:03 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Oct 2007 13:19:03 +0200 Subject: Wrong results from NRPE In-Reply-To: <470A082B.6020007@degesys.com> References: <47064D23.3030409@degesys.com> <470A03C8.1080104@op5.se> <470A082B.6020007@degesys.com> Message-ID: <470A1227.40506@op5.se> Don't respond to me privately. I don't run a free support center. Don't top-post. It makes it hard to read the conversation and understand what you're responding to. Follow these two advices, or you'll end up in my kill-file. Now scroll down for the interesting parts. Jorge Gonzalez wrote: > Hi Andreas! > > As nagios user: > > -sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen > Critical Xen VMs Usage - Total NB: 0 - detected VMs: > > As root user: > > [root at jano plugins]# ./check_nrpe -H 127.0.0.1 -c check_xen > Critical Xen VMs Usage - Total NB: 0 - detected VMs: > Which user you're running check_nrpe as hasn't got the slightest impact on the result you get from check_xen, as it's the nrpe daemon that executes check_xen. > NRPE runs with xinetd: > # default: off > # description: NRPE (Nagios Remote Plugin Executor) > service nrpe > { > flags = REUSE > type = UNLISTED > port = 5666 > socket_type = stream > wait = no > user = nagios > group = nagios > server = /usr/sbin/nrpe > server_args = -c /etc/nagios/nrpe.cfg --inetd > log_on_failure += USERID > disable = no > only_from = 0.0.0.0/0 > } > > > NRPE running as a service, no xinetd: > > As root: > nrpe doesn't run as root. It will bail out if you try to make it. > [root at jano plugins]# ./check_nrpe -H 127.0.0.1 -c check_xen > Critical Xen VMs Usage - Total NB: 0 - detected VMs: > > > As nagios: > > -sh-3.1$ ./check_nrpe -H 127.0.0.1 -c check_xen > Critical Xen VMs Usage - Total NB: 0 - detected VMs: > You have permission problems. Don't bother trying to run check_nrpe as a specific user. It won't matter in the slightest. Try running check_xen directly as the nagios user instead. That might show you what the real problem is. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Oct 8 13:24:27 2007 From: andy.shellam-lists at mailnetwork.co.uk (andy.shellam-lists at mailnetwork.co.uk) Date: Mon, 8 Oct 2007 12:24:27 +0100 Subject: Nagios 3.0b4 crashing In-Reply-To: <1191771177.4098.3.camel@new-host-2.home> References: <1191771177.4098.3.camel@new-host-2.home> Message-ID: <51d0cbb53610db22b9b68a215b8aea35@localhost> Thanks, According to the 3.0 documentation, you don't need to re-compile Nagios to get the debug symbols - is this right? "Debugging information can now be written to a separate debug file, which is automatically rotated when it reaches a user-defined size. This should make debugging problems much easier, as you don't need to recompiled Nagios." I've enabled the "allow Nagios to create core dumps" option (can't remember what it's called atm), and the notes for that directive do say that even with that option enabled, Nagios may not create a core dump, which it doesn't. I'll try strace/ktrace, but how do you get Nagios to run in the foreground, as soon as you start it with "-d" it goes to the background anyway? Thanks, Andy On Sun, 07 Oct 2007 11:32:57 -0400, "Brian A. Seklecki" wrote: > On Sun, 2007-10-07 at 16:00 +0100, andy.shellam-lists at mailnetwork.co.uk > wrote: >> Hi >> I thought originally it was because the server was running low on > available > > You'll want to compile the binary with debugging symbols so that you can > trace core dumps. You'll also want to run the daemon in the foreground > under strace(8)/ktrace(8) with debugging output. > > ~BAS > >> memory (as it had ~11MB free), but now, it's got 134MB free, and when > you >> run Nagios, it'll verify the configs fine, then when you start it up, it > > > > !DSPAM:37,4708fc2f7681769792324! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 8 13:35:32 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 08 Oct 2007 13:35:32 +0200 Subject: Nagios 3.0b4 crashing In-Reply-To: <51d0cbb53610db22b9b68a215b8aea35@localhost> References: <1191771177.4098.3.camel@new-host-2.home> <51d0cbb53610db22b9b68a215b8aea35@localhost> Message-ID: <470A1604.6020607@op5.se> Please don't top-post. andy.shellam-lists at mailnetwork.co.uk wrote: > Thanks, > > According to the 3.0 documentation, you don't need to re-compile Nagios to > get the debug symbols - is this right? > No. See below. > "Debugging information can now be written to a separate debug file, which > is automatically rotated when it reaches a user-defined size. This should > make debugging problems much easier, as you don't need to recompiled > Nagios." > This is about debugging symbols which reside inside the executable binary, not about debugging output generated by the program itself. Debugging symbols and debug output is not even remotely the same. > I've enabled the "allow Nagios to create core dumps" option (can't remember > what it's called atm), and the notes for that directive do say that even > with that option enabled, Nagios may not create a core dump, which it > doesn't. > It's supposed to. Perhaps you meant "disabled the ..." ? > I'll try strace/ktrace, but how do you get Nagios to run in the foreground, > as soon as you start it with "-d" it goes to the background anyway? Start it without -d, or use "strace -f", although you'll still have to send the backtrace of your resulting core-dump to the nagios-devel@ mailing list if you want any help solving the problem, unless a recent CVS snapshot does the trick for you. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yhasabnis at gmail.com Mon Oct 8 14:02:07 2007 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Mon, 8 Oct 2007 17:32:07 +0530 Subject: Plugins for health-check of IBM servers Message-ID: Hi, I have been using check_cciss plugin for monitoring the health of our HP Proliant server. Would like to know about a similar plugin for monitoring IBM X-series servers. Thanks in advance. Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon Oct 8 14:04:38 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 8 Oct 2007 14:04:38 +0200 Subject: Plugins for health-check of IBM servers In-Reply-To: References: Message-ID: <00f101c809a3$66d910c0$0202fea9@int.consol.de> Have a look at the numerous check_ipmi[tool] plugins or google for "nagios ipmitool". Gerhard _____ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Yogesh Hasabnis Gesendet: Montag, 8. Oktober 2007 14:02 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Plugins for health-check of IBM servers Hi, I have been using check_cciss plugin for monitoring the health of our HP Proliant server. Would like to know about a similar plugin for monitoring IBM X-series servers. Thanks in advance. Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Mon Oct 8 15:08:54 2007 From: Roger at NagiosWiki.com (Roger) Date: Mon, 8 Oct 2007 06:08:54 -0700 Subject: check_ftp In-Reply-To: <4709F653.2010609@ebi.ac.uk> References: <4709F653.2010609@ebi.ac.uk> Message-ID: <2b7af7c40710080608t5d8ca68erbe060d330e94f843@mail.gmail.com> On 10/8/07, Robert Hulme wrote: > > Is there a way to check if a directory / file exists on an ftp server? > I'm trying to use check_ftp but I'm not sure if I should be using -s, > and if so what I should put there to check for /foo/bar check_ftp just checks to see if the server is listening for that protocol. Something like check_ftp.pl might be more up your ally, though. http://www.jhweiss.de/software/nagios.html >From the website: "check_ftp is a Nagios plugin for checking FTP servers. Unlike the standard plugin from the official plugins package, it (optionally) allows for checking username/password authentication. If authentication fails, a WARNING state will be returned. This plugin is written in Perl, should work with the embedded Perl interpreter (not tested though) and has no other prerequisites." If you do find something, do share! I gotta find something like that soon for one of my projects. -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Mon Oct 8 15:14:13 2007 From: Roger at NagiosWiki.com (Roger) Date: Mon, 8 Oct 2007 06:14:13 -0700 Subject: check_ftp In-Reply-To: <4709F653.2010609@ebi.ac.uk> References: <4709F653.2010609@ebi.ac.uk> Message-ID: <2b7af7c40710080614o16cfe8f3g6932b9782b773e8f@mail.gmail.com> On 10/8/07, Robert Hulme wrote: > > Is there a way to check if a directory / file exists on an ftp server? > I'm trying to use check_ftp but I'm not sure if I should be using -s, > and if so what I should put there to check for /foo/bar This looks promising: "The check_tcp is not able to login and fetch files, so i made a check that uses Net::FTP. It's able to login and fetch files." http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1%5Bp_view%5D=355 d/l here: http://tinyurl.com/33drh2 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fabio.iovine at gmail.com Mon Oct 8 16:08:55 2007 From: fabio.iovine at gmail.com (Fabio Iovine) Date: Mon, 8 Oct 2007 16:08:55 +0200 Subject: Monitoring unix (SUN) logfiles... Message-ID: <509069220710080708jb9c11bfne14021dfa85a102b@mail.gmail.com> hi folks, I read on the website among the features Nagios can monitor log files but I was unable to find more precise informations on how it does the monitoring. can someone please tell me where I can find these informations? more, I'd like to understand whether Nagios can monitor file existence? can someone help on this? thanks in advance, Fabio -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon Oct 8 16:35:30 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 8 Oct 2007 16:35:30 +0200 Subject: Monitoring unix (SUN) logfiles... In-Reply-To: <509069220710080708jb9c11bfne14021dfa85a102b@mail.gmail.com> References: <509069220710080708jb9c11bfne14021dfa85a102b@mail.gmail.com> Message-ID: <010d01c809b8$7a3fc090$0202fea9@int.consol.de> Hi Fabio, if you mean looking for specific patterns in various logfiles, i can offer you the check_logfiles plugin. You define where to search, what to search for and Nagios will send you a notification if the "what" appears in the "where". Have a look at http://www.consol.com/opensource/nagios/check-logfiles/examples for an example, how you can use Nagios to look for SAN-related error messages in the Solaris /var/adm/messages file. Gerhard _____ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Fabio Iovine Gesendet: Montag, 8. Oktober 2007 16:09 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Monitoring unix (SUN) logfiles... hi folks, I read on the website among the features Nagios can monitor log files but I was unable to find more precise informations on how it does the monitoring. can someone please tell me where I can find these informations? more, I'd like to understand whether Nagios can monitor file existence? can someone help on this? thanks in advance, Fabio -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 8 16:37:47 2007 From: marc at ena.com (Marc Powell) Date: Mon, 8 Oct 2007 09:37:47 -0500 Subject: Nagios not able to access nagios.cmd In-Reply-To: References: Message-ID: Please always post on list. Even though I post a lot, I'm not dedicated to nagios support. > -----Original Message----- > From: pankaj.dhali at wipro.com [mailto:pankaj.dhali at wipro.com] > Sent: Monday, October 08, 2007 8:45 AM > To: Marc Powell > Subject: Nagios not able to access nagios.cmd > > > Hi Marc, > Thanks for your correction. But still Nagios doesn't seem to > access the command file i.e., /usr/local/nagios/var/rw/nagios.cmd. I have > set this path correctly for nagios.cmd. I am using the attached script and > running it mannually to submit Passive Service Check to Nagios through the > following command: > > -------------------------------------------------- > > [root at Symbol eventhandlers]# pwd > > /usr/local/nagios/libexec/eventhandlers > > [root at Symbol eventhandlers]# python snmptraphandling.py 10.207.40.203 > CRITICAL 12 > > 2 > > [root at Symbol eventhandlers]# While it's probably not important in this case, you shouldn't run tests associated with nagios as the root user. Nagios doesn't run as root and neither do most of its support programs so you're likely to see different results. As for the script, I've never programmed in python but it appears to end up submitting an external command something like -- [timestamp] PROCESS_SERVICE_CHECK_RESULT;10.207.40.203;snmp_trap_handling_critical;2 ;"12" Nagios will ignore external commands for hosts and services that it doesn't know about. It will log them though and you should see them in nagios.log. Based on your usage of this script and using http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=114 and http://nagios.sourceforge.net/docs/2_0/passivechecks.html as guides, you _must_ have the following host and service definitions. They were not included in the files you sent to me -- - A host{} definition with a host_name of '10.207.40.203' - a service{} definition with a host_name of '10.207.40.203' and service_description of 'snmp_trap_handling_critical' After creating the service for localhost named snmp_trap_handling_critical, you probably want to run it as $ python snmptraphandling.py localhost CRITICAL 12 > --------------------------------------------- > > I have attached the services.cfg and commends.cfg > > I am not understanding why Nagios always shows : > > status -> CRITICAL > > and > > Status Information -> Return code of 127 is out of bounds - plugin may be > missing. This implies that you have active checks enabled for the service and specified a check_command that references a plugin that doesn't exist in the location you've specified. Does /usr/local/nagios/libexec/passive_check_missing.sh exist? Do you have a command definition for check_dummy that points to a real plugin? Based on your sample service definition, nagios will run the passive_check_missing script every 10 minutes, regardless of whether it's received results or not. is_volatile means that it will notify you every 10 minutes when it runs passive_check_missing regardless of whether you receive passive results or not. You probably want to set normal_check_interval to 0 and let the freshness checking run it as needed (http://nagios.sourceforge.net/docs/2_0/freshness.html - Working With Passive-Only Checks) -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 8 17:08:09 2007 From: marc at ena.com (Marc Powell) Date: Mon, 8 Oct 2007 10:08:09 -0500 Subject: Monitoring unix (SUN) logfiles... In-Reply-To: <509069220710080708jb9c11bfne14021dfa85a102b@mail.gmail.com> References: <509069220710080708jb9c11bfne14021dfa85a102b@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Fabio Iovine > Sent: Monday, October 08, 2007 9:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring unix (SUN) logfiles... > > hi folks, > I read on the website among the features Nagios can monitor log files but > I was unable to find more precise informations on how it does the > monitoring. Two scripts are distributed with the plugins -- check_log.sh and contrib/check_log2.pl. Both can search for the presence, or absence in the case of log2.pl, of strings within specified log files. Run them with -h for usage information. > can someone please tell me where I can find these informations? Google's always a good source if the usual suspects aren't helpful. > more, I'd like to understand whether Nagios can monitor file existence? > can someone help on this? If you can determine status from the command line then nagios can do it. Your question really is, has someone created a plugin to do so. I don't see any obvious hits on http://nagiosexchange.org but you should search yourself. A quick search of google for 'nagios check file exists' shows some talk about such a test but no actual plugin, but you should search for yourself. Alternately, this should be a very simple and straightforward plugin to write and would be a great exercise in understanding nagios plugins. A very very basic, one-line plugin might look something like -- #!/bin/sh if [ -f /path/to/file ]; then echo "OK: File exists and is a regular file"; exit 0; else echo "CRITICAL: File not found or is irregular (galactic collision occurred)"; exit 2; fi http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN78 has more information on writing plugins. For the simplest of plugins you really only need to exit with one line of text and the proper return code. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ojan at expertise-online.net Mon Oct 8 17:18:24 2007 From: ojan at expertise-online.net (Olivier JAN) Date: Mon, 8 Oct 2007 17:18:24 +0200 Subject: Monitoring unix (SUN) logfiles... In-Reply-To: References: Message-ID: Hi, You should give a try to SEC (Simple Event Correlator) for monitoring log files on unix. It's not an active plugin but you can use this great parser in a passive fashion with Nagios. I think it's make more sense to passively check log files. First, you are alerted in real time, not on the polling intervall you set. Second, You don't poll for nothing. And third, you can do some event correlation with this perl program Olivier Jan "Marc Powell" Ecrivait: > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Fabio Iovine >> Sent: Monday, October 08, 2007 9:09 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Monitoring unix (SUN) logfiles... >> >> hi folks, >> I read on the website among the features Nagios can monitor log files > but >> I was unable to find more precise informations on how it does the >> monitoring. > > Two scripts are distributed with the plugins -- check_log.sh and > contrib/check_log2.pl. Both can search for the presence, or absence in > the case of log2.pl, of strings within specified log files. Run them > with -h for usage information. > >> can someone please tell me where I can find these informations? > > Google's always a good source if the usual suspects aren't helpful. > >> more, I'd like to understand whether Nagios can monitor file > existence? >> can someone help on this? > > If you can determine status from the command line then nagios can do it. > Your question really is, has someone created a plugin to do so. I don't > see any obvious hits on http://nagiosexchange.org but you should search > yourself. A quick search of google for 'nagios check file exists' shows > some talk about such a test but no actual plugin, but you should search > for yourself. Alternately, this should be a very simple and > straightforward plugin to write and would be a great exercise in > understanding nagios plugins. A very very basic, one-line plugin might > look something like -- > > #!/bin/sh > > if [ -f /path/to/file ]; then echo "OK: File exists and is a regular > file"; exit 0; else echo "CRITICAL: File not found or is irregular > (galactic collision occurred)"; exit 2; fi > > http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN78 has > more information on writing plugins. For the simplest of plugins you > really only need to exit with one line of text and the proper return > code. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Mon Oct 8 18:17:29 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 8 Oct 2007 16:17:29 +0000 Subject: retention and status file delay Message-ID: <4b008f7d0710080917l6311ac08q888ad0422d95b09e@mail.gmail.com> Hi Guys, I am having a little problem with nagios. The web interface takes over 10 minutes to read from the retention and status files. So, a host might go down and come back up but nagios will see the host as down until after 10 minutes. Is there somewhere I can change this. -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 8 18:33:45 2007 From: marc at ena.com (Marc Powell) Date: Mon, 8 Oct 2007 11:33:45 -0500 Subject: retention and status file delay In-Reply-To: <4b008f7d0710080917l6311ac08q888ad0422d95b09e@mail.gmail.com> References: <4b008f7d0710080917l6311ac08q888ad0422d95b09e@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: Monday, October 08, 2007 11:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] retention and status file delay > > Hi Guys, > > I am having a little problem with nagios. The web interface takes over 10 > minutes to read from the retention and status files. So, a host might go The nagios daemon only reads the retention file on (re)start. The CGI's never read it. The status file is read by the CGI's on every page refresh. Do you have a 10 minute refresh_rate specified in cgi.cfg? > down and come back up but nagios will see the host as down until after 10 > minutes. Is there somewhere I can change this. You should also check that you haven't told nagios to only update the status file every 10 minutes by verifying the value of status_update_interval in nagios.cfg. If both look good, verify that the status file is actually being updated as quickly as you think it is, with the information you think it should have. If that fails, verify that your host/service is being checked as frequently as you think it is and that the plugins accurately reflect the status of the service/host when being run. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Mon Oct 8 18:40:19 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 8 Oct 2007 11:40:19 -0500 Subject: check_icmp Message-ID: I hope someone can help my here. I have setup a check_icmp to check 2 remote FW. If I run check_icpm from the command line it returns the status OK from within Nagios it gives me a warning and the status information is (no output). Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmenard at servprise.com Mon Oct 8 18:47:08 2007 From: kmenard at servprise.com (Kevin Menard) Date: Mon, 08 Oct 2007 12:47:08 -0400 Subject: [ANN] WebReboot Nagios Plugin 0.4 Message-ID: Hi all, I just wanted to let you know that we've released the 0.4 version of our WebReboot Nagios plugin. I'm a bit delayed in announcing this as I prepare for the Nagios conference. Key new features are: - Support for WebReboot 3.0 - Reduced network traffic - Improved configuration - Better error handling We took some time to add screenshots to the documentation now. We still need to spend some time highlighting the key areas, but you can get a feel for things at: http://dev.servprise.com/nagios/screenshots/ More info on the release: http://dev.servprise.com/weblog/articles/2007/10/08/webreboot-nagios-plugin- 0-4-released That's about it. For all those heading off to the conference next week, I look forward to meeting you. It should be a good time. -- Kevin ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Mon Oct 8 19:12:24 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 8 Oct 2007 12:12:24 -0500 Subject: check_icmp In-Reply-To: References: Message-ID: ./check_icmp: Permission denied ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Monday, October 08, 2007 12:04 PM To: Edwin Zoeller Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_icmp Did you run the terminal command as the Nagios user or as someone else? Typically that output means there is a permissions issue somewhere with the plugin. Try running the command in the terminal as the Nagios user and post the output of that for us on the list. Stephen ________________________________ From: Edwin Zoeller [mailto:Edwin.Zoeller at ama-assn.org] Sent: Monday, October 08, 2007 12:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_icmp I hope someone can help my here. I have setup a check_icmp to check 2 remote FW. If I run check_icpm from the command line it returns the status OK from within Nagios it gives me a warning and the status information is (no output). Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Mon Oct 8 19:39:18 2007 From: Roger at NagiosWiki.com (Roger) Date: Mon, 8 Oct 2007 10:39:18 -0700 Subject: check_icmp In-Reply-To: References: Message-ID: <2b7af7c40710081039hf0a7a71r3c0cb5374f9d5047@mail.gmail.com> On 10/8/07, Edwin Zoeller wrote: > > > I hope someone can help my here. I have setup a check_icmp to check 2 remote > FW. If I run check_icpm from the command line it returns the status OK from > within Nagios it gives me a warning and the status information is (no > output). try cd /path/to/plugins/ chmod +x check_icmp -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Mon Oct 8 19:42:11 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 8 Oct 2007 12:42:11 -0500 Subject: check_icmp In-Reply-To: <2b7af7c40710081039hf0a7a71r3c0cb5374f9d5047@mail.gmail.com> References: <2b7af7c40710081039hf0a7a71r3c0cb5374f9d5047@mail.gmail.com> Message-ID: When I changed it now it core dumps -----Original Message----- From: scubacuda at gmail.com [mailto:scubacuda at gmail.com] On Behalf Of Roger Sent: Monday, October 08, 2007 12:39 PM To: Edwin Zoeller Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_icmp On 10/8/07, Edwin Zoeller wrote: > > > I hope someone can help my here. I have setup a check_icmp to check 2 > remote FW. If I run check_icpm from the command line it returns the > status OK from within Nagios it gives me a warning and the status > information is (no output). try cd /path/to/plugins/ chmod +x check_icmp -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 8 19:51:52 2007 From: marc at ena.com (Marc Powell) Date: Mon, 8 Oct 2007 12:51:52 -0500 Subject: check_icmp In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Edwin Zoeller > Sent: Monday, October 08, 2007 12:12 PM > To: Valdinger, Stephen (DOV, MSX) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_icmp > > ./check_icmp: Permission denied There are a number of check_icmp's floating around out there. I'm going to assume that this is the version written by Andreas Ericsson. If so, it must be SUID root to run. As the root user -- chown root /path/to/check_icmp chmod 6755 /path/to/check_icmp; #or use 6555 depending on your paranoia level Try your test again as the nagios user. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Mon Oct 8 20:09:56 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Mon, 8 Oct 2007 13:09:56 -0500 Subject: check_icmp In-Reply-To: References: Message-ID: That got it to run as Nagios. Here is the next message: Form command line as nagios user: OK - fwCOLO1: rta 0.052ms, lost 0%|rta-0.052ms;200.000;500.000;0; pl-0%;40;80;; >From within Nagios: CRITICAL-208.250.29.6: rta nan, lost 100% -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, October 08, 2007 12:52 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_icmp > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Edwin Zoeller > Sent: Monday, October 08, 2007 12:12 PM > To: Valdinger, Stephen (DOV, MSX) > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_icmp > > ./check_icmp: Permission denied There are a number of check_icmp's floating around out there. I'm going to assume that this is the version written by Andreas Ericsson. If so, it must be SUID root to run. As the root user -- chown root /path/to/check_icmp chmod 6755 /path/to/check_icmp; #or use 6555 depending on your paranoia level Try your test again as the nagios user. -- Marc ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leo.Arnts at Getronics.com Mon Oct 8 20:22:05 2007 From: Leo.Arnts at Getronics.com (Arnts, Leo) Date: Mon, 8 Oct 2007 20:22:05 +0200 Subject: Problems with running Availability reporting Message-ID: Hi All, I am trying to make an report of a server group over july-augustus-september and nagios returns an internal server error. When trying to get the report over each july there is no problem. Same for the months augustus and September. An report on april-may-june works correctly. Error in the apache log file: 172.30.44.133 - lar [08/Oct/2007:19:57:08 +0200] "GET /nagios/cgi-bin/avail.cgi?show_log_entries=&hostgroup=clz&timeperiod=cus tom&smon=7&sday=1&syear=2007&shour=0&smin=0&ssec=0&emon=9&eday=30&eyear= 2007&ehour=24&emin=0&esec=0&rpttimeperiod=24x7&assumeinitialstates=yes&a ssumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstat es=no&initialassumedhoststate=3&initialassumedservicestate=6&backtrack=4 HTTP/1.1" 500 616 "http://nms.hchosting.nl/nagios/cgi-bin/avail.cgi?get_date_parts=&hostgr oup=clz" "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7" I'm running nagios 2.9 on CentOS 4.4 Any ideas what it's going wrong ? Leo Arnts Technisch Consultant Sector HealthCare Getronics PinkRoccade Address: Fauststraat 3, 7323BA Apeldoorn Address: Postbus 20054, 7302 HB Apeldoorn Serv.Tel: T: + 31 55 599 9240 Tel: T: + 31 55 599 9321 Fax: F: + 31 55 599 9201 Mobile: M: +31 6 2952 8600 E-mail: leo.arnts at getronics.com http://www.getronicspinkroccade.nl Getronics PinkRoccade BV, Handelsregister 34.115.845 Amsterdam The information transmitted is intended only for use by the addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Oct 8 20:52:26 2007 From: marc at ena.com (Marc Powell) Date: Mon, 8 Oct 2007 13:52:26 -0500 Subject: check_icmp In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Edwin Zoeller > Sent: Monday, October 08, 2007 1:10 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_icmp > > That got it to run as Nagios. Here is the next message: > > Form command line as nagios user: > OK - fwCOLO1: rta 0.052ms, lost 0%|rta-0.052ms;200.000;500.000;0; > pl-0%;40;80;; > > >From within Nagios: > CRITICAL-208.250.29.6: rta nan, lost 100% Try running the test _exactly_ as you've told nagios to run the plugin. It appears your test is different. Since you're asking me to guess, I'd say that fwCOLO1 != 208.250.29.6 and that 208.250.29.6 isn't pingable. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From szhang at 8x8.com Mon Oct 8 21:29:57 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Mon, 8 Oct 2007 12:29:57 -0700 Subject: escalation Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Oct 8 21:33:37 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 08 Oct 2007 20:33:37 +0100 Subject: [Fwd: Re: [Nagios-users] Nagios 3.0b4 crashing] Message-ID: <470A8611.3070902@mailnetwork.co.uk> Sorry, due to an error on my mail server, this didn't get through first time round. Hi, Found the cause of this: the pre-flight check isn't working correctly (see output below) which caused the confusion (the errors were off-screen in my terminal window, and I mistakenly trusted the "Total Warnings: 0, Total Errors: 0" bit!! I've copied in nagios-devel to report this (also confirmed the same with today's CVS build.) Note that the servicegroup "Server_Info" does *not* exist (I mistakenly removed it a few days ago), so the pre-flight check should report it as an error, but it doesn't. Nagios 3.0b4 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 09-27-2007 License: GPL Reading configuration data... Error: Could not find any servicegroup matching 'Server_Info' (config file '/usr /local/nagios.test/etc/services/system-uptime.cfg', starting on line 1) Error: Could not find any servicegroup matching 'Server_Info' (config file '/usr /local/nagios.test/etc/services/system-processes.cfg', starting on line 1) Error: Could not find any servicegroup matching 'Server_Info' (config file '/usr /local/nagios.test/etc/services/system-name.cfg', starting on line 1) Error: Could not find any servicegroup matching 'Server_Info' (config file '/usr /local/nagios.test/etc/services/system-location.cfg', starting on line 1) Error: Could not find any servicegroup matching 'Server_Info' (config file '/usr /local/nagios.test/etc/services/system-contact.cfg', starting on line 1) Error: Could not find any servicegroup matching 'Server_Info' (config file '/usr /local/nagios.test/etc/services/snmp-uptime.cfg', starting on line 1) Running pre-flight check on configuration data... Checking services... Checked 7 services. Checking hosts... Checked 1 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 1 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service 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 4 commands. Checking time periods... Checked 1 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check Thanks, Andy Andreas Ericsson wrote: > Please don't top-post. > > andy.shellam-lists at mailnetwork.co.uk wrote: >> Thanks, >> >> According to the 3.0 documentation, you don't need to re-compile >> Nagios to >> get the debug symbols - is this right? >> > > No. See below. > >> "Debugging information can now be written to a separate debug file, >> which >> is automatically rotated when it reaches a user-defined size. This >> should >> make debugging problems much easier, as you don't need to recompiled >> Nagios." >> > > This is about debugging symbols which reside inside the executable > binary, > not about debugging output generated by the program itself. > > Debugging symbols and debug output is not even remotely the same. > > >> I've enabled the "allow Nagios to create core dumps" option (can't >> remember >> what it's called atm), and the notes for that directive do say that even >> with that option enabled, Nagios may not create a core dump, which it >> doesn't. >> > > It's supposed to. Perhaps you meant "disabled the ..." ? > >> I'll try strace/ktrace, but how do you get Nagios to run in the >> foreground, >> as soon as you start it with "-d" it goes to the background anyway? > > Start it without -d, or use "strace -f", although you'll still have to > send > the backtrace of your resulting core-dump to the nagios-devel@ mailing > list > if you want any help solving the problem, unless a recent CVS snapshot > does > the trick for you. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ From szhang at 8x8.com Mon Oct 8 22:05:13 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Mon, 8 Oct 2007 13:05:13 -0700 Subject: escalation In-Reply-To: References: Message-ID: An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Oct 8 23:13:21 2007 From: td3201 at gmail.com (Terry) Date: Mon, 8 Oct 2007 16:13:21 -0500 Subject: notify contact only once In-Reply-To: <47068BBD.5030705@aidananderson.co.uk> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> <47068BBD.5030705@aidananderson.co.uk> Message-ID: <8ee061010710081413p10bc4a8eq5f9cc1f09f17b948@mail.gmail.com> On 10/5/07, Aidan Anderson wrote: > Terry wrote: > > Thanks for the reply. Let me be more specific: > > > > version: 2.9 > > OS: centos 5 > > > > I have regular contacts set up, me for example. I want to get > > notified every 30 minutes indefinitely if a service is in a hard state > > of warning or critical. However, I want another contact to only get > > notified one time when that hard state is achieved. That's it. > > >From what I can tell, I can only achieve this through the > > notification_interval which is only set at the host/service level, not > > the contact level. If this is true, I will need to create 2 services, > > each with a different notification_interval and of course apply the > > different contact groups to each service. Am I correct or is there > > another way around this? > > > > Thanks! > > > > On 10/5/07, Aidan Anderson wrote: > > > >> Terry wrote: > >> > >>> I have a contact that I only want to receive one notification. How > >>> can I set this up? > >>> > >>> > >>> > Hi Terry, > > I've just posted you another message before seeing this one. You want > to use host or service escalations to achieve this. I've briefly > explained in the previous post but if you need more help, just shout. > > Aidan > Thanks for your reply. It looks like for me to achieve this, I will need to create 2 escalations for every service. One for the single notification and the other for standard notifications. That seems like a lot of configuration. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Tue Oct 9 04:55:04 2007 From: alexus at gmail.com (alexus) Date: Mon, 8 Oct 2007 22:55:04 -0400 Subject: check_http Message-ID: <6ae50c2d0710081955k5dab03e4k2bcda11e32896992@mail.gmail.com> how can i create a command/template using check_http and as paramert1 pass virtual host (website address) sounds too easy? here is the "big" problem... i want to be able to check several websites that resides on 1 IP, so i'm going be using same template,check_command to query mulitple virtualhosts, last time when i've tried using that (unless i did something wrong) nagios didnt like me using multiple entrys... any suggestions/tricks/workaround are very welcome thanks -- http://alexus.org/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajcooper80 at googlemail.com Tue Oct 9 09:29:34 2007 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Tue, 09 Oct 2007 08:29:34 +0100 Subject: Availability reports & Retrospective Scheduled Downtime In-Reply-To: References: <214d2a610708261426h25bd24c9qf6b8e7697d1c8957@mail.gmail.com> Message-ID: <470B2DDE.5090407@googlemail.com> Hi there, Is there anyway to retrospectively add in scheduled downtime so that the downtime does not appear as unscheduled in the availability report in Nagios 2.9? At present, if I add downtime after the outage (e.g. if it turns that an outage was due to a customer doing maintanence rather than a fault in our service) it doesn't change the report, it still appears as unscheduled downtime. Kind Regards, Alan -- Alan Cooper Lumison T: 0131 514 4033 F: 0845 119 9901 PS. Do you know that we have opened a new datacentre in Croydon? Click https://www.lumison.net/services/pdfs/colo_croydon.pdf or give me a call if you want to know more. -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison, nplusone or lightershade ltd. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison, nplusone and lightershade ltd accepts no liability for any damage caused by any virus transmitted by this email. -- -- Virus scanned by Lumison. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hindrek.murdsalu at tallink.ee Tue Oct 9 09:33:31 2007 From: hindrek.murdsalu at tallink.ee (hindrek murdsalu) Date: Tue, 9 Oct 2007 10:33:31 +0300 Subject: escalation In-Reply-To: References: Message-ID: <9BC17A07F06EFA4A8C6CB304127DA4100196CF@mail1.tallink.ee> First, you don't really want to add r to escalation_options as you only want it to escalate when the status is critical, not when it's critical and recovery. Second, it doesn't make much sense as an "escalation" as the notification interval is supposed to increase when you define your escalation, you do exactly the opposite, although it probably is not the cause, you could add a bigger notification_interval to service than to service escalation. (forgot to change the "To..." address to Nagios-user, now the original poster gets 2 mails, but oh well) ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Siwei Zhang Sent: 8. oktoober 2007. a. 22:30 To: nagios-users Subject: [Nagios-users] escalation Hi there, I am trying to configure the escalation but never received the escalation email. What might be wrong? The followings are my configurations. Thanks. Kevin SZ define service{ use generic-service hostgroup_name xxxx host_name yyyy service_description check-host-alive check_command check-host-alive is_volatile 0 check_period 24x7 max_check_attempts 1 contact_groups g1,g2 normal_check_interval 5 retry_check_interval 5 process_perf_data 1 notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 } define serviceescalation{ host_name yyyy service_description check-host-alive contact_groups g1,g2 first_notification 2 last_notification 0 notification_interval 300 escalation_options c,r } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cem.Keles at eu.sony.com Tue Oct 9 09:56:56 2007 From: Cem.Keles at eu.sony.com (Keles, Cem) Date: Tue, 9 Oct 2007 08:56:56 +0100 Subject: nagios script quits with unknown error Message-ID: <950B519365940B41B1C8EAA67DF9DFB504B6C643@GBISE0BASMSX01.eu.sony.com> Hi, I use Nagios 2.9. I have a vbscript running on windows servers that checks the cpu usage and outputs with performance data. Here is the output of script when executed on command prompt. Processor Time=41% |PerProc=41;60;90;0;100 The last lines of script are like this: If PercentProcessorTime > warnperc Then if PercentProcessorTime > critperc Then Wscript.Quit(2) 'Quit with critical Else Wscript.Quit(1) 'Quit with warning End If End If Wscript.Quit(0) 'Quit with OK So the script quits with warning or critical if those criterias in if statements are met and sure it should at least quit with ok. But most of the time I get these notifications from nagios. ------------------------------------------------------------------ ***** Nagios ***** Notification Type: PROBLEM Service: CPU load Host: hostname Address: xx.xx.xx.xx State: UNKNOWN Date/Time: Tue Oct 9 09:25:10 CEST 2007 Additional Info: Processor Time=52% ------------------------------------------------------------------- You see the output is ok, that it gives Processor Time=52%. My question is: Why do you think nagios gives unknown even script executes well? Any help will be greatly appreciated. KR, Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony?s global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hindrek.murdsalu at tallink.ee Tue Oct 9 10:24:33 2007 From: hindrek.murdsalu at tallink.ee (hindrek murdsalu) Date: Tue, 9 Oct 2007 11:24:33 +0300 Subject: nagios script quits with unknown error In-Reply-To: <950B519365940B41B1C8EAA67DF9DFB504B6C643@GBISE0BASMSX01.eu.sony.com> References: <950B519365940B41B1C8EAA67DF9DFB504B6C643@GBISE0BASMSX01.eu.sony.com> Message-ID: <9BC17A07F06EFA4A8C6CB304127DA4100196D8@mail1.tallink.ee> Are you using the appropriate return codes? Const intCritical = 2 Const intWarning = 1 Const intOK = 0 Const intUnknown = 3 ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: 9. oktoober 2007. a. 10:57 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios script quits with unknown error Hi, I use Nagios 2.9. I have a vbscript running on windows servers that checks the cpu usage and outputs with performance data. Here is the output of script when executed on command prompt. Processor Time=41% |PerProc=41;60;90;0;100 The last lines of script are like this: If PercentProcessorTime > warnperc Then if PercentProcessorTime > critperc Then Wscript.Quit(2) 'Quit with critical Else Wscript.Quit(1) 'Quit with warning End If End If Wscript.Quit(0) 'Quit with OK So the script quits with warning or critical if those criterias in if statements are met and sure it should at least quit with ok. But most of the time I get these notifications from nagios. ------------------------------------------------------------------ ***** Nagios ***** Notification Type: PROBLEM Service: CPU load Host: hostname Address: xx.xx.xx.xx State: UNKNOWN Date/Time: Tue Oct 9 09:25:10 CEST 2007 Additional Info: Processor Time=52% ------------------------------------------------------------------- You see the output is ok, that it gives Processor Time=52%. My question is: Why do you think nagios gives unknown even script executes well? Any help will be greatly appreciated. KR, Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Tue Oct 9 11:43:32 2007 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 9 Oct 2007 10:43:32 +0100 Subject: New Nagios Plugins website Message-ID: <2C7338A0-7270-4054-A9F3-7F73178F9F73@altinity.com> Hi! Just to let you all know that a new website for the Nagios Plugins project has just been launched: http://nagiosplugins.org We'll be using this as a way of keeping you all up to date on the latest information about the plugins. But it is your site too. We've enabled comments so you can add your information to various pages. We're especially looking forward to some innovative ways you use the plugins. See you at the site! Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cem.Keles at eu.sony.com Tue Oct 9 11:46:59 2007 From: Cem.Keles at eu.sony.com (Keles, Cem) Date: Tue, 9 Oct 2007 10:46:59 +0100 Subject: nagios script quits with unknown error In-Reply-To: <9BC17A07F06EFA4A8C6CB304127DA4100196D8@mail1.tallink.ee> References: <950B519365940B41B1C8EAA67DF9DFB504B6C643@GBISE0BASMSX01.eu.sony.com> <9BC17A07F06EFA4A8C6CB304127DA4100196D8@mail1.tallink.ee> Message-ID: <950B519365940B41B1C8EAA67DF9DFB504B6C8B9@GBISE0BASMSX01.eu.sony.com> Hi again, Sorry about not writing these in the previous email. Yes, the values are correct in script. KR, Cem ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of hindrek murdsalu Sent: Tuesday, October 09, 2007 11:25 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios script quits with unknown error Are you using the appropriate return codes? Const intCritical = 2 Const intWarning = 1 Const intOK = 0 Const intUnknown = 3 ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: 9. oktoober 2007. a. 10:57 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios script quits with unknown error Hi, I use Nagios 2.9. I have a vbscript running on windows servers that checks the cpu usage and outputs with performance data. Here is the output of script when executed on command prompt. Processor Time=41% |PerProc=41;60;90;0;100 The last lines of script are like this: If PercentProcessorTime > warnperc Then if PercentProcessorTime > critperc Then Wscript.Quit(2) 'Quit with critical Else Wscript.Quit(1) 'Quit with warning End If End If Wscript.Quit(0) 'Quit with OK So the script quits with warning or critical if those criterias in if statements are met and sure it should at least quit with ok. But most of the time I get these notifications from nagios. ------------------------------------------------------------------ ***** Nagios ***** Notification Type: PROBLEM Service: CPU load Host: hostname Address: xx.xx.xx.xx State: UNKNOWN Date/Time: Tue Oct 9 09:25:10 CEST 2007 Additional Info: Processor Time=52% ------------------------------------------------------------------- You see the output is ok, that it gives Processor Time=52%. My question is: Why do you think nagios gives unknown even script executes well? Any help will be greatly appreciated. KR, Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony?s global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Tue Oct 9 12:47:53 2007 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 9 Oct 2007 11:47:53 +0100 Subject: New Nagios Plugins website In-Reply-To: <6546343904687E41B19D8E5A26AB9F5301831B88@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F5301831B88@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <6A613FFA-8CF6-4A14-8A1B-29DD35AFBC92@altinity.com> Thanks Tom, We were thinking that the --help pages are different from the man pages. For instance, dpkg --help or rpm --help gives a list of options, whereas man dpkg or man rpm gives more commentary and examples. However, that requires more work. If --help on the site is sufficient, we could setup a job that takes the latest code and populate the web site with it. Ton On 9 Oct 2007, at 10:54, wrote: > Hi Ton, > > I notice you have a Manuals page with the help files for each > plugin. I > went and collected a whole bunch off stuff recently. I have > attached a > MS word doc with what I have. Hope this doc saves you or some others > some work > > Regards > > Tom > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ton > Voon > Sent: 09 October 2007 10:44 > To: Nagios Users mailinglist; nagiosplug-help at lists.sourceforge.net > Subject: [Nagios-users] New Nagios Plugins website > > Hi! > > Just to let you all know that a new website for the Nagios Plugins > project has just been launched: http://nagiosplugins.org > > We'll be using this as a way of keeping you all up to date on the > latest > information about the plugins. > > But it is your site too. We've enabled comments so you can add your > information to various pages. We're especially looking forward to some > innovative ways you use the plugins. > http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh-5Ybtn9MHkAA at public.gmane.org Tue Oct 9 11:54:01 2007 From: tom.welsh-5Ybtn9MHkAA at public.gmane.org (tom.welsh-5Ybtn9MHkAA at public.gmane.org) Date: Tue, 9 Oct 2007 10:54:01 +0100 Subject: [Nagios-users] New Nagios Plugins website In-Reply-To: <2C7338A0-7270-4054-A9F3-7F73178F9F73-YB/V9g5PFTJWk0Htik3J/w@public.gmane.org> References: <2C7338A0-7270-4054-A9F3-7F73178F9F73@altinity.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5301831B88@E03MVB2-UKBR.domain1.systemhost.net> Hi Ton, I notice you have a Manuals page with the help files for each plugin. I went and collected a whole bunch off stuff recently. I have attached a MS word doc with what I have. Hope this doc saves you or some others some work Regards Tom -----Original Message----- From: nagios-users-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org [mailto:nagios-users-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org] On Behalf Of Ton Voon Sent: 09 October 2007 10:44 To: Nagios Users mailinglist; nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: [Nagios-users] New Nagios Plugins website Hi! Just to let you all know that a new website for the Nagios Plugins project has just been launched: http://nagiosplugins.org We'll be using this as a way of keeping you all up to date on the latest information about the plugins. But it is your site too. We've enabled comments so you can add your information to various pages. We're especially looking forward to some innovative ways you use the plugins. See you at the site! Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: Nagios Plug-ins.doc Type: application/msword Size: 371200 bytes Desc: Nagios Plug-ins.doc URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From step at tdc.dk Tue Oct 9 13:33:03 2007 From: step at tdc.dk (Steffen Poulsen) Date: Tue, 9 Oct 2007 13:33:03 +0200 Subject: NDOUtils 1.4b6 with 3.0b5 - nebmodule_init() in module '/usr/local/nagios/bin/ndomod-3x.o' returned an error In-Reply-To: <470A8611.3070902@mailnetwork.co.uk> References: <470A8611.3070902@mailnetwork.co.uk> Message-ID: Hi, Today we have investigated the new beta (thanks!) and decided to try on NDOUtils at the same time. We assume that the error we get is because NDOUtils is not yet compatible with 3.0b5? It seems the errormessage is not very descriptive in what the error is, perhaps this could be extended if possible. This is at Solaris 10 / gcc-compiler. Best regards, Steffen Poulsen --- [1191929240] Caught SIGHUP, restarting... [1191929241] Warning: comment_file variable ignored. Comments are now stored in the status and retention files. [1191929241] Warning: downtime_file variable ignored. Downtime entries are now stored in the status and retention files. [1191929241] Warning: aggregate_status_updates directive ignored. All status file updates are now aggregated. [1191929241] Nagios 3.0b5 starting... (PID=17023) [1191929241] LOG VERSION: 2.0 [1191929241] ndomod: NDOMOD 1.4b6 (09-27-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1191929241] Error: Function nebmodule_init() in module '/usr/local/nagios/bin/ndomod-3x.o' returned an error. Module will be unloaded. [1191929241] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' deinitialized successfully. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ From ojan at expertise-online.net Tue Oct 9 13:58:21 2007 From: ojan at expertise-online.net (Olivier JAN) Date: Tue, 09 Oct 2007 13:58:21 +0200 Subject: french nagios site Message-ID: <20071009135821.tbauspja8k8wgkg8@intra.expertise-online.net> Hi! Information in english : Like the nagios plugin team and his new website, the french speaking nagios community has also a new website on http://nagios-fr.org. Here you'll find at the moment news and technical reference about nagios in french. You can meet me at the nagios konferenz about questions on this project. Information in french : J'ai d?marr? un nouveau site autour de Nagios et de la supervision sur http://nagios-fr.org et j'esp?re qu'il deviendra le rendez-vous de la communaut? francophone nagios. Vous y trouverez pour l'instant un blog que je maintiens et un wiki. Ce domaine esp?rant devenir le v?tre, vous pouvez vous enregistrer et poster des commentaires dans le blog ainsi que ajouter,modifier des articles dans le wiki. Ceux qui souhaiterait prendre un r?le dans la tenue de nagios-fr.org de fa?on plus formelle peuvent me contacter par le formulaire de contact du site. Vous pouvez aussi me rencontrer lors de la Nagios Konferenz ? laquelle j'assisterai cette semaine. A bient?t sur nagios-fr.org See you soon on nagios-fr.org Olivier Jan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 9 14:40:06 2007 From: marc at ena.com (Marc Powell) Date: Tue, 9 Oct 2007 07:40:06 -0500 Subject: check_http In-Reply-To: <6ae50c2d0710081955k5dab03e4k2bcda11e32896992@mail.gmail.com> References: <6ae50c2d0710081955k5dab03e4k2bcda11e32896992@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of alexus > Sent: Monday, October 08, 2007 9:55 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http > > how can i create a command/template using check_http and as paramert1 > pass virtual host (website address) > > sounds too easy? Yes ;) > here is the "big" problem... > > i want to be able to check several websites that resides on 1 IP, so > i'm going be using same template,check_command to query multiple Not so much of a problem. You'll want to use the -I and -H parameters to check_http and pass the hostname from the service definition as an argument -- define command{ command_name http_vhost Command_line $USER1$/check_http -I $HOSTADDRESS$ -H $ARG1$ } define host{ host_name web_server address 192.168.1.2 ... } define service{ host_name webserver service_description web site 1 check_command http_vhost!www.site1.example ... } define service{ define service{ host_name webserver service_description web site 2 check_command http_vhost!www.site2.example ... } -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yhasabnis at gmail.com Tue Oct 9 15:10:15 2007 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Tue, 9 Oct 2007 18:40:15 +0530 Subject: Plugins for health-check of IBM servers In-Reply-To: <00f101c809a3$66d910c0$0202fea9@int.consol.de> References: <00f101c809a3$66d910c0$0202fea9@int.consol.de> Message-ID: Thanks for the help. I am in the process of configuring the check_ipmi_chassis plugin. In my earlier email I mentioned that I use the check_cciss plugin for health-check of HP servers (by mistake). Actually the plugin used is check_hpasm. Regards Yogesh On 10/8/07, Gerhard Lausser wrote: > > Have a look at the numerous check_ipmi[tool] plugins or google for > "nagios ipmitool". > > Gerhard > > ------------------------------ > *Von:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *Im Auftrag von *Yogesh > Hasabnis > *Gesendet:* Montag, 8. Oktober 2007 14:02 > *An:* nagios-users at lists.sourceforge.net > *Betreff:* [Nagios-users] Plugins for health-check of IBM servers > > Hi, > > I have been using check_cciss plugin for monitoring the health of our HP > Proliant server. Would like to know about a similar plugin for monitoring > IBM X-series servers. > > Thanks in advance. > > Yogesh > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martine.Carannante at bull.net Tue Oct 9 15:19:27 2007 From: Martine.Carannante at bull.net (Martine Carannante) Date: Tue, 09 Oct 2007 15:19:27 +0200 Subject: Comments between versions 2 and 3 of Nagios Message-ID: <470B7FDF.1030302@bull.net> If we update a nagios 2 version into a nagios3.0b4, the comments set on hosts and services are lost. In nagios 2, the comments are saved in a file comments.dat . In nagios 3, the comments are saved in status.dat. Is there a script to keep comments between versions 2 and 3 of Nagios Thanks for your help Martine -- Martine Carannante System Software Development R&D Bull, Architect of an Open World TM T?l : (+33) 1 30 80 71 87 http://www.bull.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tarak.Patel at ec.gc.ca Tue Oct 9 15:32:07 2007 From: Tarak.Patel at ec.gc.ca (Tarak Patel) Date: Tue, 09 Oct 2007 13:32:07 +0000 Subject: Nagios and cluster setup...few questions Message-ID: <470B82D7.8090001@ec.gc.ca> Hi all, Here is a quick background of my current setup for monitoring: I have an in-house tool monitoring clusters. The tool simply uses ssh to launch perl scripts on remote machines and grab all of the output to stores it on a central location in a logfile. This output is parsed and for any pre-defined tags (WARNING/CRITICAL/ERROR). If any of these tags are noticed the message is logged using syslog. The scripts residing on remote hosts is a collection of perl functions. Each one is executed one after another. Some of these functions utilize a status file from previous run to verify if state of items changed from last time. Some of these functions can be given a special argument to set the current state as default state for next iteration of checks. Cluster are monitored from the head nodes since not all nodes are accessible from central location. Head node checks contain a special function that simply use DSH to launch checks on all nodes. After looking at nagios and its check_cluster plugins I realized I would really like to monitor each of the nodes individually since I want to be able to disable a particular check on a particular node. Also I want to be able to use status files for some of the checks. As of now I have yet to find any plugin that utilizes a status file to monitor hosts. All plugin simply use current output from commands to verify the status. I will be using active checks on the clusters therefore I will configure nrpe on all nodes. My plan of attack was to simply use head node as a gateway and all nodes and services to be defined on the head node (under nrpe). From central location I can simply execute a check_nrpe type script to verify backend nodes. I still haven't figured out how I can use status files from each iteration of checks to validate status. I'd appreciate some inputs as to what are the best options in monitoring clusters where backend nodes are hidden from the central monitoring server. Also some help with use of state files. Thanks all, TP. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.weaver at bbc.co.uk Tue Oct 9 15:49:27 2007 From: paul.weaver at bbc.co.uk (Paul Weaver) Date: Tue, 9 Oct 2007 14:49:27 +0100 Subject: Nagios and cluster setup...few questions In-Reply-To: <470B82D7.8090001@ec.gc.ca> References: <470B82D7.8090001@ec.gc.ca> Message-ID: Lacking the time and knowledge to understand monitoring clusters, I concocted a home brew web page that has the concept of a virtual service, and virtual service groups. It's all configured in an XML file. I have a virtual service called "clipcache 01", one called "clipcache 02", and so on. Easch service has two checks pulled from the nagios status file, using hostname and service description. If both are OK, then the virtual service is ok, otherwise it's critical. I then have a group called "Clipcaches", which looks at the number of virtual services, and is critical if none ar running, warning if 1 is running, or OK if 3 or more are running. A group called "live system" monitors the clipcaches group, amongst others, and exports it's status back up. It also looks for shceduled downtime and acknowlegments. Another group that's a member of "live system" is "midtier", which consists of checks of virtual service "Main midtier" (which monitors a certain process on one of 3 machines, must be on one, and one only, to be OK), "Search instance", which is OK if 2 instances are found on one of 4 machines, warning if 1, and critical if 0, and a few other checks. The program then displays this as a tree on a webpage, expanding branches with problems, it gives a quick comforting overview of the whole system, while nagios' "Service Problems" page gives a list of things to fix (which might not be of immediate importance to the overall health of the system, but need fixing anyway) It does it using Perl's "Nagios::StatusLog" module. No idea how well it scales, and I'm sure there's a better way of doing it. It's definatly a work in progress, and has made me think a lot more about defining system health. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News Work: 020 822 58109 Room 1244 Television Centre, Wood Lane, London, W12 7RJ > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Tarak Patel > Sent: 09 October 2007 14:32 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios and cluster setup...few questions > > > Hi all, > > Here is a quick background of my current setup for monitoring: > > I have an in-house tool monitoring clusters. The tool simply > uses ssh to > launch perl scripts on remote machines and grab all of the output to > stores it on a central location in a logfile. This output is > parsed and > for any pre-defined tags (WARNING/CRITICAL/ERROR). If any of > these tags > are noticed the message is logged using syslog. The scripts > residing on > remote hosts is a collection of perl functions. Each one is > executed one > after another. Some of these functions utilize a status file from > previous run to verify if state of items changed from last > time. Some of > these functions can be given a special argument to set the > current state > as default state for next iteration of checks. > > Cluster are monitored from the head nodes since not all nodes are > accessible from central location. Head node checks contain a special > function that simply use DSH to launch checks on all nodes. > > After looking at nagios and its check_cluster plugins I > realized I would > really like to monitor each of the nodes individually since I > want to be > able to disable a particular check on a particular node. Also > I want to > be able to use status files for some of the checks. As of now > I have yet > to find any plugin that utilizes a status file to monitor hosts. All > plugin simply use current output from commands to verify the status. > > I will be using active checks on the clusters therefore I > will configure > nrpe on all nodes. My plan of attack was to simply use head node as a > gateway and all nodes and services to be defined on the head node > (under nrpe). From central location I can simply execute a check_nrpe > type script to verify backend nodes. > > I still haven't figured out how I can use status files from each > iteration of checks to validate status. I'd appreciate some > inputs as to > what are the best options in monitoring clusters where > backend nodes are > hidden from the central monitoring server. Also some help with use of > state files. > > Thanks all, > > TP. > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and > a browser. Download your FREE copy of Splunk now >> > http://get.splunk.com/ _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Tue Oct 9 16:12:22 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Tue, 9 Oct 2007 09:12:22 -0500 Subject: Nagios slow restarting/reloading possible NDOUtils issue? In-Reply-To: References: <6ae50c2d0710081955k5dab03e4k2bcda11e32896992@mail.gmail.com> Message-ID: I have gone over the documents again this morning and don't think I missed anything. Here is all the relevant information I can think of as well: OS: SLES 9.3 Nagios: 2.9 Plugins: 1.4.10 NRPE: 2.9 NDOUtils: 1.4.9 Addons: NagiosQL, NagVis This system is in the testing phase at this time so I can do anything that needs to be done. When I reload nagios (/etc/init.d/nagios reload) it takes upwards of a full minute to bring everything back up for viewing. In the meantime a message is displayed concerning the status of the nagios daemon: Error: Could not read host and service status information! This goes away in between 90 second and two minutes and everything begins to function normally and the system goes on that way until the next time I have to reload the configuration. The suggestion on this page are: 1. Check the Nagios log file for messages relating to startup or status data errors. [1191938804] Caught SIGHUP, restarting... [1191938804] ndomod: Shutdown complete. [1191938804] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully. [1191938804] Nagios 2.9 starting... (PID=22953) [1191938804] LOG VERSION: 2.0 [1191938804] ndomod: NDOMOD 1.4b6 (09-27-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1191938804] ndomod: Successfully connected to data sink. 0 queued items to flush. [1191938804] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. [1191938804] Warning: Contact group 'infrasyalerts' is not used in any host/service definitions or host/service esc alations! [1191938804] Warning: Contact group 'notesadmins' is not used in any host/service definitions or host/service escal ations! [1191938804] Warning: Host performance file processing command 'process-host-perfdata-file' was not found - host pe rformance data file will not be processed! [1191938804] Warning: Service performance file processing command 'process-service-perfdata-file' was not found - s ervice performance data file will not be processed! 2. Always verify configuration options using the -v command-line option before starting or restarting Nagios! Done and nagios is actually running 3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems. This is where I suspect the issue might be hiding. I am using NDOUtils and did not compile nagios is any special manner. I suspect, if this is actually an error, that it is somewhere in the text files vs. DB issue. I could be insane and this just could be how long it takes nagios to HUP when using NDOUtils. No matter the issue I suspect this list is where I will find my answer. Thanks in advance for everyone's time. Best Regards, Mark L. Potter Systems Engineer Academy Sports & Outdoors -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 9 16:47:27 2007 From: marc at ena.com (Marc Powell) Date: Tue, 9 Oct 2007 09:47:27 -0500 Subject: Nagios slow restarting/reloading possible NDOUtilsissue? In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of mark.potter at academy.com > Sent: Tuesday, October 09, 2007 9:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios slow restarting/reloading possible > NDOUtilsissue? > When I reload nagios (/etc/init.d/nagios reload) it takes upwards of a > full minute to bring everything back up for viewing. In the meantime a > message is displayed concerning the status of the nagios daemon: > > Error: Could not read host and service status information! > > This goes away in between 90 second and two minutes and everything begins > to function normally and the system goes on that way until the next time I > have to reload the configuration. Nagios would appear to be doing other things like reading config files, parsing associations, etc, before writing the cache file read by the cgi's. How large is the file pointed to by object_cache_file when everything is working? Does it exist during the non-working window? Do you have retention enabled? It may help if you do not. > 2. Always verify configuration options using the -v command-line option > before starting or restarting Nagios! > > Done and nagios is actually running What is that output? > 3. Make sure you've compiled the main program and the CGIs to use the same > status data storage options (i.e. text file or database). If the main > program is storing status data in a text file and the CGIs are trying to > read status data from a database, you'll have problems. > > This is where I suspect the issue might be hiding. I am using NDOUtils and Actually, this is a holdover from the days of nagios-1 when database support could be integrated directly into the nagios core if compiled that way. It is very different than the current ndomod support. The main program and the CGI's always use the same data storage options with 2.x+ (text file). In any event, your logs show your ndo module successfully connecting to the database immediately after restart. If you have lots of hosts/services (10's of thousands) or complex relationships between them, then that delay is likely normal for 2.x. If not, you really need to determine what nagios is doing during that window. I would recompile nagios with debugging enabled (./configure --enable-DEBUGALL) and run the daemon as a foreground process. If that wasn't interesting, I'd resort to strace to see what the process was doing at a system level. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.F.Wheeler at rl.ac.uk Tue Oct 9 17:24:15 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 9 Oct 2007 16:24:15 +0100 Subject: Timeouts for send_nsca program Message-ID: In /var/log/nagios/nagios.log on (at least) one of my slave servers, I am seeing messages like: [1191905959] Warning: OCSP command '/usr/lib/nagios/plugins/tier1/submit_check_result.sh "HOST" "SERVICE_CHECK" OK "MESSAGE" for service "SERVICE NAME" on host "HOST" timed out after 5 seconds There have been 712 occurrences today (so far). Can anyone offer an explanation ? As far as I can tell there is no configuration to increase the timeout limit (can it be increased by installing from source ?), but perhaps the message indicates another problem (network ?) Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Oct 9 17:46:53 2007 From: td3201 at gmail.com (Terry) Date: Tue, 9 Oct 2007 10:46:53 -0500 Subject: notify contact only once In-Reply-To: <8ee061010710081413p10bc4a8eq5f9cc1f09f17b948@mail.gmail.com> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> <47068BBD.5030705@aidananderson.co.uk> <8ee061010710081413p10bc4a8eq5f9cc1f09f17b948@mail.gmail.com> Message-ID: <8ee061010710090846j653d53d8l1bc8ccd5bb9adcb7@mail.gmail.com> On 10/8/07, Terry wrote: > On 10/5/07, Aidan Anderson wrote: > > Terry wrote: > > > Thanks for the reply. Let me be more specific: > > > > > > version: 2.9 > > > OS: centos 5 > > > > > > I have regular contacts set up, me for example. I want to get > > > notified every 30 minutes indefinitely if a service is in a hard state > > > of warning or critical. However, I want another contact to only get > > > notified one time when that hard state is achieved. That's it. > > > >From what I can tell, I can only achieve this through the > > > notification_interval which is only set at the host/service level, not > > > the contact level. If this is true, I will need to create 2 services, > > > each with a different notification_interval and of course apply the > > > different contact groups to each service. Am I correct or is there > > > another way around this? > > > > > > Thanks! > > > > > > On 10/5/07, Aidan Anderson wrote: > > > > > >> Terry wrote: > > >> > > >>> I have a contact that I only want to receive one notification. How > > >>> can I set this up? > > >>> > > >>> > > >>> > > Hi Terry, > > > > I've just posted you another message before seeing this one. You want > > to use host or service escalations to achieve this. I've briefly > > explained in the previous post but if you need more help, just shout. > > > > Aidan > > > > Thanks for your reply. It looks like for me to achieve this, I will > need to create 2 escalations for every service. One for the single > notification and the other for standard notifications. That seems > like a lot of configuration. > Anyone have any additional thoughts on this? I am considering writing a custom email handler that looks for the first notification and handles it appropriately. That way I don't have to have an escalation for every single service. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 9 17:48:51 2007 From: marc at ena.com (Marc Powell) Date: Tue, 9 Oct 2007 10:48:51 -0500 Subject: Timeouts for send_nsca program In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Wheeler, JF (Jonathan) > Sent: Tuesday, October 09, 2007 10:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Timeouts for send_nsca program > > In /var/log/nagios/nagios.log on (at least) one of my slave servers, I > am seeing messages like: > > [1191905959] Warning: OCSP command > '/usr/lib/nagios/plugins/tier1/submit_check_result.sh "HOST" > "SERVICE_CHECK" OK "MESSAGE" for service "SERVICE NAME" on host "HOST" > timed out after 5 seconds > > There have been 712 occurrences today (so far). Can anyone offer an > explanation ? Something is causing a delay when your submit_check_result.sh script presumably attempts to use send_nsca to send a small bit of data to another host. Can you replicate it from the command line? You should be able to. > As far as I can tell there is no configuration to > increase the timeout limit (can it be increased by installing from ocsp_timeout in nagios.cfg. > source ?), but perhaps the message indicates another problem (network ?) Probably. If it's close to the documented submit_check_result, it's sending only a small bit of data and should only take a fraction of a second. I can use it to send data to two hosts in 0.011s. Maybe network problems or load on either end are causing a delay in the data transmission. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 9 17:52:51 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 9 Oct 2007 11:52:51 -0400 Subject: Timeouts for send_nsca program In-Reply-To: References: Message-ID: Make sure NSCA is still accepting the results from send_nsca. to do this send over a result from the command line. reviewing your submit_check_result.sh should give you the connection details of the destination nsca, and the send_nsca --help should assist with the commanad line, This is assuming that it used to work, and would only detect that it is currently broken. but not why it broke nor how to fix it. if it is intermittent, you can trial and error to find a good Timeout value using the command line. other people would be better at diagnosing the cause of the issue. Tony (author of NC_Net) On 10/9/07, Wheeler, JF (Jonathan) wrote: > In /var/log/nagios/nagios.log on (at least) one of my slave servers, I > am seeing messages like: > > [1191905959] Warning: OCSP command > '/usr/lib/nagios/plugins/tier1/submit_check_result.sh "HOST" > "SERVICE_CHECK" OK "MESSAGE" for service "SERVICE NAME" on host "HOST" > timed out after 5 seconds > > There have been 712 occurrences today (so far). Can anyone offer an > explanation ? As far as I can tell there is no configuration to > increase the timeout limit (can it be increased by installing from > source ?), but perhaps the message indicates another problem (network ?) > > Jonathan Wheeler > e-Science Centre > Rutherford Appleton Laboratory > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Tue Oct 9 18:45:13 2007 From: zkenton at outcome.com (zack kenton) Date: Tue, 9 Oct 2007 18:45:13 +0200 (CEST) Subject: check_qmailq.pl or check_mailq Message-ID: <20071009164513.6BC9B588003@desire.netways.de> Hi list So I apologize for the duplicate posts, not sure why it was happening. However, this will be my last posting if in fact duplicate posts occur. Now to my problem; the standard check_mailq and the check_qmailq (found in the contrib directory of plugins) both run on the local hosts and return mail queue ok, no queued emails, etc...but when running from the nagios machine with nrpe, they both return errors, along the lines of: Error code 111 returned from /usr/bin/mailq or CRITICAL: Keine gueltigte Antwort (Zeile #1) von /var/qmail/bin/qmail-qstat (its a german plugin apparently) but translated means bad answer from line 1 in qmail-qstat...has anyone run into these same problems...and forgive the duplicates ahead of time...I wont post with this email after this - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Tue Oct 9 19:00:50 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Tue, 9 Oct 2007 12:00:50 -0500 (CDT) Subject: check_qmailq.pl or check_mailq In-Reply-To: <20071009164513.6BC9B588003@desire.netways.de> References: <20071009164513.6BC9B588003@desire.netways.de> Message-ID: On Tue, 9 Oct 2007, zack kenton wrote: > So I apologize for the duplicate posts, not sure why it was happening. > However, this will be my last posting if in fact duplicate posts occur. > Now to my problem; the standard check_mailq and the check_qmailq (found > in the contrib directory of plugins) both run on the local hosts and > return mail queue ok, no queued emails, etc...but when running from the > nagios machine with nrpe, they both return errors, along the lines of: > Error code 111 returned from /usr/bin/mailq or CRITICAL: Keine gueltigte > Antwort (Zeile #1) von /var/qmail/bin/qmail-qstat (its a german plugin > apparently) but translated means bad answer from line 1 in > qmail-qstat...has anyone run into these same problems...and forgive the > duplicates ahead of time...I wont post with this email after this I use check_qmailq.pl. I run it with sudo like: command[check_qmailq]=sudo /usr/lib/nagios/plugins/contrib/check_qmailq.pl and my sudoers is setup so my nrpe user can run that specific script. Jeremy C. Reed ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Tue Oct 9 19:49:59 2007 From: zkenton at outcome.com (zack kenton) Date: Tue, 9 Oct 2007 19:49:59 +0200 (CEST) Subject: check_qmailq.pl or check_mailq In-Reply-To: References: Message-ID: <20071009175003.1C4ED588003@desire.netways.de> Hi Jeremy unfortunately that didnt work...i dont think it needs sudo privileges...it still returns OK locally, but nrpe gives a critical...on a side note, did you translate the script out of german? - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=5215 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Oct 9 19:58:56 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 09 Oct 2007 18:58:56 +0100 Subject: Comments between versions 2 and 3 of Nagios In-Reply-To: <470B7FDF.1030302@bull.net> References: <470B7FDF.1030302@bull.net> Message-ID: <470BC160.90702@mailnetwork.co.uk> Hi Martine, This is a known issue between Nagios 2 and 3 - it's also the case for downtime. See the following package for how-to migrate the comments from one system to another: http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios2x I don't know if anyone's written a script for it, but it's a 10-second job to do manually as I did it on my test Nagios 3 system. Andy Martine Carannante wrote: > If we update a nagios 2 version into a nagios3.0b4, the comments set on > hosts and services are lost. > In nagios 2, the comments are saved in a file comments.dat . > In nagios 3, the comments are saved in status.dat. > Is there a script to keep comments between versions 2 and 3 of Nagios > > Thanks for your help > Martine > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.nail at amd.com Tue Oct 9 19:58:29 2007 From: tom.nail at amd.com (Tom Nail) Date: Tue, 09 Oct 2007 12:58:29 -0500 Subject: separate webfront In-Reply-To: <1189459911.6048.2.camel@localhost.localdomain> References: <4E20E7F01BC85746A7A29FDFBFEC988D05A9F7EC@MAIL-STORE-1.pppl.gov> <1189459911.6048.2.camel@localhost.localdomain> Message-ID: <470BC145.1090903@amd.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Donnell Lewis wrote: > Or you could use the distributed monitoring method: > > have a master nagios server (running the web front-end) running at one > locationa and then have another (or multiple) nagios daemons running on > the other boxes that actually check the local machines at that colo and > send passive check results via nsca to the master hosting the frontend. > > -Don You shouldn't even have to be that elaborate, just use an external web server as a proxy (using mod_rewrite and mod_proxy) and restrict things at the external portal (i.e., no commands, namespace exclusions, etc.). Cheers, - -=Tom Nail -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHC8FF1zsLRjt/NQ0RAk/zAJwPzYz6k+VyejM8qvD3+56ToI6w1ACfVnS8 1CS0HfTNcCWwku9Vro28Q/U= =7ArF -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Oct 9 20:01:20 2007 From: marc at ena.com (Marc Powell) Date: Tue, 9 Oct 2007 13:01:20 -0500 Subject: check_qmailq.pl or check_mailq In-Reply-To: <20071009175003.1C4ED588003@desire.netways.de> References: <20071009175003.1C4ED588003@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of zack kenton > Sent: Tuesday, October 09, 2007 12:50 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_qmailq.pl or check_mailq > > Hi Jeremy > > unfortunately that didnt work...i dont think it needs sudo privileges...it > still returns OK locally, but nrpe gives a critical...on a side note, did I'll bet it does. For security reasons, mail queues are not usually readable by normal users, only root and/or the mail user. Are you performing your test as the user that NRPE runs as? I suspect that you're testing as root. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Tue Oct 9 20:31:39 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Tue, 9 Oct 2007 13:31:39 -0500 (CDT) Subject: check_qmailq.pl or check_mailq In-Reply-To: <20071009175003.1C4ED588003@desire.netways.de> References: <20071009175003.1C4ED588003@desire.netways.de> Message-ID: On Tue, 9 Oct 2007, zack kenton wrote: > unfortunately that didnt work...i dont think it needs sudo > privileges...it still returns OK locally, but nrpe gives a critical... See Marc's reply. > on a side note, did you translate the script out of german? Have a look: --- /usr/lib/nagios/plugins/contrib/check_qmailq.pl 2006-12-12 09:03:29.000000000 -0800 +++ check_qmailq.pl 2007-10-09 10:29:18.000000000 -0700 @@ -27,11 +27,11 @@ ### CONFIGURATION SECTION #################### my $statcommand = "/var/qmail/bin/qmail-qstat"; -my $queuewarn = 5; # Warning, if more than x mail in Queue -my $queuecrit = 10; # Critical if "--" -my $prewarn = 1; # Warning, if more than x unhandled mails +my $queuewarn = 20; # Warning, if more than x mail in Queue +my $queuecrit = 30; # Critical if "--" +my $prewarn = 5; # Warning, if more than x unhandled mails # (not in Queue -my $precrit = 5; # Critical, if "--" +my $precrit = 10; # Critical, if "--" ### CONFIURATION SECTION END ################ @@ -56,12 +56,12 @@ #sub usage { # printf "\nMissing arguments!\n"; # printf "\n"; -# printf "Printer Server Queue Nagios Plugin\n"; -# printf "monitors jobs in lpr queues\n"; +# printf "qmail Queue Nagios Plugin\n"; +# printf "monitors qmail queue\n"; # printf "usage: \n"; -# printf "check_lpq.pl \n"; +# printf "check_qmailq.pl \n"; # printf "Copyright (C) 2000 Benjamin Schmid\n"; -# printf "check_lpq.pl comes with ABSOLUTELY NO WARRANTY\n"; +# printf "check_qmailq.pl comes with ABSOLUTELY NO WARRANTY\n"; # printf "This programm is licensed under the terms of the "; # printf "GNU General Public License\n(check source code for details)\n"; # printf "\n\n"; @@ -70,7 +70,7 @@ # Just in case of problems, let's not hang Nagios $SIG{'ALRM'} = sub { - print ("ERROR: check_lpq.pl Time-Out $TIMEOUT s \n"); + print ("ERROR: check_qmailq.pl Time-Out $TIMEOUT s \n"); exit $ERRORS{"UNKNOWN"}; }; alarm($TIMEOUT); @@ -100,18 +100,21 @@ $state='CRITICAL' if ($anzq >= $queuecrit); } else { $state='CRITICAL'; - $answer="Keine gueltigte Antwort (Zeile #1) von $statcommand\n"; +# $answer="Keine gueltigte Antwort (Zeile #1) von $statcommand\n"; + $answer="No valid answer (Line #1) from $statcommand\n"; } # Unverarbeite Mails if ($lines[1]=~/^messages in queue but not yet preprocessed: (\d+)/) { my $anzp = $1; - $answer = $answer . " E-Mail(s) nicht ausgeliefert, $anzp unverarbeitet."; +# $answer = $answer . " E-Mail(s) nicht ausgeliefert, $anzp unverarbeitet."; + $answer = $answer . " E-Mail(s) not delivered, $anzp unprocessed."; $state='WARNING' if ($anzp >= $prewarn && $state eq 'UNKNOWN'); $state='CRITICAL' if ($anzp >= $precrit); } else { $state='CRITICAL'; - $answer=$answer . "Keine gueltigte Antwort (Zeile #2) von $statcommand\n"; +# $answer=$answer . "Keine gueltigte Antwort (Zeile #2) von $statcommand\n"; + $answer=$answer . "No valid answer (Line #2) from $statcommand\n"; } $state = 'OK' if ($state eq 'UNKNOWN'); ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 9 20:53:51 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Oct 2007 20:53:51 +0200 Subject: New Nagios Plugins website In-Reply-To: <6A613FFA-8CF6-4A14-8A1B-29DD35AFBC92@altinity.com> References: <6546343904687E41B19D8E5A26AB9F5301831B88@E03MVB2-UKBR.domain1.systemhost.net> <6A613FFA-8CF6-4A14-8A1B-29DD35AFBC92@altinity.com> Message-ID: <470BCE3F.40104@op5.se> Ton Voon wrote: > Thanks Tom, > > We were thinking that the --help pages are different from the man > pages. For instance, dpkg --help or rpm --help gives a list of > options, whereas man dpkg or man rpm gives more commentary and > examples. However, that requires more work. > > If --help on the site is sufficient, we could setup a job that takes > the latest code and populate the web site with it. > I should think --help output as a header for a wiki page on each plugin could be handy. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Tue Oct 9 20:56:09 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 9 Oct 2007 19:56:09 +0100 Subject: New Nagios Plugins website In-Reply-To: <470BCE3F.40104@op5.se> References: <470BCE3F.40104@op5.se> Message-ID: <6546343904687E41B19D8E5A26AB9F530183210E@E03MVB2-UKBR.domain1.systemhost.net> -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 09 October 2007 19:54 To: Ton Voon Cc: Welsh,T,Tom,DLS C; nagiosplug-help at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] New Nagios Plugins website Ton Voon wrote: > Thanks Tom, > > We were thinking that the --help pages are different from the man > pages. For instance, dpkg --help or rpm --help gives a list of > options, whereas man dpkg or man rpm gives more commentary and > examples. However, that requires more work. > > If --help on the site is sufficient, we could setup a job that takes > the latest code and populate the web site with it. > I should think --help output as a header for a wiki page on each plugin could be handy. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Hi Guys, That's why I originally created the doc. I just cut and pasted it into our confluence wiki. One page per plugin. Regards Tom ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 9 21:09:07 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 09 Oct 2007 21:09:07 +0200 Subject: notify contact only once In-Reply-To: <8ee061010710090846j653d53d8l1bc8ccd5bb9adcb7@mail.gmail.com> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> <47068BBD.5030705@aidananderson.co.uk> <8ee061010710081413p10bc4a8eq5f9cc1f09f17b948@mail.gmail.com> <8ee061010710090846j653d53d8l1bc8ccd5bb9adcb7@mail.gmail.com> Message-ID: <470BD1D3.2070109@op5.se> Terry wrote: > On 10/8/07, Terry wrote: >> On 10/5/07, Aidan Anderson wrote: >>> Terry wrote: >>>> Thanks for the reply. Let me be more specific: >>>> >>>> version: 2.9 >>>> OS: centos 5 >>>> >>>> I have regular contacts set up, me for example. I want to get >>>> notified every 30 minutes indefinitely if a service is in a hard state >>>> of warning or critical. However, I want another contact to only get >>>> notified one time when that hard state is achieved. That's it. >>>> >From what I can tell, I can only achieve this through the >>>> notification_interval which is only set at the host/service level, not >>>> the contact level. If this is true, I will need to create 2 services, >>>> each with a different notification_interval and of course apply the >>>> different contact groups to each service. Am I correct or is there >>>> another way around this? >>>> >>>> Thanks! >>>> >>>> On 10/5/07, Aidan Anderson wrote: >>>> >>>>> Terry wrote: >>>>> >>>>>> I have a contact that I only want to receive one notification. How >>>>>> can I set this up? >>>>>> >>>>>> >>>>>> >>> Hi Terry, >>> >>> I've just posted you another message before seeing this one. You want >>> to use host or service escalations to achieve this. I've briefly >>> explained in the previous post but if you need more help, just shout. >>> >>> Aidan >>> >> Thanks for your reply. It looks like for me to achieve this, I will >> need to create 2 escalations for every service. One for the single >> notification and the other for standard notifications. That seems >> like a lot of configuration. >> > > Anyone have any additional thoughts on this? I am considering writing > a custom email handler that looks for the first notification and > handles it appropriately. That way I don't have to have an > escalation for every single service. > Seems like a sane solution. Besides, it's really not hard to do just that. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rha298 at hotmail.com Tue Oct 9 21:45:30 2007 From: rha298 at hotmail.com (Richard Aseltine) Date: Tue, 9 Oct 2007 15:45:30 -0400 Subject: (no subject) Message-ID: Has anyone successfully build Nagios-3.x on Solaris 2.9? I have build previous releases without any problems. I hope someone can point me in the right direction. Here is what happens when I try to start the damon. # /etc/init.d/nagios start -n Starting nagios: Killed CONFIG ERROR! Start aborted. Check your Nagios configuration. # truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg truss: cannot execute program: /opt/nagios/bin/nagios -rwxr-xr-x 1 root root 5163 Oct 9 18:42 /etc/init.d/nagios Thanks _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rha298 at hotmail.com Tue Oct 9 21:46:50 2007 From: rha298 at hotmail.com (Richard Aseltine) Date: Tue, 9 Oct 2007 15:46:50 -0400 Subject: Nagios-3.x Solaris 9 Build Problem Message-ID: Has anyone successfully build Nagios-3.x on Solaris 2.9? I have build previous releases without any problems. I hope someone can point me in the right direction. Here is what happens when I try to start the damon. # /etc/init.d/nagios start -n Starting nagios: Killed CONFIG ERROR! Start aborted. Check your Nagios configuration. # truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg truss: cannot execute program: /opt/nagios/bin/nagios -rwxr-xr-x 1 root root 5163 Oct 9 18:42 /etc/init.d/nagios Thanks _________________________________________________________________ Peek-a-boo FREE Tricks & Treats for You! http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at kent.edu Tue Oct 9 21:40:20 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Tue, 09 Oct 2007 15:40:20 -0400 Subject: HP SNMP Message-ID: Hello all, I am trying to use the check_hpjd plugin from the standard plugins to monitor a couple of hp laserjet printers I am having some difficulty with the jetdirect cards that a few of them are hooked too. I seem to be walking its MIB tree, and not that of the printer. Is there a way to kind of "bypass" the jetdirect card of these printers, so that I can accurately poll the correct snmp data? Stephen Valdinger For some reason the email I have subscribed to this list on is no longer allowing me to send messages to it, however I receive messages from it. I will post new messages to the list from now on using this address. -------------- next part -------------- A non-text attachment was scrubbed... Name: svalding.vcf Type: text/x-vcard Size: 131 bytes Desc: Card for URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Oct 10 00:08:52 2007 From: hvdkooij at vanderkooij.org (hvdkooij at vanderkooij.org) Date: Wed, 10 Oct 2007 00:08:52 +0200 Subject: HP SNMP In-Reply-To: References: Message-ID: <470BFBF4.4020906@vanderkooij.org> svalding at kent.edu wrote: > I am trying to use the check_hpjd plugin from the standard plugins > to monitor a couple of hp laserjet printers > > I am having some difficulty with the jetdirect cards that a few of them > are hooked too. I seem to be walking its MIB tree, and not that of the > printer. Is there a way to kind of "bypass" the jetdirect card of these > printers, so that I can accurately poll the correct snmp data? >From a network point of view the jetdirect card is THE printer. Without the card there is no network attached to the printer. If you can not obtain from the printer what you want to know this way I suggest you drop a feature request at the HP doorstep. Hugo. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From szhang at 8x8.com Wed Oct 10 00:39:07 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Tue, 9 Oct 2007 15:39:07 -0700 Subject: escalation.cfg In-Reply-To: References: Message-ID: Hi there, Is it possible to specify the hosts and services using '*' to represent all hosts and services? It takes too much time to configure each individual host and service in escalation.cfg. Any help will be greatly appreciated. Kevin SZ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Oct 10 00:58:36 2007 From: marc at ena.com (Marc Powell) Date: Tue, 9 Oct 2007 17:58:36 -0500 Subject: escalation.cfg In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Siwei Zhang > Sent: Tuesday, October 09, 2007 5:39 PM > To: nagios-users > Subject: [Nagios-users] escalation.cfg > > Hi there, > > Is it possible to specify the hosts and services using '*' to represent > all hosts and services? > It takes too much time to configure each individual host and service in > escalation.cfg. Any help will be greatly appreciated. http://nagios.sourceforge.net/docs/2_0/templatetricks.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.perdomo at inter.com.ve Wed Oct 10 01:37:27 2007 From: danilo.perdomo at inter.com.ve (Danilo Perdomo) Date: Tue, 09 Oct 2007 19:37:27 -0400 Subject: check_traffic Message-ID: <470C10B7.8090207@inter.com.ve> Hi all!! Im triying to use the check_traffic plugin but the results that im getting are not realistic For example im checking a Giga interfaces that has a lot of traffic going trough and the result is the following: Total RX Bytes: 0.00 MB, Total TX Bytes: 0.00 MB Average Traffic: 0.00 B/s (0.0%) in, 0.00 B/s (0.0%) out Is anyboby using this plugin? Any help? -- Danilo Perdomo Ingeniero de Operaciones NOC VP Operaciones T?cnicas Inter Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Wed Oct 10 02:01:41 2007 From: llow at telesphere.com (Larry Low) Date: Tue, 9 Oct 2007 17:01:41 -0700 Subject: Nagios 3.0b5 - ePN and perl caching Message-ID: <00b201c80ad0$bc990780$35cb1680$@com> The problem I am having is with subroutines inside of perl scripts ran under the ePN. If a subroutine is defined the next time the script or similar script is executed the ePN compile fails with a duplicate subroutine reported as the problem. I believe this problem does not exist under the 2.x code. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 E-mail: llow at telesphere.com' Telesphere Networks, Inc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 zoosmart.us Wed Oct 10 02:22:47 2007 From: alex at zoosmart.us (alex) Date: Tue, 9 Oct 2007 20:22:47 -0400 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: References: Message-ID: <20071010002247.GA19787@zoosmart.us> what is the output of ls -l /opt/nagios/bin/nagios On Tue, Oct 09, 2007 at 03:46:50PM -0400, Richard Aseltine wrote: > > Has anyone successfully build Nagios-3.x on Solaris 2.9? I have build > previous releases without any problems. I hope someone can point me in > the right direction. Here is what happens when I try to start the damon. > > # /etc/init.d/nagios start > -n Starting nagios: > Killed > CONFIG ERROR! Start aborted. Check your Nagios configuration. > > # truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg > truss: cannot execute program: /opt/nagios/bin/nagios > > -rwxr-xr-x 1 root root 5163 Oct 9 18:42 /etc/init.d/nagios > > Thanks > > _________________________________________________________________ > Peek-a-boo FREE Tricks & Treats for You! > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rha298 at hotmail.com Wed Oct 10 03:16:00 2007 From: rha298 at hotmail.com (Richard Aseltine) Date: Tue, 9 Oct 2007 21:16:00 -0400 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: <20071010002247.GA19787@zoosmart.us> References: <20071010002247.GA19787@zoosmart.us> Message-ID: That's what I was suppose to show instead of the startup # ls -l /opt/nagios/bin/nagios -rwxrwxr-- 1 nagios nagios 1268772 Oct 9 18:41 /opt/nagios/bin/nagios > Date: Tue, 9 Oct 2007 20:22:47 -0400 > From: alex at zoosmart.us > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem > > what is the output of > > ls -l /opt/nagios/bin/nagios > > On Tue, Oct 09, 2007 at 03:46:50PM -0400, Richard Aseltine wrote: > > > > Has anyone successfully build Nagios-3.x on Solaris 2.9? I have build > > previous releases without any problems. I hope someone can point me in > > the right direction. Here is what happens when I try to start the damon. > > > > # /etc/init.d/nagios start > > -n Starting nagios: > > Killed > > CONFIG ERROR! Start aborted. Check your Nagios configuration. > > > > # truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg > > truss: cannot execute program: /opt/nagios/bin/nagios > > > > -rwxr-xr-x 1 root root 5163 Oct 9 18:42 /etc/init.d/nagios > > > > Thanks > > > > _________________________________________________________________ > > Peek-a-boo FREE Tricks & Treats for You! > > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 zoosmart.us Wed Oct 10 03:56:16 2007 From: alex at zoosmart.us (alex) Date: Tue, 9 Oct 2007 21:56:16 -0400 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: References: <20071010002247.GA19787@zoosmart.us> Message-ID: <20071010015616.GA20352@zoosmart.us> hmm, what about file /opt/nagios/bin/nagios On Tue, Oct 09, 2007 at 09:16:00PM -0400, Richard Aseltine wrote: > > That's what I was suppose to show instead of the startup > > # ls -l /opt/nagios/bin/nagios > -rwxrwxr-- 1 nagios nagios 1268772 Oct 9 18:41 /opt/nagios/bin/nagios > > > Date: Tue, 9 Oct 2007 20:22:47 -0400 > > From: alex at zoosmart.us > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem > > > > what is the output of > > > > ls -l /opt/nagios/bin/nagios > > > > On Tue, Oct 09, 2007 at 03:46:50PM -0400, Richard Aseltine wrote: > > > > > > Has anyone successfully build Nagios-3.x on Solaris 2.9? I have build > > > previous releases without any problems. I hope someone can point me in > > > the right direction. Here is what happens when I try to start the damon. > > > > > > # /etc/init.d/nagios start > > > -n Starting nagios: > > > Killed > > > CONFIG ERROR! Start aborted. Check your Nagios configuration. > > > > > > # truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg > > > truss: cannot execute program: /opt/nagios/bin/nagios > > > > > > -rwxr-xr-x 1 root root 5163 Oct 9 18:42 /etc/init.d/nagios > > > > > > Thanks > > > > > > _________________________________________________________________ > > > Peek-a-boo FREE Tricks & Treats for You! > > > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > _________________________________________________________________ > Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. > http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ddunham at taos.com Wed Oct 10 05:29:41 2007 From: ddunham at taos.com (A Darren Dunham) Date: Wed, 10 Oct 2007 03:29:41 +0000 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: References: <20071010002247.GA19787@zoosmart.us> Message-ID: <20071010032941.GA26129@SDF.LONESTAR.ORG> On Tue, Oct 09, 2007 at 09:16:00PM -0400, Richard Aseltine wrote: > # ls -l /opt/nagios/bin/nagios > -rwxrwxr-- 1 nagios nagios 1268772 Oct 9 18:41 /opt/nagios/bin/nagios > > > truss: cannot execute program: /opt/nagios/bin/nagios Unless you're 'nagios' or in the 'nagios' group, you don't have execute permission. 'others' only have read permission, so you can't run it (and truss will give that messagee). Can you run/truss it as nagios? -- 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. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fan.jacques at gmail.com Wed Oct 10 09:39:30 2007 From: fan.jacques at gmail.com (Jacques FAN) Date: Wed, 10 Oct 2007 08:39:30 +0100 Subject: checking HDD Message-ID: <72f6f4340710100039n3fe7e547ue9c2d263d4dac41d@mail.gmail.com> Hi All, Just to know how to monitore HDD for the server which are running on linux plate form Thx -- JFK "In God we trust, the rest we monitore" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 10 10:59:55 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 10 Oct 2007 10:59:55 +0200 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: References: <20071010002247.GA19787@zoosmart.us> Message-ID: <470C948B.70201@op5.se> Richard Aseltine wrote: > That's what I was suppose to show instead of the startup > > # ls -l /opt/nagios/bin/nagios > -rwxrwxr-- 1 nagios nagios 1268772 Oct 9 18:41 /opt/nagios/bin/nagios > "other" don't have execute permissions here. I wonder what kind of umask you were using to get this to happen. Try chmod 755 /opt/nagios/bin/nagios before trying to start it again. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rha298 at hotmail.com Wed Oct 10 14:09:55 2007 From: rha298 at hotmail.com (Richard Aseltine) Date: Wed, 10 Oct 2007 08:09:55 -0400 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: <470C948B.70201@op5.se> References: <20071010002247.GA19787@zoosmart.us> <470C948B.70201@op5.se> Message-ID: Alex wrote > hmm, what about > file /opt/nagios/bin/nagios # file /opt/nagios/bin/nagios /opt/nagios/bin/nagios: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped Darren Dunham wrote > Can you run/truss it as nagios? I cannot run it as root or nagios. Below is from root. Without truss and with truss. # /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg Killed /export/home # truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg truss: cannot execute program: /opt/nagios/bin/nagios Andreas Ericsson wrote > "other" don't have execute permissions here. I wonder what kind of umask you > were using to get this to happen. Try > chmod 755 /opt/nagios/bin/nagios > before trying to start it again. As stated to Darren I ran it a nagios user and root. I did try changing the permissions anyway. Thanks for the input guys. I'm scratching my head on this one. I've build Nagios with out issue many times. > Date: Wed, 10 Oct 2007 10:59:55 +0200 > From: ae at op5.se > To: rha298 at hotmail.com > CC: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem > > Richard Aseltine wrote: > > That's what I was suppose to show instead of the startup > > > > # ls -l /opt/nagios/bin/nagios > > -rwxrwxr-- 1 nagios nagios 1268772 Oct 9 18:41 /opt/nagios/bin/nagios > > > > "other" don't have execute permissions here. I wonder what kind of umask you > were using to get this to happen. Try > > chmod 755 /opt/nagios/bin/nagios > > before trying to start it again. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Boo!?Scare away worms, viruses and so much more! Try Windows Live OneCare! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Wed Oct 10 17:35:22 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Wed, 10 Oct 2007 11:35:22 -0400 Subject: Ideas for service dependencies on SSH? In-Reply-To: <20071003093653.A30440@tnetnzry.hgf.qh.rqh> References: <20071002123309.L30065@tnetnzry.hgf.qh.rqh> <1191360759.4667.45.camel@squeak> <20071003093653.A30440@tnetnzry.hgf.qh.rqh> Message-ID: <1192030522.5007.13.camel@squeak> On Wed, 2007-10-03 at 09:49 -0600, Ivan Fetch wrote: > We would like to do away with the "plugin timed out..." alerts for > checks which use check_by_ssh, in situations where a host is not allowing > SSH logins (automounter is being worked on, host is in some state where > SSH logins time out). In other words, to get a single "SSH timed out" > instead of multiple time outs from plugins which use SSH. > > Any ideas for Nagios V2 on how to accomplish this? Sorry. Nothing comes to mind immediately. Luckily, the lack of service dependencies in my setup doesn't generate too many false alarms, which gives me the luxury of waiting on Nagios 3.0. But if you need to have this functionality, using a script to generate the dependency definitions is probably the way to go. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Wed Oct 10 17:42:08 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Wed, 10 Oct 2007 11:42:08 -0400 Subject: notify contact only once In-Reply-To: <8ee061010710081413p10bc4a8eq5f9cc1f09f17b948@mail.gmail.com> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> <47068BBD.5030705@aidananderson.co.uk> <8ee061010710081413p10bc4a8eq5f9cc1f09f17b948@mail.gmail.com> Message-ID: <1192030929.5007.20.camel@squeak> On Mon, 2007-10-08 at 16:13 -0500, Terry wrote: > On 10/5/07, Aidan Anderson wrote: > > Terry wrote: > > > > > > I have regular contacts set up, me for example. I want to get > > > notified every 30 minutes indefinitely if a service is in a hard state > > > of warning or critical. However, I want another contact to only get > > > notified one time when that hard state is achieved. That's it. > > > [...] > > I've just posted you another message before seeing this one. You want > > to use host or service escalations to achieve this. I've briefly > > explained in the previous post but if you need more help, just shout. > > > > Aidan > > > > Thanks for your reply. It looks like for me to achieve this, I will > need to create 2 escalations for every service. One for the single > notification and the other for standard notifications. That seems > like a lot of configuration. I think you can get by with one escalation. Configure the service's contactgroup to include you and the other person. Then create a service escalation that kicks in on the second notification and continues indefinitely. Use the escalation to change the contactgroup to include only you, and set the notification interval to 30 minutes. Does that fit your needs? -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Wed Oct 10 17:49:38 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Wed, 10 Oct 2007 11:49:38 -0400 Subject: escalation In-Reply-To: References: Message-ID: <1192031378.5007.28.camel@squeak> On Mon, 2007-10-08 at 12:29 -0700, Siwei Zhang wrote: > I am trying to configure the escalation but never received the > escalation email. ... > define service{ ... > max_check_attempts 1 > contact_groups g1,g2 > normal_check_interval 5 > retry_check_interval 5 > process_perf_data 1 > notification_interval 0 ... > } You have notification_interval set to 0. According to the documentation, this means that Nagios will never re-notify contacts about a problem, so your escalation never goes into effect. -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Oct 10 18:57:08 2007 From: nagios-user at proy.org (Patrick Proy) Date: Wed, 10 Oct 2007 18:57:08 +0200 Subject: check_traffic In-Reply-To: <470C10B7.8090207@inter.com.ve> References: <470C10B7.8090207@inter.com.ve> Message-ID: <003701c80b5e$985444f0$2900a8c0@telindus.intra> Hi, check_traffic doesn't use high perf counters, so you will have problems with high speed interface (even with 100BT actually). You can use check_snmp_int.pl with -g option. Patrick -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Danilo Perdomo Envoy? : mercredi 10 octobre 2007 01:37 ? : nagios-users at lists.sourceforge.net Cc : Carlos Armas Objet : [Nagios-users] check_traffic Hi all!! Im triying to use the check_traffic plugin but the results that im getting are not realistic For example im checking a Giga interfaces that has a lot of traffic going trough and the result is the following: Total RX Bytes: 0.00 MB, Total TX Bytes: 0.00 MB Average Traffic: 0.00 B/s (0.0%) in, 0.00 B/s (0.0%) out Is anyboby using this plugin? Any help? -- Danilo Perdomo Ingeniero de Operaciones NOC VP Operaciones T?cnicas Inter Barquisimeto - MSO Ext.: 5393 Tlf.: 58-251-3355393 58-251-9355393 Cel.: 58-414-5750938 www.inter.com.ve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ddunham at taos.com Wed Oct 10 19:30:47 2007 From: ddunham at taos.com (A Darren Dunham) Date: Wed, 10 Oct 2007 17:30:47 +0000 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: References: <20071010002247.GA19787@zoosmart.us> <470C948B.70201@op5.se> Message-ID: <20071010173047.GB28413@SDF.LONESTAR.ORG> On Wed, Oct 10, 2007 at 08:09:55AM -0400, Richard Aseltine wrote: > Darren Dunham wrote > > > Can you run/truss it as nagios? > > I cannot run it as root or nagios. Below is from root. Without truss and with truss. > > # /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg > Killed > > /export/home > # truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg > truss: cannot execute program: /opt/nagios/bin/nagios It's acting like an invalid binary. The 'exec' call is failing. Someone asked about 'file /opt/nagios/bin/nagios'. That and running 'ldd' on the binary as well might show something. But either way it seems like the build is bad. Can you delete the executable from the build directory and re-make it? Any difference? Can you show the output from the make for just that step? -- 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. > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rha298 at hotmail.com Wed Oct 10 20:29:14 2007 From: rha298 at hotmail.com (Richard Aseltine) Date: Wed, 10 Oct 2007 14:29:14 -0400 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: <20071010173047.GB28413@SDF.LONESTAR.ORG> References: <20071010002247.GA19787@zoosmart.us> <470C948B.70201@op5.se> <20071010173047.GB28413@SDF.LONESTAR.ORG> Message-ID: Thanks Darren. It looks like I have a bad build environment. The nagios binary that got installed by make install is hosed. "file /opt/nagios/bin/nagios" didn't show it but ldd did: # ldd nagios ldd: nagios: file has insecure interpreter ELF The nagios binary in the build directory is fine. Thanks to everyone for the help!!! > Date: Wed, 10 Oct 2007 17:30:47 +0000 > From: ddunham at taos.com > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem > > On Wed, Oct 10, 2007 at 08:09:55AM -0400, Richard Aseltine wrote: > > Darren Dunham wrote > > > > > Can you run/truss it as nagios? > > > > I cannot run it as root or nagios. Below is from root. Without truss and with truss. > > > > # /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg > > Killed > > > > /export/home > > # truss /opt/nagios/bin/nagios -v /opt/nagios/etc/nagios.cfg > > truss: cannot execute program: /opt/nagios/bin/nagios > > It's acting like an invalid binary. The 'exec' call is failing. > Someone asked about 'file /opt/nagios/bin/nagios'. That and running > 'ldd' on the binary as well might show something. > > But either way it seems like the build is bad. Can you delete the > executable from the build directory and re-make it? Any difference? > Can you show the output from the make for just that step? > > -- > 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. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Climb to the top of the charts!? Play Star Shuffle:? the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Oct 10 20:54:16 2007 From: Roger at NagiosWiki.com (Roger) Date: Wed, 10 Oct 2007 11:54:16 -0700 Subject: NDOutils to pipe Nagios output to MySQL Message-ID: <2b7af7c40710101154r15229cr236adfbe1fe02d0d@mail.gmail.com> I have a question regarding using NDOutils. Currently, I have a CentOS 4.x running Nagios 2.9 with NagiosQL as the current frontend. I would like to pipe all of the logs to a MySQL database, which I understand to be doable if I use NDOUtils. Is this correct? And if so, does anyone have any suggestions before I undertake this? I see that NDOutils is included in Debian "nagios-mysql" package, so it looks somewhat stable, yet when I read the project notes, it says that the project is very "alpha / beta". -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=NagiosWiki http://del.icio.us/RogerRustad/nagios http://del.icio.us/rss/RogerRustad/nagios ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dest.gov.au Thu Oct 11 01:18:23 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 11 Oct 2007 09:18:23 +1000 Subject: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <18544FA17F881A4DBC2F41AC89E46BA9018F95DE@acexp005.portfolio.base> Dear Larry, I am writing to thank you for your letter and say, > -----Original Message----- > Message: 9 > Date: Tue, 9 Oct 2007 17:01:41 -0700 > From: "Larry Low" > Subject: [Nagios-users] Nagios 3.0b5 - ePN and perl caching > > The problem I am having is with subroutines inside of perl scripts ran > under the ePN. If a subroutine is defined the next time the script or > similar script is executed the ePN compile fails with a duplicate > subroutine reported as the problem. > > I believe this problem does not exist under the 2.x code. Do you mean that, after you change a plugin that Nagios is running, ePN fails to compile the modified plugin with this (spurious) error code ? If so, I am running 2.9 and have this problem. Reluctantly I have found that the only way to deal with this is restart Nagios after a plugin mod. It is a PITA. Patches welcome. The > > ---- > Larry Low Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Thu Oct 11 01:21:08 2007 From: Roger at NagiosWiki.com (Roger) Date: Wed, 10 Oct 2007 16:21:08 -0700 Subject: problem with instance_name variable in ndomod.cfg Message-ID: <2b7af7c40710101621u548a3edcxccc5811b98f97147@mail.gmail.com> I'm trying to integrate NDOutils into my Nagios 2.9 CentOS setup, I'm getting a weird error when I add the following two lines in my nagios.cfg file, per the README in NDOutils. ********* /etc/nagios.cfg ***************** #per README in NDOutils broker_module=/usr/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg #config_file OR cfg_file ? ******************************************** nagios -v /etc/nagios/nagios.cfg gives me: "Error in configuration file '/etc/nagios/nagios.cfg' - Line 230 (UNKNOWN VARIABLE)" But when I change config_file variable to cfg_file (the variable I'd expect), I got this error: "Error: Unexpected token or statement in file '/etc/nagios/ndomod.cfg' on line 13" On line 13, there is this line: ********** ndomod.cfg ***************** # INSTANCE NAME # This option identifies the "name" associated with this particular # instance of Nagios and is used to seperate data coming from multiple # instances. Defaults to 'default' (without quotes). instance_name=default ****************************************** What might my problem be with this "instance_name" line? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sukesh.v at jigrahak.com Thu Oct 11 11:47:52 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Thu, 11 Oct 2007 15:17:52 +0530 Subject: nrpe problem Message-ID: Hi Iam running nagios-3.0a4 and nrpe V2.8.1.iam not getting the result while running ./check_nrpe -H . alreday no firewall is running behind those servers .tried to put '-t' option also but didn't work.Still iam able to telnet 5666 with out any problem/so please help him for this.(iam able to access one server and client using nrpe daemon other could not)/ Thanks, Sukesh . -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Thu Oct 11 14:37:26 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 11 Oct 2007 13:37:26 +0100 Subject: nrpe problem In-Reply-To: References: Message-ID: <6546343904687E41B19D8E5A26AB9F5301887D87@E03MVB2-UKBR.domain1.systemhost.net> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sukesh /IT/BLR/JIG/IN Sent: 11 October 2007 10:48 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nrpe problem Hi Iam running nagios-3.0a4 and nrpe V2.8.1.iam not getting the result while running ./check_nrpe -H . alreday no firewall is running behind those servers .tried to put '-t' option also but didn't work.Still iam able to telnet 5666 with out any problem/so please help him for this.(iam able to access one server and client using nrpe daemon other could not)/ Thanks, Sukesh . Hi Sukesh, >From reading your email i take it you can sucessfully connect to the remote NRPE host via telnet. user2 at usel :~> telnet host1.somedomain.com 5666 Trying xxx.xxx.xxx.199... Connected to host1.somedomain.com. Escape character is '^]'. If this is correct then NRPE is accepting connections. You said in the previous mail that NRPE is working correctly on one machine but not on another. This sounds like you have some configuration differences between the two boxes. We really need to have more details to help you with this problem. What OS is running on the two remote boxes? Is it the same OS on both boxes. Can you send snippets off your configuration THAT RELATE TO nrpe? NRPE.CFG. SERVICES.CFG CHECKCOMMAND.CFG etc Have you carried out the following Turn on debugging on the remote host running nrpe and see what comes out in the logs? To do this edit your nrpe.cfg file and turn debugging on debugging=1 An example off NRPE debugging turned on Oct 11 13:30:01 host1 nrpe[3950]: Added command[check_dns1]=/usr/local/nagios/libexec/check_dns -H www.teeks.org -w 1 -c 2 Oct 11 13:30:01 host1 nrpe[3950]: Added command[check_swap]=/usr/local/nagios/libexec/check_swap -w 30% -c 20% Oct 11 13:30:01 host nrpe[3950]: Added command[check_ntp]=/usr/local/nagios/libexec/check_ntp -H xxx.xxx.xxx-t 15 Oct 11 13:30:01 host nrpe[3950]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Oct 11 13:30:01 host nrpe[3950]: Handling the connection... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 11 16:18:22 2007 From: marc at ena.com (Marc Powell) Date: Thu, 11 Oct 2007 09:18:22 -0500 Subject: problem with instance_name variable in ndomod.cfg In-Reply-To: <2b7af7c40710101621u548a3edcxccc5811b98f97147@mail.gmail.com> References: <2b7af7c40710101621u548a3edcxccc5811b98f97147@mail.gmail.com> Message-ID: Hi! I don't use ndoutils but I think I can help. See comments below -- > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Roger > Sent: Wednesday, October 10, 2007 6:21 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] problem with instance_name variable in ndomod.cfg > > I'm trying to integrate NDOutils into my Nagios 2.9 CentOS setup, I'm > getting a weird error when I add the following two lines in my > nagios.cfg file, per the README in NDOutils. > > ********* /etc/nagios.cfg ***************** > > #per README in NDOutils > broker_module=/usr/bin/ndomod.o > config_file=/etc/nagios/ndomod.cfg > #config_file OR cfg_file ? > > ******************************************** > > nagios -v /etc/nagios/nagios.cfg gives me: > > "Error in configuration file '/etc/nagios/nagios.cfg' - Line 230 > (UNKNOWN VARIABLE)" Is line 230 the line beginning 'config_file...'? My reading of the ndoutils README is that those should be on one line with the config_file as an argument to ndomod.o -- broker_module=/usr/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg The only directive that nagios understands above is broker_module. That's why you're seeing the other errors when you try to force nagios to parse 'config_file' and 'instance_name' as regular nagios directives. Those are only understood by ndomod. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Thu Oct 11 17:17:07 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 11 Oct 2007 15:17:07 +0000 Subject: check_iftraffic.pl plugin Message-ID: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> Hi Guys, I need some help on how to use the check_iftraffic.pl plug in. I want nagios to notify me if any of my servers reach a 150kbits/sec on their NIC. This is what I have done so far. 1. I downloaded the plug in and gave it the appropriate ownership and permissions. 2. I added the plugin to the command.cfg file and this is what I added to the file # 'check_iftraffic' command definition define command{ command_name check_iftraffic command_line $USER1$/check_iftraffic.pl -H $HOSTADDRESS$ -C $USER3$ -i $ARG1$ -b $ARG2$ -u m } 3. I added the following service to one of my linux servers that has a NIC named eth0, this is what I added define service{ use dns1-service host_name DNS2 service_description Traffic Load eth0 check_command check_iftraffic!community!eth0!100 } After these, nagios report an unknown error for this service on the web cgi interface, nagios says: DNS1 [image: DNS Servers] Traffic Load eth0 [image: Notifications for this service have been disabled] UNKNOWN 10-11-2007 15:10:44 0d 0h 2m 22s 3/6 (No output!) Can anyone please assist me. When I run this from the plug in directory, I get results, forexample snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H 41.211.0.42 -C community -i eth0 -b 100 -u m Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 MB
Average Traffic: 10.23 kB/s (0.1%) in, 12.45 kB/s (0.1%) out| inUsage=0.1,85,98 outUsage=0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 11 17:38:03 2007 From: marc at ena.com (Marc Powell) Date: Thu, 11 Oct 2007 10:38:03 -0500 Subject: check_iftraffic.pl plugin In-Reply-To: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: Thursday, October 11, 2007 10:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_iftraffic.pl plugin > > Hi Guys, > > I need some help on how to use the check_iftraffic.pl plug in. I want > nagios to notify me if any of my servers reach a 150kbits/sec on their > NIC. This is what I have done so far. > > 1. I downloaded the plug in and gave it the appropriate ownership and > permissions. When asking questions about a non-standard plugin, it's very helpful to provide specific details about where you got it from. How do we know the check_iftraffic.pl that google tells us about as the top hit is the same one you're using? > UNKNOWN 10-11-2007 15:10:44 0d 0h 2m 22s 3/6 (No output!) "NO output!" typically means the plugin is reporting errors. > Can anyone please assist me. When I run this from the plug in directory, I > get results, forexample > > snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H 41.211.0.42 -C > community -i eth0 -b 100 -u m > Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 MB
Average Traffic: > 10.23 kB/s (0.1%) in, 12.45 kB/s ( 0.1%) out| inUsage=0.1,85,98 > outUsage=0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 This implies a permissions issue. Testing as root isn't useful since nagios isn't running the plugin as root. Do the same test again, except as the nagios user. I'll bet you get different and more informative results. I'm going to take a very arbitrary guess and assume that I'm looking at the same plugin as you. It uses a temporary file, hard-coded as /tmp/traffic. Based on your test above, that file is almost certainly owned by root and probably isn't modifiable by the nagios user. Change ownership/permissions of the file or remove it entirely, then test again as the nagios user. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 11 17:50:39 2007 From: td3201 at gmail.com (Terry) Date: Thu, 11 Oct 2007 10:50:39 -0500 Subject: notify contact only once In-Reply-To: <1192030929.5007.20.camel@squeak> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> <47068BBD.5030705@aidananderson.co.uk> <8ee061010710081413p10bc4a8eq5f9cc1f09f17b948@mail.gmail.com> <1192030929.5007.20.camel@squeak> Message-ID: <8ee061010710110850i63fada66kfb4c669058883f7b@mail.gmail.com> On 10/10/07, Richard Mohr wrote: > On Mon, 2007-10-08 at 16:13 -0500, Terry wrote: > > On 10/5/07, Aidan Anderson wrote: > > > Terry wrote: > > > > > > > > I have regular contacts set up, me for example. I want to get > > > > notified every 30 minutes indefinitely if a service is in a hard state > > > > of warning or critical. However, I want another contact to only get > > > > notified one time when that hard state is achieved. That's it. > > > > > [...] > > > I've just posted you another message before seeing this one. You want > > > to use host or service escalations to achieve this. I've briefly > > > explained in the previous post but if you need more help, just shout. > > > > > > Aidan > > > > > > > Thanks for your reply. It looks like for me to achieve this, I will > > need to create 2 escalations for every service. One for the single > > notification and the other for standard notifications. That seems > > like a lot of configuration. > > I think you can get by with one escalation. Configure the service's > contactgroup to include you and the other person. Then create a service > escalation that kicks in on the second notification and continues > indefinitely. Use the escalation to change the contactgroup to include > only you, and set the notification interval to 30 minutes. > > Does that fit your needs? > > -- > Rick Mohr > Systems Developer > Ohio Supercomputer Center > > Rick, thanks for your reply. That would work but I don't want to create an explicit service escalation for every single service I have. I got this working with a very ugly notification script. It is a 5 minute script and I suck at scripting so be gentle. But it works. In a nutshell, it checks to see if the notification is the first notification. If it is, go ahead and send the email. However, if it is NOT the first notification, and the contact email address is our ticket system email address, exit 0. Also, I use sendEmail as my sending program http://caspian.dotconf.net/menu/Software/SendEmail/ The command in nagios is: define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "Notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/lib/nagios/eventhandlers/notification $SERVICENOTIFICATIONNUMBER$ smtp.server.com nagios at server.com $CONTACTEMAIL$ "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" } Finally, here is the script: #!/usr/bin/perl $servicenotificationnumber = $ARGV[0]; $server = $ARGV[1]; $from = $ARGV[2]; $to = $ARGV[3]; $subject = "$ARGV[4]"; unless ($ARGV[1]) { print "ERROR: You need to specify some arguments like this:\n\n"; print q!/usr/bin/printf "%b" "$message" | /usr/lib/nagios/eventhandlers/notification 1 $server $from $to "$subject"!; print "\n"; exit 1; } @message = ; if ($to =~ /support\@foobar.com/i) { if ($servicenotificationnumber == 1) { send_email(); } } else { send_email(); } sub send_email { $output = `/usr/bin/printf "%b" "$message"`; `/usr/bin/sendEmail -s $server -f $from -t $to -u "$subject" -m "@message"`; } ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 11 17:53:48 2007 From: td3201 at gmail.com (Terry) Date: Thu, 11 Oct 2007 10:53:48 -0500 Subject: host checking logic Message-ID: <8ee061010710110853i75eae918uf54ef0ff7bc56a50@mail.gmail.com> Hello, I have a host that will not be reachable via icmp (check-host-alive). However, it will have services that are, check_tcp for example. Nagios is detecting the host as down but services as up. I have host checks and host freshness disabled: check_interval=0 check_host_freshness=0 I always assumed (ya, i know) that nagios assumed the host was up if it had services that were OK. Obviously I am wrong or have something misconfigured. How can I get around this issue? Thanks! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Thu Oct 11 17:59:02 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 11 Oct 2007 15:59:02 +0000 Subject: check_iftraffic.pl plugin In-Reply-To: References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> Message-ID: <4b008f7d0710110859m178868beme9a9248b0b5af4a6@mail.gmail.com> Thanks Marc, I got the plug in from www.nagiosexchange.org, sorry I didn't specify that earlier I gave the traffic files in /tmp nagios group and user ownership and after that, I ran the following command as the nagios user and this is the result I got nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H 41.211.0.42-C britania -i eth0 -b 100 -u m Total RX Bytes: 1395.95 MB, Total TX Bytes: 2173.82 MB
Average Traffic: 0.00 kB/s (0.0%) in, 0.00 kB/s (0.0%) out| inUsage=0.0,85,98 outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H 41.211.0.42-C britania -i eth0 -b 100 -u m Use of uninitialized value in scalar chomp at ./check_iftraffic.pl line 185, line 1. Total RX Bytes: 1395.99 MB, Total TX Bytes: 2173.86 MB
Average Traffic: 4.12 kB/s (0.0%) in, 4.12 kB/s (0.0%) out| inUsage=0.0,85,98 outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H 41.211.0.42-C britania -i eth0 -b 100 -u m Use of uninitialized value in scalar chomp at ./check_iftraffic.pl line 185, line 1. Total RX Bytes: 1396.02 MB, Total TX Bytes: 2173.89 MB
Average Traffic: 3.60 kB/s (0.0%) in, 3.64 kB/s (0.0%) out| inUsage=0.0,85,98 outUsage=0.0,85,98 inAbsolut=1429493 outAbsolut=2226035 I reckon this means that the plug in is working when ran from the nagios plugin directory via the command line. However, the UNKNOWN error still remains as reported from the the web cgi. Am I missing something? Alex On 10/11/07, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > > Sent: Thursday, October 11, 2007 10:17 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_iftraffic.pl plugin > > > > Hi Guys, > > > > I need some help on how to use the check_iftraffic.pl plug in. I want > > nagios to notify me if any of my servers reach a 150kbits/sec on their > > NIC. This is what I have done so far. > > > > 1. I downloaded the plug in and gave it the appropriate ownership and > > permissions. > > When asking questions about a non-standard plugin, it's very helpful to > provide specific details about where you got it from. How do we know the > check_iftraffic.pl that google tells us about as the top hit is the same > one you're using? > > > > > UNKNOWN 10-11-2007 15:10:44 0d 0h 2m 22s 3/6 (No > output!) > > "NO output!" typically means the plugin is reporting errors. > > > Can anyone please assist me. When I run this from the plug in > directory, I > > get results, forexample > > > > snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H 41.211.0.42 -C > > community -i eth0 -b 100 -u m > > Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 MB
Average > Traffic: > > 10.23 kB/s (0.1%) in, 12.45 kB/s ( 0.1%) out| inUsage=0.1,85,98 > > outUsage=0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 > > This implies a permissions issue. Testing as root isn't useful since > nagios isn't running the plugin as root. Do the same test again, except > as the nagios user. I'll bet you get different and more informative > results. > > > > I'm going to take a very arbitrary guess and assume that I'm looking at > the same plugin as you. It uses a temporary file, hard-coded as > /tmp/traffic. Based on your test above, that file is almost certainly > owned by root and probably isn't modifiable by the nagios user. Change > ownership/permissions of the file or remove it entirely, then test again > as the nagios user. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Thu Oct 11 18:21:35 2007 From: llow at telesphere.com (Larry Low) Date: Thu, 11 Oct 2007 09:21:35 -0700 Subject: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <001a01c80c22$cb252650$616f72f0$@com> This is without making changes to the script. Scenario: 1) ./configure --prefix=/opt/Nagios --enable-event-broker --with-embedded-perl (I have tried --without-perlcache as well and have not had time to sift through code to see if this is the actual problem) 2) Have an ePN script with sub print_help 3) Execute 1st check of ePN script, returns OK, no problem 4) Execute 2nd check of ePN script and ePN compile reports print_help function is redeclared If I compile without embedded-perl the problem does not exist. I should probably post this to the devel list. ---- Larry Low -----Original Message----- From: Dest.gov.au> Subject: Re: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] Newsgroups: gmane.network.nagios.user Date: 2007-10-10 23:18:23 GMT (16 hours and 57 minutes ago) Dear Larry, I am writing to thank you for your letter and say, > -----Original Message----- > Message: 9 > Date: Tue, 9 Oct 2007 17:01:41 -0700 > From: "Larry Low" telesphere.com> > Subject: [Nagios-users] Nagios 3.0b5 - ePN and perl caching > > The problem I am having is with subroutines inside of perl scripts ran > under the ePN. If a subroutine is defined the next time the script or > similar script is executed the ePN compile fails with a duplicate > subroutine reported as the problem. > > I believe this problem does not exist under the 2.x code. Do you mean that, after you change a plugin that Nagios is running, ePN fails to compile the modified plugin with this (spurious) error code ? If so, I am running 2.9 and have this problem. Reluctantly I have found that the only way to deal with this is restart Nagios after a plugin mod. It is a PITA. Patches welcome. The > > ---- > Larry Low ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at mail.fdn.com Thu Oct 11 18:33:24 2007 From: dfulton at mail.fdn.com (David Fulton) Date: Thu, 11 Oct 2007 12:33:24 -0400 Subject: Nagios Problem Message-ID: I am having serious problems with Nagios v3.04b. For some reason it simply stops checking services and hosts. I have looked into this and been unable to figure out why. I have played with the check times, service reaper times, timeperiods. I even re-compiled PERL to be non-threading (not a simple task on a system that is already up and running). I am getting frustrated and was wondering if anyone out there had similar problems with it. This didn't crop up until recently but I am unable to point to any one event that could have caused the problem. Please help David Fulton -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fvanhee at gmail.com Thu Oct 11 18:49:31 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Thu, 11 Oct 2007 18:49:31 +0200 Subject: check_iftraffic.pl plugin In-Reply-To: <4b008f7d0710110859m178868beme9a9248b0b5af4a6@mail.gmail.com> References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> <4b008f7d0710110859m178868beme9a9248b0b5af4a6@mail.gmail.com> Message-ID: <470E541B.9060706@gmail.com> Alex Dehaini wrote: > Thanks Marc, > > I got the plug in from www.nagiosexchange.org > , sorry I didn't specify that earlier > > I gave the traffic files in /tmp nagios group and user ownership and > after that, I ran the following command as the nagios user and this is > the result I got > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > 41.211.0.42 -C britania -i eth0 -b 100 -u m > Total RX Bytes: 1395.95 MB, Total TX Bytes: 2173.82 MB
Average > Traffic: 0.00 kB/s (0.0%) in, 0.00 kB/s (0.0%) out| inUsage=0.0,85,98 > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > 41.211.0.42 -C britania -i eth0 -b 100 -u m > Use of uninitialized value in scalar chomp at ./check_iftraffic.pl > line 185, line 1. > Total RX Bytes: 1395.99 MB, Total TX Bytes: 2173.86 MB
Average > Traffic: 4.12 kB/s (0.0%) in, 4.12 kB/s (0.0%) out| inUsage=0.0,85,98 > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > 41.211.0.42 -C britania -i eth0 -b 100 -u m > Use of uninitialized value in scalar chomp at ./check_iftraffic.pl > line 185, line 1. > Total RX Bytes: 1396.02 MB, Total TX Bytes: 2173.89 MB
Average > Traffic: 3.60 kB/s (0.0%) in, 3.64 kB/s (0.0%) out| inUsage=0.0,85,98 > outUsage=0.0,85,98 inAbsolut=1429493 outAbsolut=2226035 > > I reckon this means that the plug in is working when ran from the > nagios plugin directory via the command line. However, the UNKNOWN > error still remains as reported from the the web cgi. > > Am I missing something? > > Alex > > > > > On 10/11/07, *Marc Powell* > wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users- > > bounces at lists.sourceforge.net > ] On Behalf Of Alex Dehaini > > Sent: Thursday, October 11, 2007 10:17 AM > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] check_iftraffic.pl plugin > > > > Hi Guys, > > > > I need some help on how to use the check_iftraffic.pl plug in. I > want > > nagios to notify me if any of my servers reach a 150kbits/sec on > their > > NIC. This is what I have done so far. > > > > 1. I downloaded the plug in and gave it the appropriate > ownership and > > permissions. > > When asking questions about a non-standard plugin, it's very > helpful to > provide specific details about where you got it from. How do we > know the > check_iftraffic.pl that google tells us about as the top hit is > the same > one you're using? > > > > > UNKNOWN 10-11-2007 15:10:44 0d 0h 2m 22s 3/6 (No > output!) > > "NO output!" typically means the plugin is reporting errors. > > > Can anyone please assist me. When I run this from the plug in > directory, I > > get results, forexample > > > > snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H > 41.211.0.42 -C > > community -i eth0 -b 100 -u m > > Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 MB
Average > Traffic: > > 10.23 kB/s (0.1%) in, 12.45 kB/s ( 0.1%) out| inUsage=0.1,85,98 > > outUsage=0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 > > This implies a permissions issue. Testing as root isn't useful since > nagios isn't running the plugin as root. Do the same test again, > except > as the nagios user. I'll bet you get different and more informative > results. > > > > I'm going to take a very arbitrary guess and assume that I'm > looking at > the same plugin as you. It uses a temporary file, hard-coded as > /tmp/traffic. Based on your test above, that file is almost certainly > owned by root and probably isn't modifiable by the nagios user. Change > ownership/permissions of the file or remove it entirely, then test > again > as the nagios user. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hello Alex, I think I know what the problem is; your plugin is supposed to give only one line of output (unles you use Nagios 3). However, upon your execution, the first line of output is : "Use of uninitialized value in scalar chomp at ./check_iftraffic.pl line 185, line 1." So I think there is a problem with the plugin or the perl interpreter. Do you use the embedded perl interpreter ? I use the same plugin from NagiosExchange but don't experience any problems with it. I always disable the embedded perl interpreter in Nagios. Good luck, Frederik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 11 15:38:52 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 11 Oct 2007 15:38:52 +0200 Subject: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA9018F95DE@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA9018F95DE@acexp005.portfolio.base> Message-ID: <470E276C.9080503@op5.se> Stanley.Hopcroft at Dest.gov.au wrote: > Dear Larry, > > I am writing to thank you for your letter and say, > >> -----Original Message----- > >> Message: 9 >> Date: Tue, 9 Oct 2007 17:01:41 -0700 >> From: "Larry Low" >> Subject: [Nagios-users] Nagios 3.0b5 - ePN and perl caching >> >> The problem I am having is with subroutines inside of perl scripts ran > >> under the ePN. If a subroutine is defined the next time the script or > >> similar script is executed the ePN compile fails with a duplicate >> subroutine reported as the problem. >> >> I believe this problem does not exist under the 2.x code. > > Do you mean that, after you change a plugin that Nagios is running, ePN > fails to compile the modified plugin with this (spurious) error code ? > > If so, I am running 2.9 and have this problem. > > Reluctantly I have found that the only way to deal with this is restart > Nagios after a plugin mod. > Umm, wouldn't it be enough to just stash away the mtime of the plugin when it's run and re-cache it whenever it's been modified? It seems straightforward enough, but perhaps I've missed something? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 11 15:42:37 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 11 Oct 2007 15:42:37 +0200 Subject: problem with instance_name variable in ndomod.cfg In-Reply-To: <2b7af7c40710101621u548a3edcxccc5811b98f97147@mail.gmail.com> References: <2b7af7c40710101621u548a3edcxccc5811b98f97147@mail.gmail.com> Message-ID: <470E284D.3090607@op5.se> Roger wrote: > I'm trying to integrate NDOutils into my Nagios 2.9 CentOS setup, I'm > getting a weird error when I add the following two lines in my > nagios.cfg file, per the README in NDOutils. > > ********* /etc/nagios.cfg ***************** > > #per README in NDOutils > broker_module=/usr/bin/ndomod.o > config_file=/etc/nagios/ndomod.cfg > #config_file OR cfg_file ? > > ******************************************** > > nagios -v /etc/nagios/nagios.cfg gives me: > > "Error in configuration file '/etc/nagios/nagios.cfg' - Line 230 > (UNKNOWN VARIABLE)" > > But when I change config_file variable to cfg_file (the variable I'd > expect), I got this error: > > "Error: Unexpected token or statement in file '/etc/nagios/ndomod.cfg' > on line 13" > > On line 13, there is this line: > > ********** ndomod.cfg ***************** > # INSTANCE NAME > # This option identifies the "name" associated with this particular > # instance of Nagios and is used to seperate data coming from multiple > # instances. Defaults to 'default' (without quotes). > > instance_name=default > ****************************************** > > What might my problem be with this "instance_name" line? > Nagios thinks it's an object configuration file, which it isn't. I'm not sure where you read that you can send config options to modules from nagios' config file. AFAIK, you can't. Instead, you have to send the option on the same line as where you're loading the module (modules are initialized with one argument, AFAIR). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oboissard at free.fr Thu Oct 11 20:08:50 2007 From: oboissard at free.fr (oboissard at free.fr) Date: Thu, 11 Oct 2007 20:08:50 +0200 Subject: nagios and local syslog Message-ID: <1192126130.470e66b26adfe@imp.free.fr> Hello I want to log nagios to syslog using a specific local (example LOCAL7) I didn't find any options in nagios.cfg to do such a thing. Is anyone know how to do it ? By default , logs arrive in /val/log/messages file . nagios 3.0b3 os : redhat ES4 Olivier ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 freenet-ag.de Thu Oct 11 19:09:01 2007 From: alex at freenet-ag.de (Alex) Date: Thu, 11 Oct 2007 19:09:01 +0200 Subject: check_iftraffic.pl plugin In-Reply-To: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> Message-ID: <470E58AD.1010000@freenet-ag.de> Alex Dehaini schrieb: > # 'check_iftraffic' command definition > define command{ > command_name check_iftraffic > command_line $USER1$/check_iftraffic.pl -H $HOSTADDRESS$ -C > $USER3$ -i $ARG1$ -b $ARG2$ -u m > } $USER1$/check_iftraffic.pl -H $HOSTADDRESS$ -C $ARG1$-i $ARG2$ -b \ $ARG3$ -u m > 3. I added the following service to one of my linux servers that has a NIC > named eth0, this is what I added > > define service{ > use dns1-service > host_name DNS2 > service_description Traffic Load eth0 > check_command check_iftraffic!community!eth0!100 > } You used 3 Arguments in check_command, use them in commanline too ;) Best Regards Alex ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Thu Oct 11 19:09:26 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 11 Oct 2007 17:09:26 +0000 Subject: check_iftraffic.pl plugin In-Reply-To: <470E541B.9060706@gmail.com> References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> <4b008f7d0710110859m178868beme9a9248b0b5af4a6@mail.gmail.com> <470E541B.9060706@gmail.com> Message-ID: <4b008f7d0710111009i2f3fdc82w22f1b50290b0451f@mail.gmail.com> Frederik, I run the plugin from the command line. How do I disable the embedded perl intepreter. Can you furnish me with your syntax on how you used this plugin. Thanks On 10/11/07, Vanhee Frederik wrote: > > Alex Dehaini wrote: > > Thanks Marc, > > > > I got the plug in from www.nagiosexchange.org > > , sorry I didn't specify that earlier > > > > I gave the traffic files in /tmp nagios group and user ownership and > > after that, I ran the following command as the nagios user and this is > > the result I got > > > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C britania -i eth0 -b 100 -u m > > Total RX Bytes: 1395.95 MB, Total TX Bytes: 2173.82 MB
Average > > Traffic: 0.00 kB/s (0.0%) in, 0.00 kB/s (0.0%) out| inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C britania -i eth0 -b 100 -u m > > Use of uninitialized value in scalar chomp at ./check_iftraffic.pl > > line 185, line 1. > > Total RX Bytes: 1395.99 MB, Total TX Bytes: 2173.86 MB
Average > > Traffic: 4.12 kB/s (0.0%) in, 4.12 kB/s (0.0%) out| inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C britania -i eth0 -b 100 -u m > > Use of uninitialized value in scalar chomp at ./check_iftraffic.pl > > line 185, line 1. > > Total RX Bytes: 1396.02 MB, Total TX Bytes: 2173.89 MB
Average > > Traffic: 3.60 kB/s (0.0%) in, 3.64 kB/s (0.0%) out| inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429493 outAbsolut=2226035 > > > > I reckon this means that the plug in is working when ran from the > > nagios plugin directory via the command line. However, the UNKNOWN > > error still remains as reported from the the web cgi. > > > > Am I missing something? > > > > Alex > > > > > > > > > > On 10/11/07, *Marc Powell* > wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > > > [mailto:nagios-users- > > > bounces at lists.sourceforge.net > > ] On Behalf Of Alex Dehaini > > > Sent: Thursday, October 11, 2007 10:17 AM > > > To: nagios-users at lists.sourceforge.net > > > > > Subject: [Nagios-users] check_iftraffic.pl plugin > > > > > > Hi Guys, > > > > > > I need some help on how to use the check_iftraffic.pl plug in. I > > want > > > nagios to notify me if any of my servers reach a 150kbits/sec on > > their > > > NIC. This is what I have done so far. > > > > > > 1. I downloaded the plug in and gave it the appropriate > > ownership and > > > permissions. > > > > When asking questions about a non-standard plugin, it's very > > helpful to > > provide specific details about where you got it from. How do we > > know the > > check_iftraffic.pl that google tells us about as the top hit is > > the same > > one you're using? > > > > > > > > > UNKNOWN 10-11-2007 15:10:44 0d 0h 2m 22s 3/6 (No > > output!) > > > > "NO output!" typically means the plugin is reporting errors. > > > > > Can anyone please assist me. When I run this from the plug in > > directory, I > > > get results, forexample > > > > > > snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H > > 41.211.0.42 -C > > > community -i eth0 -b 100 -u m > > > Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 MB
Average > > Traffic: > > > 10.23 kB/s (0.1%) in, 12.45 kB/s ( 0.1%) out| inUsage=0.1,85,98 > > > outUsage=0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 > > > > This implies a permissions issue. Testing as root isn't useful since > > nagios isn't running the plugin as root. Do the same test again, > > except > > as the nagios user. I'll bet you get different and more informative > > results. > > > > > > > > I'm going to take a very arbitrary guess and assume that I'm > > looking at > > the same plugin as you. It uses a temporary file, hard-coded as > > /tmp/traffic. Based on your test above, that file is almost > certainly > > owned by root and probably isn't modifiable by the nagios user. > Change > > ownership/permissions of the file or remove it entirely, then test > > again > > as the nagios user. > > > > -- > > Marc > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > Hello Alex, > > I think I know what the problem is; your plugin is supposed to give > only one line of output (unles you use Nagios 3). > However, upon your execution, the first line of output is : > > "Use of uninitialized value in scalar chomp at ./check_iftraffic.pl line > 185, line 1." > > So I think there is a problem with the plugin or the perl interpreter. > Do you use the embedded perl interpreter ? > I use the same plugin from NagiosExchange but don't experience any > problems with it. I always disable the embedded perl interpreter in > Nagios. > > Good luck, > > Frederik > > > > > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dennis at huenseler.net Thu Oct 11 19:20:02 2007 From: dennis at huenseler.net (Dennis =?iso-8859-1?Q?H=FCnseler?=) Date: Thu, 11 Oct 2007 19:20:02 +0200 (CEST) Subject: nagios and local syslog In-Reply-To: <1192126130.470e66b26adfe@imp.free.fr> References: <1192126130.470e66b26adfe@imp.free.fr> Message-ID: <50847.87.79.30.2.1192123202.squirrel@81.169.132.64> Hi Oliver, one possibilty would be to use syslog-ng and define a filter which matches "Nagios" and seperate it this way. kind regards, Dennis > > > Hello > > I want to log nagios to syslog using a specific local (example LOCAL7) > I didn't find any options in nagios.cfg to do such a thing. > Is anyone know how to do it ? > By default , logs arrive in /val/log/messages file . > > nagios 3.0b3 > os : redhat ES4 > > Olivier > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fvanhee at gmail.com Thu Oct 11 19:22:48 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Thu, 11 Oct 2007 19:22:48 +0200 Subject: check_iftraffic.pl plugin In-Reply-To: <4b008f7d0710111009i2f3fdc82w22f1b50290b0451f@mail.gmail.com> References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> <4b008f7d0710110859m178868beme9a9248b0b5af4a6@mail.gmail.com> <470E541B.9060706@gmail.com> <4b008f7d0710111009i2f3fdc82w22f1b50290b0451f@mail.gmail.com> Message-ID: <470E5BE8.3090306@gmail.com> Alex Dehaini wrote: > Frederik, > > I run the plugin from the command line. How do I disable the embedded > perl intepreter. Can you furnish me with your syntax on how you used > this plugin. > > Thanks > > On 10/11/07, *Vanhee Frederik* > wrote: > > Alex Dehaini wrote: > > Thanks Marc, > > > > I got the plug in from www.nagiosexchange.org > > > >, > sorry I didn't specify that earlier > > > > I gave the traffic files in /tmp nagios group and user ownership and > > after that, I ran the following command as the nagios user and > this is > > the result I got > > > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C > britania -i eth0 -b 100 -u m > > Total RX Bytes: 1395.95 MB, Total TX Bytes: 2173.82 MB
Average > > Traffic: 0.00 kB/s (0.0%) in, 0.00 kB/s (0.0%) out| > inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C > britania -i eth0 -b 100 -u m > > Use of uninitialized value in scalar chomp at ./check_iftraffic.pl > > line 185, line 1. > > Total RX Bytes: 1395.99 MB, Total TX Bytes: 2173.86 MB
Average > > Traffic: 4.12 kB/s (0.0%) in, 4.12 kB/s (0.0%) out| > inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C > britania -i eth0 -b 100 -u m > > Use of uninitialized value in scalar chomp at ./check_iftraffic.pl > > line 185, line 1. > > Total RX Bytes: 1396.02 MB, Total TX Bytes: 2173.89 MB
Average > > Traffic: 3.60 kB/s (0.0%) in, 3.64 kB/s (0.0%) out| > inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429493 outAbsolut=2226035 > > > > I reckon this means that the plug in is working when ran from the > > nagios plugin directory via the command line. However, the UNKNOWN > > error still remains as reported from the the web cgi. > > > > Am I missing something? > > > > Alex > > > > > > > > > > On 10/11/07, *Marc Powell* > >> wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > > > > > [mailto:nagios-users- nagios-users- > > > > bounces at lists.sourceforge.net > > > >] On Behalf Of Alex Dehaini > > > Sent: Thursday, October 11, 2007 10:17 AM > > > To: nagios-users at lists.sourceforge.net > > > > > > > Subject: [Nagios-users] check_iftraffic.pl plugin > > > > > > Hi Guys, > > > > > > I need some help on how to use the check_iftraffic.pl plug > in. I > > want > > > nagios to notify me if any of my servers reach a > 150kbits/sec on > > their > > > NIC. This is what I have done so far. > > > > > > 1. I downloaded the plug in and gave it the appropriate > > ownership and > > > permissions. > > > > When asking questions about a non-standard plugin, it's very > > helpful to > > provide specific details about where you got it from. How do we > > know the > > check_iftraffic.pl that google tells us about as the top hit is > > the same > > one you're using? > > > > > > > > > UNKNOWN 10-11-2007 15:10:44 0d 0h 2m > 22s 3/6 (No > > output!) > > > > "NO output!" typically means the plugin is reporting errors. > > > > > Can anyone please assist me. When I run this from the plug in > > directory, I > > > get results, forexample > > > > > > snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H > > 41.211.0.42 -C > > > community -i eth0 -b 100 -u m > > > Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 > MB
Average > > Traffic: > > > 10.23 kB/s (0.1%) in, 12.45 kB/s ( 0.1%) out| > inUsage=0.1,85,98 > > > outUsage=0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 > > > > This implies a permissions issue. Testing as root isn't > useful since > > nagios isn't running the plugin as root. Do the same test again, > > except > > as the nagios user. I'll bet you get different and more > informative > > results. > > > > > > > > I'm going to take a very arbitrary guess and assume that I'm > > looking at > > the same plugin as you. It uses a temporary file, hard-coded as > > /tmp/traffic. Based on your test above, that file is almost > certainly > > owned by root and probably isn't modifiable by the nagios > user. Change > > ownership/permissions of the file or remove it entirely, > then test > > again > > as the nagios user. > > > > -- > > Marc > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > < http://get.splunk.com/> > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com < > http://www.alexdehaini.com> > > Email - alexdehaini at gmail.com > > > > > ------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > Hello Alex, > > I think I know what the problem is; your plugin is supposed to give > only one line of output (unles you use Nagios 3). > However, upon your execution, the first line of output is : > > "Use of uninitialized value in scalar chomp at > ./check_iftraffic.pl line > 185, line 1." > > So I think there is a problem with the plugin or the perl interpreter. > Do you use the embedded perl interpreter ? > I use the same plugin from NagiosExchange but don't experience any > problems with it. I always disable the embedded perl interpreter > in Nagios. > > Good luck, > > Frederik > > > > > > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hello Alex, here are my checkcommand definition and my service check definition : define command{ command_name check_switchport_traffic command_line $USER1$/check_iftraffic.pl -H $HOSTADDRESS$ -C community -i $ARG1$ -b 100000000 -u=k } check_command check_switchport_traffic!port1 The only way to disable the embedded perl interpreter (Nagios 2) is to recompile Nagios with the option '--disable-embedded-perl' or something similar. Frederik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Thu Oct 11 19:35:17 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 11 Oct 2007 17:35:17 +0000 Subject: check_iftraffic.pl plugin In-Reply-To: <470E5BE8.3090306@gmail.com> References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> <4b008f7d0710110859m178868beme9a9248b0b5af4a6@mail.gmail.com> <470E541B.9060706@gmail.com> <4b008f7d0710111009i2f3fdc82w22f1b50290b0451f@mail.gmail.com> <470E5BE8.3090306@gmail.com> Message-ID: <4b008f7d0710111035u3340f2f8y4c50f50b8af91173@mail.gmail.com> Frederik, It works now but the values I am getting is different from what by my MRTG/Cacti is giving me. The check_iftraffic.pl plugin gives me Total RX Bytes: 1434.86 MB, Total TX Bytes: 2213.91 MB Average Traffic: 3.66 kB/s (0.0%) in, 3.77 kB/s (0.0%) out My MTRG gives me inbound = 50 outbound = 75 Why is the plugin giving me a different value? I know the MRTG value is correct because when I work the eth0 interface with snmp, it gives me the same value as the MRTG. Thanks or your help so far. Regards, Alex On 10/11/07, Vanhee Frederik wrote: > > Alex Dehaini wrote: > > Frederik, > > > > I run the plugin from the command line. How do I disable the embedded > > perl intepreter. Can you furnish me with your syntax on how you used > > this plugin. > > > > Thanks > > > > On 10/11/07, *Vanhee Frederik* > > wrote: > > > > Alex Dehaini wrote: > > > Thanks Marc, > > > > > > I got the plug in from www.nagiosexchange.org > > > > > >, > > sorry I didn't specify that earlier > > > > > > I gave the traffic files in /tmp nagios group and user ownership > and > > > after that, I ran the following command as the nagios user and > > this is > > > the result I got > > > > > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > > 41.211.0.42 -C > > britania -i eth0 -b 100 -u m > > > Total RX Bytes: 1395.95 MB, Total TX Bytes: 2173.82 MB
Average > > > Traffic: 0.00 kB/s (0.0%) in, 0.00 kB/s (0.0%) out| > > inUsage=0.0,85,98 > > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > > 41.211.0.42 -C > > britania -i eth0 -b 100 -u m > > > Use of uninitialized value in scalar chomp at ./check_iftraffic.pl > > > line 185, line 1. > > > Total RX Bytes: 1395.99 MB, Total TX Bytes: 2173.86 MB
Average > > > Traffic: 4.12 kB/s (0.0%) in, 4.12 kB/s (0.0%) out| > > inUsage=0.0,85,98 > > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > > 41.211.0.42 -C > > britania -i eth0 -b 100 -u m > > > Use of uninitialized value in scalar chomp at ./check_iftraffic.pl > > > line 185, line 1. > > > Total RX Bytes: 1396.02 MB, Total TX Bytes: 2173.89 MB
Average > > > Traffic: 3.60 kB/s (0.0%) in, 3.64 kB/s (0.0%) out| > > inUsage=0.0,85,98 > > > outUsage=0.0,85,98 inAbsolut=1429493 outAbsolut=2226035 > > > > > > I reckon this means that the plug in is working when ran from the > > > nagios plugin directory via the command line. However, the UNKNOWN > > > error still remains as reported from the the web cgi. > > > > > > Am I missing something? > > > > > > Alex > > > > > > > > > > > > > > > On 10/11/07, *Marc Powell* > > >> wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net > > > > > > > > > > [mailto:nagios-users- > nagios-users- > > > > > bounces at lists.sourceforge.net > > > > > > >] On Behalf Of Alex Dehaini > > > > Sent: Thursday, October 11, 2007 10:17 AM > > > > To: nagios-users at lists.sourceforge.net > > > > > > > > > > > Subject: [Nagios-users] check_iftraffic.pl plugin > > > > > > > > Hi Guys, > > > > > > > > I need some help on how to use the check_iftraffic.pl plug > > in. I > > > want > > > > nagios to notify me if any of my servers reach a > > 150kbits/sec on > > > their > > > > NIC. This is what I have done so far. > > > > > > > > 1. I downloaded the plug in and gave it the appropriate > > > ownership and > > > > permissions. > > > > > > When asking questions about a non-standard plugin, it's very > > > helpful to > > > provide specific details about where you got it from. How do > we > > > know the > > > check_iftraffic.pl that google tells us about as the top hit > is > > > the same > > > one you're using? > > > > > > > > > > > > > UNKNOWN 10-11-2007 15:10:44 0d 0h 2m > > 22s 3/6 (No > > > output!) > > > > > > "NO output!" typically means the plugin is reporting errors. > > > > > > > Can anyone please assist me. When I run this from the plug > in > > > directory, I > > > > get results, forexample > > > > > > > > snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H > > > 41.211.0.42 -C > > > > community -i eth0 -b 100 -u m > > > > Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 > > MB
Average > > > Traffic: > > > > 10.23 kB/s (0.1%) in, 12.45 kB/s ( 0.1%) out| > > inUsage=0.1,85,98 > > > > outUsage=0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 > > > > > > This implies a permissions issue. Testing as root isn't > > useful since > > > nagios isn't running the plugin as root. Do the same test > again, > > > except > > > as the nagios user. I'll bet you get different and more > > informative > > > results. > > > > > > > > > > > > I'm going to take a very arbitrary guess and assume that I'm > > > looking at > > > the same plugin as you. It uses a temporary file, hard-coded > as > > > /tmp/traffic. Based on your test above, that file is almost > > certainly > > > owned by root and probably isn't modifiable by the nagios > > user. Change > > > ownership/permissions of the file or remove it entirely, > > then test > > > again > > > as the nagios user. > > > > > > -- > > > Marc > > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > > browser. > > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > > < http://get.splunk.com/> > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and > > OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > > > /dev/null > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com < > > http://www.alexdehaini.com> > > > Email - alexdehaini at gmail.com > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent to > > /dev/null > > Hello Alex, > > > > I think I know what the problem is; your plugin is supposed to give > > only one line of output (unles you use Nagios 3). > > However, upon your execution, the first line of output is : > > > > "Use of uninitialized value in scalar chomp at > > ./check_iftraffic.pl line > > 185, line 1." > > > > So I think there is a problem with the plugin or the perl > interpreter. > > Do you use the embedded perl interpreter ? > > I use the same plugin from NagiosExchange but don't experience any > > problems with it. I always disable the embedded perl interpreter > > in Nagios. > > > > Good luck, > > > > Frederik > > > > > > > > > > > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > Hello Alex, > > here are my checkcommand definition and my service check definition : > > define command{ > command_name check_switchport_traffic > command_line $USER1$/check_iftraffic.pl -H $HOSTADDRESS$ -C > community -i $ARG1$ -b 100000000 -u=k > } > > check_command check_switchport_traffic!port1 > > > The only way to disable the embedded perl interpreter (Nagios 2) is to > recompile Nagios with the option '--disable-embedded-perl' or something > similar. > > Frederik > > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rup001 at yahoo.com Thu Oct 11 19:39:00 2007 From: rup001 at yahoo.com (vuppala rupesh) Date: Thu, 11 Oct 2007 10:39:00 -0700 (PDT) Subject: load problems while accessing availablility reports in nagios Message-ID: <210172.98086.qm@web54602.mail.re2.yahoo.com> Hi I have nagios2.x running from couple of years. Recently i have recognized one problem while pulling availability reports, server load is going too high. I have stopped monitoring few devices which are not necessary, is there a way i can delete the information from nagios which is not not necessary and more than one year back. Please advice on this. Thanks vuppala --------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Thu Oct 11 19:40:29 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 11 Oct 2007 17:40:29 +0000 Subject: check_iftraffic.pl plugin In-Reply-To: <003901c80c2d$47c0abd0$2900a8c0@telindus.intra> References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> <4b008f7d0710110859m178868beme9a9248b0b5af4a6@mail.gmail.com> <470E541B.9060706@gmail.com> <4b008f7d0710111009i2f3fdc82w22f1b50290b0451f@mail.gmail.com> <003901c80c2d$47c0abd0$2900a8c0@telindus.intra> Message-ID: <4b008f7d0710111040y27b0dad1j4241b966b2f8cf1d@mail.gmail.com> Thanks Patrick, I have been able to get the check_iftraffic.pl to give me some values, but I think these values are not correct and/or - I am missing something important. Thanks for your help. Alex On 10/11/07, Patrick Proy wrote: > > Hi, > > Didn't follow everything about this post, but to disable the embeded Perl, > just add "/usr/bin/perl" (depending on your Linux install) before the > script > in your command.cfg file. > > Patrick > http://nagios.manubulon.com > > ________________________________ > > De : nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Alex > Dehaini > Envoy? : jeudi 11 octobre 2007 19:09 > ? : nagios-users at lists.sourceforge.net > Objet : Re: [Nagios-users] check_iftraffic.pl plugin > > > Frederik, > > I run the plugin from the command line. How do I disable the embedded perl > intepreter. Can you furnish me with your syntax on how you used this > plugin. > > Thanks > > > On 10/11/07, Vanhee Frederik wrote: > > Alex Dehaini wrote: > > Thanks Marc, > > > > I got the plug in from www.nagiosexchange.org > > , sorry I didn't specify that > earlier > > > > I gave the traffic files in /tmp nagios group and user ownership > and > > after that, I ran the following command as the nagios user and > this is > > the result I got > > > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C britania -i eth0 -b 100 -u m > > Total RX Bytes: 1395.95 MB, Total TX Bytes: 2173.82MB
Average > > Traffic: 0.00 kB/s (0.0%) in, 0.00 kB/s (0.0%) out| > inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C britania -i eth0 -b 100 -u m > > Use of uninitialized value in scalar chomp at > ./check_iftraffic.pl > > > line 185, line 1. > > Total RX Bytes: 1395.99 MB, Total TX Bytes: 2173.86MB
Average > > Traffic: 4.12 kB/s (0.0%) in, 4.12 kB/s (0.0%) out| > inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > 41.211.0.42 -C britania -i eth0 -b 100 -u m > > Use of uninitialized value in scalar chomp at > ./check_iftraffic.pl > > > line 185, line 1. > > Total RX Bytes: 1396.02 MB, Total TX Bytes: 2173.89MB
Average > > Traffic: 3.60 kB/s (0.0%) in, 3.64 kB/s (0.0%) out| > inUsage=0.0,85,98 > > outUsage=0.0,85,98 inAbsolut=1429493 outAbsolut=2226035 > > > > I reckon this means that the plug in is working when ran from > the > > nagios plugin directory via the command line. However, the > UNKNOWN > > error still remains as reported from the the web cgi. > > > > Am I missing something? > > > > Alex > > > > > > > > > > On 10/11/07, *Marc Powell* > > wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > > > [mailto:nagios-users- > > > > bounces at lists.sourceforge.net > > ] On Behalf Of Alex > Dehaini > > > Sent: Thursday, October 11, 2007 10:17 AM > > > To: nagios-users at lists.sourceforge.net > > > > > Subject: [Nagios-users] check_iftraffic.pl plugin > > > > > > Hi Guys, > > > > > > I need some help on how to use the check_iftraffic.pl plug > in. I > > want > > > nagios to notify me if any of my servers reach a > 150kbits/sec on > > their > > > NIC. This is what I have done so far. > > > > > > 1. I downloaded the plug in and gave it the appropriate > > ownership and > > > permissions. > > > > When asking questions about a non-standard plugin, it's very > > helpful to > > provide specific details about where you got it from. How do > we > > know the > > check_iftraffic.pl that google tells us about as the top hit > is > > the same > > one you're using? > > > > > > > > > UNKNOWN 10-11-2007 15:10:44 0d 0h 2m 22s 3/6 > (No > > output!) > > > > "NO output!" typically means the plugin is reporting errors. > > > > > Can anyone please assist me. When I run this from the plug > in > > directory, I > > > get results, forexample > > > > > > snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H > > 41.211.0.42 -C > > > community -i eth0 -b 100 -u m > > > Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 > MB
Average > > Traffic: > > > 10.23 kB/s (0.1%) in, 12.45 kB/s ( 0.1%) out| > inUsage=0.1,85,98 > > > outUsage=0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 > > > > This implies a permissions issue. Testing as root isn't > useful > since > > nagios isn't running the plugin as root. Do the same test > again, > > except > > as the nagios user. I'll bet you get different and more > informative > > results. > > > > > > > > I'm going to take a very arbitrary guess and assume that I'm > > looking at > > the same plugin as you. It uses a temporary file, hard-coded > as > > /tmp/traffic. Based on your test above, that file is almost > certainly > > owned by root and probably isn't modifiable by the nagios > user. Change > > ownership/permissions of the file or remove it entirely, > then > test > > again > > as the nagios user. > > > > -- > > Marc > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and > a > > browser. > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > < http://get.splunk.com/> > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS > when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com < http://www.alexdehaini.com > > > > Email - alexdehaini at gmail.com > > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > when > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > Hello Alex, > > I think I know what the problem is; your plugin is supposed to > give > > only one line of output (unles you use Nagios 3). > However, upon your execution, the first line of output is : > > "Use of uninitialized value in scalar chomp at > ./check_iftraffic.pl > line > 185, line 1." > > So I think there is a problem with the plugin or the perl > interpreter. > Do you use the embedded perl interpreter ? > I use the same plugin from NagiosExchange but don't experience any > problems with it. I always disable the embedded perl interpreter > in > Nagios. > > Good luck, > > Frederik > > > > > > > > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Thu Oct 11 19:40:46 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Thu, 11 Oct 2007 10:40:46 -0700 Subject: ping check with packet size? Message-ID: I have a need to set up a ping check using a specified packet size. It seems that check_ping nor check_icmp have this option. Has anyone had a need to do this and found a workaround? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 11 19:43:37 2007 From: marc at ena.com (Marc Powell) Date: Thu, 11 Oct 2007 12:43:37 -0500 Subject: host checking logic In-Reply-To: <8ee061010710110853i75eae918uf54ef0ff7bc56a50@mail.gmail.com> References: <8ee061010710110853i75eae918uf54ef0ff7bc56a50@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Terry > Sent: Thursday, October 11, 2007 10:54 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] host checking logic > > Hello, > > I have a host that will not be reachable via icmp (check-host-alive). > However, it will have services that are, check_tcp for example. > I always assumed (ya, i know) that nagios assumed the host was up if > it had services that were OK. Obviously I am wrong or have something > misconfigured. How can I get around this issue? It will assume the host is up if the very first check of a service on that host is successful. After that, there are no further assumptions. It would appear that you have had a service change state at some point, forcing nagios to perform the failing host check. The service recovered and nagios re-ran the host check to show proper host state, which again failed. You end up with the service UP, host DOWN state. Your best option is to just change the host check_command to something that does work, at least enough for you to be reasonably confident that the host is up given your circumstances. check_tcp to a port you know to be very reliable would be sufficient. Other options might be to use check_dummy as the host check_command so that the state is always OK or even to not perform host checks at all for this host. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 11 19:54:30 2007 From: td3201 at gmail.com (Terry) Date: Thu, 11 Oct 2007 12:54:30 -0500 Subject: host checking logic In-Reply-To: References: <8ee061010710110853i75eae918uf54ef0ff7bc56a50@mail.gmail.com> Message-ID: <8ee061010710111054t3128b192we0ecd74923d3b828@mail.gmail.com> On 10/11/07, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Terry > > Sent: Thursday, October 11, 2007 10:54 AM > > To: Nagios Users mailinglist > > Subject: [Nagios-users] host checking logic > > > > Hello, > > > > I have a host that will not be reachable via icmp (check-host-alive). > > However, it will have services that are, check_tcp for example. > > > > I always assumed (ya, i know) that nagios assumed the host was up if > > it had services that were OK. Obviously I am wrong or have something > > misconfigured. How can I get around this issue? > > It will assume the host is up if the very first check of a service on > that host is successful. After that, there are no further assumptions. > It would appear that you have had a service change state at some point, > forcing nagios to perform the failing host check. The service recovered > and nagios re-ran the host check to show proper host state, which again > failed. You end up with the service UP, host DOWN state. > > Your best option is to just change the host check_command to something > that does work, at least enough for you to be reasonably confident that > the host is up given your circumstances. check_tcp to a port you know to > be very reliable would be sufficient. Other options might be to use > check_dummy as the host check_command so that the state is always OK or > even to not perform host checks at all for this host. > > -- > Marc Thanks for your reply. Why is nagios even checking it given the configuration: ? check_interval=0 check_host_freshness=0 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Thu Oct 11 19:58:53 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Thu, 11 Oct 2007 10:58:53 -0700 Subject: ping check with packet size? In-Reply-To: References: Message-ID: OK, before I get spanked by the list members: looks like check_fping will support this... I just did not have fping installed when I compiled the plugins, so didnt' notice that option. I'll install it and try that. On 10/11/07, Rob Brown wrote: > I have a need to set up a ping check using a specified packet size. > It seems that check_ping nor check_icmp have this option. > Has anyone had a need to do this and found a workaround? > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rfmohr at osc.edu Thu Oct 11 20:10:19 2007 From: rfmohr at osc.edu (Richard Mohr) Date: Thu, 11 Oct 2007 14:10:19 -0400 Subject: notify contact only once In-Reply-To: <8ee061010710110850i63fada66kfb4c669058883f7b@mail.gmail.com> References: <8ee061010710050931l8114973rd191f19637c5af58@mail.gmail.com> <47068484.4080908@aidananderson.co.uk> <8ee061010710051201u18ff2380se9334dead7c92b21@mail.gmail.com> <47068BBD.5030705@aidananderson.co.uk> <8ee061010710081413p10bc4a8eq5f9cc1f09f17b948@mail.gmail.com> <1192030929.5007.20.camel@squeak> <8ee061010710110850i63fada66kfb4c669058883f7b@mail.gmail.com> Message-ID: <1192126220.4842.30.camel@squeak> On Thu, 2007-10-11 at 10:50 -0500, Terry wrote: > I got this working with a very ugly notification script. It is a 5 > minute script and I suck at scripting so be gentle. But it works. The way I see it, a working script trumps a pretty one every time. :-) > In a nutshell, it checks to see if the notification is the first > notification. If it is, go ahead and send the email. However, if it > is NOT the first notification, and the contact email address is our > ticket system email address, exit 0. I didn't realize that the "person" who was only supposed to receive one contact was the same for all notifications. In that case, your custom notification script approach is definitely faster/cleaner than my suggestion of using escalations. Good job! -- Rick Mohr Systems Developer Ohio Supercomputer Center ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 11 20:10:43 2007 From: td3201 at gmail.com (Terry) Date: Thu, 11 Oct 2007 13:10:43 -0500 Subject: Nagios Problem In-Reply-To: References: Message-ID: <8ee061010710111110i62103877m6807524ccfb744ed@mail.gmail.com> Do the logs show that checks are being performed? Might want to turn debugging on in nagios.cfg to get some more information. On 10/11/07, David Fulton wrote: > > > > > I am having serious problems with Nagios v3.04b. For some reason it simply > stops checking services and hosts. I have looked into this and been unable > to figure out why. I have played with the check times, service reaper times, > timeperiods. I even re-compiled PERL to be non-threading (not a simple task > on a system that is already up and running). I am getting frustrated and was > wondering if anyone out there had similar problems with it. This didn't crop > up until recently but I am unable to point to any one event that could have > caused the problem. > > > > Please help > David Fulton > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 11 20:14:18 2007 From: marc at ena.com (Marc Powell) Date: Thu, 11 Oct 2007 13:14:18 -0500 Subject: host checking logic In-Reply-To: <8ee061010710111054t3128b192we0ecd74923d3b828@mail.gmail.com> References: <8ee061010710111054t3128b192we0ecd74923d3b828@mail.gmail.com> Message-ID: > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Thursday, October 11, 2007 12:55 PM > To: Marc Powell > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] host checking logic > > On 10/11/07, Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Terry > > > Sent: Thursday, October 11, 2007 10:54 AM > > > To: Nagios Users mailinglist > > > Subject: [Nagios-users] host checking logic > > > > > > Hello, > > > > > > I have a host that will not be reachable via icmp (check-host-alive). > > > However, it will have services that are, check_tcp for example. > > > > > > > I always assumed (ya, i know) that nagios assumed the host was up if > > > it had services that were OK. Obviously I am wrong or have something > > > misconfigured. How can I get around this issue? > > > > It will assume the host is up if the very first check of a service on > > that host is successful. After that, there are no further assumptions. > > Thanks for your reply. Why is nagios even checking it given the > configuration: ? > > check_interval=0 > check_host_freshness=0 Nagios will always run host checks as needed unless you specifically tell it not to by setting check_period to none or removing the host's check_command entirely. These are called on-demand checks and are different than active and passive checks. http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks The first option controls whether nagios periodically checks the state of a host regardless of the state of services on that host (an active check). You normally don't need that nor do you normally want to enable it. Your current setting is appropriate. The second option controls whether nagios periodically checks whether there has been a 'recent' check result submitted for this host (unrelated to any services on that host). This is almost always associated with passive host check submissions and requires check_freshness to be enabled in the host definition and for you to be submitting passive host check results. You have not indicated that you are using passive host checks and I would expect that you would be very aware of that if you were. As such, this setting has no impact/value for you. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 11 20:20:33 2007 From: td3201 at gmail.com (Terry) Date: Thu, 11 Oct 2007 13:20:33 -0500 Subject: host checking logic In-Reply-To: References: <8ee061010710111054t3128b192we0ecd74923d3b828@mail.gmail.com> Message-ID: <8ee061010710111120v32b2bfb7rf1ba3fd08f8615c9@mail.gmail.com> On 10/11/07, Marc Powell wrote: > > > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: Thursday, October 11, 2007 12:55 PM > > To: Marc Powell > > Cc: Nagios Users mailinglist > > Subject: Re: [Nagios-users] host checking logic > > > > On 10/11/07, Marc Powell wrote: > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > > > bounces at lists.sourceforge.net] On Behalf Of Terry > > > > Sent: Thursday, October 11, 2007 10:54 AM > > > > To: Nagios Users mailinglist > > > > Subject: [Nagios-users] host checking logic > > > > > > > > Hello, > > > > > > > > I have a host that will not be reachable via icmp > (check-host-alive). > > > > However, it will have services that are, check_tcp for example. > > > > > > > > > > I always assumed (ya, i know) that nagios assumed the host was up > if > > > > it had services that were OK. Obviously I am wrong or have > something > > > > misconfigured. How can I get around this issue? > > > > > > It will assume the host is up if the very first check of a service > on > > > that host is successful. After that, there are no further > assumptions. > > > > > > Thanks for your reply. Why is nagios even checking it given the > > configuration: ? > > > > check_interval=0 > > check_host_freshness=0 > > Nagios will always run host checks as needed unless you specifically > tell it not to by setting check_period to none or removing the host's > check_command entirely. These are called on-demand checks and are > different than active and passive checks. > > http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#host_checks > > The first option controls whether nagios periodically checks the state > of a host regardless of the state of services on that host (an active > check). You normally don't need that nor do you normally want to enable > it. Your current setting is appropriate. > > The second option controls whether nagios periodically checks whether > there has been a 'recent' check result submitted for this host > (unrelated to any services on that host). This is almost always > associated with passive host check submissions and requires > check_freshness to be enabled in the host definition and for you to be > submitting passive host check results. You have not indicated that you > are using passive host checks and I would expect that you would be very > aware of that if you were. As such, this setting has no impact/value for > you. > > -- > Marc I am not using passive checks (yet). I can see where I would in the future so I will turn freshness back on and change the host check command to check_dummy. Why is freshness needed for passive checks? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at mail.fdn.com Thu Oct 11 20:22:48 2007 From: dfulton at mail.fdn.com (David Fulton) Date: Thu, 11 Oct 2007 14:22:48 -0400 Subject: Nagios Problem In-Reply-To: <8ee061010710111110i62103877m6807524ccfb744ed@mail.gmail.com> References: <8ee061010710111110i62103877m6807524ccfb744ed@mail.gmail.com> Message-ID: I already tried that, It simply stops checking. Once in a while it copies the status info from the /tmp directory, but other than that is is just a bump on a log. I even thought it could be because I was sending performance data to Perfparsed via named pipe and a short perl script. But even with that off, it just stops. -----Original Message----- From: Terry [mailto:td3201 at gmail.com] Sent: Thursday, October 11, 2007 2:11 PM To: David Fulton Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Problem Do the logs show that checks are being performed? Might want to turn debugging on in nagios.cfg to get some more information. On 10/11/07, David Fulton wrote: > > > > > I am having serious problems with Nagios v3.04b. For some reason it simply > stops checking services and hosts. I have looked into this and been unable > to figure out why. I have played with the check times, service reaper times, > timeperiods. I even re-compiled PERL to be non-threading (not a simple task > on a system that is already up and running). I am getting frustrated and was > wondering if anyone out there had similar problems with it. This didn't crop > up until recently but I am unable to point to any one event that could have > caused the problem. > > > > Please help > David Fulton > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Oct 11 20:25:46 2007 From: marc at ena.com (Marc Powell) Date: Thu, 11 Oct 2007 13:25:46 -0500 Subject: host checking logic In-Reply-To: <8ee061010710111120v32b2bfb7rf1ba3fd08f8615c9@mail.gmail.com> References: <8ee061010710111120v32b2bfb7rf1ba3fd08f8615c9@mail.gmail.com> Message-ID: > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Thursday, October 11, 2007 1:21 PM > To: Marc Powell > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] host checking logic > > command to check_dummy. Why is freshness needed for passive checks? It's not needed but it's a safety net in case whatever is sending the passive checks stops doing so. Nagios would happily continue to report the last check it received before the submission process died forever. Freshness checking allows nagios to recognize that it hasn't seen any recent results for that host in some configurable time and runs the hosts check_command to be pro-active. The documentation covers some scenarios about what that check_command can/should be. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Thu Oct 11 20:34:00 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 11 Oct 2007 15:34:00 -0300 Subject: Simple Question: How to get a host parent? Message-ID: Is there anyway I could retrieve a host parent? I have looked at the MACROS and at NDO DataBase, and couldn't find anything that could do this... Nagios 2.6 Debian NDO 1.4b4 Thanks, L?vio Zanol Puppim -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 11 20:35:38 2007 From: td3201 at gmail.com (Terry) Date: Thu, 11 Oct 2007 13:35:38 -0500 Subject: host checking logic In-Reply-To: References: <8ee061010710111120v32b2bfb7rf1ba3fd08f8615c9@mail.gmail.com> Message-ID: <8ee061010710111135n2f227d99q66d55e5f11fbb5e4@mail.gmail.com> On 10/11/07, Marc Powell wrote: > > > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: Thursday, October 11, 2007 1:21 PM > > To: Marc Powell > > Cc: Nagios Users mailinglist > > Subject: Re: [Nagios-users] host checking logic > > > > > command to check_dummy. Why is freshness needed for passive checks? > > It's not needed but it's a safety net in case whatever is sending the > passive checks stops doing so. Nagios would happily continue to report > the last check it received before the submission process died forever. > Freshness checking allows nagios to recognize that it hasn't seen any > recent results for that host in some configurable time and runs the > hosts check_command to be pro-active. The documentation covers some > scenarios about what that check_command can/should be. > > -- > Marc > Ok, that makes sense. I have used passive checks in conjunction with active checks, never exclusively and don't foresee ever having that situation. :) Thanks for your help! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 11 20:38:40 2007 From: td3201 at gmail.com (Terry) Date: Thu, 11 Oct 2007 13:38:40 -0500 Subject: Nagios Problem In-Reply-To: References: <8ee061010710111110i62103877m6807524ccfb744ed@mail.gmail.com> Message-ID: <8ee061010710111138uf9b5662ta04e5fa0786a90ef@mail.gmail.com> Interesting, how many services (checks)? Did you turn off perf globally in nagios.cfg or just for a particular service? Can you send nagios commands via the web interface and have it update the next schedule service check? On 10/11/07, David Fulton wrote: > I already tried that, It simply stops checking. Once in a while it > copies the status info from the /tmp directory, but other than that is > is just a bump on a log. I even thought it could be because I was > sending performance data to Perfparsed via named pipe and a short perl > script. But even with that off, it just stops. > > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Thursday, October 11, 2007 2:11 PM > To: David Fulton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Problem > > Do the logs show that checks are being performed? Might want to turn > debugging on in nagios.cfg to get some more information. > > On 10/11/07, David Fulton wrote: > > > > > > > > > > I am having serious problems with Nagios v3.04b. For some reason it > simply > > stops checking services and hosts. I have looked into this and been > unable > > to figure out why. I have played with the check times, service reaper > times, > > timeperiods. I even re-compiled PERL to be non-threading (not a simple > task > > on a system that is already up and running). I am getting frustrated > and was > > wondering if anyone out there had similar problems with it. This > didn't crop > > up until recently but I am unable to point to any one event that could > have > > caused the problem. > > > > > > > > Please help > > David Fulton > > > ------------------------------------------------------------------------ > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at mail.fdn.com Thu Oct 11 20:43:52 2007 From: dfulton at mail.fdn.com (David Fulton) Date: Thu, 11 Oct 2007 14:43:52 -0400 Subject: Nagios Problem In-Reply-To: <8ee061010710111138uf9b5662ta04e5fa0786a90ef@mail.gmail.com> References: <8ee061010710111138uf9b5662ta04e5fa0786a90ef@mail.gmail.com> Message-ID: I can send command and it works via the web interface. I turned off performance monitoring globally. I make extensive use of templates. We have configured 864 service checks on 114 hosts. -----Original Message----- From: Terry [mailto:td3201 at gmail.com] Sent: Thursday, October 11, 2007 2:39 PM To: David Fulton Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Problem Interesting, how many services (checks)? Did you turn off perf globally in nagios.cfg or just for a particular service? Can you send nagios commands via the web interface and have it update the next schedule service check? On 10/11/07, David Fulton wrote: > I already tried that, It simply stops checking. Once in a while it > copies the status info from the /tmp directory, but other than that is > is just a bump on a log. I even thought it could be because I was > sending performance data to Perfparsed via named pipe and a short perl > script. But even with that off, it just stops. > > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Thursday, October 11, 2007 2:11 PM > To: David Fulton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Problem > > Do the logs show that checks are being performed? Might want to turn > debugging on in nagios.cfg to get some more information. > > On 10/11/07, David Fulton wrote: > > > > > > > > > > I am having serious problems with Nagios v3.04b. For some reason it > simply > > stops checking services and hosts. I have looked into this and been > unable > > to figure out why. I have played with the check times, service reaper > times, > > timeperiods. I even re-compiled PERL to be non-threading (not a simple > task > > on a system that is already up and running). I am getting frustrated > and was > > wondering if anyone out there had similar problems with it. This > didn't crop > > up until recently but I am unable to point to any one event that could > have > > caused the problem. > > > > > > > > Please help > > David Fulton > > > ------------------------------------------------------------------------ > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Thu Oct 11 20:50:39 2007 From: td3201 at gmail.com (Terry) Date: Thu, 11 Oct 2007 13:50:39 -0500 Subject: Nagios Problem In-Reply-To: References: <8ee061010710111138uf9b5662ta04e5fa0786a90ef@mail.gmail.com> Message-ID: <8ee061010710111150r1a778b9dg299d7d9e918ffd2a@mail.gmail.com> OK, in the web interface, check out the scheduling queue. Here is the relative URL if you have modified the web interface at all: /nagios/cgi-bin/extinfo.cgi?&type=7 On 10/11/07, David Fulton wrote: > I can send command and it works via the web interface. I turned off > performance monitoring globally. I make extensive use of templates. We > have configured 864 service checks on 114 hosts. > > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Thursday, October 11, 2007 2:39 PM > To: David Fulton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Problem > > Interesting, how many services (checks)? Did you turn off perf > globally in nagios.cfg or just for a particular service? Can you send > nagios commands via the web interface and have it update the next > schedule service check? > > On 10/11/07, David Fulton wrote: > > I already tried that, It simply stops checking. Once in a while it > > copies the status info from the /tmp directory, but other than that is > > is just a bump on a log. I even thought it could be because I was > > sending performance data to Perfparsed via named pipe and a short perl > > script. But even with that off, it just stops. > > > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: Thursday, October 11, 2007 2:11 PM > > To: David Fulton > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios Problem > > > > Do the logs show that checks are being performed? Might want to turn > > debugging on in nagios.cfg to get some more information. > > > > On 10/11/07, David Fulton wrote: > > > > > > > > > > > > > > > I am having serious problems with Nagios v3.04b. For some reason it > > simply > > > stops checking services and hosts. I have looked into this and been > > unable > > > to figure out why. I have played with the check times, service > reaper > > times, > > > timeperiods. I even re-compiled PERL to be non-threading (not a > simple > > task > > > on a system that is already up and running). I am getting frustrated > > and was > > > wondering if anyone out there had similar problems with it. This > > didn't crop > > > up until recently but I am unable to point to any one event that > could > > have > > > caused the problem. > > > > > > > > > > > > Please help > > > David Fulton > > > > > > ------------------------------------------------------------------------ > > - > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting > > > any issue. > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at mail.fdn.com Thu Oct 11 20:55:13 2007 From: dfulton at mail.fdn.com (David Fulton) Date: Thu, 11 Oct 2007 14:55:13 -0400 Subject: Nagios Problem In-Reply-To: <8ee061010710111150r1a778b9dg299d7d9e918ffd2a@mail.gmail.com> References: <8ee061010710111150r1a778b9dg299d7d9e918ffd2a@mail.gmail.com> Message-ID: I checked it out and after a restart of nagios, it checks everything right away. Then it stops checking for 30 minutes (before I noticed it had stopped again). Then I restarted it again and it is currently checking everything again. -----Original Message----- From: Terry [mailto:td3201 at gmail.com] Sent: Thursday, October 11, 2007 2:51 PM To: David Fulton Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Problem OK, in the web interface, check out the scheduling queue. Here is the relative URL if you have modified the web interface at all: /nagios/cgi-bin/extinfo.cgi?&type=7 On 10/11/07, David Fulton wrote: > I can send command and it works via the web interface. I turned off > performance monitoring globally. I make extensive use of templates. We > have configured 864 service checks on 114 hosts. > > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Thursday, October 11, 2007 2:39 PM > To: David Fulton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Problem > > Interesting, how many services (checks)? Did you turn off perf > globally in nagios.cfg or just for a particular service? Can you send > nagios commands via the web interface and have it update the next > schedule service check? > > On 10/11/07, David Fulton wrote: > > I already tried that, It simply stops checking. Once in a while it > > copies the status info from the /tmp directory, but other than that is > > is just a bump on a log. I even thought it could be because I was > > sending performance data to Perfparsed via named pipe and a short perl > > script. But even with that off, it just stops. > > > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: Thursday, October 11, 2007 2:11 PM > > To: David Fulton > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios Problem > > > > Do the logs show that checks are being performed? Might want to turn > > debugging on in nagios.cfg to get some more information. > > > > On 10/11/07, David Fulton wrote: > > > > > > > > > > > > > > > I am having serious problems with Nagios v3.04b. For some reason it > > simply > > > stops checking services and hosts. I have looked into this and been > > unable > > > to figure out why. I have played with the check times, service > reaper > > times, > > > timeperiods. I even re-compiled PERL to be non-threading (not a > simple > > task > > > on a system that is already up and running). I am getting frustrated > > and was > > > wondering if anyone out there had similar problems with it. This > > didn't crop > > > up until recently but I am unable to point to any one event that > could > > have > > > caused the problem. > > > > > > > > > > > > Please help > > > David Fulton > > > > > > ------------------------------------------------------------------------ > > - > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting > > > any issue. > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at mail.fdn.com Thu Oct 11 21:08:44 2007 From: dfulton at mail.fdn.com (David Fulton) Date: Thu, 11 Oct 2007 15:08:44 -0400 Subject: Nagios Problem In-Reply-To: References: Message-ID: BTW, The reason I thought it was the timeperiod file is I was using things like "David Fulton's On Call Time" as the Alias/Long Description(without the quotes) and I was afraid the apostrophe was causing problems and I am wondering if there is some character in my configs that is throwing it off. I am not the only one working on the configs anymore, I just set up the UNIX stuff. The other guy was setting up our Windows machines and his service descriptions, command parameters, and Long descriptions/Aliases seem to be longer and have some non-alphanumeric characters, nothing out of the ordinary. He has "C: Disk Space" (without the quotes) and I know that the : is okay in the service_description, but there are others I am not so sure of, for instance "Citrix CPU Utilization Mgmt/CPU Rebalancer Service" (notice the /). I don't know if that makes any difference or not. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of David Fulton Sent: Thursday, October 11, 2007 2:55 PM To: Terry Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Problem I checked it out and after a restart of nagios, it checks everything right away. Then it stops checking for 30 minutes (before I noticed it had stopped again). Then I restarted it again and it is currently checking everything again. -----Original Message----- From: Terry [mailto:td3201 at gmail.com] Sent: Thursday, October 11, 2007 2:51 PM To: David Fulton Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Problem OK, in the web interface, check out the scheduling queue. Here is the relative URL if you have modified the web interface at all: /nagios/cgi-bin/extinfo.cgi?&type=7 On 10/11/07, David Fulton wrote: > I can send command and it works via the web interface. I turned off > performance monitoring globally. I make extensive use of templates. We > have configured 864 service checks on 114 hosts. > > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Thursday, October 11, 2007 2:39 PM > To: David Fulton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Problem > > Interesting, how many services (checks)? Did you turn off perf > globally in nagios.cfg or just for a particular service? Can you send > nagios commands via the web interface and have it update the next > schedule service check? > > On 10/11/07, David Fulton wrote: > > I already tried that, It simply stops checking. Once in a while it > > copies the status info from the /tmp directory, but other than that is > > is just a bump on a log. I even thought it could be because I was > > sending performance data to Perfparsed via named pipe and a short perl > > script. But even with that off, it just stops. > > > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: Thursday, October 11, 2007 2:11 PM > > To: David Fulton > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios Problem > > > > Do the logs show that checks are being performed? Might want to turn > > debugging on in nagios.cfg to get some more information. > > > > On 10/11/07, David Fulton wrote: > > > > > > > > > > > > > > > I am having serious problems with Nagios v3.04b. For some reason it > > simply > > > stops checking services and hosts. I have looked into this and been > > unable > > > to figure out why. I have played with the check times, service > reaper > > times, > > > timeperiods. I even re-compiled PERL to be non-threading (not a > simple > > task > > > on a system that is already up and running). I am getting frustrated > > and was > > > wondering if anyone out there had similar problems with it. This > > didn't crop > > > up until recently but I am unable to point to any one event that > could > > have > > > caused the problem. > > > > > > > > > > > > Please help > > > David Fulton > > > > > > ------------------------------------------------------------------------ > > - > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting > > > any issue. > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at mail.fdn.com Thu Oct 11 22:11:12 2007 From: dfulton at mail.fdn.com (David Fulton) Date: Thu, 11 Oct 2007 16:11:12 -0400 Subject: Nagios Problem In-Reply-To: References: Message-ID: One other thing, when I look at the config in the Web interface, every host that I have defined says that Active Checks are disabled, I went ahead and checked my templates and they seem okay. Unless I am missing something I have attached the templates file for our host structure just in case. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of David Fulton Sent: Thursday, October 11, 2007 3:09 PM To: Terry Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Problem BTW, The reason I thought it was the timeperiod file is I was using things like "David Fulton's On Call Time" as the Alias/Long Description(without the quotes) and I was afraid the apostrophe was causing problems and I am wondering if there is some character in my configs that is throwing it off. I am not the only one working on the configs anymore, I just set up the UNIX stuff. The other guy was setting up our Windows machines and his service descriptions, command parameters, and Long descriptions/Aliases seem to be longer and have some non-alphanumeric characters, nothing out of the ordinary. He has "C: Disk Space" (without the quotes) and I know that the : is okay in the service_description, but there are others I am not so sure of, for instance "Citrix CPU Utilization Mgmt/CPU Rebalancer Service" (notice the /). I don't know if that makes any difference or not. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of David Fulton Sent: Thursday, October 11, 2007 2:55 PM To: Terry Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Problem I checked it out and after a restart of nagios, it checks everything right away. Then it stops checking for 30 minutes (before I noticed it had stopped again). Then I restarted it again and it is currently checking everything again. -----Original Message----- From: Terry [mailto:td3201 at gmail.com] Sent: Thursday, October 11, 2007 2:51 PM To: David Fulton Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Problem OK, in the web interface, check out the scheduling queue. Here is the relative URL if you have modified the web interface at all: /nagios/cgi-bin/extinfo.cgi?&type=7 On 10/11/07, David Fulton wrote: > I can send command and it works via the web interface. I turned off > performance monitoring globally. I make extensive use of templates. We > have configured 864 service checks on 114 hosts. > > -----Original Message----- > From: Terry [mailto:td3201 at gmail.com] > Sent: Thursday, October 11, 2007 2:39 PM > To: David Fulton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Problem > > Interesting, how many services (checks)? Did you turn off perf > globally in nagios.cfg or just for a particular service? Can you send > nagios commands via the web interface and have it update the next > schedule service check? > > On 10/11/07, David Fulton wrote: > > I already tried that, It simply stops checking. Once in a while it > > copies the status info from the /tmp directory, but other than that is > > is just a bump on a log. I even thought it could be because I was > > sending performance data to Perfparsed via named pipe and a short perl > > script. But even with that off, it just stops. > > > > -----Original Message----- > > From: Terry [mailto:td3201 at gmail.com] > > Sent: Thursday, October 11, 2007 2:11 PM > > To: David Fulton > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios Problem > > > > Do the logs show that checks are being performed? Might want to turn > > debugging on in nagios.cfg to get some more information. > > > > On 10/11/07, David Fulton wrote: > > > > > > > > > > > > > > > I am having serious problems with Nagios v3.04b. For some reason it > > simply > > > stops checking services and hosts. I have looked into this and been > > unable > > > to figure out why. I have played with the check times, service > reaper > > times, > > > timeperiods. I even re-compiled PERL to be non-threading (not a > simple > > task > > > on a system that is already up and running). I am getting frustrated > > and was > > > wondering if anyone out there had similar problems with it. This > > didn't crop > > > up until recently but I am unable to point to any one event that > could > > have > > > caused the problem. > > > > > > > > > > > > Please help > > > David Fulton > > > > > > ------------------------------------------------------------------------ > > - > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting > > > any issue. > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: hosts.cfg Type: application/octet-stream Size: 3595 bytes Desc: hosts.cfg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Thu Oct 11 23:00:23 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 11 Oct 2007 14:00:23 -0700 Subject: problem with instance_name variable in ndomod.cfg In-Reply-To: References: <2b7af7c40710101621u548a3edcxccc5811b98f97147@mail.gmail.com> Message-ID: <2b7af7c40710111400p4dfc8727h98209252c2066bcc@mail.gmail.com> > Is line 230 the line beginning 'config_file...'? My reading of the > ndoutils README is that those should be on one line with the config_file > as an argument to ndomod.o -- > > broker_module=/usr/bin/ndomod.o config_file=/etc/nagios/ndomod.cfg Perfect, I can bounce the Nagios service now! Roger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Oct 12 00:29:42 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 11 Oct 2007 15:29:42 -0700 Subject: DB server not supported for NDOutils --> modify config.h? Message-ID: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> I am getting an error following the README file in NDOutils, and another post here on NagiosExchange (http://tinyurl.com/2jnef8) leads me to believe that I'm not modifying my config.h script correctly for my CentOS 4.5 environment. NDOutils seem to compile fine (i.e. "./configure && make"), but I'm having problems when I try to run the final command in the README file, and am not quite sure what to do now. ********* problems *************************** ndo2db-2x -c /etc/nagios/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. ************************************************ (I'm running MySQL 5, so version isn't an issue) Someone else here on the list (http://tinyurl.com/2jnef8) suggested modding the config.h file in order to eliminate that command CHANGE #include #include TO #include #include However, when I looked for mysql.h (e.g. "locate mysql.h") I couldn't find find them (maybe b/c I installed from package?). Might anyone here know what I might need to do to modify this script for CentOS so that ./configure will run properly here? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 12 00:33:55 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 11 Oct 2007 15:33:55 -0700 Subject: DB server not supported for NDOutils --> modify config.h? In-Reply-To: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> References: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> Message-ID: <20071011223355.GM19764@pmorris.usa.hp.com> There should be no need to modify config.h on CentOS. If you can't find the mysql headers on your machine, you'll need to install them fist before building ndoutils if you want MySQL support. the output from the configure command will tell you whether it found them or not. On Thu, 11 Oct 2007, Roger wrote: > I am getting an error following the README file in NDOutils, and > another post here on NagiosExchange (http://tinyurl.com/2jnef8) leads > me to believe that I'm not modifying my config.h script correctly for > my CentOS 4.5 environment. > > NDOutils seem to compile fine (i.e. "./configure && make"), but I'm having > problems when I try to run the final command in the README file, and > am not quite sure what to do now. > > ********* problems *************************** > > ndo2db-2x -c /etc/nagios/ndo2db.cfg > > Support for the specified database server is either not yet supported, > or was not found on your system. > ************************************************ > > (I'm running MySQL 5, so version isn't an issue) > > Someone else here on the list (http://tinyurl.com/2jnef8) suggested modding the > config.h file in order to eliminate that command > > CHANGE > > #include > #include > > TO > > #include > #include > > However, when I looked for mysql.h (e.g. "locate mysql.h") I couldn't > find find them (maybe b/c I installed from package?). > > Might anyone here know what I might need to do to modify this script > for CentOS so that ./configure will run properly here? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 12 00:36:27 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 11 Oct 2007 15:36:27 -0700 Subject: DB server not supported for NDOutils --> modify config.h? In-Reply-To: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> References: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> Message-ID: <20071011223627.GA2374@pmorris.usa.hp.com> Hi Roger! On Thu, 11 Oct 2007, Roger wrote: > I am getting an error following the README file in NDOutils, and > another post here on NagiosExchange (http://tinyurl.com/2jnef8) leads > me to believe that I'm not modifying my config.h script correctly for > my CentOS 4.5 environment. > > NDOutils seem to compile fine (i.e. "./configure && make"), but I'm having > problems when I try to run the final command in the README file, and > am not quite sure what to do now. There should be no need to modify any header files on CentOS to get ndoutils to compile correctly. Did you install the mysql-devel package before compiling? If the correct files and libraries are not installed at build time, ndoutils will compile fine, but will not include an database support. There should be plenty of output from the configure command indicating what database support will be compiled in, if any. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 12 00:37:29 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 11 Oct 2007 15:37:29 -0700 Subject: DB server not supported for NDOutils --> modify config.h? In-Reply-To: <20071011223355.GM19764@pmorris.usa.hp.com> References: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> <20071011223355.GM19764@pmorris.usa.hp.com> Message-ID: <20071011223729.GA2537@pmorris.usa.hp.com> Sorry for the dupe -- had a little technical issue mid-send, and didn't hink it made it. :) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Oct 12 00:59:09 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 11 Oct 2007 15:59:09 -0700 Subject: DB server not supported for NDOutils --> modify config.h? In-Reply-To: <20071011223627.GA2374@pmorris.usa.hp.com> References: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> <20071011223627.GA2374@pmorris.usa.hp.com> Message-ID: <2b7af7c40710111559i4eea46faq6e9689a7b6b7a34c@mail.gmail.com> Thanks, Patrick! That seemed to get me going. I upgraded to MySQL-devel 5, I ran a "make clean", recompiled everthing (./configure && make) and then copied the binaries in the right places Now all I gotta do is figure out why it's not connecting when I run [root at localhost bin]# pwd /usr/bin [root at localhost bin]# ndo2db -c /etc/nagios/ndo2db.cfg Could not bind socket: No such file or directory [root at localhost bin]# ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Oct 12 01:07:00 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 11 Oct 2007 16:07:00 -0700 Subject: DB server not supported for NDOutils --> modify config.h? In-Reply-To: <2b7af7c40710111559i4eea46faq6e9689a7b6b7a34c@mail.gmail.com> References: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> <20071011223627.GA2374@pmorris.usa.hp.com> <2b7af7c40710111559i4eea46faq6e9689a7b6b7a34c@mail.gmail.com> Message-ID: <20071011230700.GB2374@pmorris.usa.hp.com> Looks like you've specified a socket path in either ndomod.cfg or ndo2db.cfg that doesn't exist. On Thu, 11 Oct 2007, Roger wrote: > Thanks, Patrick! > > That seemed to get me going. > > I upgraded to MySQL-devel 5, I ran a "make clean", recompiled > everthing (./configure && make) and then copied the binaries in the > right places > > Now all I gotta do is figure out why it's not connecting when I run > > [root at localhost bin]# pwd > /usr/bin > [root at localhost bin]# ndo2db -c /etc/nagios/ndo2db.cfg > Could not bind socket: No such file or directory > [root at localhost bin]# ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fvanhee at gmail.com Fri Oct 12 01:13:20 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Fri, 12 Oct 2007 01:13:20 +0200 Subject: check_iftraffic.pl plugin In-Reply-To: <4b008f7d0710111035u3340f2f8y4c50f50b8af91173@mail.gmail.com> References: <4b008f7d0710110817m324477fk68bd6edbbe503a7@mail.gmail.com> <4b008f7d0710110859m178868beme9a9248b0b5af4a6@mail.gmail.com> <470E541B.9060706@gmail.com> <4b008f7d0710111009i2f3fdc82w22f1b50290b0451f@mail.gmail.com> <470E5BE8.3090306@gmail.com> <4b008f7d0710111035u3340f2f8y4c50f50b8af91173@mail.gmail.com> Message-ID: <470EAE10.7040008@gmail.com> Alex Dehaini wrote: > Frederik, > > It works now but the values I am getting is different from what by my > MRTG/Cacti is giving me. > > The check_iftraffic.pl plugin gives me > > Total RX Bytes: 1434.86 MB, Total TX Bytes: 2213.91 MB > Average Traffic: 3.66 kB/s (0.0%) in, 3.77 kB/s (0.0%) out > > My MTRG gives me > > inbound = 50 > outbound = 75 > > Why is the plugin giving me a different value? I know the MRTG value > is correct because when I work the eth0 interface with snmp, it gives > me the same value as the MRTG. > > Thanks or your help so far. > > Regards, > Alex > > > On 10/11/07, *Vanhee Frederik* > wrote: > > Alex Dehaini wrote: > > Frederik, > > > > I run the plugin from the command line. How do I disable the > embedded > > perl intepreter. Can you furnish me with your syntax on how you used > > this plugin. > > > > Thanks > > > > On 10/11/07, *Vanhee Frederik* > > >> wrote: > > > > Alex Dehaini wrote: > > > Thanks Marc, > > > > > > I got the plug in from www.nagiosexchange.org > > > > > > < http://www.nagiosexchange.org > >, > > sorry I didn't specify that earlier > > > > > > I gave the traffic files in /tmp nagios group and user > ownership and > > > after that, I ran the following command as the nagios user and > > this is > > > the result I got > > > > > > nagios at snmp:/usr/local/nagios/libexec$ > ./check_iftraffic.pl -H > > > 41.211.0.42 > -C > > britania -i eth0 -b 100 -u m > > > Total RX Bytes: 1395.95 MB, Total TX Bytes: 2173.82 > MB
Average > > > Traffic: 0.00 kB/s (0.0%) in, 0.00 kB/s (0.0%) out| > > inUsage=0.0,85,98 > > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > > 41.211.0.42 < > http://41.211.0.42> -C > > britania -i eth0 -b 100 -u m > > > Use of uninitialized value in scalar chomp at > ./check_iftraffic.pl > > > line 185, line 1. > > > Total RX Bytes: 1395.99 MB, Total TX Bytes: 2173.86 > MB
Average > > > Traffic: 4.12 kB/s (0.0%) in, 4.12 kB/s (0.0%) out| > > inUsage=0.0,85,98 > > > outUsage=0.0,85,98 inAbsolut=1429448 outAbsolut=2225990 > > > nagios at snmp:/usr/local/nagios/libexec$ ./check_iftraffic.pl -H > > > 41.211.0.42 < > http://41.211.0.42> -C > > britania -i eth0 -b 100 -u m > > > Use of uninitialized value in scalar chomp at > ./check_iftraffic.pl > > > line 185, line 1. > > > Total RX Bytes: 1396.02 MB, Total TX Bytes: 2173.89 > MB
Average > > > Traffic: 3.60 kB/s (0.0%) in, 3.64 kB/s (0.0%) out| > > inUsage=0.0,85,98 > > > outUsage=0.0,85,98 inAbsolut=1429493 outAbsolut=2226035 > > > > > > I reckon this means that the plug in is working when ran > from the > > > nagios plugin directory via the command line. However, the > UNKNOWN > > > error still remains as reported from the the web cgi. > > > > > > Am I missing something? > > > > > > Alex > > > > > > > > > > > > > > > On 10/11/07, *Marc Powell* < marc at ena.com > > > > > >>> wrote: > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net > > > > > > > > > >> > > > [mailto: nagios-users- > > > nagios-users- >> > > > > bounces at lists.sourceforge.net > > > > > > > > > > >] On Behalf Of Alex Dehaini > > > > Sent: Thursday, October 11, 2007 10:17 AM > > > > To: nagios-users at lists.sourceforge.net > > > > > > > > > >> > > > > Subject: [Nagios-users] check_iftraffic.pl plugin > > > > > > > > Hi Guys, > > > > > > > > I need some help on how to use the > check_iftraffic.pl plug > > in. I > > > want > > > > nagios to notify me if any of my servers reach a > > 150kbits/sec on > > > their > > > > NIC. This is what I have done so far. > > > > > > > > 1. I downloaded the plug in and gave it the appropriate > > > ownership and > > > > permissions. > > > > > > When asking questions about a non-standard plugin, > it's very > > > helpful to > > > provide specific details about where you got it from. > How do we > > > know the > > > check_iftraffic.pl that google tells us about as the > top hit is > > > the same > > > one you're using? > > > > > > > > > > > > > UNKNOWN 10-11-2007 15:10:44 0d 0h 2m > > 22s 3/6 (No > > > output!) > > > > > > "NO output!" typically means the plugin is reporting > errors. > > > > > > > Can anyone please assist me. When I run this from > the plug in > > > directory, I > > > > get results, forexample > > > > > > > > snmp:/usr/local/nagios/libexec# ./check_iftraffic.pl -H > > > 41.211.0.42 > -C > > > > community -i eth0 -b 100 -u m > > > > Total RX Bytes: 1381.80 MB, Total TX Bytes: 2155.67 > > MB
Average > > > Traffic: > > > > 10.23 kB/s (0.1%) in, 12.45 kB/s ( 0.1%) out| > > inUsage=0.1,85,98 > > > > outUsage= 0.1,85,98 inAbsolut=1410835 outAbsolut=2202385 > > > > > > This implies a permissions issue. Testing as root isn't > > useful since > > > nagios isn't running the plugin as root. Do the same > test again, > > > except > > > as the nagios user. I'll bet you get different and more > > informative > > > results. > > > > > > > > > > > > I'm going to take a very arbitrary guess and assume > that I'm > > > looking at > > > the same plugin as you. It uses a temporary file, > hard-coded as > > > /tmp/traffic. Based on your test above, that file is > almost > > certainly > > > owned by root and probably isn't modifiable by the nagios > > user. Change > > > ownership/permissions of the file or remove it entirely, > > then test > > > again > > > as the nagios user. > > > > > > -- > > > Marc > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using > AJAX and a > > > browser. > > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > > < http://get.splunk.com/ > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > > > > >> > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and > > OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being > sent to > > > /dev/null > > > > > > > > > > > > > > > -- > > > Alex Dehaini > > > Developer > > > Site - www.alexdehaini.com > < > > http://www.alexdehaini.com> > > > Email - alexdehaini at gmail.com > > > > > >> > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. > > > Still grepping through log files to find problems? Stop. > > > Now Search log events and configuration files using AJAX and a > > browser. > > > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > > > > > > ------------------------------------------------------------------------ > > > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent to > > /dev/null > > Hello Alex, > > > > I think I know what the problem is; your plugin is supposed > to give > > only one line of output (unles you use Nagios 3). > > However, upon your execution, the first line of output is : > > > > "Use of uninitialized value in scalar chomp at > > ./check_iftraffic.pl line > > 185, line 1." > > > > So I think there is a problem with the plugin or the perl > interpreter. > > Do you use the embedded perl interpreter ? > > I use the same plugin from NagiosExchange but don't > experience any > > problems with it. I always disable the embedded perl interpreter > > in Nagios. > > > > Good luck, > > > > Frederik > > > > > > > > > > > > > > > > > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > > Email - alexdehaini at gmail.com > > > > > ------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > Hello Alex, > > here are my checkcommand definition and my service check definition : > > define command{ > command_name check_switchport_traffic > command_line $USER1$/check_iftraffic.pl -H $HOSTADDRESS$ -C > community -i $ARG1$ -b 100000000 -u=k > } > > check_command check_switchport_traffic!port1 > > > The only way to disable the embedded perl interpreter (Nagios 2) is to > recompile Nagios with the option '--disable-embedded-perl' or > something > similar. > > Frederik > > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hi Alex, I don't know why the plugin output could be wrong. It just takes the snmp counters and compares them to the values from the previous run and then divides the values through the time-period. So, the values in kB/sec are correct. I don't know about your MRTG values from 50 and 75, what are the corresponding units ? Frederik ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivera01 at sbcglobal.net Fri Oct 12 03:58:17 2007 From: rivera01 at sbcglobal.net (David Rivera) Date: Fri, 12 Oct 2007 03:58:17 +0200 (CEST) Subject: Front end for Nagios Message-ID: <20071012015817.8E9E2588003@desire.netways.de> I'm looking for a good front end for Nagios. Our Nagios server is running Solaris, so something that seems to work well in Solaris. It can either be opensource or not. I have heard of groundwork, any comment on them? -David ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Oct 12 04:05:57 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 11 Oct 2007 19:05:57 -0700 Subject: Front end for Nagios In-Reply-To: <20071012015817.8E9E2588003@desire.netways.de> References: <20071012015817.8E9E2588003@desire.netways.de> Message-ID: <470ED685.7010202@NagiosWiki.com> David Rivera wrote: > I'm looking for a good front end for Nagios. Our Nagios server is running Solaris, so something that seems to work well in Solaris. It can either be opensource or not. I have heard of groundwork, any comment on them? Haven't done much with Grounworks. I've played mostly with NagiosQL and Fruity. Fruity, I hear, is better, but I'm more familiar with some of the NagiosQL quirks. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Fri Oct 12 04:19:25 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Thu, 11 Oct 2007 21:19:25 -0500 (CDT) Subject: Front end for Nagios In-Reply-To: <20071012015817.8E9E2588003@desire.netways.de> References: <20071012015817.8E9E2588003@desire.netways.de> Message-ID: On Fri, 12 Oct 2007, David Rivera wrote: > I'm looking for a good front end for Nagios. Our Nagios server is > running Solaris, so something that seems to work well in Solaris. It can > either be opensource or not. I have heard of groundwork, any comment on > them? What do you need in your front end? Nagios comes with a CGI that provides a web-based interface. Not useful for custom configurations, but it is useful to view status of hosts and services, disabling/enabling notifications, etc. Jeremy C. Reed ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dest.gov.au Fri Oct 12 04:40:33 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 12 Oct 2007 12:40:33 +1000 Subject: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear Larry, I am writing to thank you for your letter and say, > -----Original Message----- > Message: 11 > Date: Thu, 11 Oct 2007 09:21:35 -0700 > From: "Larry Low" > > This is without making changes to the script. > > Scenario: > > 1) ./configure --prefix=/opt/Nagios --enable-event-broker > --with-embedded-perl (I have tried --without-perlcache as well and > have not had time to sift through code to see if this is the actual > problem) > 2) Have an ePN script with sub print_help > 3) Execute 1st check of ePN script, returns OK, no problem > 4) Execute 2nd check of ePN script and ePN compile reports print_help > function is redeclared > Thank you for the very clear synopsis of the problem. I have not had that experience with 3.0b4 (a few funny behaviours, but by and large, like 2.9). > If I compile without embedded-perl the problem does not exist. > > I should probably post this to the devel list. > You have got someones attention here. FYI (and also to save me a reply to Andreas) the ePN stuff mainly happens in p1.pl. This code 1 manages a cache of compiled plugins (ie checks if the mtime of the plugin is different to the cached value and recompiles if it is) 2 transforms the plugin to a Perl subroutine in a package named (with a mangled name) like the plugins file name 3 calls the subroutine if the mtime has not changed (and the compilation is clean). What you describe should not happen, and moreover the new stuff in 3.0 has not changed (at least as far as I can see) the interface (from that in 2.x) to Perl in checks.c and utils.c. Would you send me the plugin privately so I can inspect it ? > ---- > Larry Low > Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Fri Oct 12 04:43:26 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Fri, 12 Oct 2007 12:43:26 +1000 Subject: Front end for Nagios In-Reply-To: <20071012015817.8E9E2588003@desire.netways.de> References: <20071012015817.8E9E2588003@desire.netways.de> Message-ID: <6b8cee7e0710111943i465bda5ft4823914577aa1497@mail.gmail.com> On 10/12/07, David Rivera wrote: > I'm looking for a good front end for Nagios. I have heard of groundwork, any comment on them? Groundwork Open Source is an excellent front end for Nagios, providing a full configuration GUI. Best thing to do is: Download the Groundwork Open Source VM from http://richard.trezza.us/vmach/index.html and then check out this https://wiki.chpc.utah.edu/index.php/Groundwork_Monitor_Implementation Should be enough to get you started in evaluating. GWOS eliminates a lot of "by hand" configuration (at least for the main Nagios configuration files themselves. I still find myself writing plugins by hand, but I never need to touch the main configuration files for Nagios. Peter Edmonds ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Oct 12 04:47:52 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 11 Oct 2007 19:47:52 -0700 Subject: DB server not supported for NDOutils --> modify config.h? In-Reply-To: <20071011230700.GB2374@pmorris.usa.hp.com> References: <2b7af7c40710111529v7bc40855h41cf8be021f4e8a5@mail.gmail.com> <20071011223627.GA2374@pmorris.usa.hp.com> <2b7af7c40710111559i4eea46faq6e9689a7b6b7a34c@mail.gmail.com> <20071011230700.GB2374@pmorris.usa.hp.com> Message-ID: <470EE058.7040505@NagiosWiki.com> Patrick Morris wrote: > Looks like you've specified a socket path in either ndomod.cfg or > ndo2db.cfg that doesn't exist. Yep, that was it. I changed a few things there to reflect the Nagios settings on my test box: ********** ndo2db.cfg ****************** ndo2db_user=nagios ndo2db_group=nagios #db_user=ndouser #db_pass=ndopassword db_user=nagios db_pass=nagios #socket_type=unix <---this enabled was the problem, so I enabled "tcp" socket_type=tcp ***************************************** Thank you very much for your help, Patrick! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dest.gov.au Fri Oct 12 06:26:37 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 12 Oct 2007 14:26:37 +1000 Subject: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] Message-ID: Dear Larry, There are debugging hooks in p1.pl that would be useful to enable. If you are interested in helping deal with this problem please would you 1 Back up your original copy of p1.pl (path is specified in nagios.cfg IIRC) 2 Change the DEBUG_LEVEL to use constant DEBUG_LEVEL => LEAVE_MSG | CACHE_DUMP ; 3 Change the DEBUG_LOG_PATH to something appropriate for your system eg use constant DEBUG_LOG_PATH => '/tmp/' ; 4 Make p1.pl still compiles (perl -c p1.pl should be nag free; $? == 0) 5 Restart Nagios (IIRC, all this is documented in POD format in p1.pl, so perldoc p1.pl should show ... blah blah Extra logging is given by setting DEBUG_LEVEL to include LEAVE_MSG 1 opens an extra output stream in the path given by the value of DEBUG_LOG_PATH 2 logs messages describing the success or otherwise of the plugin com- pilation and the result of the plugin run. An example of such messages are Fri Apr 22 11:54:21 2005 eval_file: successfully compiled "/usr/local/nagios/libexec/check_bass ". Fri Apr 22 11:54:21 2005 run_package: "/usr/local/nagios/libexec/check_bass " returning ("0", "BASS Transaction completed Ok. "). Fri Apr 22 11:55:02 2005 eval_file: successfully compiled "/usr/local/nagios/libexec/check_ad -D production.prod -S". Fri Apr 22 11:55:02 2005 run_package: "/usr/local/nagios/libexec/check_ad -D foo.dom -S" returning ("0", "Ok. Expected 2 domain controllers [foo1 foo2] for "foo.dom.prod" domain from "1.1.2.3" DNS, found 8 [foo1 foo2 ..] "). .. blah blah ) In my case I see [root at acisp057 bin]# perl -c p1.pl p1.pl syntax OK [root at acisp057 bin]# diff -c p1.pl.orig p1.pl *** p1.pl.orig 2007-10-12 14:09:24.000000000 +1000 --- p1.pl 2007-10-12 14:09:56.000000000 +1000 *************** *** 10,22 **** use constant CACHE_DUMP => 2 ; use constant PLUGIN_DUMP => 4 ; ! use constant DEBUG_LEVEL => 0 ; # use constant DEBUG_LEVEL => CACHE_DUMP ; # use constant DEBUG_LEVEL => LEAVE_MSG ; ! # use constant DEBUG_LEVEL => LEAVE_MSG | CACHE_DUMP ; # use constant DEBUG_LEVEL => LEAVE_MSG | CACHE_DUMP | PLUGIN_DUMP ; ! use constant DEBUG_LOG_PATH => '/usr/local/nagios/var/' ; # use constant DEBUG_LOG_PATH => './' ; use constant LEAVE_MSG_STREAM => DEBUG_LOG_PATH . 'epn_leave-msgs.log' ; use constant CACHE_DUMP_STREAM => DEBUG_LOG_PATH . 'epn_cache-dump.log' ; --- 10,22 ---- use constant CACHE_DUMP => 2 ; use constant PLUGIN_DUMP => 4 ; ! # use constant DEBUG_LEVEL => 0 ; # use constant DEBUG_LEVEL => CACHE_DUMP ; # use constant DEBUG_LEVEL => LEAVE_MSG ; ! use constant DEBUG_LEVEL => LEAVE_MSG | CACHE_DUMP ; # use constant DEBUG_LEVEL => LEAVE_MSG | CACHE_DUMP | PLUGIN_DUMP ; ! use constant DEBUG_LOG_PATH => '/tmp/' ; # use constant DEBUG_LOG_PATH => './' ; use constant LEAVE_MSG_STREAM => DEBUG_LOG_PATH . 'epn_leave-msgs.log' ; use constant CACHE_DUMP_STREAM => DEBUG_LOG_PATH . 'epn_cache-dump.log' ; and [root at acisp057 nagios]# more /tmp/epn_leave-msgs.log Fri Oct 12 14:17:08 2007 eval_file: successfully compiled "/usr/lib/nagios/plugins/check_sysUpTime -R 10.208.1.254". Fri Oct 12 14:17:08 2007 run_package: "/usr/lib/nagios/plugins/check_sysUpTime -R 10.208.1.254" returning (0, "sysUpTime of router 1 0.208.1.254 is 231 days, 18:14:31.55"). Fri Oct 12 14:17:17 2007 eval_file: /usr/lib/nagios/plugins/check_sysUpTime already successfully compiled and file has not changed; skipping compilation. Fri Oct 12 14:17:17 2007 run_package: "/usr/lib/nagios/plugins/check_sysUpTime -R 10.36.103.254" returning (0, "sysUpTime of router 10.36.103.254 is 269 days, 00:03:26.48"). Fri Oct 12 14:17:22 2007 eval_file: successfully compiled "/usr/lib/nagios/plugins/check_backuplinks -N "BRUSW200"". Fri Oct 12 14:17:22 2007 run_package: "/usr/lib/nagios/plugins/check_backuplinks -N "BRUSW200"" returning (0, "Ok. All links from br usw200/10.0.254.167 to mtasw200 via Etherchannel _are_ in "up" operational status. Redundant topology Ok."). [root at acisp057 nagios]# Unfortch, although the log stream should be unbuffered, it wasn't being flushed while Nag was running. I had to restart Nag again to get the messages flushed (when I changed the path for the log messages). You prob should ensure that the problem plugin is scheduled frequently (eg each 5 mins) and let it run for about 5 check periods. Please post the results to the list. Thank you, Yours sincerely. Stanley Hopcroft Data Communications 02 6211 6110 0412 766 832 Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lolivotto at gmail.com Fri Oct 12 10:36:08 2007 From: lolivotto at gmail.com (Luca Olivotto) Date: Fri, 12 Oct 2007 10:36:08 +0200 Subject: How to limit access to external command Message-ID: Hi all, i have enabled the external command and all work fine. now i wanto to limit the execution of external commands trought web interface to only few users but i don't know how can i do. I have 2 "users": - web: this is the admin, it work great no problem with this user(is only an apache user) - LucaGmail : this is the user that access the nagios web interface and i want to limit, it can view only the service and host associated to it (this is good) and can execute external commands (this is not good); (LucaGmail is a "contact" for nagios and an apache user). How can i limit the execution of external command? below you can see some configuration of my installation: in cgi.cfg I set "use_authentication" to 1 default_user_name=nagiosadmin authorized_for_system_information=nagiosadmin,theboss,jdoe,web authorized_for_system_commands=nagiosadmin,web authorized_for_configuration_information=nagiosadmin,jdoe,web authorized_for_all_services=nagiosadmin,guest,web authorized_for_all_hosts=nagiosadmin,guest,web authorized_for_all_host_commands=nagiosadmin,web authorized_for_all_service_commands=nagiosadmin,web and in the htpasswd.user there are 2 users: web LucaGmail in the httpd.conf ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Options ExecCGI FollowSymLinks AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user an ls -la of "rw" directory give me: drwxrws--- 2 nagios nagcmd 4096 Oct 11 16:10 . drwxrwxr-x 5 nagios nagcmd 4096 Oct 12 10:19 .. prw-rw---- 1 nagios nagcmd 0 Oct 11 17:32 nagios.cmd in the nagcmd group there are these users: -apache (webserver user) -nagios sorry for my english... if you need more info ask without problem Thank you bye Luca ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dennis at huenseler.net Fri Oct 12 10:53:10 2007 From: dennis at huenseler.net (Dennis =?iso-8859-1?Q?H=FCnseler?=) Date: Fri, 12 Oct 2007 10:53:10 +0200 (CEST) Subject: How to limit access to external command In-Reply-To: References: Message-ID: <53734.87.79.30.2.1192179190.squirrel@81.169.132.64> Hi Luca, this part of your cgi.cfg should normaly control the use of the external commands > authorized_for_all_host_commands=nagiosadmin,web > authorized_for_all_service_commands=nagiosadmin,web This means that with your actual config the user nagiosadmin and the user web should be allowed to set an external command like discribed in the default cgi.cfg # GLOBAL HOST/SERVICE COMMAND ACCESS # These two options are comma-delimited lists of all usernames that # can issue host or service related commands via the command # CGI (cmd.cgi) for all hosts and services that are being monitored. # By default, users can only issue commands for hosts or services # that they are contacts for (unless you you choose to not use # authorization). You may use an asterisk (*) to authorize any # user who has authenticated to the web server. kind regards Dennis > Hi all, > i have enabled the external command and all work fine. now i wanto to > limit the execution of external commands trought web interface to only > few users but i don't know how can i do. > > I have 2 "users": > - web: this is the admin, it work great no problem with this user(is > only an apache user) > - LucaGmail : this is the user that access the nagios web interface > and i want to limit, it can view only the service and host associated > to it (this is good) and can execute external commands (this is not > good); (LucaGmail is a "contact" for nagios and an apache user). > > How can i limit the execution of external command? > > below you can see some configuration of my installation: > > in cgi.cfg > > I set "use_authentication" to 1 > > default_user_name=nagiosadmin > authorized_for_system_information=nagiosadmin,theboss,jdoe,web > authorized_for_system_commands=nagiosadmin,web > authorized_for_configuration_information=nagiosadmin,jdoe,web > authorized_for_all_services=nagiosadmin,guest,web > authorized_for_all_hosts=nagiosadmin,guest,web > authorized_for_all_host_commands=nagiosadmin,web > authorized_for_all_service_commands=nagiosadmin,web > > and in the htpasswd.user there are 2 users: > web > LucaGmail > > in the httpd.conf > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > Options ExecCGI FollowSymLinks > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > an ls -la of "rw" directory give me: > > drwxrws--- 2 nagios nagcmd 4096 Oct 11 16:10 . > drwxrwxr-x 5 nagios nagcmd 4096 Oct 12 10:19 .. > prw-rw---- 1 nagios nagcmd 0 Oct 11 17:32 nagios.cmd > > in the nagcmd group there are these users: > -apache (webserver user) > -nagios > > > sorry for my english... if you need more info ask without problem > > Thank you > bye > Luca > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cyrille.Bollu at fedasil.be Fri Oct 12 11:00:09 2007 From: Cyrille.Bollu at fedasil.be (Cyrille Bollu) Date: Fri, 12 Oct 2007 11:00:09 +0200 Subject: RE How to limit access to external command In-Reply-To: References: Message-ID: Hello, AFAIK, when a user is contact for a host or service she can issue any command she wants for that host/service. I would be glad to hear someone contradicting me :-) Cyrille "Luca Olivotto" Envoy? par : nagios-users-bounces at lists.sourceforge.net 12/10/2007 10:36 A nagios-users at lists.sourceforge.net cc Objet [Nagios-users] How to limit access to external command Hi all, i have enabled the external command and all work fine. now i wanto to limit the execution of external commands trought web interface to only few users but i don't know how can i do. I have 2 "users": - web: this is the admin, it work great no problem with this user(is only an apache user) - LucaGmail : this is the user that access the nagios web interface and i want to limit, it can view only the service and host associated to it (this is good) and can execute external commands (this is not good); (LucaGmail is a "contact" for nagios and an apache user). How can i limit the execution of external command? below you can see some configuration of my installation: in cgi.cfg I set "use_authentication" to 1 default_user_name=nagiosadmin authorized_for_system_information=nagiosadmin,theboss,jdoe,web authorized_for_system_commands=nagiosadmin,web authorized_for_configuration_information=nagiosadmin,jdoe,web authorized_for_all_services=nagiosadmin,guest,web authorized_for_all_hosts=nagiosadmin,guest,web authorized_for_all_host_commands=nagiosadmin,web authorized_for_all_service_commands=nagiosadmin,web and in the htpasswd.user there are 2 users: web LucaGmail in the httpd.conf ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" Options ExecCGI FollowSymLinks AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user an ls -la of "rw" directory give me: drwxrws--- 2 nagios nagcmd 4096 Oct 11 16:10 . drwxrwxr-x 5 nagios nagcmd 4096 Oct 12 10:19 .. prw-rw---- 1 nagios nagcmd 0 Oct 11 17:32 nagios.cmd in the nagcmd group there are these users: -apache (webserver user) -nagios sorry for my english... if you need more info ask without problem Thank you bye Luca ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splun