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 Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 tom.welsh at bt.com Fri Oct 12 12:29:03 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Fri, 12 Oct 2007 11:29:03 +0100 Subject: nrpe problem In-Reply-To: References: Message-ID: <6546343904687E41B19D8E5A26AB9F530188823D@E03MVB2-UKBR.domain1.systemhost.net> Hi ________________________________ From: Sukesh /IT/BLR/JIG/IN [mailto:sukesh.v at jigrahak.com] Sent: 12 October 2007 04:17 To: Welsh,T,Tom,DLS C Subject: RE: [Nagios-users] nrpe problem This is my remote host log messages Oct 11 07:00:13 ngapps-prd xinetd[619]: START: nrpe pid=1767 from=192.168.1.84 Oct 11 07:00:15 ngapps-prd nrpe[1767]: Could not read request from client, bailing out... Oct 11 07:00:15 ngapps-prd xinetd[619]: EXIT: nrpe status=0 pid=1767 duration=2(sec) ________________________________ From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Thursday, October 11, 2007 6:07 PM To: sukesh.v at jigrahak.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe problem 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... Hi Sukesh, Please dont respond to me directly. Please respond via the mailing list. Also please ost your reply comments at the bottom off teh email as it makes it easier to read it in chronological order. Well enough off that spagetti, back to your problem. Your log extract ------------------------------ Oct 11 07:00:13 ngapps-prd xinetd[619]: START: nrpe pid=1767 from=192.168.1.84 Oct 11 07:00:15 ngapps-prd nrpe[1767]: Could not read request from client, bailing out... Oct 11 07:00:15 ngapps-prd xinetd[619]: EXIT: nrpe status=0 pid=1767 duration=2(sec) ------------------------------ This really does not tell me anything. I take it you have already goggled for "nrpe + Could not read request from client, bailing out..." and found the Nagios FAQ about this. It doset look like its your problem but I dont know as you have provided only one piece off te information i asked for. So here we go again. 1. >>"./check_nrpe -H . already no firewall is running behind those servers .tried to put '-t' option also but didn't >>work." Please paste the output off the above command when you run it against your two hosts. I take it you are running the check_nrpe command as the user nagios? Here is an example that I ran on my nagios server connecting to one off my remote NRPE boxes usel:~ # su - nagios nagios at usel:~> id uid=1001(nagios) gid=100(users) groups=100(users),1001(nagcmd) /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c check_users USERS OK - 0 users currently logged in |users=0;5;10;0 2. >>Still I am able to telnet 5666 with out any problem/ Please paste in the output off your telnet sessions to both boxes and the syslog/messages output on the remote hosts like I have below. nagios at usel:~> telnet xxx.xxx.xxx.xxx 5666 Trying xxx.xxx.xxx.xxx... Connected to xxx.xxx.xxx.xxx. Escape character is '^]'. 3. >>so please help him for this. We will If you provide us with more information 4. >> (iam able to access one server and client using nrpe daemon other could not) Show us. Post your output above as host1( working) host2(non-working) The problem is probably going to be related to differences between your two remote nrpe hosts. To understand this you need to tell us what OS you are running on the boxes and also other relevant information. Things like the following 4.1 OS Version Host1 (working Host2 (non-working) 4.2 ./configure syntax used to create makefile Host1 (working Host2 (non-working) 4.3 SSL - is it installed on both boxes and is the development libs also there. something like "rpm -qa | grep ssl" on a Redhat box would show you what ssl related stuff you have installed Host1 (working Host2 (non-working) If you provide the above info it is entirely possible that whilst going through the steps to gather the info you might actually "stumble" across the cause off your problem. I look forward to hearing back from you Regards Tom -------------- 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 Fri Oct 12 14:48:16 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 12 Oct 2007 14:48:16 +0200 Subject: ping check with packet size? In-Reply-To: References: Message-ID: <470F6D10.3030908@op5.se> Rob Brown wrote: > 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. > I'll add it to check_icmp in a bit. We're doing a plugin overhaul atm, and implementing that "currently ignored" option is on the todo. I can't give an ETA though, as the work is as yet unplanned, so if check_fping does the trick, you might want to use that one instead. -- 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 alexdehaini at gmail.com Fri Oct 12 15:04:26 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 12 Oct 2007 13:04:26 +0000 Subject: check_iftraffic.pl plugin In-Reply-To: <470EAE10.7040008@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> <470EAE10.7040008@gmail.com> Message-ID: <4b008f7d0710120604n3d18dcecx62bf6d9421c606f5@mail.gmail.com> Federick, The corresponding units are kbits/sec. Let me give you some screen-shots so you can see what I am talking about. I have attached the two screen-shots for your attention. Perhaps it can expin more. Thanks On 10/11/07, Vanhee Frederik wrote: > > 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 > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-iftraffic-output.JPG Type: image/jpeg Size: 68510 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cacti-graph-output.JPG Type: image/jpeg Size: 22584 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 svalding at kent.edu Fri Oct 12 15:02:08 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Fri, 12 Oct 2007 09:02:08 -0400 Subject: NDOUtils problems Message-ID: Hey list, I'm trying to get NDOUtils up and running so that I can start to use NagVis at my location. I'm having problems getting it to work, however. I have the database set up, the user created for it's use, and ndo2db.cfg configure how I need it. I was initially going to use a unix socket to do this, however when I went to start the daemon I got an error stating that the address was already in use. I thought "well, no big deal" and changed things to use the tcp socket type, leaving all the other config parameters alone. Yet again, it still is telling me socket is already in use when I go to fire everything up. I've read the documentation for NDOUtils enough this morning to make my eyes bleed, but I am still not able to see where I am messing up. Specs: Ubuntu 7.04 Feisty Fawn Nagios 3.0b1 Plugins 1.4.8 Mysql 5 Latest stable version of NagVis (unsure of the exact number right now!) Thanks to anyone who can get me started in the right direction. -------------- 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 mark.duffy at TEWV.NHS.UK Fri Oct 12 15:19:38 2007 From: mark.duffy at TEWV.NHS.UK (Mark Duffy) Date: Fri, 12 Oct 2007 14:19:38 +0100 Subject: Monitoring HP Proliant Hardware - Windows OS Message-ID: Nagios users, I am looking for a way to monitor Proliant hardware such as physical /logical drive status, Fan status etc... I have looked on Nagios exchange and can find scripts and utilities that will work under Linux / UNIX operating systems are there any available for monitoring these things under Windows Operating systems Thanks in advance Regards, Mark This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply. Delete this message from your email system(s) and do not disclose its contents to any person. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Fri Oct 12 15:27:27 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Fri, 12 Oct 2007 18:57:27 +0530 Subject: Multiple Alerts getting generated some times In-Reply-To: References: Message-ID: Within a span of 2 minutes 2 alerts have been generated. [1192193828] SERVICE NOTIFICATION: nagios;xxxx;NW-PING;OK;notify-by-email;PING OK - Packet loss = 0%, RTA = 272.64 ms [1192193948] SERVICE NOTIFICATION: nagios;xxxx;NW-PING;OK;notify-by-email;PING OK - Packet loss = 0%, RTA = 157.49 ms This happens occasionally, how can I fix this? Service definition define service{ use generic-service ; Name of service template to use host_name xxxx service_description NW-PING is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 2 retry_check_interval 1 contact_groups network-admins notification_interval 0 notification_period 24x7 notification_options w,c,r process_perf_data 1 check_command check_ping!500.0,20%!1000.0,60% } Thanks and Regards, Narendran Neelamegam ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Fri Oct 12 15:43:21 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Fri, 12 Oct 2007 19:13:21 +0530 Subject: nrpe problem In-Reply-To: <6546343904687E41B19D8E5A26AB9F530188823D@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F530188823D@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: Sukesh, 1. Can you execute this command and also check if you have proper version of nrpe running on both client and server. Without SSL $./check_nrpe -H xxxxx -n NRPE v2.9 With SSL $./check_nrpe -H xxxxx NRPE v2.9 2. Can you can run the nrpe command locally with check_nrpe ./check_nrpe -H localhost -c command 3. Can you see if the plugin are located as configured in the nrpe.cfg? 4. Can you verify if nagios user has execute permission to run plugins? Regards, Narendan Neelamegam ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of tom.welsh at bt.com Sent: Friday, October 12, 2007 3:59 PM To: sukesh.v at jigrahak.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nrpe problem Hi ________________________________ From: Sukesh /IT/BLR/JIG/IN [mailto:sukesh.v at jigrahak.com] Sent: 12 October 2007 04:17 To: Welsh,T,Tom,DLS C Subject: RE: [Nagios-users] nrpe problem This is my remote host log messages Oct 11 07:00:13 ngapps-prd xinetd[619]: START: nrpe pid=1767 from=192.168.1.84 Oct 11 07:00:15 ngapps-prd nrpe[1767]: Could not read request from client, bailing out... Oct 11 07:00:15 ngapps-prd xinetd[619]: EXIT: nrpe status=0 pid=1767 duration=2(sec) ________________________________ From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Thursday, October 11, 2007 6:07 PM To: sukesh.v at jigrahak.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe problem 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... Hi Sukesh, Please dont respond to me directly. Please respond via the mailing list. Also please ost your reply comments at the bottom off teh email as it makes it easier to read it in chronological order. Well enough off that spagetti, back to your problem. Your log extract ------------------------------ Oct 11 07:00:13 ngapps-prd xinetd[619]: START: nrpe pid=1767 from=192.168.1.84 Oct 11 07:00:15 ngapps-prd nrpe[1767]: Could not read request from client, bailing out... Oct 11 07:00:15 ngapps-prd xinetd[619]: EXIT: nrpe status=0 pid=1767 duration=2(sec) ------------------------------ This really does not tell me anything. I take it you have already goggled for "nrpe + Could not read request from client, bailing out..." and found the Nagios FAQ about this. It doset look like its your problem but I dont know as you have provided only one piece off te information i asked for. So here we go again. 1. >>"./check_nrpe -H . already no firewall is running behind those servers .tried to put '-t' option also but didn't >>work." Please paste the output off the above command when you run it against your two hosts. I take it you are running the check_nrpe command as the user nagios? Here is an example that I ran on my nagios server connecting to one off my remote NRPE boxes usel:~ # su - nagios nagios at usel:~> id uid=1001(nagios) gid=100(users) groups=100(users),1001(nagcmd) /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c check_users USERS OK - 0 users currently logged in |users=0;5;10;0 2. >>Still I am able to telnet 5666 with out any problem/ Please paste in the output off your telnet sessions to both boxes and the syslog/messages output on the remote hosts like I have below. nagios at usel:~> telnet xxx.xxx.xxx.xxx 5666 Trying xxx.xxx.xxx.xxx... Connected to xxx.xxx.xxx.xxx. Escape character is '^]'. 3. >>so please help him for this. We will If you provide us with more information 4. >> (iam able to access one server and client using nrpe daemon other could not) Show us. Post your output above as host1( working) host2(non-working) The problem is probably going to be related to differences between your two remote nrpe hosts. To understand this you need to tell us what OS you are running on the boxes and also other relevant information. Things like the following 4.1 OS Version Host1 (working Host2 (non-working) 4.2 ./configure syntax used to create makefile Host1 (working Host2 (non-working) 4.3 SSL - is it installed on both boxes and is the development libs also there. something like "rpm -qa | grep ssl" on a Redhat box would show you what ssl related stuff you have installed Host1 (working Host2 (non-working) If you provide the above info it is entirely possible that whilst going through the steps to gather the info you might actually "stumble" across the cause off your problem. I look forward to hearing back from you Regards Tom -------------- 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 12 16:14:26 2007 From: marc at ena.com (Marc Powell) Date: Fri, 12 Oct 2007 09:14:26 -0500 Subject: How to limit access to external command 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 Luca Olivotto > Sent: Friday, October 12, 2007 3:36 AM > To: nagios-users at lists.sourceforge.net > Subject: [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. As was indicated, as far as nagios is concerned, if someone can see hosts and services, they can issue commands for those. See my response to the thread 'Disabling Host Commands CGI for a user' on 9/18/2007, and the entire thread, for options and suggestions. This is a fairly frequent question so the archives will have other threads on it. -- 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 12 16:17:38 2007 From: marc at ena.com (Marc Powell) Date: Fri, 12 Oct 2007 09:17:38 -0500 Subject: Multiple Alerts getting generated some times 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 narendran.neelamegam at wipro.com > Sent: Friday, October 12, 2007 8:27 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Multiple Alerts getting generated some times > > Within a span of 2 minutes 2 alerts have been generated. > > [1192193828] SERVICE NOTIFICATION: > nagios;xxxx;NW-PING;OK;notify-by-email;PING OK - Packet loss = 0%, RTA = > 272.64 ms > [1192193948] SERVICE NOTIFICATION: > nagios;xxxx;NW-PING;OK;notify-by-email;PING OK - Packet loss = 0%, RTA = > 157.49 ms > > This happens occasionally, how can I fix this? Definitely unusual behavior. Do you have multiple copies of nagios running? -- 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 aharrison at gmail.com Fri Oct 12 16:34:52 2007 From: aharrison at gmail.com (Andy Harrison) Date: Fri, 12 Oct 2007 10:34:52 -0400 Subject: Front end for Nagios In-Reply-To: <20071012015817.8E9E2588003@desire.netways.de> References: <20071012015817.8E9E2588003@desire.netways.de> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/11/07, 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? > I'm still using GWOS Monarch version 1.3. I have it running with nagios in a zone on Sol 10 and it works great. Highly recommend. - -- Andy Harrison public key: 0x67518262 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFHD4YfNTm8fWdRgmIRApKeAJ4i4rsLm2e8jCKJsyGqVGtk0QGcCwCgk7Y+ f755sqPx+POZfoZjsQnTJMY= =6u50 -----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 hvdkooij at vanderkooij.org Fri Oct 12 17:06:38 2007 From: hvdkooij at vanderkooij.org (hvdkooij at vanderkooij.org) Date: Fri, 12 Oct 2007 17:06:38 +0200 Subject: Multiple Alerts getting generated some times In-Reply-To: References: Message-ID: <470F8D7E.9070302@vanderkooij.org> narendran.neelamegam at wipro.com wrote: > Within a span of 2 minutes 2 alerts have been generated. > > [1192193828] SERVICE NOTIFICATION: > nagios;xxxx;NW-PING;OK;notify-by-email;PING OK - Packet loss = 0%, RTA = > 272.64 ms > [1192193948] SERVICE NOTIFICATION: > nagios;xxxx;NW-PING;OK;notify-by-email;PING OK - Packet loss = 0%, RTA = > 157.49 ms > > This happens occasionally, how can I fix this? I guess you ignore the Warnings. Check your logs but I think you will find that you hit either the 20 packet loss or 500ms RTA and this situation is remedied within a minute. Hugo. PS: Responding to a message to start a new thread is a serious sin on a mailinglist. Do not do it again! Start a new message for a new thread. -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3661 bytes Desc: S/MIME Cryptographic Signature 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 12 18:11:56 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 12 Oct 2007 09:11:56 -0700 Subject: NDOUtils problems In-Reply-To: References: Message-ID: <470F9CCC.1020501@NagiosWiki.com> svalding at kent.edu wrote: > I've read the documentation for NDOUtils enough this morning to make my > eyes bleed, but I am still not able to see where I am messing up. > > Specs: > Ubuntu 7.04 Feisty Fawn > Nagios 3.0b1 > Plugins 1.4.8 > Mysql 5 > Latest stable version of NagVis (unsure of the exact number right now!) I'm in the same boat. I've got it all "working" except for some "[1192204926] ndomod: Still unable to connect to data sink." messages in my /var/log/nagios/nagios.log file. Here is a HOWTO I just threw up on how I did it in CentOS http://nagioswiki.com/wiki/index.php/NDOutils_on_CentOS Maybe this gives you a little nudge in the right direction? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcavoy at ca.afilias.info Fri Oct 12 18:40:27 2007 From: smcavoy at ca.afilias.info (Sean McAvoy) Date: Fri, 12 Oct 2007 12:40:27 -0400 Subject: Distributed monitoring Freshness checking failing then recovering Message-ID: <510A1414-CC7A-45FE-8123-CBA2F2F3C3FE@ca.afilias.info> Hello, I have 1 central nagios system with 5 distributed servers. I have enabled freshness checking on both central and remote systems. I am constantly seeing services go to unknown status for 1-3 minutes and then recover. on the remotes I have: check_service_freshness=1 service_freshness_check_interval=10 check_host_freshness=1 host_freshness_check_interval=60 service_inter_check_delay_method=s max_service_check_spread=10 service_interleave_factor=1 host_inter_check_delay_method=s max_host_check_spread=30 max_concurrent_checks=0 It does appear as though checks are being run in parallel. I'm wonder how I can best determine where the problem is, with the execution of checks, submittal to the central system or other. Thanks. _sean ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mboeckman at servicemagic.com Fri Oct 12 18:39:20 2007 From: mboeckman at servicemagic.com (Boeckman, Matthew) Date: Fri, 12 Oct 2007 10:39:20 -0600 Subject: Service/host specific notifications Message-ID: <67CC1D2D52F85747ADE6BC83A4A7A76402C22397@Apollo.servicemagic.com> Hello list, I'm trying to get my head around nagios' flexibility on notification. My goal is to have certain services alert certain individuals via email and alert those same individuals via txt message only if services/hosts are critical. My approach I think is to define contacts that use two different templates: generic (full notification options) and cell (only d,u,r and u,c,r), then call those templates in my contact definitions. My question is in the assigning of those contacts to services. If I have a generic-service template with contact admin, and a cell-service template that includes generic-service and needs to also alert admincell, can it inherit the existing contact definitions, or do I have to spell them out again : Contact_groups admincell Or Contact_groups admin,admincell ? I saw this page on inheritance http://nagios.sourceforge.net/docs/3_0/objectinheritance.html that stipulates you can use a + for service/host _escalations_ but does not directly call out the way inheritence works for contacts in regular service or host definitions. I hope this was clear, thanks in advance! -Matthew ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 12 19:13:20 2007 From: llow at telesphere.com (Larry Low) Date: Fri, 12 Oct 2007 10:13:20 -0700 Subject: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] References: Message-ID: <014b01c80cf3$30696960$913c3c20$@com> Thanks Stanley, Using my check_ifoperstatus script. Available from http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view] =1099 I've done a few minutes of debugging and the first problem I see is the MTIME is not being populated. Here is my epn_leave-msgs.log. I added print LH "$filename - $mtime = ".$Cache{$filename}[MTIME]."\n"; while (my ($key,$value) = each %Cache) { foreach (@$value) { print LH "$key - $_\n"; } } right before it compares mtime and you will see below that MTIME is not populated. I also added a couple logs where MTIME is supposed to be set. print LH "$mtime "; $Cache{$filename}[MTIME] = $mtime unless $delete ; print LH $Cache{$filename}[MTIME]."\n"; You will see below that $mtime is fine but $Cache{$filename}[MTIME] is not. I changed $Cache{$filename}[MTIME] = $mtime unless $delete ; to $Cache{$filename}[MTIME] = $mtime; and the problem goes away. I tested for $delete and it is being set to 1 every time. What is calling eval_file? Is this from the nagios core? ************** epn_leave-msgs.log /opt/nagios/libexec/check_ifoperstatus.pl - 2.96796296296296 = 2.96796296296296 Fri Oct 12 10:00:29 2007 eval_file: successfully compiled "/opt/nagios/libexec/check_ifoperstatus.pl -H XXXX -C XXXX -k 0 -I -N Gi0/0 --cacti_database=cacti_2 --cacti_password=XXXX". Fri Oct 12 10:00:29 2007 run_package: "/opt/nagios/libexec/check_ifoperstatus.pl -H XXXX -C XXXX -k 0 -I -N Gi0/0 --cacti_database=cacti_2 --cacti_password=XXXX" returning (0, "OK - Interface 'Gi0/0' is 'up(1)' - (index 1)"). /opt/nagios/libexec/check_ifoperstatus.pl - 2.96796296296296 = /opt/nagios/libexec/check_ifoperstatus.pl - /opt/nagios/libexec/check_ifoperstatus.pl - HASH(0x9267264) /opt/nagios/libexec/check_ifoperstatus.pl - /opt/nagios/libexec/check_ifoperstatus.pl - CODE(0x9276778) 2.96796296296296 Fri Oct 12 10:00:59 2007 eval_file: syntax error in /opt/nagios/libexec/check_ifoperstatus.pl: "Subroutine print_help redefined at (eval 9) line 295,". ************** Dest.gov.au> writes: > > 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 acisp057 bin]# perl -c p1.pl > p1.pl syntax OK > [root 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 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 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 lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 lists at cloned.org.uk Fri Oct 12 19:30:31 2007 From: lists at cloned.org.uk (john) Date: Fri, 12 Oct 2007 18:30:31 +0100 (BST) Subject: nagios 2.9 ePN INC line Message-ID: Any suggestions on how to make ePN play fair? I'm using nagios 2.9, and trying to use a plugin that uses Net::DNS. I installed Net::DNS using gentoo package management all fine and dandy, scripts work on command line, but not through embedded perl. Mainly because ePN has an include line that misses out where the plugin is.. (/usr/lib/perl5/5.8.8/...) Here's the (truncated) error message that seems to get output (not sure what the tailing missing bit is): **ePN failed to compile /usr/nagios/libexec/check_dns_host: "Can't locate Net/DNS.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_p" at /usr/nagi So how do I adjust the INC line that ePN tries to use? I can't find anything in docs about it and my google-foo is failing. I don't really wanna modify each plugin.. I've currently disabled ePN as I'd like the thing to work for now. Is there a general guide anywhere on how to make ePN not be so annoying and unusable? I tried to use it once before on a box that does several hundred checks but ended up turning it off as I couldn't get it to play nice, but would like to gain back some performance benefits if possible :-) Cheers, john ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 12 19:44:15 2007 From: llow at telesphere.com (Larry Low) Date: Fri, 12 Oct 2007 10:44:15 -0700 Subject: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] In-Reply-To: <014b01c80cf3$30696960$913c3c20$@com> References: <014b01c80cf3$30696960$913c3c20$@com> Message-ID: <015101c80cf7$81b61b70$85225250$@com> I had been compiling without perl cache so that would explain why $delete was being set to 1. The problem must be in getting rid of the old cached script. I am digging deeper. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Larry Low Sent: Friday, October 12, 2007 10:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] Thanks Stanley, Using my check_ifoperstatus script. Available from http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view] =1099 I've done a few minutes of debugging and the first problem I see is the MTIME is not being populated. Here is my epn_leave-msgs.log. I added print LH "$filename - $mtime = ".$Cache{$filename}[MTIME]."\n"; while (my ($key,$value) = each %Cache) { foreach (@$value) { print LH "$key - $_\n"; } } right before it compares mtime and you will see below that MTIME is not populated. I also added a couple logs where MTIME is supposed to be set. print LH "$mtime "; $Cache{$filename}[MTIME] = $mtime unless $delete ; print LH $Cache{$filename}[MTIME]."\n"; You will see below that $mtime is fine but $Cache{$filename}[MTIME] is not. I changed $Cache{$filename}[MTIME] = $mtime unless $delete ; to $Cache{$filename}[MTIME] = $mtime; and the problem goes away. I tested for $delete and it is being set to 1 every time. What is calling eval_file? Is this from the nagios core? ************** epn_leave-msgs.log /opt/nagios/libexec/check_ifoperstatus.pl - 2.96796296296296 = 2.96796296296296 Fri Oct 12 10:00:29 2007 eval_file: successfully compiled "/opt/nagios/libexec/check_ifoperstatus.pl -H XXXX -C XXXX -k 0 -I -N Gi0/0 --cacti_database=cacti_2 --cacti_password=XXXX". Fri Oct 12 10:00:29 2007 run_package: "/opt/nagios/libexec/check_ifoperstatus.pl -H XXXX -C XXXX -k 0 -I -N Gi0/0 --cacti_database=cacti_2 --cacti_password=XXXX" returning (0, "OK - Interface 'Gi0/0' is 'up(1)' - (index 1)"). /opt/nagios/libexec/check_ifoperstatus.pl - 2.96796296296296 = /opt/nagios/libexec/check_ifoperstatus.pl - /opt/nagios/libexec/check_ifoperstatus.pl - HASH(0x9267264) /opt/nagios/libexec/check_ifoperstatus.pl - /opt/nagios/libexec/check_ifoperstatus.pl - CODE(0x9276778) 2.96796296296296 Fri Oct 12 10:00:59 2007 eval_file: syntax error in /opt/nagios/libexec/check_ifoperstatus.pl: "Subroutine print_help redefined at (eval 9) line 295,". ************** Dest.gov.au> writes: > > 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 acisp057 bin]# perl -c p1.pl > p1.pl syntax OK > [root 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 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 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 lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 Fri Oct 12 19:46:51 2007 From: dfulton at mail.fdn.com (David Fulton) Date: Fri, 12 Oct 2007 13:46:51 -0400 Subject: nagios 2.9 ePN INC line In-Reply-To: References: Message-ID: Symbolic link the NET::DNS plugin to one of those directories (like /usr/lib/perl5/site_perl/5.8.8) and it should find the module after that. I gave up on trying to change how ePN looks for modules when it couldn't find utils.pm in my plugin directory. Since all the default PERL nagios plugins need that I just made a symlink. Works smooth as silk. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of john Sent: Friday, October 12, 2007 1:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios 2.9 ePN INC line Any suggestions on how to make ePN play fair? I'm using nagios 2.9, and trying to use a plugin that uses Net::DNS. I installed Net::DNS using gentoo package management all fine and dandy, scripts work on command line, but not through embedded perl. Mainly because ePN has an include line that misses out where the plugin is.. (/usr/lib/perl5/5.8.8/...) Here's the (truncated) error message that seems to get output (not sure what the tailing missing bit is): **ePN failed to compile /usr/nagios/libexec/check_dns_host: "Can't locate Net/DNS.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_p" at /usr/nagi So how do I adjust the INC line that ePN tries to use? I can't find anything in docs about it and my google-foo is failing. I don't really wanna modify each plugin.. I've currently disabled ePN as I'd like the thing to work for now. Is there a general guide anywhere on how to make ePN not be so annoying and unusable? I tried to use it once before on a box that does several hundred checks but ended up turning it off as I couldn't get it to play nice, but would like to gain back some performance benefits if possible :-) Cheers, john ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 llow at telesphere.com Fri Oct 12 19:56:14 2007 From: llow at telesphere.com (Larry Low) Date: Fri, 12 Oct 2007 10:56:14 -0700 Subject: Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] In-Reply-To: <015101c80cf7$81b61b70$85225250$@com> References: <014b01c80cf3$30696960$913c3c20$@com> <015101c80cf7$81b61b70$85225250$@com> Message-ID: <015b01c80cf9$2e97cef0$8bc76cd0$@com> I guess the question is how to unload the perl package that the plugin is wrapped in. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Larry Low Sent: Friday, October 12, 2007 10:44 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] I had been compiling without perl cache so that would explain why $delete was being set to 1. The problem must be in getting rid of the old cached script. I am digging deeper. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Larry Low Sent: Friday, October 12, 2007 10:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] Thanks Stanley, Using my check_ifoperstatus script. Available from http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view] =1099 I've done a few minutes of debugging and the first problem I see is the MTIME is not being populated. Here is my epn_leave-msgs.log. I added print LH "$filename - $mtime = ".$Cache{$filename}[MTIME]."\n"; while (my ($key,$value) = each %Cache) { foreach (@$value) { print LH "$key - $_\n"; } } right before it compares mtime and you will see below that MTIME is not populated. I also added a couple logs where MTIME is supposed to be set. print LH "$mtime "; $Cache{$filename}[MTIME] = $mtime unless $delete ; print LH $Cache{$filename}[MTIME]."\n"; You will see below that $mtime is fine but $Cache{$filename}[MTIME] is not. I changed $Cache{$filename}[MTIME] = $mtime unless $delete ; to $Cache{$filename}[MTIME] = $mtime; and the problem goes away. I tested for $delete and it is being set to 1 every time. What is calling eval_file? Is this from the nagios core? ************** epn_leave-msgs.log /opt/nagios/libexec/check_ifoperstatus.pl - 2.96796296296296 = 2.96796296296296 Fri Oct 12 10:00:29 2007 eval_file: successfully compiled "/opt/nagios/libexec/check_ifoperstatus.pl -H XXXX -C XXXX -k 0 -I -N Gi0/0 --cacti_database=cacti_2 --cacti_password=XXXX". Fri Oct 12 10:00:29 2007 run_package: "/opt/nagios/libexec/check_ifoperstatus.pl -H XXXX -C XXXX -k 0 -I -N Gi0/0 --cacti_database=cacti_2 --cacti_password=XXXX" returning (0, "OK - Interface 'Gi0/0' is 'up(1)' - (index 1)"). /opt/nagios/libexec/check_ifoperstatus.pl - 2.96796296296296 = /opt/nagios/libexec/check_ifoperstatus.pl - /opt/nagios/libexec/check_ifoperstatus.pl - HASH(0x9267264) /opt/nagios/libexec/check_ifoperstatus.pl - /opt/nagios/libexec/check_ifoperstatus.pl - CODE(0x9276778) 2.96796296296296 Fri Oct 12 10:00:59 2007 eval_file: syntax error in /opt/nagios/libexec/check_ifoperstatus.pl: "Subroutine print_help redefined at (eval 9) line 295,". ************** Dest.gov.au> writes: > > 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 acisp057 bin]# perl -c p1.pl > p1.pl syntax OK > [root 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 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 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 lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthew-ln at itconsult.co.uk Fri Oct 12 20:52:57 2007 From: matthew-ln at itconsult.co.uk (Matthew Richardson) Date: Fri, 12 Oct 2007 19:52:57 +0100 Subject: Monitoring HP Proliant Hardware - Windows OS In-Reply-To: References: Message-ID: I have had some success simply using check_snmp on a Linux server to monitor HP Proliant hardware running Windows. For example:- |define command { | command_name check_snmp_hp_power | command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.4.1.232.6.2.9.1.0 -s 2 |} Provided the plugins you have found use SNMP, they should work on a Linux Nagios server monitoring Windows serverss. You do need to ensure that the Windows boxes have the latest Proliant software installed, together with SNMP. For information, I have only tried this on Windows 2003. Hope this helps... Best wishes, Matthew ------ >From: "Mark Duffy" >To: >Cc: >Date: Fri, 12 Oct 2007 14:19:38 +0100 >Subject: [Nagios-users] Monitoring HP Proliant Hardware - Windows OS >Nagios users, > >I am looking for a way to monitor Proliant hardware such as physical >/logical drive status, Fan status etc... > >I have looked on Nagios exchange and can find scripts and utilities that >will work under Linux / UNIX operating systems are there any available >for monitoring these things under Windows Operating systems > >Thanks in advance > >Regards, >Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 12 22:41:16 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Fri, 12 Oct 2007 15:41:16 -0500 Subject: Customizing statusmap.cgi Message-ID: I am interested in customizing statusmap.cgi to use hostgroups instead of single hosts. We are already using a patch that displays the hosts on a google map and management wants a map of the hostgroups at location, shown on the map, for the NOC to watch. I won't venture off into my lack of support for this idea but suffice it to say I have been tasked with accomplishing that. The easiest method, so it seems to me at the moment, is to use the googlemap patch combined with patching to use hostgroups instead of hosts. I am not much a c hacker so I am at a disadvantage as to how to get this working. Any and all help would be appreciated. Best Regards, Mark L. Potter Systems Engineer Academy Sports & Outdoors 1800 N. Mason Rd Katy, Texas 77449 Office: 281-646-5857 Cell: 281-734-6965 -------------- 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 12 23:23:31 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 12 Oct 2007 14:23:31 -0700 Subject: NDOUtils problems In-Reply-To: <470F9CCC.1020501@NagiosWiki.com> References: <470F9CCC.1020501@NagiosWiki.com> Message-ID: <2b7af7c40710121423n40713c1fmc4328ffe568b2386@mail.gmail.com> On 10/12/07, Roger wrote: > svalding at kent.edu wrote: > > I've read the documentation for NDOUtils enough this morning to make my > > eyes bleed, but I am still not able to see where I am messing up. > > > I'm in the same boat. I've got it all "working" except for some > "[1192204926] ndomod: Still unable to connect to data sink." messages in > my /var/log/nagios/nagios.log file. Actually, for what it's worth, I finally got it working on CentOS and am about to integrate this with NagVis. I'll throw up a HOWTO on NagVis, once I iron out some more wrinkles. -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com 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 dtownrobbrown at gmail.com Fri Oct 12 18:23:31 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Fri, 12 Oct 2007 16:23:31 +0000 (UTC) Subject: ping check with packet size? References: <470F6D10.3030908@op5.se> Message-ID: > I'll add it to check_icmp in a bit. We're doing a plugin overhaul atm, > and implementing that "currently ignored" option is on the todo. I can't > give an ETA though, as the work is as yet unplanned, so if check_fping > does the trick, you might want to use that one instead. > Thanks, Andreas. For now, I have check_fping working as desired, but would be nice to have that option with check_icmp in the future, since fping requires root privs. & I had to add it to sudoers to get it working. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Oct 13 00:30:41 2007 From: oboissard at free.fr (oboissard at free.fr) Date: Sat, 13 Oct 2007 00:30:41 +0200 Subject: nagios and local syslog In-Reply-To: <50847.87.79.30.2.1192123202.squirrel@81.169.132.64> References: <1192126130.470e66b26adfe@imp.free.fr> <50847.87.79.30.2.1192123202.squirrel@81.169.132.64> Message-ID: <470FF591.4000903@free.fr> Hi I think it would be very good to implement it on syslog . As nagios is written in C language , I think i's just syslog function arguments to change . Does anybody know where I can make this suggestion to nagios developers ? Olivier Dennis H?nseler a ?crit : > 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 dtownrobbrown at gmail.com Sat Oct 13 02:49:36 2007 From: dtownrobbrown at gmail.com (Rob Brown) Date: Fri, 12 Oct 2007 17:49:36 -0700 Subject: reschedule service checks by host/servicegroup Message-ID: I had a group of nrpe services go critical due to some network problems. Once the network came back up, the higher priority checks all recovered, while the lower priority checks that are only scheduled to check a couple times a day still showed CRITICAL (and would have for hours). With my understanding of how nagios works, that makes perfect sense, but I found myself wishing there was a way to reschedule those low priority services to re-check once the network was back up. (they had already reached max_checks). On a hostgroup or servicegroup when you click on the name part that's in parentheses and you get that menu of stuff you can do to all the machines in the host/servicegroup at once (extinfo.cgi)? It would be great to be able to reschedule service checks for all the services here or somehow force a re-check of all services in the group. I know, this probably could be pretty easily scripted via external commands file, but sure would be a nice 3.0 feature! Maybe there's some other way to tackle this like with dependencies or something i'm not thinking of? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sat Oct 13 05:44:38 2007 From: marc at ena.com (Marc Powell) Date: Fri, 12 Oct 2007 22:44:38 -0500 Subject: nagios and local syslog In-Reply-To: <470FF591.4000903@free.fr> References: <470FF591.4000903@free.fr> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of oboissard at free.fr > Sent: Friday, October 12, 2007 5:31 PM > To: dennis at huenseler.net > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios and local syslog > > Hi > > I think it would be very good to implement it on syslog . > As nagios is written in C language , I think i's just syslog function > arguments to change . Doesn't look like it's _quite_ that simple. The syslogging is done in base/logging.c in the write_to_syslog function. The code specifies the log levels (USER and INFO), but does not specify the facility to use, relying on the default syslog facility to catch it. From man 3 syslog, an openlog call needs to be added to specify the log facility to use for subsequent syslog() calls. > Does anybody know where I can make this suggestion to nagios developers ? nagios-devel. You can subscribe from http://www.nagios.org. -- 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 lists at cloned.org.uk Sat Oct 13 07:15:11 2007 From: lists at cloned.org.uk (john) Date: Sat, 13 Oct 2007 06:15:11 +0100 (BST) Subject: nagios 2.9 ePN INC line In-Reply-To: References: Message-ID: I guess that is an option, but I'd prefer not to have to do that for all the additional modules/plugins that I end up with. Does version 3 behave better as I may be able to hold off for that before changing the main monitoring node. Thanks, john On Fri, 12 Oct 2007, David Fulton wrote: > Symbolic link the NET::DNS plugin to one of those directories (like > /usr/lib/perl5/site_perl/5.8.8) and it should find the module after > that. I gave up on trying to change how ePN looks for modules when it > couldn't find utils.pm in my plugin directory. Since all the default > PERL nagios plugins need that I just made a symlink. Works smooth as > silk. > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of john > Sent: Friday, October 12, 2007 1:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios 2.9 ePN INC line > > Any suggestions on how to make ePN play fair? > > I'm using nagios 2.9, and trying to use a plugin that uses Net::DNS. > > I installed Net::DNS using gentoo package management all fine and dandy, > > scripts work on command line, but not through embedded perl. Mainly > because ePN has an include line that misses out where the plugin is.. > (/usr/lib/perl5/5.8.8/...) > > Here's the (truncated) error message that seems to get output (not sure > what the tailing missing bit is): > > **ePN failed to compile /usr/nagios/libexec/check_dns_host: "Can't > locate > Net/DNS.pm in @INC (@INC contains: /etc/perl > /usr/lib/perl5/vendor_perl/5.8.8/i686-linux > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl > /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 > > /usr/lib/perl5/site_p" at /usr/nagi > > So how do I adjust the INC line that ePN tries to use? I can't find > anything in docs about it and my google-foo is failing. I don't really > wanna modify each plugin.. > > I've currently disabled ePN as I'd like the thing to work for now. Is > there a general guide anywhere on how to make ePN not be so annoying and > > unusable? I tried to use it once before on a box that does several > hundred checks but ended up turning it off as I couldn't get it to play > nice, but would like to gain back some performance benefits if possible > :-) > > Cheers, > > john > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 Sat Oct 13 10:13:12 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Sat, 13 Oct 2007 10:13:12 +0200 Subject: check_iftraffic.pl plugin In-Reply-To: <4b008f7d0710120604n3d18dcecx62bf6d9421c606f5@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> <470EAE10.7040008@gmail.com> <4b008f7d0710120604n3d18dcecx62bf6d9421c606f5@mail.gmail.com> Message-ID: <47107E18.7030402@gmail.com> Alex Dehaini wrote: > Federick, > > The corresponding units are kbits/sec. > > Let me give you some screen-shots so you can see what I am talking about. > > I have attached the two screen-shots for your attention. Perhaps it > can expin more. > > Thanks > > > > > > On 10/11/07, *Vanhee Frederik* > wrote: > > 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 > > > > > > > > > >> > > > > 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 > > > < http://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 > > > > > < > https://lists.sourceforge.net/lists/listinfo/nagios-users> > > > > ::: 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 < > 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, > > > > 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 > > > > > -- > 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 Alex, since the difference between the two values is a 'factor 8', I think it's quite clear. Both values are right, except that the plugin check_iftraffic gives you the values in kbytes/second and cacti in kbits/second. Since 1 byte = 8 bits, that's explains the problem. So, if you want both to be the same, you'll have to adept one of them. 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 fan.jacques at gmail.com Sat Oct 13 13:59:21 2007 From: fan.jacques at gmail.com (Jacques FAN) Date: Sat, 13 Oct 2007 12:59:21 +0100 Subject: Notification by sms Message-ID: <72f6f4340710130459y43cfb0dft8b0b9f6cd85a4397@mail.gmail.com> Hi all, I setting up the lynx for sending sms alerts, but I'm not able to synchronise the alarms to be sending, who can help me with a commands. 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 td3201 at gmail.com Sat Oct 13 19:07:17 2007 From: td3201 at gmail.com (Terry) Date: Sat, 13 Oct 2007 12:07:17 -0500 Subject: ping check with packet size? In-Reply-To: References: <470F6D10.3030908@op5.se> Message-ID: <8ee061010710131007k38b3fb7bo362c17a2f6709d93@mail.gmail.com> On 10/12/07, Rob Brown wrote: > > I'll add it to check_icmp in a bit. We're doing a plugin overhaul atm, > > and implementing that "currently ignored" option is on the todo. I can't > > give an ETA though, as the work is as yet unplanned, so if check_fping > > does the trick, you might want to use that one instead. > > > Thanks, Andreas. For now, I have check_fping working as desired, but would be > nice to have that option with check_icmp in the future, since fping requires > root privs. & I had to add it to sudoers to get it working. Couldn't you create your own command that did something like: /bin/ping -s 112 -c 1 localhost ? Specifying the packet size doesn't require root privs, at least on linux. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Oct 13 19:17:49 2007 From: ae at op5.se (Andreas Ericsson) Date: Sat, 13 Oct 2007 19:17:49 +0200 Subject: nagios and local syslog In-Reply-To: References: Message-ID: <4710FDBD.9050401@op5.se> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of oboissard at free.fr >> Sent: Friday, October 12, 2007 5:31 PM >> To: dennis at huenseler.net >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] nagios and local syslog >> >> Hi >> >> I think it would be very good to implement it on syslog . >> As nagios is written in C language , I think i's just syslog function >> arguments to change . > > Doesn't look like it's _quite_ that simple. The syslogging is done in > base/logging.c in the write_to_syslog function. The code specifies the > log levels (USER and INFO), but does not specify the facility to use, > relying on the default syslog facility to catch it. From man 3 syslog, > an openlog call needs to be added to specify the log facility to use for > subsequent syslog() calls. > LOG_USER is the facility. LOG_INFO is the severity. openlog() is only used to set a default facility in case one isn't passed to the syslog() function. The code (in glibc's syslog() function) should look something like this: if (!(priority & 0x3f8)) priority |= default_priority; except that 0x3f8 is a macro called LOG_FACMASK. -- 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 Sat Oct 13 19:25:25 2007 From: ae at op5.se (Andreas Ericsson) Date: Sat, 13 Oct 2007 19:25:25 +0200 Subject: nagios and local syslog In-Reply-To: <4710FDBD.9050401@op5.se> References: <4710FDBD.9050401@op5.se> Message-ID: <4710FF85.3070806@op5.se> Andreas Ericsson wrote: > Marc Powell wrote: >>> -----Original Message----- >>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >>> bounces at lists.sourceforge.net] On Behalf Of oboissard at free.fr >>> Sent: Friday, October 12, 2007 5:31 PM >>> To: dennis at huenseler.net >>> Cc: nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] nagios and local syslog >>> >>> Hi >>> >>> I think it would be very good to implement it on syslog . >>> As nagios is written in C language , I think i's just syslog function >>> arguments to change . >> Doesn't look like it's _quite_ that simple. The syslogging is done in >> base/logging.c in the write_to_syslog function. The code specifies the >> log levels (USER and INFO), but does not specify the facility to use, >> relying on the default syslog facility to catch it. From man 3 syslog, >> an openlog call needs to be added to specify the log facility to use for >> subsequent syslog() calls. >> > > LOG_USER is the facility. LOG_INFO is the severity. openlog() is only used > to set a default facility in case one isn't passed to the syslog() function. > > The code (in glibc's syslog() function) should look something like this: > > if (!(priority & 0x3f8)) > priority |= default_priority; > > except that 0x3f8 is a macro called LOG_FACMASK. > And to reply to the original poster: It's really quite trivial to add that precise functionality to nagios, but as I've got more pressing things to do, I'll leave the hacking as an exercise to you. It'll make you feel good when you're done. ;-) -- 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 Roger at NagiosWiki.com Sun Oct 14 09:10:43 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 14 Oct 2007 00:10:43 -0700 Subject: linux kernel instrumentation + Nagios? Message-ID: <2b7af7c40710140010l576e587eoac2eb51d7a8882cd@mail.gmail.com> I'm looking for tools that will give Nagios some visibility inside the Linux kernel. Anyone used SystemTap (or something similar) with Nagios? Or is there a better tool for the job? -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=personal 949 484 4297 My Nagios Bookmarks: 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 ae at op5.se Sun Oct 14 10:47:18 2007 From: ae at op5.se (Andreas Ericsson) Date: Sun, 14 Oct 2007 10:47:18 +0200 Subject: linux kernel instrumentation + Nagios? In-Reply-To: <2b7af7c40710140010l576e587eoac2eb51d7a8882cd@mail.gmail.com> References: <2b7af7c40710140010l576e587eoac2eb51d7a8882cd@mail.gmail.com> Message-ID: <4711D796.909@op5.se> Roger wrote: > I'm looking for tools that will give Nagios some visibility inside the > Linux kernel. > > Anyone used SystemTap (or something similar) with Nagios? Or is there > a better tool for the job? > /proc and /sys filesystems holds all the info anyone in the entire world has ever thought would be useful to know about the inner workings of the kernel. I have no idea what SystemTap does, but I'm guessing it just reads those two filesystems and report the data back to the user in a dumbed-down but easier to read manner. -- 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 mikeh at muppetlabs.com Sun Oct 14 11:19:00 2007 From: mikeh at muppetlabs.com (Mike Hamrick) Date: Sun, 14 Oct 2007 02:19:00 -0700 Subject: linux kernel instrumentation + Nagios? In-Reply-To: <2b7af7c40710140010l576e587eoac2eb51d7a8882cd@mail.gmail.com> (message from Roger on Sun, 14 Oct 2007 00:10:43 -0700) References: <2b7af7c40710140010l576e587eoac2eb51d7a8882cd@mail.gmail.com> Message-ID: <200710140919.l9E9J0UG004342@muppetlabs.com> Roger wrote: > I'm looking for tools that will give Nagios some visibility inside the > Linux kernel. What are you trying to learn from the kernel? I think it'd be handy to have a monitor that would alert if a process started doing more than a certain amount of block i/o operations. Or perhaps a monitor that alerted on disk i/o bandwidth utilization (iostat -x %util) could use SystemTap to show you which processes would be likely culprits. Mike ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Oct 14 13:36:55 2007 From: termx23 at gmail.com (Peter Edmonds) Date: Sun, 14 Oct 2007 21:36:55 +1000 Subject: Notification by sms In-Reply-To: <72f6f4340710130459y43cfb0dft8b0b9f6cd85a4397@mail.gmail.com> References: <72f6f4340710130459y43cfb0dft8b0b9f6cd85a4397@mail.gmail.com> Message-ID: <6b8cee7e0710140436x2c3a9387i56f45741bbdb29b9@mail.gmail.com> On 10/13/07, Jacques FAN wrote: > I setting up the lynx for sending sms alerts, but I'm not able to > synchronise the alarms to be sending, > who can help me with a commands. This is what I use for sending sms alerts in Nagios / Groundwork Open Source notify-by-sms echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME$" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/groundwork/nagios/var/gnokii.log 2>&1 Gnokii and a Telular GSM phone plugged into the serial port and you are good to go. Other alternatives might be a Motorola GSM phone via USB.... 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 charlie at cgrosvenor.co.uk Sun Oct 14 15:30:15 2007 From: charlie at cgrosvenor.co.uk (Charlie Grosvenor) Date: Sun, 14 Oct 2007 14:30:15 +0100 Subject: Use of uninitialized value in substitution Message-ID: I am have a perl script that I use as a nagios command to monitor temperature: define command{ command_name check_1wiretemp command_line /opt/owfs/bin/1wire_temp.pl -l $ARG1$ -L $ARG2$ -w $ARG3$ -H $ARG4$ } Which has service defined as: define service{ use generic-service ; Name of service template to use host_name Temperature service_description Check Temperature check_command check_1wiretemp!22!24!30!35! } If I run the script from the command line it works fine, however when I use it with nagios2 it gives message: **ePN /opt/owfs/bin/1wire_temp.pl: "Use of uninitialized value in substitution (s///) at (eval 1) line 67,". I am not sure why this is occurring as it worked with Nagios1. Any ideas? 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 ae at op5.se Sun Oct 14 16:08:29 2007 From: ae at op5.se (Andreas Ericsson) Date: Sun, 14 Oct 2007 16:08:29 +0200 Subject: Use of uninitialized value in substitution In-Reply-To: References: Message-ID: <471222DD.1070908@op5.se> Charlie Grosvenor wrote: > I am have a perl script that I use as a nagios command to monitor > temperature: > > define command{ > command_name check_1wiretemp > command_line /opt/owfs/bin/1wire_temp.pl -l $ARG1$ -L $ARG2$ > -w $ARG3$ -H $ARG4$ > } > > Which has service defined as: > > define service{ > use generic-service ; Name > of service template to use > host_name Temperature > service_description Check Temperature > check_command check_1wiretemp!22!24!30!35! > } > > If I run the script from the command line it works fine, however when I > use it with nagios2 it gives message: > > **ePN /opt/owfs/bin/1wire_temp.pl: "Use of uninitialized value in > substitution (s///) at (eval 1) line 67,". > > I am not sure why this is occurring as it worked with Nagios1. Any > ideas? > You have embedded perl compiled in, but the script is not adhering to the strict rules that the embedded perl compiler requires. Either re-compile your nagios without embedded perl, or prepend /usr/bin/perl to the command_line variable value of your command object definition. -- 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 charlie at cgrosvenor.co.uk Sun Oct 14 17:13:36 2007 From: charlie at cgrosvenor.co.uk (Charlie Grosvenor) Date: Sun, 14 Oct 2007 16:13:36 +0100 Subject: Use of uninitialized value in substitution In-Reply-To: <471222DD.1070908@op5.se> References: <471222DD.1070908@op5.se> Message-ID: Thank you that solved it :-) -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 14 October 2007 15:08 To: Charlie Grosvenor Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Use of uninitialized value in substitution Charlie Grosvenor wrote: > I am have a perl script that I use as a nagios command to monitor > temperature: > > define command{ > command_name check_1wiretemp > command_line /opt/owfs/bin/1wire_temp.pl -l $ARG1$ -L $ARG2$ > -w $ARG3$ -H $ARG4$ > } > > Which has service defined as: > > define service{ > use generic-service ; Name > of service template to use > host_name Temperature > service_description Check Temperature > check_command check_1wiretemp!22!24!30!35! > } > > If I run the script from the command line it works fine, however when I > use it with nagios2 it gives message: > > **ePN /opt/owfs/bin/1wire_temp.pl: "Use of uninitialized value in > substitution (s///) at (eval 1) line 67,". > > I am not sure why this is occurring as it worked with Nagios1. Any > ideas? > You have embedded perl compiled in, but the script is not adhering to the strict rules that the embedded perl compiler requires. Either re-compile your nagios without embedded perl, or prepend /usr/bin/perl to the command_line variable value of your command object definition. -- 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 Roger at NagiosWiki.com Sun Oct 14 20:10:10 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 14 Oct 2007 11:10:10 -0700 Subject: Notification by sms In-Reply-To: <6b8cee7e0710140436x2c3a9387i56f45741bbdb29b9@mail.gmail.com> References: <72f6f4340710130459y43cfb0dft8b0b9f6cd85a4397@mail.gmail.com> <6b8cee7e0710140436x2c3a9387i56f45741bbdb29b9@mail.gmail.com> Message-ID: <2b7af7c40710141110m45122c6bmd5c54c4fb1e3600a@mail.gmail.com> On 10/14/07, Peter Edmonds wrote: > This is what I use for sending sms alerts in Nagios / Groundwork Open Source > > notify-by-sms > > echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATETIME$" > |gnokii --sendsms $CONTACTPAGER$ >> > /usr/local/groundwork/nagios/var/gnokii.log 2>&1 > > Gnokii and a Telular GSM phone plugged into the serial port and you > are good to go. Other alternatives might be a Motorola GSM phone via > USB.... In a pinch, I often use teleflip.com's services There are also other services out there where you enter in a cell phone number, and then it tells you the domain name that you have to send to in order to get email->SMS for that provider. (Sorry, but don't know them off the top of my head right now) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morlix at morlix.de Sun Oct 14 22:06:48 2007 From: morlix at morlix.de (morlix) Date: Sun, 14 Oct 2007 22:06:48 +0200 Subject: nagios ignores contacts Message-ID: <471276D8.3030604@morlix.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone, i have defined several contacts in three contact groups. Everytime nagios should send a email to a contact group with other members than me (morlix), it is just sending out one email to my contact (morlix). I have not defined any escalations. I read the documentation but i could not find anything related to such a problem. Also my friend google could solve this wicked problem. Here is my config. #### define contact{ name generic-contact service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,f host_notification_options d,u,r,f service_notification_commands notify-by-email host_notification_commands host-notify-by-email register 0 } define contact{ use generic-contact contact_name grub alias Grub email xxx at gmx.net } define contact{ use generic-contact contact_name phat alias Phat email xxx at gmx.net } define contact{ use generic-contact contact_name blub alias Blub email xxx at gmx.net } define contact{ use generic-contact contact_name morlix alias morlix email morlix at morlix.de } #### #### define contactgroup{ contactgroup_name main-admins alias main admins members morlix } define contactgroup{ contactgroup_name std-admins alias standard admins members morlix } define contactgroup{ contactgroup_name team-admins alias Team admins members morlix,blub,phat,grub } #### I use gentoo as os with nagios 2.9. Best regards, Timo Eissler -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHEnbYVvh+B8/faokRAkMhAJ9V/znxx/6fBkKjeEFkt51Ao2MmtACfRwQj Z7q1r4U9Z/na/nFFzUkSSIE= =DGSR -----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 ae at op5.se Sun Oct 14 22:32:24 2007 From: ae at op5.se (Andreas Ericsson) Date: Sun, 14 Oct 2007 22:32:24 +0200 Subject: nagios ignores contacts In-Reply-To: <471276D8.3030604@morlix.de> References: <471276D8.3030604@morlix.de> Message-ID: <47127CD8.1050706@op5.se> morlix wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello everyone, > > i have defined several contacts in three contact groups. Everytime > nagios should send a email to a contact group with other members than me > (morlix), it is just sending out one email to my contact (morlix). > > I have not defined any escalations. > > I read the documentation but i could not find anything related to such a > problem. Also my friend google could solve this wicked problem. > > Here is my config. > No it's not. It's missing the part where you link the contactgroups to your hosts and services. Unless you've run into a bug with the very latest beta code (which is impossible to tell since you didn't specify a nagios version), this is almost certainly either a user error, or an error in your notification script. -- 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 Stanley.Hopcroft at Dest.gov.au Mon Oct 15 04:51:39 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 15 Oct 2007 12:51:39 +1000 Subject: nagios 2.9 ePN INC line [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear John, > From: john > Subject: Re: [Nagios-users] nagios 2.9 ePN INC line > > I guess that is an option, but I'd prefer not to have to do that for > all the additional modules/plugins that I end up with. Does version 3 > behave better as I may be able to hold off for that before changing > the main monitoring node. There is no difference in ePN between v2 and v3 (or very little). > > Thanks, > > john > > On Fri, 12 Oct 2007, David Fulton wrote: > > > Symbolic link the NET::DNS plugin to one of those directories (like > > /usr/lib/perl5/site_perl/5.8.8) and it should find the module after > > that. I gave up on trying to change how ePN looks for > modules when it > > couldn't find utils.pm in my plugin directory. Since all > the default > > PERL nagios plugins need that I just made a symlink. Works > smooth as > > silk. I haven't been following this thread but with respect you maybe mistaken in blaming ePN for INC problems. ePN is Perl no ifs or buts. If Perl can find the path to the plugin, and Perl has not been changed since ePN was built, they should have the same view of INC. The standard plugins put utils.pm in a non standard Perl path, so most of my plugins have an added 'use libs q; ' #RHEL3 >From the OP point of view, if you have upgraded Perl since building ePN, recompile ePN/Nagios so it can get the version (5.8.8) dependent paths. Yours sincerely. 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 sukesh.v at jigrahak.com Mon Oct 15 08:20:20 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Mon, 15 Oct 2007 11:50:20 +0530 Subject: nrpe problem In-Reply-To: References: Message-ID: Thanks its working for me using -n (with out ssl option) ie, check_nrpe -H -c -n _____ From: narendran.neelamegam at wipro.com [mailto:narendran.neelamegam at wipro.com] Sent: Friday, October 12, 2007 7:13 PM To: sukesh.v at jigrahak.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe problem Sukesh, 1. Can you execute this command and also check if you have proper version of nrpe running on both client and server. Without SSL $./check_nrpe -H xxxxx -n NRPE v2.9 With SSL $./check_nrpe -H xxxxx NRPE v2.9 2. Can you can run the nrpe command locally with check_nrpe ./check_nrpe -H localhost -c command 3. Can you see if the plugin are located as configured in the nrpe.cfg? 4. Can you verify if nagios user has execute permission to run plugins? Regards, Narendan Neelamegam _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of tom.welsh at bt.com Sent: Friday, October 12, 2007 3:59 PM To: sukesh.v at jigrahak.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nrpe problem Hi _____ From: Sukesh /IT/BLR/JIG/IN [mailto:sukesh.v at jigrahak.com] Sent: 12 October 2007 04:17 To: Welsh,T,Tom,DLS C Subject: RE: [Nagios-users] nrpe problem This is my remote host log messages Oct 11 07:00:13 ngapps-prd xinetd[619]: START: nrpe pid=1767 from=192.168.1.84 Oct 11 07:00:15 ngapps-prd nrpe[1767]: Could not read request from client, bailing out... Oct 11 07:00:15 ngapps-prd xinetd[619]: EXIT: nrpe status=0 pid=1767 duration=2(sec) _____ From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Thursday, October 11, 2007 6:07 PM To: sukesh.v at jigrahak.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nrpe problem 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... Hi Sukesh, Please dont respond to me directly. Please respond via the mailing list. Also please ost your reply comments at the bottom off teh email as it makes it easier to read it in chronological order. Well enough off that spagetti, back to your problem. Your log extract ------------------------------ Oct 11 07:00:13 ngapps-prd xinetd[619]: START: nrpe pid=1767 from=192.168.1.84 Oct 11 07:00:15 ngapps-prd nrpe[1767]: Could not read request from client, bailing out... Oct 11 07:00:15 ngapps-prd xinetd[619]: EXIT: nrpe status=0 pid=1767 duration=2(sec) ------------------------------ This really does not tell me anything. I take it you have already goggled for "nrpe + Could not read request from client, bailing out..." and found the Nagios FAQ about this. It doset look like its your problem but I dont know as you have provided only one piece off te information i asked for. So here we go again. 1. >>"./check_nrpe -H . already no firewall is running behind those servers .tried to put '-t' option also but didn't >>work." Please paste the output off the above command when you run it against your two hosts. I take it you are running the check_nrpe command as the user nagios? Here is an example that I ran on my nagios server connecting to one off my remote NRPE boxes usel:~ # su - nagios nagios at usel:~> id uid=1001(nagios) gid=100(users) groups=100(users),1001(nagcmd) /usr/local/nagios/libexec/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c check_users USERS OK - 0 users currently logged in |users=0;5;10;0 2. >>Still I am able to telnet 5666 with out any problem/ Please paste in the output off your telnet sessions to both boxes and the syslog/messages output on the remote hosts like I have below. nagios at usel:~> telnet xxx.xxx.xxx.xxx 5666 Trying xxx.xxx.xxx.xxx... Connected to xxx.xxx.xxx.xxx. Escape character is '^]'. 3. >>so please help him for this. We will If you provide us with more information 4. >> (iam able to access one server and client using nrpe daemon other could not) Show us. Post your output above as host1( working) host2(non-working) The problem is probably going to be related to differences between your two remote nrpe hosts. To understand this you need to tell us what OS you are running on the boxes and also other relevant information. Things like the following 4.1 OS Version Host1 (working Host2 (non-working) 4.2 ./configure syntax used to create makefile Host1 (working Host2 (non-working) 4.3 SSL - is it installed on both boxes and is the development libs also there. something like "rpm -qa | grep ssl" on a Redhat box would show you what ssl related stuff you have installed Host1 (working Host2 (non-working) If you provide the above info it is entirely possible that whilst going through the steps to gather the info you might actually "stumble" across the cause off your problem. I look forward to hearing back from you Regards Tom The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.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 yhasabnis at gmail.com Mon Oct 15 09:38:35 2007 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Mon, 15 Oct 2007 13:08:35 +0530 Subject: check_snmp_printer Message-ID: Hi, Would like to know whether the check_snmp_printer plugin can be used to monitor HP Color Laserjet 2600n printer. I tried using it from the command-line but the output for all of the commands is blank. For eg. ./check_snmp_printer CONSUM TEST Consumables you may Monitor: 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 gcoochey at sapphire.gi Mon Oct 15 09:57:35 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 15 Oct 2007 09:57:35 +0200 Subject: Customizing statusmap.cgi In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A7043@hermes.sapphire-int.gi> See Below ________________________________________ 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: 12 October 2007 22:41 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Customizing statusmap.cgi I am interested in customizing statusmap.cgi to use hostgroups instead of single hosts. We are already using a patch that displays the hosts on a google map and management wants a map of the hostgroups at location, shown on the map, for the NOC to watch. I won't venture off into my lack of support for this idea but suffice it to say I have been tasked with accomplishing that. The easiest method, so it seems to me at the moment, is to use the googlemap patch combined with patching to use hostgroups instead of hosts. I am not much a c hacker so I am at a disadvantage as to how to get this working. Any and all help would be appreciated. Mark, I recently spent a lot of time trying to dissuade management about maps and the futility of them, I've implemented one here for our NOC (under duress). The Tactical Overview / Current Problems pages are far more interesting and useful for NOC engineers. I'm sure our marketing department could have put some nice pretty pictures in the NOC and it would have had the same effect (something for potential customers to gasp in awe at). I notice that there has been very little work with regard to the statusmap.cgi in Nagios (few changes there since version 1) and after searching away on google for quite a while for customisations I'm resorting to argue the case that the current map we have is as good as it is going to get, and I'd rather spend my time improving the services and dependencies so that the NOC get more intelligent alerting. The return on investment doing that is far higher than any pretty pictures. That said, if anyone does invest time on the statusmap code, implement multiple maps, implement a slide show feature, implement the hostgroups feature you ask for, etc... and submit the code to the main Nagios codebase, then I would probably upgrade in a flash. Best Regards, Giles PS - Quoting from the OpenNMS FAQ (Does OpenNMS have a map?) and I think the same philosophy can be found within the minds of those who develop Nagios: The short answer is that we don't have one. If you want the explanation, read on. OpenNMS was developed by seasoned network management consultants. One of the more popular commercial NMS programs is Hewlett-Packard's Network Node Manager, which generates a network map that can be customized. Most of the OpenNMS creators had spend literally months of their lives customizing maps like those provided by NNM. The problem is that, while pretty, automated maps have limited usefulness. It can be argued that even customized maps rarely return the investment made in creating them. Even with NNM, most experienced network managers rely more on the event list than the map. So, rather than spending a huge amount of development effort on a map, OpenNMS chose a different route. On the main WebUI page there is a "real time console" (RTC) that reflects the status of categories of devices. Out of the box these categories reflect groups of devices like database servers, web servers, etc. However, anything in the database can be used to create a custom category list, and grouping devices by location, building, vendor, IP range, etc., is very common. The categories list follows a basic tenet of OpenNMS: once configured it should be simple to use and as automated as possible. As new devices are added, the categories automatically update. There is no need for manual customization, such as would be required with a useful map. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 15 13:45:17 2007 From: lolivotto at gmail.com (Luca Olivotto) Date: Mon, 15 Oct 2007 13:45:17 +0200 Subject: How to limit access to external command In-Reply-To: References: Message-ID: thank you for all responses!! i will wait for nagios 3 where this feature is included. bye Luca On 10/12/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 Luca Olivotto > > Sent: Friday, October 12, 2007 3:36 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [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. > > As was indicated, as far as nagios is concerned, if someone can see > hosts and services, they can issue commands for those. See my response > to the thread 'Disabling Host Commands CGI for a user' on 9/18/2007, and > the entire thread, for options and suggestions. > > This is a fairly frequent question so the archives will have other > threads on it. > > -- > 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 jakobverner at hotmail.com Mon Oct 15 14:16:56 2007 From: jakobverner at hotmail.com (Jakob Verner Christensen) Date: Mon, 15 Oct 2007 12:16:56 +0000 Subject: Problems with ndomod Message-ID: I am trying to get NDOutils to work, but I have problems with NDOmod, and there doesn?t seem to be a solution My problem is that the ndomod can open the data sink. I get this error: ndomod: Could not open the data sink! I'll keep trying, but some output may get lost I have tried everything but I can?t come up with a solution please help!!! My setup: I am trying to make NDOutils work in a distributed environment (2 computers) and using fedora 7 in run level 3. On the first computer I have MySQL and ndo2db installed, everything is working fine here (there are no errors in the logs, and ndo2db has opened a socket), I have killed the firewall (iptables -F), and configured the ndo2db.cfg with these parameters: ndo2db_user=mysql ndo2db_group=mysql socket_type=tcp tcp_port=5668 db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=ndoutils db_pass=imnotthatstupid max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 On another computer i have nagios and ndomod installed, ndomod is configured with these parameters: instance_name=default output_type=tcpsocket output=192.168.224.144 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=5 reconnect_warning_interval=5 data_processing_options=-1 config_output_options=2 Can anyone help me? Kind regardsJakob Verner _________________________________________________________________ Musik for et bedre milj?? - Se hvordan p? Live Earth http://liveearth.dk.msn.com/event -------------- 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 Mon Oct 15 14:48:55 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Mon, 15 Oct 2007 14:48:55 +0200 Subject: Problems with ndomod In-Reply-To: References: Message-ID: <471361B7.9080000@gmail.com> Jakob Verner Christensen wrote: > > I am trying to get NDOutils to work, but I have problems with NDOmod, > and there doesn?t seem to be a solution > > > > My problem is that the ndomod can open the data sink. > > I get this error: ndomod: Could not open the data sink! I'll keep > trying, but some output may get lost > > I have tried everything but I can?t come up with a solution please help!!! > > My setup: > > I am trying to make NDOutils work in a distributed environment (2 > computers) and using fedora 7 in run level 3. > > On the first computer I have MySQL and ndo2db installed, everything is > working fine here (there are no errors in the logs, and ndo2db has > opened a socket), I have killed the firewall (iptables -F), and > configured the ndo2db.cfg with these parameters: > > ndo2db_user=mysql > > ndo2db_group=mysql > > socket_type=tcp > > tcp_port=5668 > > db_servertype=mysql > > db_host=localhost > > db_port=3306 > > db_name=nagios > > db_prefix=nagios_ > > db_user=ndoutils > > db_pass=imnotthatstupid > > max_timedevents_age=1440 > > max_systemcommands_age=10080 > > max_servicechecks_age=10080 > > max_hostchecks_age=10080 > > max_eventhandlers_age=44640 > > > > On another computer i have nagios and ndomod installed, ndomod is > configured with these parameters: > > instance_name=default > > output_type=tcpsocket > > output=192.168.224.144 > > output_buffer_items=5000 > > buffer_file=/usr/local/nagios/var/ndomod.tmp > > file_rotation_interval=14400 > > file_rotation_timeout=60 > > reconnect_interval=5 > > reconnect_warning_interval=5 > > data_processing_options=-1 > > config_output_options=2 > > > Can anyone help me? > > Kind regards > Jakob Verner > > > > ------------------------------------------------------------------------ > Del dit liv - online med Windows Live Spaces Windows Live Spaces > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Jakob, I don't see a tcp port definition in your ndomod.cfg, maybe you forgot it ? That could be a fairly good reason why there's no connection. Second thing you can do is to use the plugin 'check_tcp' to make sure there is any reaction on port 5668 of your destination machine. 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 rcupardo at tnet.it Mon Oct 15 15:59:25 2007 From: rcupardo at tnet.it (Riccardo Cupardo) Date: Mon, 15 Oct 2007 15:59:25 +0200 Subject: Email Report Datetime and Output are empty Message-ID: <4713723D.8090901@tnet.it> 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 Mon Oct 15 16:08:40 2007 From: dennis at huenseler.net (Dennis =?iso-8859-1?Q?H=FCnseler?=) Date: Mon, 15 Oct 2007 16:08:40 +0200 (CEST) Subject: Email Report Datetime and Output are empty In-Reply-To: <4713723D.8090901@tnet.it> References: <4713723D.8090901@tnet.it> Message-ID: <55137.87.79.30.2.1192457320.squirrel@81.169.132.64> Hi Ricardo, try using $LONGDATETIME$ instead ob $DATETIME$ and $SERVICEOUTPUT$ instead of $OUTPUT$ kind regards, dennis > Hi all,
>
> i'm a new user of Nagios(2.9), i have a little problem, when i receive > a email report from nagios,
> I see:
>
>
Notification Type: PROBLEM
>
> Service: IIS
> Host: Web Server #2
> Address: 192.168.10.12
> State: WARNING
>
> Date/Time: $
>
> Additional Info:
>
> $
> 
> No info with the var $DATETIME$ and $OUTPUT$.
> I'm using a gentoo distro with the standard sSMTP 2.60.4.
>
> Any idea?
>
--
> Riccardo Cupardo
> 
> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 stephen.wing at steria.co.uk Mon Oct 15 16:34:41 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Mon, 15 Oct 2007 15:34:41 +0100 Subject: cpu utilization on aix Message-ID: <011b01c80f38$858bb550$b002a8c0@uk.sterianet> Hi I am running nagios 2.9 as a server on an AIX o/s, I also monitor other aix servers, currently I use the nrpe daemon on the clients to report back filesystem fullness using the check_disk command against each filesystem. Can I monitor cpu and memory utilisation on these unix (aix) clients, if so I know I will use the check_nrpe to connect to the client, but what check command do I use on the aix client and what are the variables. 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: Splunk Inc. Still grepping through log files to find problems? 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 kemotaha at gmail.com Mon Oct 15 17:16:18 2007 From: kemotaha at gmail.com (Nathan Blackham) Date: Mon, 15 Oct 2007 09:16:18 -0600 Subject: On-Call Rotation Message-ID: What do other people user to rotate who gets paged at night. We currently have 4 Admins that rotate on a weekly basis (Monday-Monday). Currently we are all getting paged all the time. Is there a solution out there that we can setup a On-Call person or pointer where it will switch between who is currently on-call? Nathan -------------- 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 aharrison at gmail.com Mon Oct 15 17:25:09 2007 From: aharrison at gmail.com (Andy Harrison) Date: Mon, 15 Oct 2007 11:25:09 -0400 Subject: On-Call Rotation In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/15/07, Nathan Blackham wrote: > What do other people user to rotate who gets paged at night. We currently > have 4 Admins that rotate on a weekly basis (Monday-Monday). Currently we > are all getting paged all the time. Is there a solution out there that we > can setup a On-Call person or pointer where it will switch between who is > currently on-call? I've usually done it the lazy way... a little script that changes the aliases file so that oncall at example.com always points to the appropriate address for who is on call. - -- Andy Harrison public key: 0x67518262 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFHE4ZpNTm8fWdRgmIRAsV8AJ9RIVM6oMNZ9hB3kMCn5PyTp7YkHgCdH5F2 y9wSWQoNB688vpom/FIy1WE= =Wwas -----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 reed at reedmedia.net Mon Oct 15 17:27:48 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Mon, 15 Oct 2007 10:27:48 -0500 (CDT) Subject: On-Call Rotation In-Reply-To: References: Message-ID: On Mon, 15 Oct 2007, Nathan Blackham wrote: > What do other people user to rotate who gets paged at night. We currently > have 4 Admins that rotate on a weekly basis (Monday-Monday). Currently we > are all getting paged all the time. Is there a solution out there that we > can setup a On-Call person or pointer where it will switch between who is > currently on-call? Here are some docs for Nagios 3 for "oncall rotations": http://nagios.sourceforge.net/docs/3_0/oncallrotation.html (I don't take advantage of it myself. I use 24x7 and simply turn off my pager when it is not my rotation. And then I review the old pages when I turn it back on.) 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 progressivepenguin at gmail.com Mon Oct 15 17:30:55 2007 From: progressivepenguin at gmail.com (Steve T) Date: Mon, 15 Oct 2007 10:30:55 -0500 Subject: On-Call Rotation In-Reply-To: References: Message-ID: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com> I just created a contactgroup for each of us on call and manually changed the notification every week. Nothing fancy, but we swapped our on calls often enough that it was easier for us to just pencil ourselves in. On 10/15/07, Nathan Blackham wrote: > > What do other people user to rotate who gets paged at night. We currently > have 4 Admins that rotate on a weekly basis (Monday-Monday). Currently we > are all getting paged all the time. Is there a solution out there that we > can setup a On-Call person or pointer where it will switch between who is > currently on-call? > > Nathan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "In a time of universal deceit, telling the truth is a revolutionary act!" -- George Orwell (Eric Arthur Blair) -------------- 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 Mon Oct 15 19:13:16 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Mon, 15 Oct 2007 11:13:16 -0600 Subject: One more try on Debian Etch Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE3623@lwmailserver1.pinkard.com> I've brought up a second, test box for Debian Etch. I'm trying to install Nagios from the source code, since installing from the pre-packaged Debian files seems to use completely different directories than the documentation and doesn't install the sample configuration files. Going through the documentation, it says for the Nagios check_snmp plugin to properly compile and install, the net-snmp and net-snmp-utils packages must be installed. These packages don't exist for Debian Etch. Does anyone know the corresponding packages to use and how to tell Nagios during configuration where these packages are located? Or as an alternative, does anyone know the standard directories the Debian Etch Nagios-Text and Nagios-Plugin packages install to by default and how to get the sample configs installed like it does with the Nagios source code? I haven't found any good How-to for the configuration and use of the Nagios Plugins for Debian Etch, only installation of the packages. TIA 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 donnell.lewis at icoretechnology.com Mon Oct 15 19:22:39 2007 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Mon, 15 Oct 2007 13:22:39 -0400 Subject: On-Call Rotation In-Reply-To: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com> References: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com> Message-ID: <1192468960.2573.33.camel@localhost.localdomain> Likewise here, we have a qmail server and I just setup a adminonduty contactgroup and defined a timeperiod for adminonduty contacts and then wrote a simple bash script that looks for the current adminonduty in the adminonduty.cfg file that holds the group definition and according to what the current one is changes that to the next in the list and reloads nagios, then it logs in to the mailserver and sets the adminonduty forwarder to the current email addy of the contact. -Don On Mon, 2007-10-15 at 10:30 -0500, Steve T wrote: > I just created a contactgroup for each of us on call and manually > changed the notification every week. Nothing fancy, but we swapped > our on calls often enough that it was easier for us to just pencil > ourselves in. > > On 10/15/07, Nathan Blackham wrote: > What do other people user to rotate who gets paged at night. > We currently have 4 Admins that rotate on a weekly basis > (Monday-Monday). Currently we are all getting paged all the > time. Is there a solution out there that we can setup a > On-Call person or pointer where it will switch between who is > currently on-call? > > Nathan > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > > > > -- > "In a time of universal deceit, telling the truth is a revolutionary > act!" > -- George Orwell (Eric Arthur Blair) > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 ae at op5.se Mon Oct 15 19:39:18 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Oct 2007 19:39:18 +0200 Subject: One more try on Debian Etch In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE3623@lwmailserver1.pinkard.com> References: <2CE4DD25946EB940B8EE93877AF62531FE3623@lwmailserver1.pinkard.com> Message-ID: <4713A5C6.3090509@op5.se> Joel Roberts wrote: > > Going through the documentation, it says for the Nagios check_snmp > plugin to properly compile and install, the net-snmp and net-snmp-utils > packages must be installed. These packages don't exist for Debian Etch. > Does anyone know the corresponding packages to use and how to tell > Nagios during configuration where these packages are located? > Search for "snmp" with apt. I have no idea how to do that, only that it's possible. You shouldn't be getting all that many hits. -- 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 15 19:45:57 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Oct 2007 19:45:57 +0200 Subject: One more try on Debian Etch In-Reply-To: References: Message-ID: <4713A755.8000508@op5.se> Valdinger, Stephen (DOV, MSX) wrote: > Ubuntu is based on debian, and I was able to compile net-snmp from > source successfully on the server that I have Nagios running on. And > actually, you can get it from CPAN I believe by typing > > Install Net::SNMP > > From within CPAN itself. I believe that is how I got my snmp up and > running correctly. > Umm, no. That will install perl-Net-SNMP (or some such), which is only the perl-cruft into the net-snmp package. check_snmp is written in C, so what you do with CPAN will have absolutely zero impact on how it works. -- 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 Joel.Roberts at pinkardcc.com Mon Oct 15 19:58:44 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Mon, 15 Oct 2007 11:58:44 -0600 Subject: One more try on Debian Etch In-Reply-To: References: Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE3624@lwmailserver1.pinkard.com> Thanks to all for the input, I didn't realize there were alternatives to the check_snmp out there, I'll look into the Patrick's Plugins. -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Monday, October 15, 2007 11:50 AM To: Andreas Ericsson Cc: Joel Roberts; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] One more try on Debian Etch Ah, understood. I do not use the check_snmp plugin, I use Patrick proy's snmp plugins. I misunderstood the requirements of the check_snmp plugin. With patrick's plugins they only require the perl Net-snmp portion, which is why I am using the CPAN version! -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Monday, October 15, 2007 1:46 PM To: Valdinger, Stephen (DOV, MSX) Cc: Joel Roberts; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] One more try on Debian Etch Valdinger, Stephen (DOV, MSX) wrote: > Ubuntu is based on debian, and I was able to compile net-snmp from > source successfully on the server that I have Nagios running on. And > actually, you can get it from CPAN I believe by typing > > Install Net::SNMP > > From within CPAN itself. I believe that is how I got my snmp up and > running correctly. > Umm, no. That will install perl-Net-SNMP (or some such), which is only the perl-cruft into the net-snmp package. check_snmp is written in C, so what you do with CPAN will have absolutely zero impact on how it works. -- 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 smcavoy at ca.afilias.info Mon Oct 15 20:09:12 2007 From: smcavoy at ca.afilias.info (Sean McAvoy) Date: Mon, 15 Oct 2007 14:09:12 -0400 Subject: Distributed monitoring Freshness checking failing then recovering In-Reply-To: <510A1414-CC7A-45FE-8123-CBA2F2F3C3FE@ca.afilias.info> References: <510A1414-CC7A-45FE-8123-CBA2F2F3C3FE@ca.afilias.info> Message-ID: <3F98CB58-9AFE-40F3-94D6-EA18571A8DED@ca.afilias.info> On further investigations it looks as though the problem is with the time taken to submit the results back to nagios via send_nsca. I have read about a couple different options for getting results back quickly. One being a bulk system of transfer, a file containing the results is sent via a send_nsca bulk transfer executed via cron. The other being a system that makes use of the performance data output option on the remote nagios systems and submits the results using a custom daemon on both ends. Does anybody know of any other options? Also, is there any guides to setting up either of these options, most of what I have read is email threads.. Thanks. On 12-Oct-07, at 12:40 PM, Sean McAvoy wrote: > Hello, > I have 1 central nagios system with 5 distributed servers. I have > enabled freshness checking on both central and remote systems. I am > constantly seeing services go to unknown status for 1-3 minutes and > then recover. > on the remotes I have: > check_service_freshness=1 > service_freshness_check_interval=10 > check_host_freshness=1 > host_freshness_check_interval=60 > service_inter_check_delay_method=s > max_service_check_spread=10 > service_interleave_factor=1 > host_inter_check_delay_method=s > max_host_check_spread=30 > max_concurrent_checks=0 > > It does appear as though checks are being run in parallel. I'm wonder > how I can best determine where the problem is, with the execution of > checks, submittal to the central system or other. > Thanks. > > > _sean > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Sean McAvoy NOC Acting Team Lead Afilias Canada P. 416.673.4194 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Mon Oct 15 20:18:26 2007 From: shoktai at gmail.com (Thomas Vito) Date: Mon, 15 Oct 2007 20:18:26 +0200 Subject: One more try on Debian Etch In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE3624@lwmailserver1.pinkard.com> References: <2CE4DD25946EB940B8EE93877AF62531FE3624@lwmailserver1.pinkard.com> Message-ID: <619cf3c0710151118u14e4dc0i1df782de8f3af785@mail.gmail.com> I am running nagios on debian etch, i have installed packages libsnmp-dev - SNMP (Simple Network Management Protocol) development files libsnmp10 - SNMP (Simple Network Management Protocol) library snmp - SNMP (Simple Network Management Protocol) applications snmpd - SNMP (Simple Network Management Protocol) agents 2007/10/15, Joel Roberts : > > Thanks to all for the input, I didn't realize there were alternatives to > the check_snmp out there, I'll look into the Patrick's Plugins. > > -----Original Message----- > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > Sent: Monday, October 15, 2007 11:50 AM > To: Andreas Ericsson > Cc: Joel Roberts; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] One more try on Debian Etch > > Ah, understood. I do not use the check_snmp plugin, I use Patrick proy's > snmp plugins. I misunderstood the requirements of the check_snmp plugin. > With patrick's plugins they only require the perl Net-snmp portion, > which is why I am using the CPAN version! > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Monday, October 15, 2007 1:46 PM > To: Valdinger, Stephen (DOV, MSX) > Cc: Joel Roberts; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] One more try on Debian Etch > > Valdinger, Stephen (DOV, MSX) wrote: > > Ubuntu is based on debian, and I was able to compile net-snmp from > > source successfully on the server that I have Nagios running on. And > > actually, you can get it from CPAN I believe by typing > > > > Install Net::SNMP > > > > From within CPAN itself. I believe that is how I got my snmp up and > > running correctly. > > > > Umm, no. That will install perl-Net-SNMP (or some such), which is only > the perl-cruft into the net-snmp package. check_snmp is written in C, > so what you do with CPAN will have absolutely zero impact on how it > works. > > -- > 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 > -------------- 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 Mon Oct 15 20:29:46 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Mon, 15 Oct 2007 12:29:46 -0600 Subject: One more try on Debian Etch In-Reply-To: <619cf3c0710151118u14e4dc0i1df782de8f3af785@mail.gmail.com> References: <2CE4DD25946EB940B8EE93877AF62531FE3624@lwmailserver1.pinkard.com> <619cf3c0710151118u14e4dc0i1df782de8f3af785@mail.gmail.com> Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE3626@lwmailserver1.pinkard.com> Thanks for the info. Did you install from the source code or the debian packages? Are you using check_snmp? ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Thomas Vito Sent: Monday, October 15, 2007 12:18 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] One more try on Debian Etch I am running nagios on debian etch, i have installed packages libsnmp-dev - SNMP (Simple Network Management Protocol) development files libsnmp10 - SNMP (Simple Network Management Protocol) library snmp - SNMP (Simple Network Management Protocol) applications snmpd - SNMP (Simple Network Management Protocol) agents 2007/10/15, Joel Roberts : Thanks to all for the input, I didn't realize there were alternatives to the check_snmp out there, I'll look into the Patrick's Plugins. -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Monday, October 15, 2007 11:50 AM To: Andreas Ericsson Cc: Joel Roberts; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] One more try on Debian Etch Ah, understood. I do not use the check_snmp plugin, I use Patrick proy's snmp plugins. I misunderstood the requirements of the check_snmp plugin. With patrick's plugins they only require the perl Net-snmp portion, which is why I am using the CPAN version! -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Monday, October 15, 2007 1:46 PM To: Valdinger, Stephen (DOV, MSX) Cc: Joel Roberts; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] One more try on Debian Etch Valdinger, Stephen (DOV, MSX) wrote: > Ubuntu is based on debian, and I was able to compile net-snmp from > source successfully on the server that I have Nagios running on. And > actually, you can get it from CPAN I believe by typing > > Install Net::SNMP > > From within CPAN itself. I believe that is how I got my snmp up and > running correctly. > Umm, no. That will install perl-Net-SNMP (or some such), which is only the perl-cruft into the net-snmp package. check_snmp is written in C, so what you do with CPAN will have absolutely zero impact on how it works. -- 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 -------------- 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 shoktai at gmail.com Mon Oct 15 20:35:45 2007 From: shoktai at gmail.com (Thomas Vito) Date: Mon, 15 Oct 2007 20:35:45 +0200 Subject: One more try on Debian Etch In-Reply-To: <2CE4DD25946EB940B8EE93877AF62531FE3626@lwmailserver1.pinkard.com> References: <2CE4DD25946EB940B8EE93877AF62531FE3624@lwmailserver1.pinkard.com> <619cf3c0710151118u14e4dc0i1df782de8f3af785@mail.gmail.com> <2CE4DD25946EB940B8EE93877AF62531FE3626@lwmailserver1.pinkard.com> Message-ID: <619cf3c0710151135k6b33a394g69a4b0df40d69255@mail.gmail.com> I have been compiling. When doing so the config files go to /usr/local/nagios when installing the packages i think they go in /etc/nagios To retrieve the name of installed package you can run dpkg --get-selections | grep nagios Then, you can always find the files installed with the package with the command dpkg -L package_name As many other i dont use check_snmp but i can run the plugin from the command line so it works, i use too the Patrick roy's plugin (that do require Net::snmp, i have installed it with CPAN) that do well their job, they are more processor consuming than some other plugins though. 2007/10/15, Joel Roberts : > > Thanks for the info. Did you install from the source code or the debian > packages? Are you using check_snmp? > > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Thomas Vito > *Sent:* Monday, October 15, 2007 12:18 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] One more try on Debian Etch > > > > I am running nagios on debian etch, i have installed packages > > libsnmp-dev - SNMP (Simple Network Management Protocol) development files > libsnmp10 - SNMP (Simple Network Management Protocol) library > snmp - SNMP (Simple Network Management Protocol) applications > snmpd - SNMP (Simple Network Management Protocol) agents > > > 2007/10/15, Joel Roberts : > > Thanks to all for the input, I didn't realize there were alternatives to > the check_snmp out there, I'll look into the Patrick's Plugins. > > -----Original Message----- > From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > Sent: Monday, October 15, 2007 11:50 AM > To: Andreas Ericsson > Cc: Joel Roberts; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] One more try on Debian Etch > > Ah, understood. I do not use the check_snmp plugin, I use Patrick proy's > snmp plugins. I misunderstood the requirements of the check_snmp plugin. > With patrick's plugins they only require the perl Net-snmp portion, > which is why I am using the CPAN version! > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Monday, October 15, 2007 1:46 PM > To: Valdinger, Stephen (DOV, MSX) > Cc: Joel Roberts; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] One more try on Debian Etch > > Valdinger, Stephen (DOV, MSX) wrote: > > Ubuntu is based on debian, and I was able to compile net-snmp from > > source successfully on the server that I have Nagios running on. And > > actually, you can get it from CPAN I believe by typing > > > > Install Net::SNMP > > > > From within CPAN itself. I believe that is how I got my snmp up and > > running correctly. > > > > Umm, no. That will install perl-Net-SNMP (or some such), which is only > the perl-cruft into the net-snmp package. check_snmp is written in C, > so what you do with CPAN will have absolutely zero impact on how it > works. > > -- > 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 > > > -------------- 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 nur-ab-sal at gmx.de Mon Oct 15 20:58:34 2007 From: nur-ab-sal at gmx.de (Stephan Seitz) Date: Mon, 15 Oct 2007 20:58:34 +0200 Subject: Nagios and virtualization Message-ID: <20071015T2050.GA.20e23.stse@fsing.rootsland.net> Hi! I?m using Nagios 2.6 with Debian Etch. I was wondering how I can teach Nagios to know about virtualization, in my case XEN environments. The parent concept does not work, because it is designed for networks. And the Dom0 is not necessary in the same network as the different DomUs. How are you solving the problem? And if I have a host downtime for a Dom0 I would like Nagios to activate automatically a downtime for all DomUs. How can I do this? Thanks for your help! Shade and sweet water! Stephan -- | Stephan Seitz E-Mail: Nur-Ab-Sal at gmx.de | | PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html | -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature 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 andrew at profitability.net Mon Oct 15 21:07:37 2007 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 15 Oct 2007 15:07:37 -0400 Subject: Nagios and virtualization In-Reply-To: <20071015T2050.GA.20e23.stse@fsing.rootsland.net> References: <20071015T2050.GA.20e23.stse@fsing.rootsland.net> Message-ID: <06a101c80f5e$a6d63de0$4d00a8c0@andrew2> Stephan Seitz wrote: > Hi! > > I'm using Nagios 2.6 with Debian Etch. > > I was wondering how I can teach Nagios to know about virtualization, > in my case XEN environments. The parent concept does not work, > because it is designed for networks. And the Dom0 is not necessary in > the same network as the different DomUs. How are you solving the > problem? > > And if I have a host downtime for a Dom0 I would like Nagios to > activate automatically a downtime for all DomUs. How can I do this? I'm not sure why a parent/child relationship doesn't work for you here. Just make each of your DomUs dependent on Dom0. It might make the automatically generated status map look a little funny, but that's generally useless beyond a few hundred hosts anyway. Andrew ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nur-ab-sal at gmx.de Mon Oct 15 21:47:49 2007 From: nur-ab-sal at gmx.de (Stephan Seitz) Date: Mon, 15 Oct 2007 21:47:49 +0200 Subject: Nagios and virtualization In-Reply-To: <06a101c80f5e$a6d63de0$4d00a8c0@andrew2> References: <20071015T2050.GA.20e23.stse@fsing.rootsland.net> <06a101c80f5e$a6d63de0$4d00a8c0@andrew2> Message-ID: <20071015T2139.GA.83d68.stse@fsing.rootsland.net> On Mon, Oct 15, 2007 at 03:07:37PM -0400, Andrew Cruse wrote: >> And if I have a host downtime for a Dom0 I would like Nagios to >> activate automatically a downtime for all DomUs. How can I do this? >I'm not sure why a parent/child relationship doesn't work for you here. Well, it may work in this trigger downtime situation, but the availibilty checks will not always work because the Dom0 is not always the network parent of the DomUs. And using this kind of ?hack? I will be unable to use the switches as network parent. >Just make each of your DomUs dependent on Dom0. It might make the >automatically generated status map look a little funny, but that's generally True ;-). Do you know if the next Nagios release will distinguish between network parent and VM parent? Shade and sweet water! Stephan -- | Stephan Seitz E-Mail: Nur-Ab-Sal at gmx.de | | PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html | -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature 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 raj at csub.edu Mon Oct 15 22:32:12 2007 From: raj at csub.edu (Russell Jackson) Date: Mon, 15 Oct 2007 13:32:12 -0700 Subject: Nagios and virtualization In-Reply-To: <20071015T2050.GA.20e23.stse@fsing.rootsland.net> References: <20071015T2050.GA.20e23.stse@fsing.rootsland.net> Message-ID: <4713CE4C.4070808@csub.edu> Stephan Seitz wrote: > Hi! > > I?m using Nagios 2.6 with Debian Etch. > > I was wondering how I can teach Nagios to know about virtualization, in > my case XEN environments. The parent concept does not work, because it is > designed for networks. And the Dom0 is not necessary in the same network > as the different DomUs. How are you solving the problem? > > And if I have a host downtime for a Dom0 I would like Nagios to activate > automatically a downtime for all DomUs. How can I do this? > :takes hammer away: This is what host/service dependencies are for. -- Russell A. Jackson Network Analyst California State University, Bakersfield So much food, and so little time! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 4291 bytes Desc: S/MIME Cryptographic Signature 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 vanandel at ucar.edu Mon Oct 15 22:49:45 2007 From: vanandel at ucar.edu (Joseph VanAndel) Date: Mon, 15 Oct 2007 14:49:45 -0600 Subject: PDF version of Nagios 3.X documentation Message-ID: <4713D269.4070106@ucar.edu> The PDF here: http://nagios.sourceforge.net/docs/nagios-3.pdf is defective - it is only 779 bytes long. Can someone tell me where to find the real document, or fix the scripts that generate the PDF? Thanks much! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 23:59:26 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 15 Oct 2007 23:59:26 +0200 Subject: One more try on Debian Etch In-Reply-To: References: Message-ID: <4713E2BE.30104@op5.se> Valdinger, Stephen (DOV, MSX) wrote: > Ah, understood. I do not use the check_snmp plugin, I use Patrick proy's > snmp plugins. I misunderstood the requirements of the check_snmp plugin. > With patrick's plugins they only require the perl Net-snmp portion, > which is why I am using the CPAN version! > AFAIK, the perl Net::SNMP package just provides bindings for the C library, so for perl plugins you'd need both the perl package and the C library. To build the perl package you'd also need the development environment of the C library. -- 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 livegreat007 at yahoo.com Tue Oct 16 04:12:05 2007 From: livegreat007 at yahoo.com (Live Great) Date: Tue, 16 Oct 2007 10:12:05 +0800 (CST) Subject: Nagios-3.x Solaris 9 Build Problem Message-ID: <105491.77835.qm@web45515.mail.sp1.yahoo.com> Hi, I am running Sun 5.10 on Sparc. I got the following error while executing ./configure for Nagios. configure:1794: gcc --version &5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1795: 19871 Killed $CC --version configure:1797: $? = 137 configure:1799: gcc -v &5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1800: 19875 Killed $CC -v configure:1802: $? = 137 configure:1804: gcc -V &5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1805: 19879 Killed $CC -V configure:1807: $? = 137 configure:1830: checking for C compiler default output file name configure:1833: gcc conftest.c >&5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 configure:1836: $? = 137 What development packages I need to download in order to fix this error? Thanks S -------------- 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 Tue Oct 16 04:48:07 2007 From: livegreat007 at yahoo.com (Live Great) Date: Mon, 15 Oct 2007 19:48:07 -0700 (PDT) Subject: ldconfig Message-ID: <377518.57938.qm@web45502.mail.sp1.yahoo.com> Hi, I found that I don't have the libiconv and gd library. After I installed it, ./configure runs better, but still complain gd lib not found. I used " --with-gd-lib and --with-gd-inc" with /usr/local/lib and /usr/local/include in the commandline, but still complain gd not found. I have added /usr/local/include and /usr/local/lib in the /etc/ld.so.conf file, but I can't find ldconfig command in the system. Do I need to run ldconfig? and where can I download this tool for Sun 5.10? Thanks ----- Original Message ---- From: Live Great To: nagios-users at lists.sourceforge.net Sent: Tuesday, October 16, 2007 12:12:05 PM Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem Hi, I am running Sun 5.10 on Sparc. I got the following error while executing ./configure for Nagios. configure:1794: gcc --version &5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1795: 19871 Killed $CC --version configure:1797: $? = 137 configure:1799: gcc -v &5 ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1800: 19875 Killed $CC -v configure:1802: $? = 137 configure:1804: gcc -V &5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1805: 19879 Killed $CC -V configure:1807: $? = 137 configure:1830: checking for C compiler default output file name configure:1833: gcc conftest.c >&5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 configure:1836: $? = 137 What development packages I need to download in order to fix this error? Thanks S -------------- 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 psdelmundo2028 at gmail.com Tue Oct 16 05:57:20 2007 From: psdelmundo2028 at gmail.com (Philipp Del Mundo) Date: Tue, 16 Oct 2007 11:57:20 +0800 Subject: Authenticated SMTP (ASMTP) Message-ID: <97f852de0710152057s6caf361fhddee09f78af809b@mail.gmail.com> Hi All Nagios Users, How can I configure my nagios server that can notify me thru email and use our authenticated SMTP (ASMTP)? Thanks in Advance! :-) -- Philipp S. Del Mundo IT.Technical Special Project Coordinator KFC/Mister Donut Philippines -------------- 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 e-destiny.co.za Tue Oct 16 09:36:16 2007 From: marc at e-destiny.co.za (Marc Hultquist) Date: Tue, 16 Oct 2007 09:36:16 +0200 Subject: check_ping for routers Message-ID: <1192520176.7773.153.camel@localhost> Hi All I am busy setting up nagios to monitor some of my branch routers, the problem I am having through, I have set the check_ping command to the default as follows: define service{ use generic-service ; host_name blmsec; service_description PING ; check_command check_ping!200.0,20%!600.0,60% ; normal_check_interval 5; retry_check_interval 1; } I am wanting to find out, the "200.0,20%!600.0,60%", is this the thresh hold for the checking of the line, I assume it means if it gets a responce of over 200 milliseconds it will display the line as a warning, and if it gets a responce of 600 milliseconds it will display the error as critical..... Now what I want to find out, the above mentioned host always seems to pitch up on my "service status" page where nagios displays it as getting a responce time of 524 milliseconds(Hence the warning), but I sit on the nagios machine at the console and have been running a constant ping to the mentioned router, and the highest responce time I get is 78 milliseconds....... These responces always change on the nagios interface and show the responce time of over 500 milliseconds, but during the constant running manual ping it works 100% and as I said never goes above 78 milliseconds... Is there anything I can check in terms of the nagios config, or maybe would it be reccomended to change the thresh hold that is defined for the monitoring of the router ? The thing here is the tcp check made to the router on port 23 works 100% and never displays in the service errors page, only the check_ping warning... :-\ -- Marc Hultquist Destiny Electronic Commerce (Pty) Ltd Network Administrator "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away !" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duncan.ferguson at altinity.com Tue Oct 16 10:16:12 2007 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Tue, 16 Oct 2007 09:16:12 +0100 Subject: Nagios-3.x Solaris 9 Build Problem In-Reply-To: <105491.77835.qm@web45515.mail.sp1.yahoo.com> References: <105491.77835.qm@web45515.mail.sp1.yahoo.com> Message-ID: On 16 Oct 2007, at 03:12, Live Great wrote: > Hi, > > I am running Sun 5.10 on Sparc. > I got the following error while executing ./configure for Nagios. > > Get the libiconv package from Sunfreeware (www.sunfreeware.com) - they will also have all of the other deps you may come across needing. Duncs -- Duncan Ferguson http://www.altinity.com Tel: +44 (0)870 787 9243 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.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 duncan.ferguson at altinity.com Tue Oct 16 10:19:33 2007 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Tue, 16 Oct 2007 09:19:33 +0100 Subject: ldconfig In-Reply-To: <377518.57938.qm@web45502.mail.sp1.yahoo.com> References: <377518.57938.qm@web45502.mail.sp1.yahoo.com> Message-ID: <1BA38BC1-EC46-4629-9F16-0F74E0C52966@altinity.com> On 16 Oct 2007, at 03:48, Live Great wrote: > Hi, > > I found that I don't have the libiconv and gd library. > After I installed it, ./configure runs better, but still complain > gd lib not found. > I used " --with-gd-lib and --with-gd-inc" with /usr/local/lib and / > usr/local/include in the commandline, but still complain gd not > found. > I have added /usr/local/include and /usr/local/lib in the /etc/ > ld.so.conf file, but I can't find ldconfig command in the system. > Do I need to run ldconfig? and where can I download this tool for > Sun 5.10? I found it better to run something like LDFLAGS="-L/usr/local/lib -R/usr/local/lib" ./configure [rest of configure command you used] as that should work across all versions of solaris, given appropriate packages being installed Duncs -- Duncan Ferguson Opsview - Making Nagios Easier http://www.altinity.com Tel: +44 (0)870 787 9243 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.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 radhiilu at yahoo.com Tue Oct 16 10:33:21 2007 From: radhiilu at yahoo.com (Sekhar) Date: Tue, 16 Oct 2007 01:33:21 -0700 (PDT) Subject: Checking snmp service Message-ID: <361057.19496.qm@web90507.mail.mud.yahoo.com> Hi Guys, I want to monitor snmp service is running or not in my nagios server How do i do this what plugin i need to use. Thanks for your kind help --------------------------------- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. -------------- 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 pescobar at cipf.es Tue Oct 16 10:39:09 2007 From: pescobar at cipf.es (Pablo Escobar) Date: Tue, 16 Oct 2007 10:39:09 +0200 Subject: should I use nagios 2.9 or 3.0b5?? Message-ID: <200710161039.09232.pescobar@cipf.es> Hi all I have been using nagios 2.9 for six months on my last job and it really likes me a lot but now I have gone to a new job and I?m not sure if I should use the last stable release (2.9) or try the last version (3.0b5). I have both installed and they two seems to work great at least in a basic installation but before start tunning my configuration I?d like to know if the last nagios release is considered stable and if someone is using it on a production environment with a large number of machines. many thanks in advance for any recomendation. -- Pablo Escobar Lopez Head of Infrastructure & IT Support Bioinformatics Department (CIPF) http://bioinfo.cipf.es ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pescobar at cipf.es Tue Oct 16 10:43:40 2007 From: pescobar at cipf.es (Pablo Escobar) Date: Tue, 16 Oct 2007 10:43:40 +0200 Subject: Checking snmp service In-Reply-To: <361057.19496.qm@web90507.mail.mud.yahoo.com> References: <361057.19496.qm@web90507.mail.mud.yahoo.com> Message-ID: <200710161043.40162.pescobar@cipf.es> you can try the check_snmp plugin if you cant get an OID its sure the snmp server is working. [root at centos64 plugins]# ./check_snmp --help check_snmp (nagios-plugins 1.4.9) 1.72 Copyright (c) 1999-2007 Nagios Plugin Development Team Check status of remote machines and obtain sustem information via SNMP On Tuesday 16 October 2007 10:33:21 Sekhar wrote: > Hi Guys, > > I want to monitor snmp service is running or not in my nagios server How > do i do this what plugin i need to use. > > Thanks for your kind help > > > > --------------------------------- > Boardwalk for $500? In 2007? Ha! > Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! > Games. -- Pablo Escobar Lopez Head of Infrastructure & IT Support Bioinformatics Department (CIPF) http://bioinfo.cipf.es ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 10:50:42 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Tue, 16 Oct 2007 09:50:42 +0100 Subject: check_nrpe with -n option Message-ID: <00bd01c80fd1$a2b56ec0$b502a8c0@uk.sterianet> Hi All I need to use check_nrpe with the "-n" option so that it does not use SSL connection, When I use this from the command line I get the result I expect. My question is what should the services.cfg file look like to include this option. My current services.cfg file looks like this :- define service { host_name HCNTEST1 service_description / Free Space check_command check_nrpe!5666!check_root 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 localadmins } 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: Splunk Inc. Still grepping through log files to find problems? 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 Tue Oct 16 11:03:09 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 16 Oct 2007 10:03:09 +0100 Subject: should I use nagios 2.9 or 3.0b5?? In-Reply-To: <200710161039.09232.pescobar@cipf.es> References: <200710161039.09232.pescobar@cipf.es> Message-ID: <6546343904687E41B19D8E5A26AB9F53018E8DED@E03MVB2-UKBR.domain1.systemhost.net> Hi Pablo, In my humble opinion I would suggest not to use beta software in a production environment. As you stated in your mail you used 2.9 and it was great. Id suggest still using it until Nagios 3 is stable. There is quite a lot of chatter on the mailing list about nagios 3 and problems with notifications etc. The last thing you want to do is setup Nagios in a new company and for it to go wrong. My Plan would be about 3 steps 1. Install Nagios 2.9 stable release and get it Monitoring and alerting(leave to run for 3-6 months) 2. Install Nagios 3.0 on test bed system and get it monitoring your systems. Turn off alerting to anyone important but have it mail you with alerts. This will ensure you have duplicate alerts from both systems and they should be almost in sync. 3. Migrate your config from Nagios 2.x to Nagios 3 over a period off time, switching on Alerting as you go. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Pablo Escobar Sent: 16 October 2007 09:39 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] should I use nagios 2.9 or 3.0b5?? Hi all I have been using nagios 2.9 for six months on my last job and it really likes me a lot but now I have gone to a new job and I?m not sure if I should use the last stable release (2.9) or try the last version (3.0b5). I have both installed and they two seems to work great at least in a basic installation but before start tunning my configuration I?d like to know if the last nagios release is considered stable and if someone is using it on a production environment with a large number of machines. many thanks in advance for any recomendation. -- Pablo Escobar Lopez Head of Infrastructure & IT Support Bioinformatics Department (CIPF) http://bioinfo.cipf.es ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 stephen.wing at steria.co.uk Tue Oct 16 11:51:03 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Tue, 16 Oct 2007 10:51:03 +0100 Subject: check_nrpe with -n option In-Reply-To: <00bd01c80fd1$a2b56ec0$b502a8c0@uk.sterianet> References: <00bd01c80fd1$a2b56ec0$b502a8c0@uk.sterianet> Message-ID: <00d501c80fda$10844450$b502a8c0@uk.sterianet> Hi All Just to let you know I have overcome my problem, the history of why I needed this was that my nagios server and the check_nrpe command were compiled on a linux box with SSL. Therefore it defaults to use SSL when you use the check_nrpe command. My issue came when I am using the nrpe on an AIX machine. On this client the nrpe was compiled with SSL disable, therefore the check_nrpe command could not connect. To overcome this problem I defined a command as follows :- # 'check_nrpe_no_ssl' command definition define command{ command_name check_nrpe_no_ssl command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -p $ARG1$ -c $ARG2$ } Therefore when I need to define a service to my AIX client I use the check_nrpe_no_ssl command. Regards Stephen --------------------------------------- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of stephen wing Sent: 16 October 2007 09:51 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nrpe with -n option Hi All I need to use check_nrpe with the "-n" option so that it does not use SSL connection, When I use this from the command line I get the result I expect. My question is what should the services.cfg file look like to include this option. My current services.cfg file looks like this :- define service { host_name HCNTEST1 service_description / Free Space check_command check_nrpe!5666!check_root 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 localadmins } 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. ***************************************************************** 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: Splunk Inc. Still grepping through log files to find problems? 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 gimenez at cict.fr Tue Oct 16 11:55:50 2007 From: gimenez at cict.fr (Carole Gimenez) Date: Tue, 16 Oct 2007 11:55:50 +0200 Subject: check_nrpe with -n option In-Reply-To: <00bd01c80fd1$a2b56ec0$b502a8c0@uk.sterianet> References: <00bd01c80fd1$a2b56ec0$b502a8c0@uk.sterianet> Message-ID: <47148AA6.1010502@cict.fr> Hi, In the command file, i declared one command named 'check_nrpe_nossl' that execute this: $USER1$/check_nrpe_nossl -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ $ARG10$ $ARG11$ $ARG12$ $ARG13$ $USER1$ = /usr/local/nagios/libexec and check_nrpe_nossl becomes to compilation of check_nrpe without ssl. Then in the services file, i defined a service check looks at this: check_nrpe_nossl!check_disk!10%!5%!lofs!nfs!iso9660!udf!hsfs!autofs I hope that help you. Carole Gimenez. stephen wing a ?crit : > > Hi All > > I need to use check_nrpe with the "-n" option so that it > does not use SSL connection, When I use this from the command line I > get the result I expect. My question is what should the services.cfg > file look like to include this option. My current services.cfg file > looks like this :- > > > > define service { > > host_name HCNTEST1 > > service_description / Free Space > > check_command check_nrpe!5666!check_root > > 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 localadmins > > } > > > > 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. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 marc at ena.com Tue Oct 16 14:27:53 2007 From: marc at ena.com (Marc Powell) Date: Tue, 16 Oct 2007 07:27:53 -0500 Subject: Authenticated SMTP (ASMTP) In-Reply-To: <97f852de0710152057s6caf361fhddee09f78af809b@mail.gmail.com> References: <97f852de0710152057s6caf361fhddee09f78af809b@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 Philipp Del Mundo > Sent: Monday, October 15, 2007 10:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Authenticated SMTP (ASMTP) > > Hi All Nagios Users, > > How can I configure my nagios server that can notify me thru email > and use our authenticated SMTP (ASMTP)? Nagios doesn't know about or really care about authenticated SMTP since it doesn't handle the mail delivery. Your mail notification commands probably use /bin/mail(x) to send the e-mail which in turn only passes it to the SMTP server running on the nagios machine. You need to configure that SMTP server (sendmail, postfix, qmail, whatever it is) to smarthost to your ASMTP server _and_ act as an ASMTP client. Your mail server documentation is going to be your best resource but these links might get you going in the right direction -- Sendmail -- http://www.sendmail.org/~ca/email/sm-812.html#812AUTH Postfix -- http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mails ervers.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 yhasabnis at gmail.com Tue Oct 16 15:07:01 2007 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Tue, 16 Oct 2007 18:37:01 +0530 Subject: check_snmp_printer for HP Laserjet 2600n Message-ID: Hi All, I am trying to use the check_snmp_printer plugin to monitor the toner status and the other parameters related to our HP Color Laserjet 2600n network printer. Initially I struggled to make it work because I was getting blank output for various checks using the check_snmp_printer plugin. I found that the snmp agent on the printer was not supporting the OIDs used in the plugin script. So, I upgraded the firmware of the printer and found that many of the OIDs (though not all of them) used in the plugin are now supported by the printer. I am able to get the status of the black and the color toners using the "check_snmp_printer CONSUM BLACK" (and similar) commands. But I observe that the output of these toner check commands is not consistent with the toner status I get by using the "web-based device status" of the printer. For eg. the web access of the printer web page gives the toner status as follows: Black: 83%, Cyan: 42%, Yellow: 42%, Magenta: 42%. As against this, the check_snmp_printer gives the status as follows: Black: 84%, Cyan: 82%, Magenta: 87%, Yellow: 85%. Would like to know whether anybody here has had a similar observation and the workaround if any for this. 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 llow at telesphere.com Tue Oct 16 18:00:12 2007 From: llow at telesphere.com (Larry Low) Date: Tue, 16 Oct 2007 09:00:12 -0700 Subject: [Nagios-users] Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] In-Reply-To: <015b01c80cf9$2e97cef0$8bc76cd0$@com> References: <014b01c80cf3$30696960$913c3c20$@com> <015101c80cf7$81b61b70$85225250$@com> <015b01c80cf9$2e97cef0$8bc76cd0$@com> Message-ID: <01fd01c8100d$a26ad9f0$e7408dd0$@com> I am posting this to the devel list to see if anyone has any answers. I look through the code and I don't see how the package that is created for the plugin is being uncached when the mtime changes. Can someone point me in the code where this is taking place. The problem I am having is definitely being caused by the package not being removed from memory. Running perl 5.8.8 ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Larry Low Sent: Friday, October 12, 2007 10:56 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] I guess the question is how to unload the perl package that the plugin is wrapped in. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Larry Low Sent: Friday, October 12, 2007 10:44 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] I had been compiling without perl cache so that would explain why $delete was being set to 1. The problem must be in getting rid of the old cached script. I am digging deeper. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Larry Low Sent: Friday, October 12, 2007 10:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 3.0b5 - ePN and perl caching [SEC=UNCLASSIFIED] Thanks Stanley, Using my check_ifoperstatus script. Available from http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view] =1099 I've done a few minutes of debugging and the first problem I see is the MTIME is not being populated. Here is my epn_leave-msgs.log. I added print LH "$filename - $mtime = ".$Cache{$filename}[MTIME]."\n"; while (my ($key,$value) = each %Cache) { foreach (@$value) { print LH "$key - $_\n"; } } right before it compares mtime and you will see below that MTIME is not populated. I also added a couple logs where MTIME is supposed to be set. print LH "$mtime "; $Cache{$filename}[MTIME] = $mtime unless $delete ; print LH $Cache{$filename}[MTIME]."\n"; You will see below that $mtime is fine but $Cache{$filename}[MTIME] is not. I changed $Cache{$filename}[MTIME] = $mtime unless $delete ; to $Cache{$filename}[MTIME] = $mtime; and the problem goes away. I tested for $delete and it is being set to 1 every time. What is calling eval_file? Is this from the nagios core? ************** epn_leave-msgs.log /opt/nagios/libexec/check_ifoperstatus.pl - 2.96796296296296 = 2.96796296296296 Fri Oct 12 10:00:29 2007 eval_file: successfully compiled "/opt/nagios/libexec/check_ifoperstatus.pl -H XXXX -C XXXX -k 0 -I -N Gi0/0 --cacti_database=cacti_2 --cacti_password=XXXX". Fri Oct 12 10:00:29 2007 run_package: "/opt/nagios/libexec/check_ifoperstatus.pl -H XXXX -C XXXX -k 0 -I -N Gi0/0 --cacti_database=cacti_2 --cacti_password=XXXX" returning (0, "OK - Interface 'Gi0/0' is 'up(1)' - (index 1)"). /opt/nagios/libexec/check_ifoperstatus.pl - 2.96796296296296 = /opt/nagios/libexec/check_ifoperstatus.pl - /opt/nagios/libexec/check_ifoperstatus.pl - HASH(0x9267264) /opt/nagios/libexec/check_ifoperstatus.pl - /opt/nagios/libexec/check_ifoperstatus.pl - CODE(0x9276778) 2.96796296296296 Fri Oct 12 10:00:59 2007 eval_file: syntax error in /opt/nagios/libexec/check_ifoperstatus.pl: "Subroutine print_help redefined at (eval 9) line 295,". ************** Dest.gov.au> writes: > > 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 acisp057 bin]# perl -c p1.pl > p1.pl syntax OK > [root 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 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 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 lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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/ From ae at op5.se Tue Oct 16 20:03:54 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 16 Oct 2007 20:03:54 +0200 Subject: should I use nagios 2.9 or 3.0b5?? In-Reply-To: <200710161039.09232.pescobar@cipf.es> References: <200710161039.09232.pescobar@cipf.es> Message-ID: <4714FD0A.4050305@op5.se> Pablo Escobar wrote: > Hi all > > I have been using nagios 2.9 for six months on my last job and it really likes > me a lot but now I have gone to a new job and I?m not sure if I should use > the last stable release (2.9) or try the last version (3.0b5). > > I have both installed and they two seems to work great at least in a basic > installation but before start tunning my configuration I?d like to know if > the last nagios release is considered stable The last nagios release (or rather, the latest, as I dearly hope it's not the last ever) is considered beta software. Hence the '0b5' after the dot in the version number. It's the fifth beta version of Nagios 3. Ethan is going to do some testing to find some performance issue before he cuts another release, I think, and I also have some patches pending. AFAIK, he left from N?rnberg to the US today, so he'll most likely be home and reading emails again by this time tomorrow. > and if someone is using it on a > production environment with a large number of machines. > I think some do, but they're almost certainly running it on test-machines. It's beta. It's sort of expected to crash once in a while, and when it happens the beta-testers are exptected to help debugging it. -- 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 reha.bahtiyar at trt.net.tr Tue Oct 16 21:20:31 2007 From: reha.bahtiyar at trt.net.tr (Reha BAHTIYAR) Date: Tue, 16 Oct 2007 22:20:31 +0300 Subject: showing icon_images (.png, gd2) on the statusmap - Problem - Message-ID: Hi; Nagios ver is 3.0b5 on fedora 6. I have only problem showing icon_images (.png, gd2) on the statusmap or statuswml ? I have installed gd2 2.0.35. But anything changed. What can I do ? Could you help me ? Please. Regards -------------- 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 Tue Oct 16 21:32:50 2007 From: ifetch at du.edu (Ivan Fetch) Date: Tue, 16 Oct 2007 13:32:50 -0600 (MDT) Subject: Distributed monitoring Freshness checking failing then recovering In-Reply-To: <3F98CB58-9AFE-40F3-94D6-EA18571A8DED@ca.afilias.info> References: <510A1414-CC7A-45FE-8123-CBA2F2F3C3FE@ca.afilias.info> <3F98CB58-9AFE-40F3-94D6-EA18571A8DED@ca.afilias.info> Message-ID: <20071016133018.T17326@tnetnzry.hgf.qh.rqh> Hi Sean, On Mon, 15 Oct 2007, Sean McAvoy wrote: > On further investigations it looks as though the problem is with the > time taken to submit the results back to nagios via send_nsca. > I have read about a couple different options for getting results back > quickly. One being a bulk system of transfer, a file containing the > results is sent via a send_nsca bulk transfer executed via cron. The > other being a system that makes use of the performance data output > option on the remote nagios systems and submits the results using a > custom daemon on both ends. > Does anybody know of any other options? Also, is there any guides to > setting up either of these options, most of what I have read is email > threads.. > Thanks. > > On 12-Oct-07, at 12:40 PM, Sean McAvoy wrote: > >> Hello, >> I have 1 central nagios system with 5 distributed servers. I have >> enabled freshness checking on both central and remote systems. I am >> constantly seeing services go to unknown status for 1-3 minutes and >> then recover. >> on the remotes I have: >> check_service_freshness=1 >> service_freshness_check_interval=10 >> check_host_freshness=1 >> host_freshness_check_interval=60 >> service_inter_check_delay_method=s >> max_service_check_spread=10 >> service_interleave_factor=1 >> host_inter_check_delay_method=s >> max_host_check_spread=30 >> max_concurrent_checks=0 >> >> It does appear as though checks are being run in parallel. I'm wonder >> how I can best determine where the problem is, with the execution of >> checks, submittal to the central system or other. >> Thanks. >> >> >> _sean >> >> ---------------------------------------------------------------------- >> --- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > Sean McAvoy > NOC Acting Team Lead > Afilias Canada > > P. 416.673.4194 > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This may be the caching possibility you have already mentioned, but here is a blog posting about caching send_nsca: http://altinity.blogs.com/dotorg/2006/11/caching_nsca_da.html This is in the back of my mind for us down the road, but I have not looked into it personally, just seen the post. I have just started looking at what Opsview has to offer. 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 mhanby at uab.edu Tue Oct 16 22:11:22 2007 From: mhanby at uab.edu (Mike Hanby) Date: Tue, 16 Oct 2007 15:11:22 -0500 Subject: Nagios PDF User Manuals Missing Message-ID: <16AE1027F52DD64CB278BD8950529B633B668F@UABEXMB5.ad.uab.edu> Howdy, I just signed up for the list, so I'm not sure if this has been reported yet. The Nagios PDF user manuals listed at: http://www.nagios.org/docs/ are both 1K files (2.x and 3.x). http://nagios.sourceforge.net/docs/nagios-3.pdf http://nagios.sourceforge.net/docs/nagios-2.pdf Mike -------------- 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 jcall at verio.net Tue Oct 16 23:19:46 2007 From: jcall at verio.net (Jonathan Call) Date: Tue, 16 Oct 2007 17:19:46 -0400 Subject: Distributed monitoring Freshness checkingfailing then recovering In-Reply-To: <3F98CB58-9AFE-40F3-94D6-EA18571A8DED@ca.afilias.info> References: <510A1414-CC7A-45FE-8123-CBA2F2F3C3FE@ca.afilias.info> <3F98CB58-9AFE-40F3-94D6-EA18571A8DED@ca.afilias.info> Message-ID: <04F3233F47E2714CB7431AE913E57E77024254CC@IAD-WPRD-XCHB02.corp.verio.net> Sean; I have a very large deployment so I use this tool: http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon This daemon runs on each of the distributed servers while a normal ncsa daemon listens on the central server. Jonathan > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sean McAvoy > Sent: Monday, October 15, 2007 12:09 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Distributed monitoring Freshness > checkingfailing then recovering > > On further investigations it looks as though the problem is with the > time taken to submit the results back to nagios via send_nsca. > I have read about a couple different options for getting results back > quickly. One being a bulk system of transfer, a file containing the > results is sent via a send_nsca bulk transfer executed via cron. The > other being a system that makes use of the performance data output > option on the remote nagios systems and submits the results using a > custom daemon on both ends. > Does anybody know of any other options? Also, is there any guides to > setting up either of these options, most of what I have read is email > threads.. > Thanks. > > On 12-Oct-07, at 12:40 PM, Sean McAvoy wrote: > > > Hello, > > I have 1 central nagios system with 5 distributed servers. I have > > enabled freshness checking on both central and remote systems. I am > > constantly seeing services go to unknown status for 1-3 minutes and > > then recover. > > on the remotes I have: > > check_service_freshness=1 > > service_freshness_check_interval=10 > > check_host_freshness=1 > > host_freshness_check_interval=60 > > service_inter_check_delay_method=s > > max_service_check_spread=10 > > service_interleave_factor=1 > > host_inter_check_delay_method=s > > max_host_check_spread=30 > > max_concurrent_checks=0 > > > > It does appear as though checks are being run in parallel. I'm wonder > > how I can best determine where the problem is, with the execution of > > checks, submittal to the central system or other. > > Thanks. > > > > > > _sean > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > Sean McAvoy > NOC Acting Team Lead > Afilias Canada > > P. 416.673.4194 > > > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 livegreat007 at yahoo.com Tue Oct 16 23:54:08 2007 From: livegreat007 at yahoo.com (Live Great) Date: Tue, 16 Oct 2007 14:54:08 -0700 (PDT) Subject: Nagios package for Sparc. Message-ID: <442753.86158.qm@web45503.mail.sp1.yahoo.com> Hi, Is there a downloadable nagios package for Sparc, that include jpeg, gd as well? I have downloaded a nagios-plugins for sparc few weeks ago.. I assumed there should be a nagios main package for sparc too. Your help is much appreciated. Thanks ----- Original Message ---- From: Live Great To: nagios-users at lists.sourceforge.net Sent: Tuesday, October 16, 2007 12:12:05 PM Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem Hi, I am running Sun 5.10 on Sparc. I got the following error while executing ./configure for Nagios. configure:1794: gcc --version &5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1795: 19871 Killed $CC --version configure:1797: $? = 137 configure:1799: gcc -v &5 ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1800: 19875 Killed $CC -v configure:1802: $? = 137 configure:1804: gcc -V &5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1805: 19879 Killed $CC -V configure:1807: $? = 137 configure:1830: checking for C compiler default output file name configure:1833: gcc conftest.c >&5 ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 configure:1836: $? = 137 What development packages I need to download in order to fix this error? Thanks S -------------- 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 17 01:42:48 2007 From: livegreat007 at yahoo.com (Live Great) Date: Tue, 16 Oct 2007 16:42:48 -0700 (PDT) Subject: Distributed monitoring Freshness checkingfailing then recovering Message-ID: <596139.90995.qm@web45507.mail.sp1.yahoo.com> Hi Jonathan, Why not use check_by_ssh instead? Is there any pitfall (weakness) in using check_by_ssh compared agent like OCP? Thanks Sam ----- Original Message ---- From: Jonathan Call To: Sean McAvoy ; nagios-users at lists.sourceforge.net Sent: Wednesday, October 17, 2007 7:19:46 AM Subject: Re: [Nagios-users] Distributed monitoring Freshness checkingfailing then recovering Sean; I have a very large deployment so I use this tool: http://www.nagioscommunity.org/wiki/index.php/OCP_Daemon This daemon runs on each of the distributed servers while a normal ncsa daemon listens on the central server. Jonathan > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sean McAvoy > Sent: Monday, October 15, 2007 12:09 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Distributed monitoring Freshness > checkingfailing then recovering > > On further investigations it looks as though the problem is with the > time taken to submit the results back to nagios via send_nsca. > I have read about a couple different options for getting results back > quickly. One being a bulk system of transfer, a file containing the > results is sent via a send_nsca bulk transfer executed via cron. The > other being a system that makes use of the performance data output > option on the remote nagios systems and submits the results using a > custom daemon on both ends. > Does anybody know of any other options? Also, is there any guides to > setting up either of these options, most of what I have read is email > threads.. > Thanks. > > On 12-Oct-07, at 12:40 PM, Sean McAvoy wrote: > > > Hello, > > I have 1 central nagios system with 5 distributed servers. I have > > enabled freshness checking on both central and remote systems. I am > > constantly seeing services go to unknown status for 1-3 minutes and > > then recover. > > on the remotes I have: > > check_service_freshness=1 > > service_freshness_check_interval=10 > > check_host_freshness=1 > > host_freshness_check_interval=60 > > service_inter_check_delay_method=s > > max_service_check_spread=10 > > service_interleave_factor=1 > > host_inter_check_delay_method=s > > max_host_check_spread=30 > > max_concurrent_checks=0 > > > > It does appear as though checks are being run in parallel. I'm wonder > > how I can best determine where the problem is, with the execution of > > checks, submittal to the central system or other. > > Thanks. > > > > > > _sean > > > > ---------------------------------------------------------------------- > > --- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > Sean McAvoy > NOC Acting Team Lead > Afilias Canada > > P. 416.673.4194 > > > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 -------------- 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 17 03:29:39 2007 From: livegreat007 at yahoo.com (Live Great) Date: Tue, 16 Oct 2007 18:29:39 -0700 (PDT) Subject: ldconfig Message-ID: <757077.14980.qm@web45514.mail.sp1.yahoo.com> Hi, I still having this error: # CFLAGS="-I/usr/local/include -I/usr/sfw/include" LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib"# # export CFLAGS # export LDFLAGS # echo $LDFLAGS -s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib # echo $CFLAGS -I/usr/local/include -I/usr/sfw/include # ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ --with-gd-lib=/usr/local/lib .... checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no ... Thanks Sam ----- Original Message ---- From: Luc I. Suryo To: Live Great Sent: Tuesday, October 16, 2007 1:31:10 PM Subject: Re: [Nagios-users] ldconfig try this CC=gcc \ CFLAGS="-I/usr/local/include -Ixxx" \ LDFLAGS="-s -R/usr/local/lib:/yyyy -L/usr/local/lib -Lyyyy \ ./configure --your-option and i would advice to use Sun's compiler (studio 12) instead of GCC also replace the xxx with our location for the include files and yyy with the one for the libraries something like CFLAGS="-I/usr/local/include -I/usr/sfw/include" LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib" make sense? my sparc systems are currently not available for 'testing', I do have a Solaris x86 server (Sun brand) that is use for compiling packages... good luck -ls Live Great wrote at Mon, Oct 15, 2007 at 07:48:07PM -0700: > Hi, > > I found that I don't have the libiconv and gd library. > After I installed it, ./configure runs better, but still complain gd lib not found. > I used " --with-gd-lib and --with-gd-inc" with /usr/local/lib and /usr/local/include in the commandline, but still complain gd not found. > I have added /usr/local/include and /usr/local/lib in the /etc/ld.so.conf file, but I can't find ldconfig command in the system. > Do I need to run ldconfig? and where can I download this tool for Sun 5.10? > > Thanks > > > ----- Original Message ---- > From: Live Great > To: nagios-users at lists.sourceforge.net > Sent: Tuesday, October 16, 2007 12:12:05 PM > Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem > > Hi, > > I am running Sun 5.10 on Sparc. > I got the following error while executing ./configure for Nagios. > > > configure:1794: gcc --version &5 > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > ./configure: line 1795: 19871 Killed $CC --version > configure:1797: $? = 137 > configure:1799: gcc -v &5 > ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > ./configure: line 1800: 19875 Killed $CC > -v > configure:1802: $? = 137 > configure:1804: gcc -V &5 > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > ./configure: line 1805: 19879 Killed $CC -V > configure:1807: $? = 137 > configure:1830: checking for C compiler default output file name > configure:1833: gcc conftest.c >&5 > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 > configure:1836: $? = 137 > > What development packages I need to download in order to fix this error? -------------- 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 17 05:24:26 2007 From: livegreat007 at yahoo.com (Live Great) Date: Tue, 16 Oct 2007 20:24:26 -0700 (PDT) Subject: ldconfig Message-ID: <474489.82229.qm@web45513.mail.sp1.yahoo.com> I put that in a file and execute the script using "sh go.sh" command. The content of the script look like the same as yours: #!/bin/sh CFLAGS="-I/usr/local/include -I/usr/sfw/include" LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib" ./configure --prefix=/opt/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib But I am still getting the same error. The reason I put it in a script file is because I the terminal I logon does not allow me to type such a long commandline in the shell. Thanks Sam ----- Original Message ---- From: Luc I. Suryo To: Live Great Cc: Luc I. Suryo ; nagios-users at lists.sourceforge.net Sent: Wednesday, October 17, 2007 12:41:37 PM Subject: Re: [Nagios-users] ldconfig > I still having this error: > # CFLAGS="-I/usr/local/include -I/usr/sfw/include" > LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib"# > # export CFLAGS > # export LDFLAGS > # echo $LDFLAGS > -s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib > # echo $CFLAGS > -I/usr/local/include -I/usr/sfw/include > # > ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ > --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ > --with-gd-lib=/usr/local/lib > .... > checking for main in -liconv... yes > checking for gdImagePng in -lgd (order 1)... > no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > checking for gdImagePng in -lgd (order 4)... no > ... nope not what i said :-) CFLAGS="-I/usr/local/include -I/usr/sfw/include"\ LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib"\ ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ --with-gd-lib=/usr/local/lib or CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure ... and check what the config.log file reports good luck -ls > CC=gcc \ > CFLAGS="-I/usr/local/include -Ixxx" \ > LDFLAGS="-s -R/usr/local/lib:/yyyy -L/usr/local/lib -Lyyyy \ > ./configure --your-option > > and i would advice to use Sun's compiler (studio 12) instead of GCC > also replace the xxx with our location for the include files and yyy > with the one for the libraries > > something like > CFLAGS="-I/usr/local/include -I/usr/sfw/include" > LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib" > > make sense? my sparc systems are currently not available for 'testing', > I do have a Solaris x86 server (Sun brand) that is use for compiling > packages... > > > > Live Great > wrote at Mon, Oct 15, 2007 at 07:48:07PM -0700: > > > Hi, > > > > I found that I don't have the libiconv and gd library. > > After I installed it, ./configure runs better, but still complain gd lib not found.. > > I used " --with-gd-lib and --with-gd-inc" with /usr/local/lib and /usr/local/include in the commandline, but still complain gd not found. > > I have added /usr/local/include and /usr/local/lib in the /etc/ld.so.conf file, but I can't find ldconfig command in the system. > > Do I need to run ldconfig? and where can I download this tool for Sun 5.10? > > > > Thanks > > > > > > ----- Original Message ---- > > From: Live Great > > To: nagios-users at lists.sourceforge.net > > Sent: Tuesday, October 16, 2007 12:12:05 PM > > Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem > > > > Hi, > > > > I am running Sun 5.10 on Sparc. > > I got the following error while executing ./configure for Nagios. > > > > > > configure:1794: gcc --version &5 > > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > > ./configure: line 1795: 19871 Killed $CC --version > > configure:1797: $? = 137 > > configure:1799: gcc -v &5 > > ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > > ./configure: line 1800: 19875 Killed $CC > > -v > > configure:1802: $? = 137 > > configure:1804: gcc -V &5 > > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > > ./configure: line 1805: 19879 Killed $CC -V > > configure:1807: $? = 137 > > configure:1830: checking for C compiler default output file name > > configure:1833: gcc conftest.c >&5 > > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > > ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 > > configure:1836: $? = 137 > > > > What development packages I need to download in order to fix this error? -------------- 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 luc at suryo.com Wed Oct 17 04:41:37 2007 From: luc at suryo.com (Luc I. Suryo) Date: Tue, 16 Oct 2007 20:41:37 -0600 Subject: ldconfig In-Reply-To: <757077.14980.qm@web45514.mail.sp1.yahoo.com> References: <757077.14980.qm@web45514.mail.sp1.yahoo.com> Message-ID: <20071017024137.GA4900@porsche.suryo.com> > I still having this error: > # CFLAGS="-I/usr/local/include -I/usr/sfw/include" > LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib"# > # export CFLAGS > # export LDFLAGS > # echo $LDFLAGS > -s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib > # echo $CFLAGS > -I/usr/local/include -I/usr/sfw/include > # > ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ > --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ > --with-gd-lib=/usr/local/lib > .... > checking for main in -liconv... yes > checking for gdImagePng in -lgd (order 1)... > no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > checking for gdImagePng in -lgd (order 4)... no > ... nope not what i said :-) CFLAGS="-I/usr/local/include -I/usr/sfw/include"\ LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib"\ ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ --with-gd-lib=/usr/local/lib or CFLAGS=$CFLAGS LDFLAGS=$LDFLAGS ./configure ... and check what the config.log file reports good luck -ls > CC=gcc \ > CFLAGS="-I/usr/local/include -Ixxx" \ > LDFLAGS="-s -R/usr/local/lib:/yyyy -L/usr/local/lib -Lyyyy \ > ./configure --your-option > > and i would advice to use Sun's compiler (studio 12) instead of GCC > also replace the xxx with our location for the include files and yyy > with the one for the libraries > > something like > CFLAGS="-I/usr/local/include -I/usr/sfw/include" > LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib" > > make sense? my sparc systems are currently not available for 'testing', > I do have a Solaris x86 server (Sun brand) that is use for compiling > packages... > > > > Live Great > wrote at Mon, Oct 15, 2007 at 07:48:07PM -0700: > > > Hi, > > > > I found that I don't have the libiconv and gd library. > > After I installed it, ./configure runs better, but still complain gd lib not found. > > I used " --with-gd-lib and --with-gd-inc" with /usr/local/lib and /usr/local/include in the commandline, but still complain gd not found. > > I have added /usr/local/include and /usr/local/lib in the /etc/ld.so.conf file, but I can't find ldconfig command in the system. > > Do I need to run ldconfig? and where can I download this tool for Sun 5.10? > > > > Thanks > > > > > > ----- Original Message ---- > > From: Live Great > > To: nagios-users at lists.sourceforge.net > > Sent: Tuesday, October 16, 2007 12:12:05 PM > > Subject: Re: [Nagios-users] Nagios-3.x Solaris 9 Build Problem > > > > Hi, > > > > I am running Sun 5.10 on Sparc. > > I got the following error while executing ./configure for Nagios. > > > > > > configure:1794: gcc --version &5 > > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > > ./configure: line 1795: 19871 Killed $CC --version > > configure:1797: $? = 137 > > configure:1799: gcc -v &5 > > ld.so..1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > > ./configure: line 1800: 19875 Killed $CC > > -v > > configure:1802: $? = 137 > > configure:1804: gcc -V &5 > > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > > ./configure: line 1805: 19879 Killed $CC -V > > configure:1807: $? = 137 > > configure:1830: checking for C compiler default output file name > > configure:1833: gcc conftest.c >&5 > > ld.so.1: gcc: fatal: libiconv.so.2: open failed: No such file or directory > > ./configure: line 1834: 19889 Killed $CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 > > configure:1836: $? = 137 > > > > What development packages I need to download in order to fix this error? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Oct 17 08:21:27 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 17 Oct 2007 16:21:27 +1000 Subject: Nagios-users Digest, Vol 17, Issue 35 [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear Larry, I am writing to thank you for your letter and say, > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Larry > Low > Sent: Friday, October 12, 2007 10:13 AM > Subject: Re: [Nagios-users] Nagios 3.0b5 - ePN and perl caching > [SEC=UNCLASSIFIED] > > Thanks Stanley, > > Using my check_ifoperstatus script. Available from > http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnage xt_pi1[p_view] > =1099 > (FYI, you may want to check it with new_mini_epn [ distributed with Nagios ] to see if ePN is going to complain about it). > I've done a few minutes of debugging and the first problem I see is > the MTIME is not being populated. Here is my epn_leave-msgs.log. I > added > print LH "$filename - $mtime = > ".$Cache{$filename}[MTIME]."\n"; > while (my ($key,$value) = each %Cache) { > foreach (@$value) { > print LH "$key - $_\n"; > } > } > right before it compares mtime and you will see below that MTIME is > not populated. > > I also added a couple logs where MTIME is supposed to be set. > print LH "$mtime "; > $Cache{$filename}[MTIME] = $mtime > > unless $delete ; > print LH $Cache{$filename}[MTIME]."\n"; > > You will see below that $mtime is fine but $Cache{$filename}[MTIME] is > not. > > I changed > $Cache{$filename}[MTIME] = $mtime > > unless $delete ; > to > $Cache{$filename}[MTIME] = $mtime; > and the problem goes away. > > I tested for $delete and it is being set to 1 every time. > What is calling > eval_file? Is this from the nagios core? > Yep, base/checks.c. IIRC. checks.c also sets the value for $delete that is passed to eval_file (see http://nagios.cvs.sourceforge.net/nagios/nagios/base/checks.c?view=marku p use the source). The value that becomes $delete is set in checks.c as the value of DO_CLEAN. I think this value is set by configure. You may want to remove the config.cache (or whatever it is) and reconfigure with the appropriate settings. (On an unrelated matter, thank you for this thread since I think a simple mod to p1.pl will deal with the recompilation problem of putting symbols in the same stash and thereby raising the subroutine already exists exception). Yours sincerely. 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 gcoochey at sapphire.gi Wed Oct 17 12:37:19 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 17 Oct 2007 12:37:19 +0200 Subject: SNMP Traps Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A718E@hermes.sapphire-int.gi> Hi, Nagios 2.9 I'm looking at the document to handle SNMP traps which I found here: http://www.samag.com/documents/s=9559/sam0503g/ I've got all the SNMP parts configured and I think I won't have problems doing the external command part. The Nagios configuration is, however, giving me some grief; this is my first use of passive checks however, so maybe I'm being plain stupid. I found an earlier thread which assisted me with some errors, but the pre-flight-check now returns: Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'TRAP-CRITICAL' on host '32Red-VPN' Error: Could not register service (config file '/opt/nagios/etc/generic.cfg', starting on line 942) ***> 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. I don't believe I have a max_attempts at all (anywhere in the file), check_interval / retry_interval is presumably either normal_check_interval or retry_check_interval. Can anyone see where I've gone wrong? Relevant Service Configuration: define service{ name generic-passive-service active_checks_enabled 0 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 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 retry_check_interval 1 } define service{ name passive-check-template use generic-passive-service check_freshness 1 check_period none passive_checks_enabled 1 max_check_attempts 1 check_command passive_check_missing freshness_threshold 600 register 0 } define service{ use passive-check-template name generic-snmptrap service_description snmp_trap_handling is_volatile 1 check_period none notification_interval 120 notification_options w,u,c,r notification_period 24x7 check_command passive_check_missing max_check_attempts 1 check_freshness 0 stalking_options o,w,u,c register 0 } define service { use generic-snmptrap host_name * contact_groups testing service_description TRAP-OK } define service { use generic-snmptrap host_name * contact_groups testing service_description TRAP-WARNING } define service { use generic-snmptrap host_name * contact_groups testing service_description TRAP-CRITICAL } -------------- 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 dfulton at mail.fdn.com Wed Oct 17 15:39:01 2007 From: dfulton at mail.fdn.com (David Fulton) Date: Wed, 17 Oct 2007 09:39:01 -0400 Subject: Another Nagios Problem. Message-ID: I have upgraded my 3.0b4 to 3.0b5 and the problem with it stopping service checks has gone away. But another problem has cropped up. It seems to run fine all day, but overnight the checkresults directory fills up with files and I get large numbers of orphaned check results messages in the log. Can't seem to find anything in the debug log either. Again, I am at an impasse and would appreciate any ideas. Thanks, 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 jaimeventura at ipp.pt Wed Oct 17 16:33:15 2007 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Wed, 17 Oct 2007 15:33:15 +0100 Subject: diferent notification melhods on diferent periods of times Message-ID: <47161D2B.2010302@ipp.pt> Hello, I understand I can configure nagios so that, for a service or host, it sends notifications on a specific period of time. What about use diferent notification melhods on diferent periods of times? For instante, from 9 to 18, notify by email, and the rest of the time notifications woud be sent via sms. Is it possible? 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 ae at op5.se Wed Oct 17 19:06:59 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Oct 2007 19:06:59 +0200 Subject: ldconfig In-Reply-To: <757077.14980.qm@web45514.mail.sp1.yahoo.com> References: <757077.14980.qm@web45514.mail.sp1.yahoo.com> Message-ID: <47164133.4060007@op5.se> Live Great wrote: > Hi, > > I still having this error: > # CFLAGS="-I/usr/local/include -I/usr/sfw/include" > LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib"# > # export CFLAGS > # export LDFLAGS > # echo $LDFLAGS > -s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib > # echo $CFLAGS > -I/usr/local/include -I/usr/sfw/include > # > ./configure --prefix=$NAGIOSHOME --with-nagios-user=nagios --with-nagios-grp=nagios\ > --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include\ > --with-gd-lib=/usr/local/lib > .... > checking for main in -liconv... yes > checking for gdImagePng in -lgd (order 1)... > no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > checking for gdImagePng in -lgd (order 4)... no > ... > Install the gd-devel package (or whatever it's called on your system). -- 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 Wed Oct 17 19:09:39 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Oct 2007 19:09:39 +0200 Subject: diferent notification melhods on diferent periods of times In-Reply-To: <47161D2B.2010302@ipp.pt> References: <47161D2B.2010302@ipp.pt> Message-ID: <471641D3.7030503@op5.se> Jaime Ventura wrote: > Hello, > I understand I can configure nagios so that, for a service or host, > it sends notifications on a specific period of time. > What about use diferent notification melhods on diferent periods of > times? > For instante, from 9 to 18, notify by email, and the rest of the > time notifications woud be sent via sms. > Is it possible? Yes, but you'll either have to hack up support for it in the notification script or duplicate your contacts. -- 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 livio.zanol.puppim at gmail.com Wed Oct 17 19:45:52 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Wed, 17 Oct 2007 15:45:52 -0200 Subject: NDO2DB 1.4b4 field length problem Message-ID: Hi, I'm having troubles with the fields length in the table "nagios_hosts". The "alias" field is not supporting all characters that is written at the config file. I've checked the database an saw this definition for fields: | alias | varchar(64) | display_name | varchar(64) | address | varchar(128) Example: The alias is like this at the config file: Superintendencia Regional de Educacao de Cachoeiro de Itapemim,500-0000,se 1/3.00,(28)xxxx-xxxx At the database the same alias is showing this: Superintendencia Regional de Educacao de Cachoeiro de Itapemim,5 Well, as you can see, the field has archived it's limit, and cannot store the entire alias. Is there anyway I can raise the field length so the alias is entirely stored at the database? Is this corrected in new versions? Thank you, Livio 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 ae at op5.se Wed Oct 17 20:04:29 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Oct 2007 20:04:29 +0200 Subject: NDO2DB 1.4b4 field length problem In-Reply-To: References: Message-ID: <47164EAD.804@op5.se> Livio Zanol Puppim wrote: > Hi, > > I'm having troubles with the fields length in the table "nagios_hosts". The > "alias" field is not supporting all characters that is written at the config > file. > > I've checked the database an saw this definition for fields: > | alias | varchar(64) > | display_name | varchar(64) > | address | varchar(128) > > Example: > > The alias is like this at the config file: > Superintendencia Regional de Educacao de Cachoeiro de Itapemim,500-0000,se > 1/3.00,(28)xxxx-xxxx > > At the database the same alias is showing this: > Superintendencia Regional de Educacao de Cachoeiro de Itapemim,5 > > > Well, as you can see, the field has archived it's limit, and cannot store > the entire alias. Is there anyway I can raise the field length so the alias > is entirely stored at the database? Just do an ALTER TABLE sql thingie. Google probably has ample material for you to read. > Is this corrected in new versions? > I wouldn't bet on it, but you can always check. -- 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 livio.zanol.puppim at gmail.com Wed Oct 17 20:16:26 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Wed, 17 Oct 2007 16:16:26 -0200 Subject: NDO2DB 1.4b4 field length problem In-Reply-To: <47164EAD.804@op5.se> References: <47164EAD.804@op5.se> Message-ID: Thanks, I've used an ALTER TABLE and my problem is now solved.... ALTER TABLE nagios_hosts CHANGE alias alias varchar(128) NOT NULL default ""; I hope that fields will be bigger in new versions. 2007/10/17, Andreas Ericsson : > > Livio Zanol Puppim wrote: > > Hi, > > > > I'm having troubles with the fields length in the table "nagios_hosts". > The > > "alias" field is not supporting all characters that is written at the > config > > file. > > > > I've checked the database an saw this definition for fields: > > | alias | varchar(64) > > | display_name | varchar(64) > > | address | varchar(128) > > > > Example: > > > > The alias is like this at the config file: > > Superintendencia Regional de Educacao de Cachoeiro de > Itapemim,500-0000,se > > 1/3.00,(28)xxxx-xxxx > > > > At the database the same alias is showing this: > > Superintendencia Regional de Educacao de Cachoeiro de Itapemim,5 > > > > > > Well, as you can see, the field has archived it's limit, and cannot > store > > the entire alias. Is there anyway I can raise the field length so the > alias > > is entirely stored at the database? > > Just do an ALTER TABLE sql thingie. Google probably has ample material for > you > to read. > > > Is this corrected in new versions? > > > > I wouldn't bet on it, but you can always check. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -------------- 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 17 20:19:58 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 17 Oct 2007 20:19:58 +0200 Subject: NDO2DB 1.4b4 field length problem In-Reply-To: References: <47164EAD.804@op5.se> Message-ID: <4716524E.7050004@op5.se> Livio Zanol Puppim wrote: > Thanks, > I've used an ALTER TABLE and my problem is now solved.... > > ALTER TABLE nagios_hosts CHANGE alias alias varchar(128) NOT NULL default > ""; > > I hope that fields will be bigger in new versions. > Since you're well-versed enough in SQL, just submit a patch. It's the best way to get changes done the way you want them. Otherwise Ethan might decide to make the field 65 chars, which would indeed be bigger, but still not quite big enough. I know I'd do it, but that's mainly because I'm evil in a friendly and easy-going way. -- 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 dfulton at mail.fdn.com Wed Oct 17 20:42:42 2007 From: dfulton at mail.fdn.com (Fulton, David) Date: Wed, 17 Oct 2007 14:42:42 -0400 Subject: Another Nagios Problem. In-Reply-To: <471649E0.1050800@vanderkooij.org> References: <471649E0.1050800@vanderkooij.org> Message-ID: I never said I wouldn't supply the coders with what they need. I would expect that those who coded it could point me in the right direction. I have thus far tried changing how I get my data into perfparse and changing my timeperiods so that there are no overlapping times (i.e. from 00:00 - 24:00 to 00:00-23:59) since it always happens overnight and the problem crops up after midnight I have to wait until then to get more data. Other than that I am using FreeBSD 6.2 with the latest plugins (1.4.10), nrpe, nsca and perfparse (the performance data is send to files via a command definition that calls a perl script that writes it to a file. Perparse picks it up via a cron job that runs every 5 minutes). The purpose of the nagios-users list is to obtain help when one gets stuck not to have someone tell them how they should be able to do their own support. I have set up a complex piece of software and have been running it since version 3.0b1. To my knowledge, there are only so many sources of information that I could provide. Nagios doesn't stop, doesn't run a particular command. It simply starts orphaning check results after midnight every day. Turning on debugging does not give any indication as to why. If I truss (strace) the process it immediately spawns a new copy of itself that consumes all CPU time on whatever CPU it is running on without returning anything. -----Original Message----- From: Hugo van der Kooij [mailto:hvdkooij at vanderkooij.org] Sent: Wednesday, October 17, 2007 1:44 PM To: Fulton, David Subject: Re: [Nagios-users] Another Nagios Problem. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fulton, David wrote: > I was simply wondering if anyone else had experienced the same problem. > There is nothing in the debug logs to send. Trussing the process causes > Nagios to die (no help there). As far as to whether or not this is in > production environment, I am setting it up so that it is ready upon the > release of the full version. Our production Nagios servers are running > 1.x variants and need serious updating. I did look at the 2.9 version > but the 3.0bx versions have some really nice features that come in handy > in our environment (i.e. the ability to set up on call rotations and the > additive inheritance property) and we would like to use it as soon as > possible (I.E. when 3.0 is released. If you have no guidance to > contribute I would rather you hadn't emailed me in the first place. I am > looking for help, not some holier than thou attitude. You are asking for help on a test version. If you use that version you should be able to do your own support unless you can provide concrete information a coder can use to troubleshoot. No one knows your setup on the mailinglist. So unless you are explicit and elaborate there is little to go on. Anyway I suggest you turn to the developers mailingist for experimental versions. There are the people who will do the coding. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHFkneBvzDRVjxmYERAvrKAJ0bKMROOk1K6YRfBw4R8LSEbSf2sACgiWyd bpDXj5DJcEaaVhkYvYXtOPM= =t7MO -----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 jcall at verio.net Wed Oct 17 21:19:22 2007 From: jcall at verio.net (Jonathan Call) Date: Wed, 17 Oct 2007 15:19:22 -0400 Subject: Another Nagios Problem. In-Reply-To: References: <471649E0.1050800@vanderkooij.org> Message-ID: <04F3233F47E2714CB7431AE913E57E77024255DD@IAD-WPRD-XCHB02.corp.verio.net> Are you aware of the fork/vfork issue between Nagios and the FreeBSD pthread library? This may be causing your problem. Try using these /etc/libmap.conf entries: [nagios] libpthread.so.2 libthr.so.2 libpthread.so libthr.so You will need to restart Nagios for the settings to take effect. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Fulton, David > Sent: Wednesday, October 17, 2007 12:43 PM > To: Hugo van der Kooij > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Another Nagios Problem. > > I never said I wouldn't supply the coders with what they need. I would > expect that those who coded it could point me in the right direction. I > have thus far tried changing how I get my data into perfparse and > changing my timeperiods so that there are no overlapping times (i.e. > from 00:00 - 24:00 to 00:00-23:59) since it always happens overnight and > the problem crops up after midnight I have to wait until then to get > more data. Other than that I am using FreeBSD 6.2 with the latest > plugins (1.4.10), nrpe, nsca and perfparse (the performance data is send > to files via a command definition that calls a perl script that writes > it to a file. Perparse picks it up via a cron job that runs every 5 > minutes). > > The purpose of the nagios-users list is to obtain help when one gets > stuck not to have someone tell them how they should be able to do their > own support. I have set up a complex piece of software and have been > running it since version 3.0b1. To my knowledge, there are only so many > sources of information that I could provide. Nagios doesn't stop, > doesn't run a particular command. It simply starts orphaning check > results after midnight every day. Turning on debugging does not give any > indication as to why. If I truss (strace) the process it immediately > spawns a new copy of itself that consumes all CPU time on whatever CPU > it is running on without returning anything. > (snipped for brevity) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Oct 17 21:41:08 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Wed, 17 Oct 2007 13:41:08 -0600 Subject: One more try on Debian Etch ***SOLVED*** In-Reply-To: References: Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE3630@lwmailserver1.pinkard.com> This was exactly what was needed. During research on how to install Net::SNMP from CPAN, I found the following in the Nagios FAQ: http://nagios.manubulon.com/faq.html#FAQ2 and it describes how to install the needed modules. After installing the Net::SNMP, I recompiled the source code Nagios-Plugins and the check_snmp is there now. Thanks to all for your assistance and input. -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Monday, October 15, 2007 11:41 AM To: Andreas Ericsson; Joel Roberts Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] One more try on Debian Etch Ubuntu is based on debian, and I was able to compile net-snmp from source successfully on the server that I have Nagios running on. And actually, you can get it from CPAN I believe by typing Install Net::SNMP >From within CPAN itself. I believe that is how I got my snmp up and running correctly. Just my $0.02, hth Stephen -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Monday, October 15, 2007 1:39 PM To: Joel Roberts Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] One more try on Debian Etch Joel Roberts wrote: > > Going through the documentation, it says for the Nagios check_snmp > plugin to properly compile and install, the net-snmp and net-snmp-utils > packages must be installed. These packages don't exist for Debian Etch. > Does anyone know the corresponding packages to use and how to tell > Nagios during configuration where these packages are located? > Search for "snmp" with apt. I have no idea how to do that, only that it's possible. You shouldn't be getting all that many hits. -- 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 23:21:40 2007 From: livegreat007 at yahoo.com (Live Great) Date: Thu, 18 Oct 2007 05:21:40 +0800 (CST) Subject: ldconfig Message-ID: <531403.40279.qm@web45503.mail.sp1.yahoo.com> Hi, I have passed the command configure. With gcc, now I got this errors with "make all": .... .... -solaris-64int/CORE /usr/perl5/5.8.4/lib/sun4-solaris-64int/auto/DynaLoader/DynaLoader.a -L/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lm -lpthread -ldl -lrt -lglib-2.0 gcc: broker.o: No such file or directory gcc: nebmods.o: No such file or directory gcc: checks.o: No such file or directory gcc: config.o: No such file or directory gcc: commands.o: No such file or directory gcc: events.o: No such file or directory gcc: flapping.o: No such file or directory gcc: logging.o: No such file or directory gcc: macros-base.o: No such file or directory gcc: notifications.o: No such file or directory gcc: sehandlers.o: No such file or directory gcc: utils.o: No such file or directory gcc: retention-base.o: No such file or directory gcc: xretention-base.o: No such file or directory gcc: comments-base.o: No such file or directory gcc: xcomments-base.o: No such file or directory gcc: objects-base.o: No such file or directory gcc: xobjects-base.o: No such file or directory gcc: statusdata-base.o: No such file or directory gcc: xstatusdata-base.o: No such file or directory gcc: perfdata-base.o: No such file or directory gcc: xperfdata-base.o: No such file or directory gcc: downtime-base.o: No such file or directory gcc: xdowntime-base.o: No such file or directory gcc: ../common/snprintf.o: No such file or directory gcc: perlxsi.o: No such file or directory gcc: language arch=v8 not recognized gcc: language arch=v8 not recognized make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/usr/SUN/nagios-cvs/base' make: *** [all] Error 2 Thanks Sam ----- Original Message ---- From: Luc I. Suryo To: Live Great Sent: Wednesday, October 17, 2007 3:22:42 PM Subject: Re: [Nagios-users] ldconfig > Hi, here is attached config.log file. > BTW, where can I download SUNWspro > package? I don't have its CD. > And it seems that the download of SUNWspro > 9 is only a trial package. http://developers.sun.com/sunstudio/downloads/index.jsp memberschip is free :) or http://www.sun.com/download/index.jsp?cat=Application%20Development&tab=3&subcat=Development%20Tools will work with Sol 9+ no file attached... -ls > > ----- Original Message ---- > From: Luc I. Suryo > To: Live Great > Sent: Wednesday, October 17, 2007 1:51:20 PM > Subject: Re: [Nagios-users] ldconfig > > > > > I put that in a file and execute the script using "sh go.sh" command. > > The content of the script look like the same as yours: > > #!/bin/sh > > CFLAGS="-I/usr/local/include -I/usr/sfw/include" LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib" ./configure --prefix=/opt/nagios --with-nagios-user=nagios --with-nagios-grp=nagios --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib > > > ok that should work > > here what i use (also in a script file) > I used Sun Studio 12 compiler > ============================================== > > BASEDIR=/usr/local/etc/nagios > PREFIX=/usr/local > > CC=/opt/SUNWspro/bin/cc > CXX=/opt/SUNWspro/bin/CC > CFLAGS="-O -I/usr/local/include -I/usr/sfw/include" > CXXFLAGS="-O -I/usr/local/include -I/usr/sfw/include" > LDFLAGS="-s -R/usr/local/lib:/usr/sfw/lib -L/usr/local/lib -L/usr/sfw/lib" > > > CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ > ./configure\ > --prefix=${BASEDIR} \ > --bindir=${BINDIR} \ > --sbindir=${SBINDIR} \ > --libexecdir=${LIBEXECDIR} \ > --localstatedir=${LOCALSTATEDIR} \ > --libdir=${LIBDIR} \ > --sysconfdir=${SYSCONFDIR} \ > --with-configdir=${SYSCONFDIR} \ > \ > --with-nagios-user=nagios \ > --with-nagios-grp=nagios \ > \ > --with-command-user=sys \ > --with-command-grp=sys \ > \ > --with-gd-lib=${PREFIX}/lib \ > --with-gd-inc=${PREFIX}/include \ > --with-file-perfdata \ > --enable-statusmap \ > --enable-statuswrl > ============================================== > > > > But I am still getting the same error. > > The reason I put it in a script file is because I the terminal I logon does not allow me to type such a long commandline in the shell. > -------------- 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 hiamall at gmail.com Thu Oct 18 00:05:58 2007 From: hiamall at gmail.com (Hiamal Llanos) Date: Thu, 18 Oct 2007 00:05:58 +0200 Subject: check_nrpe trouble Message-ID: Hi, I'm having trouble with check_nrpe and I don't know whats wrong, what I'm doing wrong. I followed the nagios and nrpe doc's but it don't work :-P /var/log/nagios2/nagios.log says: SERVICE ALERT: otherhost;nrpe_load;UNKNOWN;SOFT;1;(No output returned from plugin) But if I run the command on the terminal window it works happily: $ sudo -u nagios /usr/lib/nagios/plugins/check_nrpe -H otherhost -c check_load OK - load average: 0.00, 0.00, 0.00|load1=0..... Hope someone has som clues what could be wrong. The Nagios server host is a i386 smp with Debian Etch and otherhost is a amd64 x2 also with Debian Etch. On the Nagios server I'm runnig: nagios2 2.6-2+etch1 nagios-nrpe-plugin 2.5.1-3 nagios-nrpe-server 2.5.1-3 on otherhost: nagios-nrpe-plugin 2.5.1-3 nagios-nrpe-server 2.5.1-3 Nagios config: define service{ use generic-service host_name otherhost service_description nrpe_load check_command check_nrpe!check_load } nrpe config: command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 TiA ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adevey at omniture.com Thu Oct 18 00:15:54 2007 From: adevey at omniture.com (Aaron Devey) Date: Wed, 17 Oct 2007 16:15:54 -0600 Subject: check_nrpe trouble In-Reply-To: References: Message-ID: <4716899A.70700@omniture.com> Hiamal Llanos wrote: > > But if I run the command on the terminal window it works happily: > $ sudo -u nagios /usr/lib/nagios/plugins/check_nrpe -H otherhost -c > check_load > OK - load average: 0.00, 0.00, 0.00|load1=0..... > What does your check_nrpe checkcommand look like? You'll want to verify that the syntax matches the syntax you used above, and that nagios is running as the 'nagios' user you specified above. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 00:55:15 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Oct 2007 00:55:15 +0200 Subject: Another Nagios Problem. In-Reply-To: References: Message-ID: <471692D3.9090903@op5.se> Fulton, David wrote: > I never said I wouldn't supply the coders with what they need. I would > expect that those who coded it could point me in the right direction. Unfortunately, none of the people here on nagios-users@ pointed you to nagios-devel@, where you might have gotten a different reception given the fact that you actually seem to have given this problem some thought. That being said... > > The purpose of the nagios-users list is to obtain help when one gets > stuck It's also a place where one can help others out, or exchange ideas, or post little scripts that do funny things with Nagios data. Taking without giving will make people grow tired of you. > not to have someone tell them how they should be able to do their > own support. I have set up a complex piece of software and have been > running it since version 3.0b1. To my knowledge, there are only so many > sources of information that I could provide. Nagios doesn't stop, > doesn't run a particular command. It simply starts orphaning check > results after midnight every day. Turning on debugging does not give any > indication as to why. If I truss (strace) the process it immediately > spawns a new copy of itself that consumes all CPU time on whatever CPU > it is running on without returning anything. > I think the mail from Jonathan Call is worth giving a shot. Other than that, re-send your original mail, with nagios version, uname -a output, libc-version, libpthread version and implementation and any and all scripts or cron-jobs you have which touch /tmp, the nagios fifo and anything else you think might be relevant. Please don't post several hundred lines of config. If we need to see it, we'll ask for it, but nobody likes emails that covers several screens. -- 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 mike.hawley at nspire.co.nz Thu Oct 18 07:59:50 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Thu, 18 Oct 2007 18:59:50 +1300 Subject: Nagios backup Message-ID: <009c01c8114c$18f1ddf0$7b02a8c0@nspire.co.nz> Has anyone used Nagios as a tool to perform Cisco running-config backups via SNMP??? Mike Hawley No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.13/1075 - Release Date: 10/17/2007 9:38 AM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 e-destiny.co.za Thu Oct 18 10:18:03 2007 From: marc at e-destiny.co.za (Marc Hultquist) Date: Thu, 18 Oct 2007 10:18:03 +0200 Subject: check_ping changed to check_fping Message-ID: <1192695483.2375.194.camel@localhost> Hi All Ok I seem to have solved my previous problem with the check_ping stuff, it seems that by slightly increasing the threshhold as well as changing the flags slightly. Now here's the thing, I have now changed to use check_fping in terms of monitoring, for example one of my services being hosted is as follows: define service{ use generic-service ; host_name cksdialup; service_description PING ; check_command check_fping!200.0,20%!600.0,60% ; normal_check_interval 5; retry_check_interval 1; } Now thats all good and well, but if I then go check on my dashboard for service problems, I still see it being checked with ping and not fping, would or could this be my browser still not refreshing the cookies or is it possible that nagios for some or other reason is still monitoring the services with check_ping ? The thing is in the templates file I have changed the following: define command{ command_name check_ping command_line $USER1$/check_fping $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -n 5 } So if anyone would care to tell me what else I should be looking at to check ? I have up until now checked everything possible, or so I think so I am really at a dead end.... Kind Regards -- Marc Hultquist Destiny Electronic Commerce (Pty) Ltd Tel: +27 11 695 5500 Fax: +27 11 312 1246 E-Mail: marc at e-destiny.co.za Web: http://www.e-destiny.co.za "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away !" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 08:24:50 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Oct 2007 08:24:50 +0200 Subject: check_ping changed to check_fping In-Reply-To: <1192695483.2375.194.camel@localhost> References: <1192695483.2375.194.camel@localhost> Message-ID: <4716FC32.3010704@op5.se> Marc Hultquist wrote: > Hi All > > Ok I seem to have solved my previous problem with the check_ping stuff, > it seems that by slightly increasing the threshhold as well as changing > the flags slightly. > > Now here's the thing, I have now changed to use check_fping in terms of > monitoring, for example one of my services being hosted is as follows: > define service{ > use generic-service ; > host_name cksdialup; > service_description PING ; > check_command check_fping!200.0,20%!600.0,60% ; > normal_check_interval 5; > retry_check_interval 1; > } > > Now thats all good and well, but if I then go check on my dashboard for > service problems, I still see it being checked with ping and not fping, > would or could this be my browser still not refreshing the cookies or is > it possible that nagios for some or other reason is still monitoring the > services with check_ping ? The thing is in the templates file I have > changed the following: > > define command{ > command_name check_ping > command_line $USER1$/check_fping $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -n 5 > } > > So if anyone would care to tell me what else I should be looking at to > check ? I have up until now checked everything possible, or so I think > so I am really at a dead end.... > You *did* restart Nagios, didn't you? If so, make sure you don't have two versions of Nagios running at the same time. If that's not the issue, then go check the loaded config from the CGI's, by following the "View config" link in your menu. It'll show you what config Nagios thinks it has loaded, and might tell you what's going on. -- 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 marc at e-destiny.co.za Thu Oct 18 11:26:27 2007 From: marc at e-destiny.co.za (Marc Hultquist) Date: Thu, 18 Oct 2007 11:26:27 +0200 Subject: check_ping changed to check_fping In-Reply-To: <4716FC32.3010704@op5.se> References: <1192695483.2375.194.camel@localhost> <4716FC32.3010704@op5.se> Message-ID: <1192699587.2375.218.camel@localhost> On Thu, 2007-10-18 at 08:24 +0200, Andreas Ericsson wrote: > Marc Hultquist wrote: > > Hi All > > > > Ok I seem to have solved my previous problem with the check_ping stuff, > > it seems that by slightly increasing the threshhold as well as changing > > the flags slightly. > > > > Now here's the thing, I have now changed to use check_fping in terms of > > monitoring, for example one of my services being hosted is as follows: > > define service{ > > use generic-service ; > > host_name cksdialup; > > service_description PING ; > > check_command check_fping!200.0,20%!600.0,60% ; > > normal_check_interval 5; > > retry_check_interval 1; > > } > > > > Now thats all good and well, but if I then go check on my dashboard for > > service problems, I still see it being checked with ping and not fping, > > would or could this be my browser still not refreshing the cookies or is > > it possible that nagios for some or other reason is still monitoring the > > services with check_ping ? The thing is in the templates file I have > > changed the following: > > > > define command{ > > command_name check_ping > > command_line $USER1$/check_fping $HOSTADDRESS$ -w $ARG1$ -c > > $ARG2$ -n 5 > > } > > > > So if anyone would care to tell me what else I should be looking at to > > check ? I have up until now checked everything possible, or so I think > > so I am really at a dead end.... > > > > You *did* restart Nagios, didn't you? If so, make sure you don't have > two versions of Nagios running at the same time. > > If that's not the issue, then go check the loaded config from the CGI's, > by following the "View config" link in your menu. It'll show you what > config Nagios thinks it has loaded, and might tell you what's going on. > Just checked now, strange one, executing service nagios restart did not solve the problem, however if I executed service nagios force-reload it seems to solve it for certain hosts but not others, will have to delve a little deeper into the config to check.... -- Marc Hultquist Destiny Electronic Commerce (Pty) Ltd Tel: +27 11 695 5500 Fax: +27 11 312 1246 E-Mail: marc at e-destiny.co.za Web: http://www.e-destiny.co.za "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away !" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 10:18:39 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 18 Oct 2007 10:18:39 +0200 Subject: Nagios backup In-Reply-To: <009c01c8114c$18f1ddf0$7b02a8c0@nspire.co.nz> References: <009c01c8114c$18f1ddf0$7b02a8c0@nspire.co.nz> Message-ID: <471716DF.6030200@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Hawley wrote: > Has anyone used Nagios as a tool to perform Cisco running-config backups via > SNMP??? Sounds as usefull as slamming a nail into the wall with a screwdriver. Nagios is simply not the tool for that kind of a job. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHFxbdBvzDRVjxmYERAuM2AJ94Bs/+3MuqJcIOCN95gcgmlG9FKQCZAZ2K hn+z649OjfoZKs3tfZj6Vvc= =yTZr -----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 Thu Oct 18 10:20:14 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 18 Oct 2007 10:20:14 +0200 Subject: SNMP Traps In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A718E@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57449A718E@hermes.sapphire-int.gi> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A71E7@hermes.sapphire-int.gi> OK, well the problem (for the pre-flight check) was a missing and required parameter in the service template. Normal_check_interval This is a passive service, so I don't want to do any checks, do I? Should I set this to 0? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Giles Coochey Sent: 17 October 2007 12:37 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SNMP Traps Hi, ? Nagios 2.9 ? I'm looking at the document to handle SNMP traps which I found here: ? http://www.samag.com/documents/s=9559/sam0503g/ ? I've got all the SNMP parts configured and I think I won't have problems doing the external command part. ? The Nagios configuration is, however, giving me some grief; this is my first use of passive checks however, so maybe I'm being plain stupid. I found an earlier thread which assisted me with some errors, but the pre-flight-check now returns: ? Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL ? Reading configuration data... ? Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'TRAP-CRITICAL' on host '32Red-VPN' Error: Could not register service (config file '/opt/nagios/etc/generic.cfg', starting on line 942) ? ***> 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. ? ? I don't believe I have a max_attempts at all (anywhere in the file), check_interval / retry_interval is presumably either normal_check_interval or retry_check_interval. ? Can anyone see where I've gone wrong? ? Relevant Service Configuration: ? define service{ ??????? name??????????????????????????? generic-passive-service ??????? active_checks_enabled?????????? 0 ??????? 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 ??????? failure_prediction_enabled????? 1 ??????? process_perf_data?????????????? 1 ??????? retain_status_information?????? 1 ??????? retain_nonstatus_information??? 1 ??????? register??????????????????????? 0 ??????? retry_check_interval??????????? 1 ??????? } ? define service{ ??????? name??????????????????????????? passive-check-template ??????? use???????????????????????????? generic-passive-service ??????? check_freshness???????????????? 1 ??????? check_period??????????????????? none ??????? passive_checks_enabled????????? 1 ??????? max_check_attempts????????????? 1 ??????? check_command?????????????????? passive_check_missing ??????? freshness_threshold???????????? 600 ??????? register??????????????????????? 0 ??????? } ? define service{ ??????? use???????????????????????????? passive-check-template ??????? name???????????????????????? ???generic-snmptrap ??????? service_description???????????? snmp_trap_handling ??????? is_volatile???????????????????? 1 ??????? check_period??????????????????? none ??????? notification_interval?????????? 120 ??????? notification_options??????????? w,u,c,r ??????? notification_period???????????? 24x7 ??????? check_command?????????????????? passive_check_missing ??????? max_check_attempts????????????? 1 ??????? check_freshness???????????????? 0 ??????? stalking_options??????????????? o,w,u,c ??????? register??????????????????????? 0 ??????? } ? ? define service { ??????? use???????????????????????????? generic-snmptrap ??????? host_name?????????????????????? * ??????? contact_groups????????????????? testing ??????? service_description???????????? TRAP-OK ??????? } ? define service { ??????? use???????????????????????????? generic-snmptrap ??????? host_name?????????????????????? * ??????? contact_groups????????????????? testing ??????? service_description????? ???????TRAP-WARNING ??????? } ? define service { ??????? use???????????????????????????? generic-snmptrap ??????? host_name?????????????????????? * ??????? contact_groups????????????????? testing ??????? service_description???????????? TRAP-CRITICAL } ? ? ? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rcupardo at tnet.it Thu Oct 18 11:01:06 2007 From: rcupardo at tnet.it (Riccardo Cupardo) Date: Thu, 18 Oct 2007 11:01:06 +0200 Subject: No nagios.cmd after upgrade to apache 2.2.6 Message-ID: <471720D2.2070006@tnet.it> 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 m.borsani at it.net Thu Oct 18 12:04:45 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 18 Oct 2007 12:04:45 +0200 Subject: Steps Upgrade from Nagios 1.4 to Nagios 2.9-1 Message-ID: <00e301c8116e$4f857440$0900d40a@intranet.it.net> Hi all I have to definy the rules (and if it is possible) to migrate my 1.4.1 installation (with 400 hosts an 1000 services) to the lastest stable release, 2.9-1. 1) We can't loose the history and statistics of our monitoring ... is it possible with the migration ? 2) I find only the documentation to upgrade from 2.x to 3.x .. where I can find the doc regarding upgrade from 1.x to 2.x ? 3) Anyone can tell me if this upgrade is necessary to improve features? Actually only problem that I have is that sometime (I don't know why) Nagios freeeze, stop to perform checks , but the interface does not crash (so it is not so immediate to recognize!) Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- 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 e-destiny.co.za Thu Oct 18 15:35:22 2007 From: marc at e-destiny.co.za (Marc Hultquist) Date: Thu, 18 Oct 2007 15:35:22 +0200 Subject: check_ping changed to check_fping In-Reply-To: <1192699587.2375.218.camel@localhost> References: <1192695483.2375.194.camel@localhost> <4716FC32.3010704@op5.se> <1192699587.2375.218.camel@localhost> Message-ID: <1192714522.7984.29.camel@localhost> On Thu, 2007-10-18 at 11:26 +0200, Marc Hultquist wrote: > On Thu, 2007-10-18 at 08:24 +0200, Andreas Ericsson wrote: > > Marc Hultquist wrote: > > > Hi All > > > > > > Ok I seem to have solved my previous problem with the check_ping stuff, > > > it seems that by slightly increasing the threshhold as well as changing > > > the flags slightly. > > > > > > Now here's the thing, I have now changed to use check_fping in terms of > > > monitoring, for example one of my services being hosted is as follows: > > > define service{ > > > use generic-service ; > > > host_name cksdialup; > > > service_description PING ; > > > check_command check_fping!200.0,20%!600.0,60% ; > > > normal_check_interval 5; > > > retry_check_interval 1; > > > } > > > > > > Now thats all good and well, but if I then go check on my dashboard for > > > service problems, I still see it being checked with ping and not fping, > > > would or could this be my browser still not refreshing the cookies or is > > > it possible that nagios for some or other reason is still monitoring the > > > services with check_ping ? The thing is in the templates file I have > > > changed the following: > > > > > > define command{ > > > command_name check_ping > > > command_line $USER1$/check_fping $HOSTADDRESS$ -w $ARG1$ -c > > > $ARG2$ -n 5 > > > } > > > > > > So if anyone would care to tell me what else I should be looking at to > > > check ? I have up until now checked everything possible, or so I think > > > so I am really at a dead end.... > > > > > > > You *did* restart Nagios, didn't you? If so, make sure you don't have > > two versions of Nagios running at the same time. > > > > If that's not the issue, then go check the loaded config from the CGI's, > > by following the "View config" link in your menu. It'll show you what > > config Nagios thinks it has loaded, and might tell you what's going on. > > > Just checked now, strange one, executing service nagios restart did not > solve the problem, however if I executed service nagios force-reload it > seems to solve it for certain hosts but not others, will have to delve a > little deeper into the config to check.... > Ok I am or really don't know what to do now :-p I have tried almost everything to get it to use check_fping as apposed to check_ping but for some reason it still seems to report ping and not fping on the web interface ? Any other ideas here ? :-\ -- Marc Hultquist Destiny Electronic Commerce (Pty) Ltd Tel: +27 11 695 5500 Fax: +27 11 312 1246 E-Mail: marc at e-destiny.co.za Web: http://www.e-destiny.co.za "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away !" ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 18 15:15:33 2007 From: danilo.perdomo at inter.com.ve (Danilo Perdomo) Date: Thu, 18 Oct 2007 09:15:33 -0400 Subject: Nagios - MySql Message-ID: <47175C75.5060200@inter.com.ve> Hi everyone! I want to integrate Nagios with MySQL and i was checking in nagiosexchange and found this: http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1[p_view]=462 It consists in 2 scripts that load the Nagios configuration and logs into the MySQL database. I wanted to know if anyone have used this, and if so does it really work? Is anyone using mysql with Nagios? Thanks in advance, -- 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 gcoochey at sapphire.gi Thu Oct 18 15:37:51 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 18 Oct 2007 15:37:51 +0200 Subject: No nagios.cmd after upgrade to apache 2.2.6 In-Reply-To: <471720D2.2070006@tnet.it> References: <471720D2.2070006@tnet.it> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A7243@hermes.sapphire-int.gi> -rw------- 1 nagios nagios? 36922 Oct 12 16:01 nagios.tmpqJpGIs drwxr-sr-x 2 nagios apache?? 4096 Oct 18 10:24 rw -rw-rw-r-- 1 nagios nagios 119715 Oct 18 10:50 status.log Is your new apache user a member of the group 'apache'? Also you might want to change the permissions with: Chmod g+w rw The file not being there probably means that nagios managed to check it, delete it but couldn't re-create it because it doesn't have permissions. The documentation for installation asks for you to create a group ('nagcmd' in the examples) of which your apache user and nagios user should both be members. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 15:56:26 2007 From: marc at ena.com (Marc Powell) Date: Thu, 18 Oct 2007 08:56:26 -0500 Subject: check_ping changed to check_fping In-Reply-To: <1192695483.2375.194.camel@localhost> References: <1192695483.2375.194.camel@localhost> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Hultquist > Sent: Thursday, October 18, 2007 3:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_ping changed to check_fping > > Hi All > > Ok I seem to have solved my previous problem with the check_ping stuff, > it seems that by slightly increasing the threshhold as well as changing > the flags slightly. > > Now here's the thing, I have now changed to use check_fping in terms of > monitoring, for example one of my services being hosted is as follows: > define service{ > use generic-service ; > host_name cksdialup; > service_description PING ; > check_command check_fping!200.0,20%!600.0,60% ; > normal_check_interval 5; > retry_check_interval 1; > } > > Now thats all good and well, but if I then go check on my dashboard for > service problems, I still see it being checked with ping and not fping, How _exactly_ do you know it's using ping and not fping from the web interface? > define command{ > command_name check_ping > command_line $USER1$/check_fping $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -n 5 > } Note in the service definition that you've specified to use the check_fping command, but provided us the check_ping command definition. They are not the same. -- 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 Thu Oct 18 16:00:36 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Thu, 18 Oct 2007 15:00:36 +0100 Subject: FW: Nagios - MySql Message-ID: -----Original Message----- From: nagios-users On Behalf Of Danilo Perdomo Sent: 18 October 2007 14:16 > I want to integrate Nagios with MySQL and I was checking in nagiosexchange and found this: > http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1[p_view]=4 62 > > It consists in 2 scripts that load the Nagios configuration and logs into the MySQL database. > I wanted to know if anyone have used this, and if so does it really work? > > Is anyone using mysql with Nagios? Check out ndoutils which is a plugin that integrates with the nagios server daemon to write the log files into MySql tables. I (and others) have used it successfully. Look at: http://www.nagios.org/download/ and at the bottom of the page you will find a link to ndoutils. As it is written and maintained by Ethan it fits well with Nagios itself. 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 danilo.perdomo at inter.com.ve Thu Oct 18 16:10:45 2007 From: danilo.perdomo at inter.com.ve (Danilo Perdomo) Date: Thu, 18 Oct 2007 10:10:45 -0400 Subject: FW: Nagios - MySql In-Reply-To: References: Message-ID: <47176965.3010607@inter.com.ve> Thanks!!, i'll give it a try. 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 Wheeler, JF (Jonathan) escribi?: > -----Original Message----- > From: nagios-users On Behalf Of Danilo Perdomo > Sent: 18 October 2007 14:16 > > >> I want to integrate Nagios with MySQL and I was checking in >> > nagiosexchange and found this: > > http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1[p_view]=4 > 62 > >> It consists in 2 scripts that load the Nagios configuration and logs >> > into the MySQL database. > >> I wanted to know if anyone have used this, and if so does it really >> > work? > >> Is anyone using mysql with Nagios? >> > > Check out ndoutils which is a plugin that integrates with the nagios > server daemon to write the log files into MySql tables. I (and others) > have used it successfully. Look at: http://www.nagios.org/download/ and > at the bottom of the page you will find a link to ndoutils. As it is > written and maintained by Ethan it fits well with Nagios itself. > > 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 joe.fortier at simondelivers.com Thu Oct 18 16:21:33 2007 From: joe.fortier at simondelivers.com (Josef Fortier) Date: Thu, 18 Oct 2007 09:21:33 -0500 Subject: Nagios backup In-Reply-To: <009c01c8114c$18f1ddf0$7b02a8c0@nspire.co.nz> References: <009c01c8114c$18f1ddf0$7b02a8c0@nspire.co.nz> Message-ID: <20071018142130.GA898@simondelivers.com> Hi Mike: > Has anyone used Nagios as a tool to perform Cisco running-config backups via > SNMP??? I like "rancid" (despite the name...) -- _______________________________________________________________________ Josef Fortier _______________________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 17:22:45 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 18 Oct 2007 08:22:45 -0700 Subject: Nagios backup In-Reply-To: <471716DF.6030200@vanderkooij.org> References: <009c01c8114c$18f1ddf0$7b02a8c0@nspire.co.nz> <471716DF.6030200@vanderkooij.org> Message-ID: <47177A45.5030202@NagiosWiki.com> > Mike Hawley wrote: >> Has anyone used Nagios as a tool to perform Cisco running-config backups via >> SNMP??? I think TFTP is closer to what you need to do. Try TFTP server (there's a free Cisco client on www.oldversion.com) on a workstation and then type (something like) "copy starting-config tftp" or "write network" (on older routers this works). Nagios could help you determine when your Cisco device was down, and then you could use the copy command ("copy tftp starting-config") to get back an old config. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Thu Oct 18 17:27:02 2007 From: nagios at unixplanet.biz (Nagios) Date: Thu, 18 Oct 2007 12:27:02 -0300 Subject: No Route to host Message-ID: <47177B46.7010508@unixplanet.biz> I am getting No rout to host , however I can ping and ssh to host as well. would you please let me know what do you think? /usr/lib/nagios/plugins/check_http -H Server_ip_Address -u /myhomepage -p 8080 No route to host Unable to open TCP socket ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 18:20:08 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 18 Oct 2007 14:20:08 -0200 Subject: NDO2DB 1.4b4 field length problem In-Reply-To: <4716524E.7050004@op5.se> References: <47164EAD.804@op5.se> <4716524E.7050004@op5.se> Message-ID: How can I do this? 2007/10/17, Andreas Ericsson : > > Livio Zanol Puppim wrote: > > Thanks, > > I've used an ALTER TABLE and my problem is now solved.... > > > > ALTER TABLE nagios_hosts CHANGE alias alias varchar(128) NOT NULL > default > > ""; > > > > I hope that fields will be bigger in new versions. > > > > Since you're well-versed enough in SQL, just submit a patch. It's the best > way to get changes done the way you want them. Otherwise Ethan might > decide > to make the field 65 chars, which would indeed be bigger, but still not > quite big enough. I know I'd do it, but that's mainly because I'm evil in > a friendly and easy-going way. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -------------- 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 Thu Oct 18 18:23:25 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 18 Oct 2007 14:23:25 -0200 Subject: trends.cgi permissions Message-ID: Hello again, Is it possible to define permissions for a user to access ONLY the trends.cgi page? Can I do this for a "guest" account? Thank you, Livio 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 ae at op5.se Thu Oct 18 18:37:56 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Oct 2007 18:37:56 +0200 Subject: NDO2DB 1.4b4 field length problem In-Reply-To: References: <47164EAD.804@op5.se> <4716524E.7050004@op5.se> Message-ID: <47178BE4.1020106@op5.se> Livio Zanol Puppim wrote: > How can I do this? > Make a copy of the original file (name it orig-filename.orig), then run diff -u orig-filename.orig orig-filename > \ ndoutils-enlarge-alias-column.patch Send the ndoutils-enlarge-alias-column.patch file to nagios-devel at lists.sourceforge.org. > 2007/10/17, Andreas Ericsson : >> Livio Zanol Puppim wrote: >>> Thanks, >>> I've used an ALTER TABLE and my problem is now solved.... >>> >>> ALTER TABLE nagios_hosts CHANGE alias alias varchar(128) NOT NULL >> default >>> ""; >>> >>> I hope that fields will be bigger in new versions. >>> >> Since you're well-versed enough in SQL, just submit a patch. It's the best >> way to get changes done the way you want them. Otherwise Ethan might >> decide >> to make the field 65 chars, which would indeed be bigger, but still not >> quite big enough. I know I'd do it, but that's mainly because I'm evil in >> a friendly and easy-going way. >> >> -- >> 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 -- 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 18 18:43:53 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Oct 2007 18:43:53 +0200 Subject: Steps Upgrade from Nagios 1.4 to Nagios 2.9-1 In-Reply-To: <00e301c8116e$4f857440$0900d40a@intranet.it.net> References: <00e301c8116e$4f857440$0900d40a@intranet.it.net> Message-ID: <47178D49.1090807@op5.se> Marco Borsani wrote: > Hi all > > I have to definy the rules (and if it is possible) to migrate my 1.4.1 > installation (with 400 hosts an 1000 services) to the lastest stable > release, 2.9-1. > It's indeed possible. > 1) > We can't loose the history and statistics of our monitoring ... is it > possible with the migration ? > Well, yes and no. You should make backups and make sure that your current nagios keeps running while you install the new one in a new place. > 2) > I find only the documentation to upgrade from 2.x to 3.x .. where I can find > the doc regarding upgrade from 1.x to 2.x ? > Basically, just upgrade the software, and then run the two commandline PHP scripts at oss.op5.org/nagios (they're called nagios12to20-something.php, I think) on the appropriate files. You may have to do some reading of the source to find out how to use them. It was a long time since I wrote them, and I'm not sure I added help-messages. Get back to me on-list if the scripts don't work (or if they do, for that matter). Like I said, they're very old, and iirc, they were written for nagios 1.2. > 3) > Anyone can tell me if this upgrade is necessary to improve features? > Actually only problem that I have is that sometime (I don't know why) Nagios > freeeze, stop to perform checks , but the interface does not crash (so it is > not so immediate to recognize!) > It's worth a shot then, isn't it? :) -- 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 18 18:45:05 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Oct 2007 18:45:05 +0200 Subject: Nagios - MySql In-Reply-To: <47175C75.5060200@inter.com.ve> References: <47175C75.5060200@inter.com.ve> Message-ID: <47178D91.7040807@op5.se> Danilo Perdomo wrote: > Hi everyone! > > I want to integrate Nagios with MySQL and i was checking in > nagiosexchange and found this: > http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1[p_view]=462 > > It consists in 2 scripts that load the Nagios configuration and logs > into the MySQL database. > I wanted to know if anyone have used this, and if so does it really work? > Try and find out. I should think you want ndoutils for a bit more rapid functionality though. > Is anyone using mysql with Nagios? > 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 Thu Oct 18 18:45:54 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Oct 2007 18:45:54 +0200 Subject: trends.cgi permissions In-Reply-To: References: Message-ID: <47178DC2.9050805@op5.se> Livio Zanol Puppim wrote: > Hello again, > > Is it possible to define permissions for a user to access ONLY the > trends.cgi page? Can I do this for a "guest" account? > Yes, but you need to fiddle with apache settings rather than with Nagios configuration. -- 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 reha.bahtiyar at trt.net.tr Thu Oct 18 18:50:53 2007 From: reha.bahtiyar at trt.net.tr (Reha BAHTIYAR) Date: Thu, 18 Oct 2007 19:50:53 +0300 Subject: png gd2 icons on statusmap problem solved - 3.0b5 Message-ID: Hi; .png, .gd2 on statusmap.cgi are showed. I used hostextinfo.cfg on 3.0b5. as on 2.x. -------------- 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 18 19:33:36 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 18 Oct 2007 10:33:36 -0700 Subject: question on passive ping checks via "check_nc_net -s" & NC_net Message-ID: <2b7af7c40710181033x9541515o4ffb72493483e39@mail.gmail.com> I have an IPsec tunnel, and on each side of it is a Windows server running NC_net. I would like my offsite Nagios server to send a request to each Windows server to ping across the tunnel and then report back to me (via the Nagios server) the results of that ping. I've been reading the NC_net documentation on passive checks and see that I have to modify startup.cfg and passive.cfg, but am a little fuzzy on how to do so. If I understand this correctly, once I modify these two text files on my Windows server appropriately and then send the right command (check_nc_net using the -S switch) via my Nagios server, then I'm all set? I'm a little confused, as I don't see an equivalent to *nix's nrpe.cfg file with (something like) command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 I was hoping to find something ping-related so that I could call that command from my Nagios server. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 19:35:58 2007 From: marc at ena.com (Marc Powell) Date: Thu, 18 Oct 2007 12:35:58 -0500 Subject: Nagios backup In-Reply-To: <20071018142130.GA898@simondelivers.com> References: <20071018142130.GA898@simondelivers.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Josef Fortier > Sent: Thursday, October 18, 2007 9:22 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios backup > > Hi Mike: > > > Has anyone used Nagios as a tool to perform Cisco running-config > backups via > > SNMP??? > > I like "rancid" (despite the name...) I second this. _extremely_ useful. -- 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 Thu Oct 18 19:37:08 2007 From: marc at ena.com (Marc Powell) Date: Thu, 18 Oct 2007 12:37:08 -0500 Subject: No Route to host In-Reply-To: <47177B46.7010508@unixplanet.biz> References: <47177B46.7010508@unixplanet.biz> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nagios > Sent: Thursday, October 18, 2007 10:27 AM > To: nagios-users at lists.sourceforge.net >> Nagios Users Mailinglist > Subject: [Nagios-users] No Route to host > > I am getting No rout to host , however I can ping and ssh to host as well. > would you please let me know what do you think? > > > /usr/lib/nagios/plugins/check_http -H Server_ip_Address -u /myhomepage > -p 8080 > No route to host > Unable to open TCP socket You're not testing the same hostname/ip address that nagios is would be my thought. -- 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 gcoochey at sapphire.gi Thu Oct 18 12:51:50 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 18 Oct 2007 12:51:50 +0200 Subject: GFI MailSecurity Sanitized Email - Sounds in status.cgi Message-ID: 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 mike.hawley at nspire.co.nz Thu Oct 18 21:15:35 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Fri, 19 Oct 2007 08:15:35 +1300 Subject: Nagios backup In-Reply-To: <47177A45.5030202@NagiosWiki.com> References: <009c01c8114c$18f1ddf0$7b02a8c0@nspire.co.nz><471716DF.6030200@vanderkooij.org> <47177A45.5030202@NagiosWiki.com> Message-ID: <010c01c811bb$4373d3c0$7b02a8c0@nspire.co.nz> Thanks Roger, I was looking at something that would perform backups when the config changes automatically. Ta Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Roger Sent: Friday, October 19, 2007 4:23 AM To: nagios-users at lists.sourceforge.net >> Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios backup > Mike Hawley wrote: >> Has anyone used Nagios as a tool to perform Cisco running-config >> backups via SNMP??? I think TFTP is closer to what you need to do. Try TFTP server (there's a free Cisco client on www.oldversion.com) on a workstation and then type (something like) "copy starting-config tftp" or "write network" (on older routers this works). Nagios could help you determine when your Cisco device was down, and then you could use the copy command ("copy tftp starting-config") to get back an old config. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.13/1075 - Release Date: 10/17/2007 9:38 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.13/1075 - Release Date: 10/17/2007 9:38 AM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Thu Oct 18 21:24:20 2007 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Thu, 18 Oct 2007 13:24:20 -0600 Subject: Nagios backup In-Reply-To: <010c01c811bb$4373d3c0$7b02a8c0@nspire.co.nz> References: <009c01c8114c$18f1ddf0$7b02a8c0@nspire.co.nz><471716DF.6030200@vanderkooij.org> <47177A45.5030202@NagiosWiki.com> <010c01c811bb$4373d3c0$7b02a8c0@nspire.co.nz> Message-ID: <1689390EF608584D85BA56D958A5D1E44CEEFE5336@CorpExMBS1.arcadis-us.com> You can use the 'archive' commands in recent IOS to have your config backed up to a TFTP server anytime the config is written to NVRAM, as well as at specified time intervals. Thanks, Garry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike Hawley Sent: Thursday, October 18, 2007 1:16 PM To: Roger at NagiosWiki.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios backup Thanks Roger, I was looking at something that would perform backups when the config changes automatically. Ta Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Roger Sent: Friday, October 19, 2007 4:23 AM To: nagios-users at lists.sourceforge.net >> Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios backup > Mike Hawley wrote: >> Has anyone used Nagios as a tool to perform Cisco running-config >> backups via SNMP??? I think TFTP is closer to what you need to do. Try TFTP server (there's a free Cisco client on www.oldversion.com) on a workstation and then type (something like) "copy starting-config tftp" or "write network" (on older routers this works). Nagios could help you determine when your Cisco device was down, and then you could use the copy command ("copy tftp starting-config") to get back an old config. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.13/1075 - Release Date: 10/17/2007 9:38 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.13/1075 - Release Date: 10/17/2007 9:38 AM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 18 22:01:26 2007 From: zkenton at outcome.com (zack kenton) Date: Thu, 18 Oct 2007 22:01:26 +0200 (CEST) Subject: printer ink levels Message-ID: <20071018200126.813A5588003@desire.netways.de> Hi list I have a Dell printer and two HP printers, both SNMP enabled, and was wondering if there was a way to alert on low/empty ink levels within Nagios. I know cacti will show me the levels, but it wont alert me when the levels are low. - 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 dylan at corp.power1.com Thu Oct 18 22:05:49 2007 From: dylan at corp.power1.com (Dylan Bouterse) Date: Thu, 18 Oct 2007 16:05:49 -0400 Subject: check_snmp syntax issue Message-ID: <8BA6F8040A7307488313E80E045D487F6E7931@exchange.corp.power1.com> I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 22:16:36 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Oct 2007 22:16:36 +0200 Subject: printer ink levels In-Reply-To: <20071018200126.813A5588003@desire.netways.de> References: <20071018200126.813A5588003@desire.netways.de> Message-ID: <4717BF24.2060407@op5.se> zack kenton wrote: > Hi list > > I have a Dell printer and two HP printers, both SNMP enabled, and was > wondering if there was a way to alert on low/empty ink levels within > Nagios. There is, sort of, but you may have to write your own plugin for it if you want any kind of specific measurements. -- 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 s.shipway at auckland.ac.nz Thu Oct 18 22:24:29 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 19 Oct 2007 09:24:29 +1300 Subject: Nagios - MySql In-Reply-To: <47175C75.5060200@inter.com.ve> References: <47175C75.5060200@inter.com.ve> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A201451146@UXCHANGE3.UoA.auckland.ac.nz> > I want to integrate Nagios with MySQL and i was checking in > nagiosexchange and found this: > http://www.nagiosexchange.org/Misc.36.0.html?&tx_netnagext_pi1[p_view]=4 62 Ah - this is one of mine. We use this here, of course - it was written originally for Nagios 1.x (which we use) but is now tweaked to work with 2.x as well. However, once we have finished the upgrade to 2.x, we're looking at moving to ndoutils as well, as this is the recommended way of doing things in Nagios 2 and later. One benefit of this loader, though, is that it loads the current config into the database for use by programs, and also generates a table in the database with status time summary information, rather than events. Once we get ndoutils running, we'll need to generate something similar using a separate process. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhanby at uab.edu Thu Oct 18 22:32:49 2007 From: mhanby at uab.edu (Mike Hanby) Date: Thu, 18 Oct 2007 15:32:49 -0500 Subject: NRPE.pdf Typo Message-ID: <16AE1027F52DD64CB278BD8950529B633B6ADB@UABEXMB5.ad.uab.edu> Howdy, the first section in the NRPE.pdf document has the following sentence: "Since these public resources are not usually exposed to external machines, an agent like NRPE must be installed on the remote Linux/Unix machines." Shouldn't it read /public/private/: "Since these private resources are not usually exposed to external machines, an agent like NRPE must be installed on the remote Linux/Unix machines." ----- Mike Hanby Information Systems Specialist II School of Engineering Dean's Office University of Alabama at Birmingham ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 22:38:18 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 18 Oct 2007 22:38:18 +0200 Subject: NRPE.pdf Typo In-Reply-To: <16AE1027F52DD64CB278BD8950529B633B6ADB@UABEXMB5.ad.uab.edu> References: <16AE1027F52DD64CB278BD8950529B633B6ADB@UABEXMB5.ad.uab.edu> Message-ID: <4717C43A.3090000@op5.se> Mike Hanby wrote: > Howdy, the first section in the NRPE.pdf document has the following > sentence: > "Since these public resources are not usually exposed to external > machines, an agent like > NRPE must be installed on the remote Linux/Unix machines." > > Shouldn't it read /public/private/: > > "Since these private resources are not usually exposed to external > machines, an agent like > NRPE must be installed on the remote Linux/Unix machines." It should probably read "local resources...", but I'm not that fussed. -- 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 mhanby at uab.edu Thu Oct 18 22:40:43 2007 From: mhanby at uab.edu (Mike Hanby) Date: Thu, 18 Oct 2007 15:40:43 -0500 Subject: NRPE.pdf Typo In-Reply-To: <4717C43A.3090000@op5.se> References: <16AE1027F52DD64CB278BD8950529B633B6ADB@UABEXMB5.ad.uab.edu> <4717C43A.3090000@op5.se> Message-ID: <16AE1027F52DD64CB278BD8950529B633B6AE4@UABEXMB5.ad.uab.edu> True! -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Thursday, October 18, 2007 15:38 To: Mike Hanby Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE.pdf Typo Mike Hanby wrote: > Howdy, the first section in the NRPE.pdf document has the following > sentence: > "Since these public resources are not usually exposed to external > machines, an agent like > NRPE must be installed on the remote Linux/Unix machines." > > Shouldn't it read /public/private/: > > "Since these private resources are not usually exposed to external > machines, an agent like > NRPE must be installed on the remote Linux/Unix machines." It should probably read "local resources...", but I'm not that fussed. -- 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 Roger at NagiosWiki.com Thu Oct 18 23:32:20 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 18 Oct 2007 14:32:20 -0700 Subject: question on passive ping checks via "check_nc_net -s" & NC_net In-Reply-To: <2b7af7c40710181033x9541515o4ffb72493483e39@mail.gmail.com> References: <2b7af7c40710181033x9541515o4ffb72493483e39@mail.gmail.com> Message-ID: <2b7af7c40710181432l6ca157f7h696ab44e167760d3@mail.gmail.com> On 10/18/07, Roger wrote: > I have an IPsec tunnel, and on each side of it is a Windows server > running NC_net. > > I would like my offsite Nagios server to send a request to each > Windows server to ping across the tunnel and then report back to me > (via the Nagios server) the results of that ping. > > I've been reading the NC_net documentation on passive checks and see > that I have to modify startup.cfg and passive.cfg, but am a little > fuzzy on how to do so. > > If I understand this correctly, once I modify these two text files on > my Windows server appropriately and then send the right command > (check_nc_net using the -S switch) via my Nagios server, then I'm all > set? > > I'm a little confused, as I don't see an equivalent to *nix's nrpe.cfg > file with (something like) > > command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 > > I was hoping to find something ping-related so that I could call that > command from my Nagios server. So, I put these binaries on my Windows server https://support.op5.se/index.php?option=com_content&task=view&id=42&Itemid=33 and put them in my NC_net script folder ("C:\Program Files\Montitech\NC_Net\script"). On the Windows server, I can run these scripts ok from the cmd line e.g. C:\Program Files\Montitech\NC_Net\script>check_ping.exe -H 10.200.200.1 -w 100,2 0% -c 500,60% Ping OK - Packet Loss = 0%, RTA = 0ms|'Packet Loss'=0%;100;500;; 'RTA'=0ms;20%;6 0%;; In my C:\Program Files\Montitech\NC_Net\command\commands.cfg, I have the following entry so that I can execute this command remotely. ******** commands.cfg ********************* command[check_nt_ping_test]="C:\Program Files\Montitech\NC_Net\script\check_ping.exe -H 10.200.200.1 -w 100,20% -c 500,60%" *********************************************** However, on my Nagios server, I'm having problems invoking the check necessary to tell the Windows server to run this command. In /etc/nagios/commands.cfg, I have the right nrpe check properly defined (like I always do). define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } ...but I cannot call that check. Even when I run something the following from the command line, I have problems: [root at vmappliance plugins]# ./check_nrpe -H (ip address) -c check_nt_ping_test I also tried the check_nt plugin, that that doesn't seem to recognize the parameters. Any suggestions? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.hawley at nspire.co.nz Fri Oct 19 00:36:03 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Fri, 19 Oct 2007 11:36:03 +1300 Subject: Nagios and OneOrZero Message-ID: <012e01c811d7$462b9000$7b02a8c0@nspire.co.nz> Hi, Has anyone tried to integrate alarms into the OneOrZero help desk system? Thanks in advance Mike Mike Hawley No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.15.1/1078 - Release Date: 10/18/2007 5:47 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 00:56:27 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Thu, 18 Oct 2007 19:56:27 -0300 Subject: Nagios and OneOrZero In-Reply-To: <012e01c811d7$462b9000$7b02a8c0@nspire.co.nz> References: <012e01c811d7$462b9000$7b02a8c0@nspire.co.nz> Message-ID: I don't know this help desk system, but usually help desks systems have an "mail eater" functionality, do a little search so you can find out. What we do here (only for links monitoring), is: - Nagios, sends an e-mail to the help desk system (CA Service Desk) and disable the host/service notification, so futher problems about the SAME host/service won't go to the help desk system again. - An AS is open at the system, and categorized correctly according to the e-mail (CA Service desk provide a field for this). - After the problem is solved, the help desk system sends a SNMP TRAP to nagios, and nagios re-enable notifications for the host/service. []'s Livio Zanol Puppim 2007/10/18, Mike Hawley : > > Hi, Has anyone tried to integrate alarms into the OneOrZero help desk > system? > > Thanks in advance > > Mike > > Mike Hawley > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.15.1/1078 - Release Date: > 10/18/2007 > 5:47 PM > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 amateo at um.es Fri Oct 19 08:26:46 2007 From: amateo at um.es (Angel L. Mateo) Date: Fri, 19 Oct 2007 08:26:46 +0200 Subject: check_ping changed to check_fping In-Reply-To: <1192699587.2375.218.camel@localhost> References: <1192695483.2375.194.camel@localhost> <4716FC32.3010704@op5.se> <1192699587.2375.218.camel@localhost> Message-ID: <1192775206.5700.16.camel@joshua.atica.um.es> El jue, 18-10-2007 a las 11:26 +0200, Marc Hultquist escribi?: > Just checked now, strange one, executing service nagios restart did > not > solve the problem, however if I executed service nagios force-reload > it > seems to solve it for certain hosts but not others, will have to delve > a > little deeper into the config to check.... > I had sometimes problem with this. Problems with nagios processes that doesn't restart. What I did now everytime I need to restart nagios is: 1. stop nagios 2. check that no nagios process is still running 3. start nagios -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 968367590 Fax: 968398337 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Oct 19 09:47:49 2007 From: m.borsani at it.net (Marco Borsani) Date: Fri, 19 Oct 2007 09:47:49 +0200 Subject: R: Steps Upgrade from Nagios 1.4 to Nagios 2.9-1 In-Reply-To: <47178D49.1090807@op5.se> References: <00e301c8116e$4f857440$0900d40a@intranet.it.net> <47178D49.1090807@op5.se> Message-ID: <000001c81224$59112e80$0900d40a@intranet.it.net> > -----Messaggio originale----- > Da: Andreas Ericsson [mailto:ae at op5.se] > Inviato: gioved? 18 ottobre 2007 18.44 > A: Marco Borsani > Cc: nagios-users at lists.sourceforge.net > Oggetto: Re: [Nagios-users] Steps Upgrade from Nagios 1.4 to > Nagios 2.9-1 > > Marco Borsani wrote: > > Hi all > > > > I have to definy the rules (and if it is possible) to migrate my 1.4.1 > > installation (with 400 hosts an 1000 services) to the lastest stable > > release, 2.9-1. > > > > It's indeed possible. OK > > 1) > > We can't loose the history and statistics of our monitoring ... is it > > possible with the migration ? > > > > Well, yes and no. You should make backups and make sure that > your current nagios keeps running while you install the new > one in a new place. > I can not install in new system, I need to upgrade Nagios on same server. Isn't it possible or is it "just" dungerous? Perhaps I could find a test system with a Nagios 1.4.1 on it, with a little configuration to test .. > > 2) > > I find only the documentation to upgrade from 2.x to 3.x .. where I > > can find the doc regarding upgrade from 1.x to 2.x ? > > > > Basically, just upgrade the software, and then run the two > commandline PHP scripts at oss.op5.org/nagios (they're called > nagios12to20-something.php, I > think) on the appropriate files. You may have to do some > reading of the source to find out how to use them. It was a > long time since I wrote them, and I'm not sure I added help-messages. > > Get back to me on-list if the scripts don't work (or if they > do, for that matter). Like I said, they're very old, and > iirc, they were written for nagios 1.2. > Only similar name file found is "12to20comments.php.gz". It is used to mantain the comments after upgrade. > > 3) > > Anyone can tell me if this upgrade is necessary to improve features? > > Actually only problem that I have is that sometime (I don't know why) > > Nagios freeeze, stop to perform checks , but the interface does not > > crash (so it is not so immediate to recognize!) > > > > It's worth a shot then, isn't it? :) > I don't know .. We use basic features (no escalation, no passive checks, no nsca, no volatile). If I remember correctly, main new features with nagios 2.x will be the service groups, isn't it ? I could create many problems if something should go in the wrong way during/after upgrade :( > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 Marco ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Fri Oct 19 10:16:07 2007 From: shoktai at gmail.com (Thomas Vito) Date: Fri, 19 Oct 2007 10:16:07 +0200 Subject: Check file age Message-ID: <619cf3c0710190116y5da216fam5f240e2650d4f9bc@mail.gmail.com> Hi everyone, I have just searched Nagios Exchange but i don't find what i want. I want to check the age of files (system state backups on windows controller) and get an erro if file age is more than three days. Do you have any link to such a plug in? 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 hpsekhon at googlemail.com Fri Oct 19 11:42:58 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 19 Oct 2007 10:42:58 +0100 Subject: Check file age In-Reply-To: <619cf3c0710190116y5da216fam5f240e2650d4f9bc@mail.gmail.com> References: <619cf3c0710190116y5da216fam5f240e2650d4f9bc@mail.gmail.com> Message-ID: <47187C22.3090703@googlemail.com> This is in the standard plugins distribution. check_file_age -h Hari Sekhon Thomas Vito wrote: > Hi everyone, > > I have just searched Nagios Exchange but i don't find what i want. > I want to check the age of files (system state backups on windows > controller) and get an erro if file age is more than three days. Do > you have any link to such a plug in? > > 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 19 11:56:24 2007 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Fri, 19 Oct 2007 10:56:24 +0100 Subject: diferent notification melhods on diferent periods of times In-Reply-To: <471641D3.7030503@op5.se> References: <47161D2B.2010302@ipp.pt> <471641D3.7030503@op5.se> Message-ID: <47187F48.6050500@ipp.pt> Hi Andreas, thank for your reply. Somehow i've missed it 'til now.:( I think i'll "hack up for it in the notification script" but, just for curiosity , how could i solve this issue by duplicating the contacts? Thanks, Jaime Andreas Ericsson wrote: > Jaime Ventura wrote: >> Hello, >> I understand I can configure nagios so that, for a service or >> host, it sends notifications on a specific period of time. >> What about use diferent notification melhods on diferent periods >> of times? >> For instante, from 9 to 18, notify by email, and the rest of the >> time notifications woud be sent via sms. >> Is it possible? > > Yes, but you'll either have to hack up support for it in the notification > script or duplicate your contacts. > -- Jaime Ventura ------------------------------------- Servi?os de Inform?tica e Comunica??o Seguran?a e Administra??o de Sistemas Instituto Polit?cnico do Porto Rua Dr Roberto Frias, 712 4200-465 PORTO E-mail: jaimeventura at sc.ipp.pt Telefone: 22 557 10 26 (Ext. 1251) Fax: 22 50 20 772 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlb at decisionsoft.co.uk Fri Oct 19 11:25:40 2007 From: mlb at decisionsoft.co.uk (Matthew Boyle) Date: Fri, 19 Oct 2007 10:25:40 +0100 Subject: Check file age In-Reply-To: <619cf3c0710190116y5da216fam5f240e2650d4f9bc@mail.gmail.com> References: <619cf3c0710190116y5da216fam5f240e2650d4f9bc@mail.gmail.com> Message-ID: <47187814.3070806@decisionsoft.co.uk> Thomas Vito wrote: > I have just searched Nagios Exchange but i don't find what i want. > I want to check the age of files (system state backups on windows > controller) and get an erro if file age is more than three days. Do you > have any link to such a plug in? that would be the check_file_age plugin you'd be wanting :-) it's in debian-etch's plugin package. --matt ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rcupardo at tnet.it Fri Oct 19 12:07:27 2007 From: rcupardo at tnet.it (Riccardo Cupardo) Date: Fri, 19 Oct 2007 12:07:27 +0200 Subject: No nagios.cmd after upgrade to apache 2.2.6 In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A7243@hermes.sapphire-int.gi> References: <471720D2.2070006@tnet.it> <9D30659ABCA7FB428CF91E386C3A57449A7243@hermes.sapphire-int.gi> Message-ID: <471881DF.2070600@tnet.it> I solved finally, there is not a permission problem, but a process problem... after a upgrade of apache... some nagios process are already running after my /etc/init.d/nagios stop/restart. an "/etc/init.d/nagios stop" follow by "killall -9 nagios" fix all. ty Giles Coochey ha scritto: > -rw------- 1 nagios nagios 36922 Oct 12 16:01 nagios.tmpqJpGIs > drwxr-sr-x 2 nagios apache 4096 Oct 18 10:24 rw > -rw-rw-r-- 1 nagios nagios 119715 Oct 18 10:50 status.log > > Is your new apache user a member of the group 'apache'? > > Also you might want to change the permissions with: > > Chmod g+w rw > > The file not being there probably means that nagios managed to check it, delete it but couldn't re-create it because it doesn't have permissions. > > The documentation for installation asks for you to create a group ('nagcmd' in the examples) of which your apache user and nagios user should both be members. > > > -- Riccardo Cupardo ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jakobverner at hotmail.com Fri Oct 19 12:47:11 2007 From: jakobverner at hotmail.com (Jakob Verner Christensen) Date: Fri, 19 Oct 2007 10:47:11 +0000 Subject: Problems compiling all cgis In-Reply-To: <471881DF.2070600@tnet.it> References: <471720D2.2070006@tnet.it> <9D30659ABCA7FB428CF91E386C3A57449A7243@hermes.sapphire-int.gi> <471881DF.2070600@tnet.it> Message-ID: I am missing some cgi?s in my install of Nagios (statusmap.cgi, trends.cgi and histogram.cgi). I have made sure that I have these libraries installed on my system: libgd, libgd-devel, libpng, libpng-devel, libjpeg, libjpeg-devel, zlib, zlib-devel I then do this: make devclean ./configure make cgis But this dosent create the files statusmap.cgi, trends.cgi and histogram.cgi, they don?t get compiled... So I tried this: make devclean ./configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include make cgis And this: make devclean ./configure --with-gd-lib=/usr/local/lib--with-gd-inc=/usr/local/include make cgis Problem still not solved, can anyone help me, how do I get the statusmap.cgi, trends.cgi and histogram.cgi Best regards Jakob Verner Christensen _________________________________________________________________ Ring til venner med pc-til-pc-opkald - GRATIS http://get.live.com/messenger/overview -------------- 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 Fri Oct 19 12:56:43 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Oct 2007 12:56:43 +0200 Subject: R: Steps Upgrade from Nagios 1.4 to Nagios 2.9-1 In-Reply-To: <000001c81224$59112e80$0900d40a@intranet.it.net> References: <00e301c8116e$4f857440$0900d40a@intranet.it.net> <47178D49.1090807@op5.se> <000001c81224$59112e80$0900d40a@intranet.it.net> Message-ID: <47188D6B.80200@op5.se> Marco Borsani wrote: > > >> -----Messaggio originale----- >> Da: Andreas Ericsson [mailto:ae at op5.se] >> Inviato: gioved? 18 ottobre 2007 18.44 >> A: Marco Borsani >> Cc: nagios-users at lists.sourceforge.net >> Oggetto: Re: [Nagios-users] Steps Upgrade from Nagios 1.4 to >> Nagios 2.9-1 >> >> Marco Borsani wrote: >>> Hi all >>> >>> I have to definy the rules (and if it is possible) to migrate my 1.4.1 >>> installation (with 400 hosts an 1000 services) to the lastest stable >>> release, 2.9-1. >>> >> It's indeed possible. > > OK > >>> 1) >>> We can't loose the history and statistics of our monitoring ... is it >>> possible with the migration ? >>> >> Well, yes and no. You should make backups and make sure that >> your current nagios keeps running while you install the new >> one in a new place. >> > > I can not install in new system, I need to upgrade Nagios on same server. > Isn't it possible or is it "just" dungerous? > Perhaps I could find a test system with a Nagios 1.4.1 on it, with a little > configuration to test .. > >>> 2) >>> I find only the documentation to upgrade from 2.x to 3.x .. where I >>> can find the doc regarding upgrade from 1.x to 2.x ? >>> >> Basically, just upgrade the software, and then run the two >> commandline PHP scripts at oss.op5.org/nagios (they're called >> nagios12to20-something.php, I >> think) on the appropriate files. You may have to do some >> reading of the source to find out how to use them. It was a >> long time since I wrote them, and I'm not sure I added help-messages. >> >> Get back to me on-list if the scripts don't work (or if they >> do, for that matter). Like I said, they're very old, and >> iirc, they were written for nagios 1.2. >> > > Only similar name file found is "12to20comments.php.gz". > It is used to mantain the comments after upgrade. > >>> 3) >>> Anyone can tell me if this upgrade is necessary to improve features? >>> Actually only problem that I have is that sometime (I don't know why) >>> Nagios freeeze, stop to perform checks , but the interface does not >>> crash (so it is not so immediate to recognize!) >>> >> It's worth a shot then, isn't it? :) >> > > I don't know .. We use basic features (no escalation, no passive checks, no > nsca, no volatile). If I remember correctly, main new features with nagios > 2.x will be the service groups, isn't it ? > I could create many problems if something should go in the wrong way > during/after upgrade :( > Then don't upgrade. If you don't need any features and Nagios 1.x is working for you, stick with it. -- 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 shoktai at gmail.com Fri Oct 19 13:12:15 2007 From: shoktai at gmail.com (Thomas Vito) Date: Fri, 19 Oct 2007 13:12:15 +0200 Subject: Check file age In-Reply-To: <47187C22.3090703@googlemail.com> References: <619cf3c0710190116y5da216fam5f240e2650d4f9bc@mail.gmail.com> <47187C22.3090703@googlemail.com> Message-ID: <619cf3c0710190412ka2bc8t9d898585b1c0933d@mail.gmail.com> Sorry, I don't see anywhere in the --help of checkfile-age how i can perform a check on a remote windows host. 2007/10/19, Hari Sekhon : > This is in the standard plugins distribution. > > check_file_age > > -h > > Hari Sekhon > > > > Thomas Vito wrote: > > Hi everyone, > > > > I have just searched Nagios Exchange but i don't find what i want. > > I want to check the age of files (system state backups on windows > > controller) and get an erro if file age is more than three days. Do > > you have any link to such a plug in? > > > > 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 > -------------- 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 Fri Oct 19 13:18:49 2007 From: ae at op5.se (Andreas Ericsson) Date: Fri, 19 Oct 2007 13:18:49 +0200 Subject: Check file age In-Reply-To: <619cf3c0710190412ka2bc8t9d898585b1c0933d@mail.gmail.com> References: <619cf3c0710190116y5da216fam5f240e2650d4f9bc@mail.gmail.com> <47187C22.3090703@googlemail.com> <619cf3c0710190412ka2bc8t9d898585b1c0933d@mail.gmail.com> Message-ID: <47189299.8030200@op5.se> Thomas Vito wrote: > Sorry, I don't see anywhere in the --help of checkfile-age how i can perform > a check on a remote windows host. > You can't. Sorting out the network transportation is done different ways. One example would be to share the backup directory on the network, mount it from the nagios server and run the checks on the mountpoint. -- 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 m.borsani at it.net Fri Oct 19 13:58:00 2007 From: m.borsani at it.net (Marco Borsani) Date: Fri, 19 Oct 2007 13:58:00 +0200 Subject: R: R: Steps Upgrade from Nagios 1.4 to Nagios 2.9-1 In-Reply-To: <47188D6B.80200@op5.se> References: <00e301c8116e$4f857440$0900d40a@intranet.it.net> <47178D49.1090807@op5.se> <000001c81224$59112e80$0900d40a@intranet.it.net> <47188D6B.80200@op5.se> Message-ID: <008d01c81247$4c77d980$0900d40a@intranet.it.net> > -----Messaggio originale----- > Da: Andreas Ericsson [mailto:ae at op5.se] > Inviato: venerd? 19 ottobre 2007 12.57 > A: Marco Borsani > Cc: nagios-users at lists.sourceforge.net > Oggetto: Re: R: [Nagios-users] Steps Upgrade from Nagios 1.4 > to Nagios 2.9-1 > > Marco Borsani wrote: > > > > > >> -----Messaggio originale----- > >> Da: Andreas Ericsson [mailto:ae at op5.se] > >> Inviato: gioved? 18 ottobre 2007 18.44 > >> A: Marco Borsani > >> Cc: nagios-users at lists.sourceforge.net > >> Oggetto: Re: [Nagios-users] Steps Upgrade from Nagios 1.4 > to Nagios > >> 2.9-1 > >> > >> Marco Borsani wrote: > >>> Hi all > >>> > >>> I have to definy the rules (and if it is possible) to migrate my > >>> 1.4.1 installation (with 400 hosts an 1000 services) to > the lastest > >>> stable release, 2.9-1. > >>> > >> It's indeed possible. > > > > OK > > > >>> 1) > >>> We can't loose the history and statistics of our > monitoring ... is > >>> it possible with the migration ? > >>> > >> Well, yes and no. You should make backups and make sure that your > >> current nagios keeps running while you install the new one > in a new > >> place. > >> > > > > I can not install in new system, I need to upgrade Nagios > on same server. > > Isn't it possible or is it "just" dungerous? > > Perhaps I could find a test system with a Nagios 1.4.1 on > it, with a > > little configuration to test .. > > > >>> 2) > >>> I find only the documentation to upgrade from 2.x to 3.x > .. where I > >>> can find the doc regarding upgrade from 1.x to 2.x ? > >>> > >> Basically, just upgrade the software, and then run the two > >> commandline PHP scripts at oss.op5.org/nagios (they're called > >> nagios12to20-something.php, I > >> think) on the appropriate files. You may have to do some > reading of > >> the source to find out how to use them. It was a long time since I > >> wrote them, and I'm not sure I added help-messages. > >> > >> Get back to me on-list if the scripts don't work (or if > they do, for > >> that matter). Like I said, they're very old, and iirc, they were > >> written for nagios 1.2. > >> > > > > Only similar name file found is "12to20comments.php.gz". > > It is used to mantain the comments after upgrade. > > > >>> 3) > >>> Anyone can tell me if this upgrade is necessary to > improve features? > >>> Actually only problem that I have is that sometime (I don't know > >>> why) Nagios freeeze, stop to perform checks , but the > interface does > >>> not crash (so it is not so immediate to recognize!) > >>> > >> It's worth a shot then, isn't it? :) > >> > > > > I don't know .. We use basic features (no escalation, no passive > > checks, no nsca, no volatile). If I remember correctly, main new > > features with nagios 2.x will be the service groups, isn't it ? > > I could create many problems if something should go in the > wrong way > > during/after upgrade :( > > > > Then don't upgrade. If you don't need any features and Nagios > 1.x is working for you, stick with it. > Well .. I agree with you , but my boss want this upgrade .. So I have to find all the info and doc necessary to do 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 tbabar at osius.com Fri Oct 19 14:03:34 2007 From: tbabar at osius.com (Tatyaso Babar) Date: Fri, 19 Oct 2007 05:03:34 -0700 Subject: export report data to file Message-ID: <1B88EE714FA1204D956B6232A887887401E27974@ex2.osius.com> Hi All, Is there any way to directly export the nagios report data to a file like CSV, Excel etc? Please excuse me if I am asking the repetitive question, but I couldn't find the information about this. Thanks much for your time. Regards, Tatyaso -------------- 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 19 14:22:58 2007 From: marc at ena.com (Marc Powell) Date: Fri, 19 Oct 2007 07:22:58 -0500 Subject: R: Steps Upgrade from Nagios 1.4 to Nagios 2.9-1 In-Reply-To: <47188D6B.80200@op5.se> References: <47188D6B.80200@op5.se> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andreas Ericsson > Sent: Friday, October 19, 2007 5:57 AM > To: Marco Borsani > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] R: Steps Upgrade from Nagios 1.4 to Nagios > 2.9-1 > > I don't know .. We use basic features (no escalation, no passive checks, > no > > nsca, no volatile). If I remember correctly, main new features with > nagios > > 2.x will be the service groups, isn't it ? > > I could create many problems if something should go in the wrong way > > during/after upgrade :( > > > > Then don't upgrade. If you don't need any features and Nagios 1.x is > working > for you, stick with it. My counter to this is that the OP appears to need hand-holding to upgrade. The longer he waits, and as more of us move to Nagios-3, the more difficult it will be for him to get specific answers to questions about the upgrade. My suggestion would be to install nagios-2 in a different directory, copy over the log files/archives and modified configs and see what's broken. Fix, repeat. The Changelog/What's New doccos should point out the changes required. -- 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 Roger at NagiosWiki.com Fri Oct 19 19:54:59 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 19 Oct 2007 10:54:59 -0700 Subject: question on passive ping checks via "check_nc_net -s" & NC_net In-Reply-To: <2b7af7c40710181432l6ca157f7h696ab44e167760d3@mail.gmail.com> References: <2b7af7c40710181033x9541515o4ffb72493483e39@mail.gmail.com> <2b7af7c40710181432l6ca157f7h696ab44e167760d3@mail.gmail.com> Message-ID: <2b7af7c40710191054g72a23437s900e6495bc2e8e13@mail.gmail.com> BTW, for what it's worth, I finally got this to work beautifully on NSClient++. (For whatever reason, my passive ping checks work ok on that, but not on NC_net.) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 20:49:22 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 19 Oct 2007 11:49:22 -0700 Subject: changing contents of email alerts Message-ID: <2b7af7c40710191149v3dbc5023g3df46f2c5bda391e@mail.gmail.com> I'd like to change the outgoing message that Nagios sends out when a host is down and possibly insert a URL in that message. Where might I look? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 20:52:58 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 19 Oct 2007 18:52:58 +0000 Subject: changing contents of email alerts In-Reply-To: <2b7af7c40710191149v3dbc5023g3df46f2c5bda391e@mail.gmail.com> References: <2b7af7c40710191149v3dbc5023g3df46f2c5bda391e@mail.gmail.com> Message-ID: <20071019185258.GA3690@pmorris.usa.hp.com> On Fri, 19 Oct 2007, Roger wrote: > I'd like to change the outgoing message that Nagios sends out when a > host is down and possibly insert a URL in that message. > > Where might I look? Look at wherever your notification commands are defined. That will vary depending on your Nagios system's 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 rodogutierrez2 at gmail.com Fri Oct 19 21:04:36 2007 From: rodogutierrez2 at gmail.com (Rodolfo Gutierrez) Date: Fri, 19 Oct 2007 15:04:36 -0400 Subject: Error with the plugin "check_rrd_bw.sh" Message-ID: Good afternoon. Hello I'm a new user using nagios and I'm using the pluging "check_rrd_bw.sh" and in some cases I get a negative value in the output. example: Traffic Gigabitethernet OK 19-10-2007 11:15:01 0d 16h 38m 16s 1/2 OK - Current BW out: -2147Mbps I'm trying to load the BW of my interfaces in my nagios. Please if someone had used it this before don't hesitate in contact me. I'd like to get some help Thank you. -- Rodolfo Guti?rrez Operations Engineer NOC VP Tecnic Operations. -------------- 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 patrick.morris at hp.com Fri Oct 19 21:18:07 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 19 Oct 2007 19:18:07 +0000 Subject: Error with the plugin "check_rrd_bw.sh" In-Reply-To: References: Message-ID: <20071019191807.GB3690@pmorris.usa.hp.com> Hi Rodolfo! On Fri, 19 Oct 2007, Rodolfo Gutierrez wrote: > > Good afternoon. > > Hello I'm a new user using nagios and I'm using the pluging "check_rrd_bw.sh" and in some cases I get a negative value in the output. > example: > > Traffic Gigabitethernet OK 19-10-2007 11:15:01 0d 16h 38m 16s 1/2 OK - Current BW out: -2147Mbps > > > I'm trying to load the BW of my interfaces in my nagios. > > Please if someone had used it this before don't hesitate in contact me. > > I'd like to get some help I'm not familiar with that plugin, but that looks like a case of using 32-bit counters on an interface fast enough to need 64-bit ones. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 22:09:51 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 19 Oct 2007 13:09:51 -0700 Subject: changing contents of email alerts In-Reply-To: <20071019185258.GA3690@pmorris.usa.hp.com> References: <2b7af7c40710191149v3dbc5023g3df46f2c5bda391e@mail.gmail.com> <20071019185258.GA3690@pmorris.usa.hp.com> Message-ID: <2b7af7c40710191309k54770bc7sfeca4c96dc70018a@mail.gmail.com> Perfect, thanks! I see it here: /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$ On 10/19/07, Patrick Morris wrote: > On Fri, 19 Oct 2007, Roger wrote: > > > I'd like to change the outgoing message that Nagios sends out when a > > host is down and possibly insert a URL in that message. > > > > Where might I look? > > Look at wherever your notification commands are defined. That will vary > depending on your Nagios system's configuration. > -- "Nagios, it's what's for breakfast!" http://www.NagiosWiki.com Email me personally: mailto:Roger at NagiosWiki.com?subject=personal 949 484 4297 My Nagios Bookmarks: 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 Fri Oct 19 22:45:11 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 19 Oct 2007 13:45:11 -0700 Subject: changing contents of email alerts In-Reply-To: <2b7af7c40710191309k54770bc7sfeca4c96dc70018a@mail.gmail.com> References: <2b7af7c40710191149v3dbc5023g3df46f2c5bda391e@mail.gmail.com> <20071019185258.GA3690@pmorris.usa.hp.com> <2b7af7c40710191309k54770bc7sfeca4c96dc70018a@mail.gmail.com> Message-ID: <2b7af7c40710191345x2449e0e3x703caaef35f6f548@mail.gmail.com> On 10/19/07, Roger wrote: > Perfect, thanks! > > I see it here: > > /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$ Eventually, I will probably have to temporarily modify (i.e. redefine) some of these variables (via another PHP program). I looked through this doc http://nagios.sourceforge.net/docs/2_0/macros.html and couldn't quite understand where exactly these variables "lived". Is there a sort of API or something that I might use to, say, temporarily change the contact user? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Oct 20 00:55:18 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Sat, 20 Oct 2007 08:55:18 +1000 Subject: Backing up Cisco router configs. Was: Nagios backup [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear Folks, > -----Original Message----- > From: "Cook, Garry" > Subject: Re: [Nagios-users] Nagios backup > > You can use the 'archive' commands in recent IOS to have your config > backed up to a TFTP server anytime the config is written to NVRAM, as > well as at specified time intervals. > > Thanks, > Garry > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike > Hawley > Sent: Thursday, October 18, 2007 1:16 PM > To: Roger at NagiosWiki.com; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios backup > > Thanks Roger, I was looking at something that would perform backups > when the config changes automatically. > > Ta > > Mike > You mean you want your availability monitor to backup your router configs ? You could write a custom plugin to check for differences in runnin and startup configs and then do something with the running config; You could pay for CiscoWorks and sacrifice small furry animals until it runs; or you could try RANCID in conjunction with viewcvs (PHP application to publish the CVS). Have fun. 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 melanie_pfefer at yahoo.co.uk Sat Oct 20 08:22:15 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Sat, 20 Oct 2007 07:22:15 +0100 (BST) Subject: monitoring routers Message-ID: <817396.48372.qm@web26205.mail.ukl.yahoo.com> hello, I am using check_ping command to monitor routers. 1] What's the main difference between check_ping and check_fping? I have "local routers" and remote routers. The check_ping command for local routers is: check_ping!100.0,20%!500.0,60% This generated a warning for the remote ones so I had to create a new hostgroup and run check_ping with higher RTT time: check_ping!4000.0,20%!4000.0,60% I would like to know the best practices you follow with routers in terms of commands you use (check_ping/check_fping/...others). Also, what is the alternative if I prefer to have 1 hostgroup for all routers (remote and local) without receiving an ongoing warning about remote routers. PS: remote routers are in another country I am using nagios 2.9 on Linux ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.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 alexdehaini at gmail.com Mon Oct 22 11:29:27 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 22 Oct 2007 09:29:27 +0000 Subject: Monitor packet loss with check_ping command Message-ID: <4b008f7d0710220229j3d86d4c4s5946f0dcbf3fa7fe@mail.gmail.com> Hi Guys, Can someone give me an example on how I can monitor only packet loss but not latency -- 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 gcoochey at sapphire.gi Mon Oct 22 11:33:17 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 22 Oct 2007 11:33:17 +0200 Subject: Monitor packet loss with check_ping command In-Reply-To: <4b008f7d0710220229j3d86d4c4s5946f0dcbf3fa7fe@mail.gmail.com> References: <4b008f7d0710220229j3d86d4c4s5946f0dcbf3fa7fe@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A72DB@hermes.sapphire-int.gi> check_ping uses the ping command. Packet Loss is considered a reply not within the timeout, this can typically be around 3000ms So something like: ./check_ping -H $HOSTNAME$ -w 3000,20% -c 3000,50% Will do what you want. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini Sent: 22 October 2007 11:29 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitor packet loss with check_ping command Hi Guys, Can someone give me an example on how I can monitor only packet loss but not latency -- 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 alexdehaini at gmail.com Mon Oct 22 11:40:14 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Mon, 22 Oct 2007 09:40:14 +0000 Subject: Monitor packet loss with check_ping command In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A72DB@hermes.sapphire-int.gi> References: <4b008f7d0710220229j3d86d4c4s5946f0dcbf3fa7fe@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A57449A72DB@hermes.sapphire-int.gi> Message-ID: <4b008f7d0710220240p52aee3e3p4ec9c5652e78159d@mail.gmail.com> But in this case - if there is a 20% packet loss out of 10 pings sent to a host - will I be notified? On 10/22/07, Giles Coochey wrote: > > check_ping uses the ping command. > > > > Packet Loss is considered a reply not within the timeout, this can > typically be around 3000ms > > > > So something like: > > > > ./check_ping -H $HOSTNAME$ -w 3000,20% -c 3000,50% > > > > Will do what you want. > > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Alex Dehaini > *Sent:* 22 October 2007 11:29 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Monitor packet loss with check_ping command > > > > Hi Guys, > > Can someone give me an example on how I can monitor only packet loss but > not latency > > -- > 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 gcoochey at sapphire.gi Mon Oct 22 11:45:11 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 22 Oct 2007 11:45:11 +0200 Subject: Monitor packet loss with check_ping command In-Reply-To: <4b008f7d0710220240p52aee3e3p4ec9c5652e78159d@mail.gmail.com> References: <4b008f7d0710220229j3d86d4c4s5946f0dcbf3fa7fe@mail.gmail.com><9D30659ABCA7FB 428CF91E386C3A57449A72DB@hermes.sapphire-int.gi> <4b008f7d0710220240p52aee3e3p4ec9c5652e78159d@mail.gmail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A72E2@hermes.sapphire-int.gi> With that command, you will receive a warning at 20% PL and a critical at 50% PL. By the way, substitute $HOSTNAME$ with $HOSTADDRESS$, my typo. PS I only top-post here, because Outlook cannot seem to properly bottom-post with HTML emails, which the original sender used. Apologies, I will bottom post if the original thread is plain text - blame Microsoft on that one. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini Sent: 22 October 2007 11:40 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor packet loss with check_ping command But in this case - if there is a 20% packet loss out of 10 pings sent to a host - will I be notified? On 10/22/07, Giles Coochey < gcoochey at sapphire.gi > wrote: check_ping uses the ping command. Packet Loss is considered a reply not within the timeout, this can typically be around 3000ms So something like: ./check_ping -H $HOSTNAME$ -w 3000,20% -c 3000,50% Will do what you want. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini Sent: 22 October 2007 11:29 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitor packet loss with check_ping command Hi Guys, Can someone give me an example on how I can monitor only packet loss but not latency -- 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 mail at aidananderson.co.uk Mon Oct 22 11:46:43 2007 From: mail at aidananderson.co.uk (Aidan Anderson) Date: Mon, 22 Oct 2007 10:46:43 +0100 Subject: Monitor packet loss with check_ping command In-Reply-To: <4b008f7d0710220240p52aee3e3p4ec9c5652e78159d@mail.gmail.com> References: <4b008f7d0710220229j3d86d4c4s5946f0dcbf3fa7fe@mail.gmail.com> <9D30659ABCA7FB428CF91E386C3A57449A72DB@hermes.sapphire-int.gi> <4b008f7d0710220240p52aee3e3p4ec9c5652e78159d@mail.gmail.com> Message-ID: <471C7183.8010602@aidananderson.co.uk> Alex Dehaini wrote: > But in this case - if there is a 20% packet loss out of 10 pings sent > to a host - will I be notified? > That all depends on what you set your max_check_attempts to. If you want to be notified of any packet loss, set this to 1 (one). Increase this value if you prefer more tolerance. > On 10/22/07, *Giles Coochey* < gcoochey at sapphire.gi > > wrote: > > check_ping uses the ping command. > > > > Packet Loss is considered a reply not within the timeout, this can > typically be around 3000ms > > > > So something like: > > > > ./check_ping -H $HOSTNAME$ -w 3000,20% -c 3000,50% > > > > Will do what you want. > > > > * From: * nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net > ] *On Behalf Of > *Alex Dehaini > *Sent:* 22 October 2007 11:29 > *To:* nagios-users at lists.sourceforge.net > > *Subject:* [Nagios-users] Monitor packet loss with check_ping command > > > > Hi Guys, > > Can someone give me an example on how I can monitor only packet > loss but not latency > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > > > > -- > 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dboccardo at afip.gov.ar Mon Oct 22 17:21:22 2007 From: dboccardo at afip.gov.ar (Diego Boccardo) Date: Mon, 22 Oct 2007 12:21:22 -0300 Subject: passive check bug error? Message-ID: <471CBFF2.7060907@afip.gov.ar> Recently I Installed vesion 3.b5 of nagios I Have one server installed with nagios (nagios core ) and 5 distributed server with checks sending nsca (via cron ,without nagios) to the core the main problem is that we are sending at least 1500 nsca to the core and some time hangs the passive update ...the nagiostat says 0 in 5 minute Services Passively Checked this happens with version 3b01, 3b02,3b03 3b04 and this one when I run a strace to nagios when hangs show something strace: seem that cannot find some temporary archive that already build ? tia lose(7) = 0 munmap(0xb74cc000, 4096) = 0 time([1193066278]) = 1193066278 time([1193066278]) = 1193066278 time([1193066278]) = 1193066278 time([1193066278]) = 1193066278 write(6, "1193066171||r083||Uptime||OK - -"..., 82) = 82 unlink("/nagios/tmpfs/checkresults/c9wyQy0") = -1 ENOENT (No such file or directory) unlink("/nagios/tmpfs/checkresults/c9wyQy0.ok") = -1 ENOENT (No such file or directory) time([1193066278]) = 1193066278 time([1193066278]) = 1193066278 time([1193066278]) = 1193066278 time([1193066278]) = 1193066278 rt_sigaction(SIGPIPE, {0x701aa0, [], SA_RESTORER, 0x670f48}, {SIG_IGN}, 8) = 0 send(3, "<14>Oct 22 12:17:58 nagios: PASS"..., 232, 0) = 232 rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0 open("/nagios/tmpfs/nagios.log", O_RDWR|O_APPEND|O_CREAT, 0666) = 7 time([1193066279]) = 1193066279 fstat64(7, {st_mode=S_IFREG|0664, st_size=172040, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74cc000 write(7, "[1193066279] PASSIVE SERVICE CHE"..., 217) = 217 close(7) = 0 munmap(0xb74cc000, 4096) = 0 time([1193066279]) = 1193066279 time([1193066279]) = 1193066279 time([1193066279]) = 1193066279 time([1193066279]) = 1193066279 write(6, "1193066171||core1-lan||Port1/2-e"..., 195) = 195 unlink("/nagios/tmpfs/checkresults/c9wyQy0") = -1 ENOENT (No such file or directory) unlink("/nagios/tmpfs/checkresults/c9wyQy0.ok") = -1 ENOENT (No such file or directory) time([1193066279]) = 1193066279 time([1193066279]) = 1193066279 time([1193066279]) = 1193066279 time([1193066279]) = 1193066279 rt_sigaction(SIGPIPE, {0x701aa0, [], SA_RESTORER, 0x670f48}, {SIG_IGN}, 8) = 0 send(3, "<14>Oct 22 12:17:59 nagios: PASS"..., 119, 0 -------------- next part -------------- A non-text attachment was scrubbed... Name: dboccardo.vcf Type: text/x-vcard Size: 127 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 dylan at corp.power1.com Mon Oct 22 17:24:37 2007 From: dylan at corp.power1.com (Dylan Bouterse) Date: Mon, 22 Oct 2007 11:24:37 -0400 Subject: check_snmp syntax issue Message-ID: <8BA6F8040A7307488313E80E045D487F6E7A93@exchange.corp.power1.com> I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.yost at epsiia.com Mon Oct 22 17:32:33 2007 From: josh.yost at epsiia.com (Yost, Josh) Date: Mon, 22 Oct 2007 10:32:33 -0500 Subject: check_snmp syntax issue References: <8BA6F8040A7307488313E80E045D487F6E7A93@exchange.corp.power1.com> Message-ID: <69AB3F80173BDD46960FB60E86DF94F827E6F7@MKEXCHVS2.Mail.Fiserv.net> I think the: --string='SYNC OK' option would do it. Try doing a '-h' on check_snmp to see all the options. - Josh ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 dylan at corp.power1.com Mon Oct 22 17:56:54 2007 From: dylan at corp.power1.com (Dylan Bouterse) Date: Mon, 22 Oct 2007 11:56:54 -0400 Subject: check_snmp syntax issue In-Reply-To: <69AB3F80173BDD46960FB60E86DF94F827E6F7@MKEXCHVS2.Mail.Fiserv.net> References: <8BA6F8040A7307488313E80E045D487F6E7A93@exchange.corp.power1.com> <69AB3F80173BDD46960FB60E86DF94F827E6F7@MKEXCHVS2.Mail.Fiserv.net> Message-ID: <8BA6F8040A7307488313E80E045D487F6E7A9B@exchange.corp.power1.com> That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 josh.yost at epsiia.com Mon Oct 22 18:00:02 2007 From: josh.yost at epsiia.com (Yost, Josh) Date: Mon, 22 Oct 2007 11:00:02 -0500 Subject: check_snmp syntax issue References: <8BA6F8040A7307488313E80E045D487F6E7A93@exchange.corp.power1.com> <69AB3F80173BDD46960FB60E86DF94F827E6F7@MKEXCHVS2.Mail.Fiserv.net> <8BA6F8040A7307488313E80E045D487F6E7A9B@exchange.corp.power1.com> Message-ID: <69AB3F80173BDD46960FB60E86DF94F827E6F8@MKEXCHVS2.Mail.Fiserv.net> It looks like the -P switch will tell it which snmp version to use. again, '-h' helps =) -P, --protocol=[1|2c|3] SNMP protocol version - Josh ________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the: --string='SYNC OK' option would do it. Try doing a '-h' on check_snmp to see all the options. - Josh ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 dylan at corp.power1.com Mon Oct 22 18:01:09 2007 From: dylan at corp.power1.com (Dylan Bouterse) Date: Mon, 22 Oct 2007 12:01:09 -0400 Subject: check_snmp syntax issue In-Reply-To: <69AB3F80173BDD46960FB60E86DF94F827E6F8@MKEXCHVS2.Mail.Fiserv.net> References: <8BA6F8040A7307488313E80E045D487F6E7A93@exchange.corp.power1.com> <69AB3F80173BDD46960FB60E86DF94F827E6F7@MKEXCHVS2.Mail.Fiserv.net> <8BA6F8040A7307488313E80E045D487F6E7A9B@exchange.corp.power1.com> <69AB3F80173BDD46960FB60E86DF94F827E6F8@MKEXCHVS2.Mail.Fiserv.net> Message-ID: <8BA6F8040A7307488313E80E045D487F6E7A9D@exchange.corp.power1.com> I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use.? again, '-h' helps ?=) ? -P, --protocol=[1|2c|3] ??? SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 dylan at corp.power1.com Mon Oct 22 18:41:48 2007 From: dylan at corp.power1.com (Dylan Bouterse) Date: Mon, 22 Oct 2007 12:41:48 -0400 Subject: check_snmp syntax issue (now compile issue for nagios plugins) Message-ID: <8BA6F8040A7307488313E80E045D487F6E7AAC@exchange.corp.power1.com> I am trying to compile the new Nagios plugins 1.4.10 but my make errors with mysql errors. What syntax do I use to skip the mysql plugin during compile/make? --without-PACKAGE ? --disable-FEATURE ? Dylan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:01 PM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use.? again, '-h' helps ?=) ? -P, --protocol=[1|2c|3] ??? SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 Mon Oct 22 18:46:31 2007 From: dfulton at mail.fdn.com (Fulton, David) Date: Mon, 22 Oct 2007 12:46:31 -0400 Subject: check_snmp syntax issue (now compile issue fornagios plugins) In-Reply-To: <8BA6F8040A7307488313E80E045D487F6E7AAC@exchange.corp.power1.com> References: <8BA6F8040A7307488313E80E045D487F6E7AAC@exchange.corp.power1.com> Message-ID: Why do you want to skip it? If it finds the mysql libraries and header file it will make the check_mysql plugin. This could come in handy later. You never know when you will need it and it will be there just in case. If it doesn't find it, then it will not build it and no harm done? David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue (now compile issue fornagios plugins) I am trying to compile the new Nagios plugins 1.4.10 but my make errors with mysql errors. What syntax do I use to skip the mysql plugin during compile/make? --without-PACKAGE ? --disable-FEATURE ? Dylan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:01 PM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use.? again, '-h' helps ?=) ? -P, --protocol=[1|2c|3] ??? SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 22 18:48:51 2007 From: dfulton at mail.fdn.com (Fulton, David) Date: Mon, 22 Oct 2007 12:48:51 -0400 Subject: check_snmp syntax issue (now compile issuefornagios plugins) In-Reply-To: References: Message-ID: Okay, now after reading the message again I understand(Duh). What sort of errors are you getting, could you post them so maybe we can help with options. David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Fulton, David Sent: Monday, October 22, 2007 12:47 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue (now compile issuefornagios plugins) Why do you want to skip it? If it finds the mysql libraries and header file it will make the check_mysql plugin. This could come in handy later. You never know when you will need it and it will be there just in case. If it doesn't find it, then it will not build it and no harm done? David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue (now compile issue fornagios plugins) I am trying to compile the new Nagios plugins 1.4.10 but my make errors with mysql errors. What syntax do I use to skip the mysql plugin during compile/make? --without-PACKAGE ? --disable-FEATURE ? Dylan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:01 PM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use.? again, '-h' helps ?=) ? -P, --protocol=[1|2c|3] ??? SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 dylan at corp.power1.com Mon Oct 22 19:55:16 2007 From: dylan at corp.power1.com (Dylan Bouterse) Date: Mon, 22 Oct 2007 13:55:16 -0400 Subject: compile issue for nagios plugins 1.4.10 In-Reply-To: References: Message-ID: <8BA6F8040A7307488313E80E045D487F6E7ACB@exchange.corp.power1.com> I hope this goes back far enough and isn't overkill on the results of my make. My configure command: ./configure --with-mysql=/usr config.status: creating po/Makefile --with-apt-get-command: --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: /usr/bin/mysql_config --with-openssl: yes --with-gnutls: no --with-perl: /usr/bin/perl --enable-perl-modules: no --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin Snippet that shows the mysql error gcc -g -O2 -o check_ide_smart check_ide_smart.o utils.o -L/usr/local/src/nagios-plugins-1.4.10/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -I/usr/include -g -O2 -MT check_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c; \ then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mysql check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o -L/usr/local/src/nagios-plugins-1.4.10/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv check_mysql-check_mysql.o(.text+0x5d9): In function `main': /usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:91: undefined reference to `mysql_init' check_mysql-check_mysql.o(.text+0x5ef):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:93: undefined reference to `mysql_options' check_mysql-check_mysql.o(.text+0x61d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:96: undefined reference to `mysql_real_connect' check_mysql-check_mysql.o(.text+0x637):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:112: undefined reference to `mysql_stat' check_mysql-check_mysql.o(.text+0x653):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:115: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0x67f):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:126: undefined reference to `mysql_query' check_mysql-check_mysql.o(.text+0x699):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:133: undefined reference to `mysql_store_result' check_mysql-check_mysql.o(.text+0x6b8):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:140: undefined reference to `mysql_num_rows' check_mysql-check_mysql.o(.text+0x6d3):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:146: undefined reference to `mysql_fetch_row' check_mysql-check_mysql.o(.text+0x6f3):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:153: undefined reference to `mysql_field_count' check_mysql-check_mysql.o(.text+0x72b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:167: undefined reference to `mysql_num_fields' check_mysql-check_mysql.o(.text+0x73d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:168: undefined reference to `mysql_fetch_fields' check_mysql-check_mysql.o(.text+0x80a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:184: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x818):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:185: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0x837):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:97: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x854):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:99: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x86d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:101: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x88a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:103: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x8a7):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:105: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x8c4):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:100: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0x8f6):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:221: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x90b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:225: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0x9ab):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:157: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x9b9):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:192: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xa03):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:116: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa20):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:118: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa3d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:120: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa5a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:117: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xaca):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:191: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0xc3b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:127: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xc53):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:128: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xc82):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:134: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xc9a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:135: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xcb9):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:141: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xcde):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:147: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xcf4):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:148: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0xd02):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:149: undefined reference to `mysql_close' collect2: ld returned 1 exit status make[2]: *** [check_mysql] Error 1 make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.10/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.10' make: *** [all] Error 2 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Fulton, David Sent: Monday, October 22, 2007 12:49 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue (now compileissuefornagios plugins) Okay, now after reading the message again I understand(Duh). What sort of errors are you getting, could you post them so maybe we can help with options. David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Fulton, David Sent: Monday, October 22, 2007 12:47 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue (now compile issuefornagios plugins) Why do you want to skip it? If it finds the mysql libraries and header file it will make the check_mysql plugin. This could come in handy later. You never know when you will need it and it will be there just in case. If it doesn't find it, then it will not build it and no harm done? David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue (now compile issue fornagios plugins) I am trying to compile the new Nagios plugins 1.4.10 but my make errors with mysql errors. What syntax do I use to skip the mysql plugin during compile/make? --without-PACKAGE ? --disable-FEATURE ? Dylan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:01 PM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use.? again, '-h' helps ?=) ? -P, --protocol=[1|2c|3] ??? SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 Mon Oct 22 20:07:11 2007 From: dfulton at mail.fdn.com (Fulton, David) Date: Mon, 22 Oct 2007 14:07:11 -0400 Subject: compile issue for nagios plugins 1.4.10 In-Reply-To: <8BA6F8040A7307488313E80E045D487F6E7ACB@exchange.corp.power1.com> References: <8BA6F8040A7307488313E80E045D487F6E7ACB@exchange.corp.power1.com> Message-ID: I had a similar problem and had to set LDFLAGS and CFLAGS thusly: CFLAGS=-I/usr/include/mysql LDFLAGS=-L/usr/lib/mysql Aparently the resulting Makefile doesn't check in some of the more standard places that configure assumes it does. -----Original Message----- From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Monday, October 22, 2007 1:55 PM To: Fulton, David; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] compile issue for nagios plugins 1.4.10 I hope this goes back far enough and isn't overkill on the results of my make. My configure command: ./configure --with-mysql=/usr config.status: creating po/Makefile --with-apt-get-command: --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: /usr/bin/mysql_config --with-openssl: yes --with-gnutls: no --with-perl: /usr/bin/perl --enable-perl-modules: no --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin Snippet that shows the mysql error gcc -g -O2 -o check_ide_smart check_ide_smart.o utils.o -L/usr/local/src/nagios-plugins-1.4.10/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -I/usr/include -g -O2 -MT check_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c; \ then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mysql check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o -L/usr/local/src/nagios-plugins-1.4.10/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv check_mysql-check_mysql.o(.text+0x5d9): In function `main': /usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:91: undefined reference to `mysql_init' check_mysql-check_mysql.o(.text+0x5ef):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:93: undefined reference to `mysql_options' check_mysql-check_mysql.o(.text+0x61d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:96: undefined reference to `mysql_real_connect' check_mysql-check_mysql.o(.text+0x637):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:112: undefined reference to `mysql_stat' check_mysql-check_mysql.o(.text+0x653):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:115: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0x67f):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:126: undefined reference to `mysql_query' check_mysql-check_mysql.o(.text+0x699):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:133: undefined reference to `mysql_store_result' check_mysql-check_mysql.o(.text+0x6b8):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:140: undefined reference to `mysql_num_rows' check_mysql-check_mysql.o(.text+0x6d3):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:146: undefined reference to `mysql_fetch_row' check_mysql-check_mysql.o(.text+0x6f3):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:153: undefined reference to `mysql_field_count' check_mysql-check_mysql.o(.text+0x72b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:167: undefined reference to `mysql_num_fields' check_mysql-check_mysql.o(.text+0x73d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:168: undefined reference to `mysql_fetch_fields' check_mysql-check_mysql.o(.text+0x80a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:184: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x818):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:185: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0x837):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:97: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x854):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:99: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x86d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:101: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x88a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:103: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x8a7):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:105: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x8c4):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:100: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0x8f6):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:221: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x90b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:225: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0x9ab):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:157: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x9b9):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:192: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xa03):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:116: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa20):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:118: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa3d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:120: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa5a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:117: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xaca):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:191: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0xc3b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:127: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xc53):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:128: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xc82):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:134: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xc9a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:135: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xcb9):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:141: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xcde):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:147: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xcf4):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:148: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0xd02):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:149: undefined reference to `mysql_close' collect2: ld returned 1 exit status make[2]: *** [check_mysql] Error 1 make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.10/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.10' make: *** [all] Error 2 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Fulton, David Sent: Monday, October 22, 2007 12:49 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue (now compileissuefornagios plugins) Okay, now after reading the message again I understand(Duh). What sort of errors are you getting, could you post them so maybe we can help with options. David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Fulton, David Sent: Monday, October 22, 2007 12:47 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue (now compile issuefornagios plugins) Why do you want to skip it? If it finds the mysql libraries and header file it will make the check_mysql plugin. This could come in handy later. You never know when you will need it and it will be there just in case. If it doesn't find it, then it will not build it and no harm done? David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue (now compile issue fornagios plugins) I am trying to compile the new Nagios plugins 1.4.10 but my make errors with mysql errors. What syntax do I use to skip the mysql plugin during compile/make? --without-PACKAGE ? --disable-FEATURE ? Dylan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:01 PM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use.? again, '-h' helps ?=) ? -P, --protocol=[1|2c|3] ??? SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 dylan at corp.power1.com Mon Oct 22 20:30:21 2007 From: dylan at corp.power1.com (Dylan Bouterse) Date: Mon, 22 Oct 2007 14:30:21 -0400 Subject: compile issue for nagios plugins 1.4.10 (SOLVED) In-Reply-To: References: <8BA6F8040A7307488313E80E045D487F6E7ACB@exchange.corp.power1.com> Message-ID: <8BA6F8040A7307488313E80E045D487F6E7AD4@exchange.corp.power1.com> Thank you very much David! That fixed my compile issue and subsequently my check_snmp issue due to v2c not being an option. I'll repost a final email for that thread. Dylan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Fulton, David Sent: Monday, October 22, 2007 2:07 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] compile issue for nagios plugins 1.4.10 I had a similar problem and had to set LDFLAGS and CFLAGS thusly: CFLAGS=-I/usr/include/mysql LDFLAGS=-L/usr/lib/mysql Aparently the resulting Makefile doesn't check in some of the more standard places that configure assumes it does. -----Original Message----- From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Monday, October 22, 2007 1:55 PM To: Fulton, David; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] compile issue for nagios plugins 1.4.10 I hope this goes back far enough and isn't overkill on the results of my make. My configure command: ./configure --with-mysql=/usr config.status: creating po/Makefile --with-apt-get-command: --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: /usr/bin/mysql_config --with-openssl: yes --with-gnutls: no --with-perl: /usr/bin/perl --enable-perl-modules: no --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin Snippet that shows the mysql error gcc -g -O2 -o check_ide_smart check_ide_smart.o utils.o -L/usr/local/src/nagios-plugins-1.4.10/plugins ../lib/libnagiosplug.a ../gl/libgnu.a if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -I/usr/include -g -O2 -MT check_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c; \ then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mysql check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o -L/usr/local/src/nagios-plugins-1.4.10/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv check_mysql-check_mysql.o(.text+0x5d9): In function `main': /usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:91: undefined reference to `mysql_init' check_mysql-check_mysql.o(.text+0x5ef):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:93: undefined reference to `mysql_options' check_mysql-check_mysql.o(.text+0x61d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:96: undefined reference to `mysql_real_connect' check_mysql-check_mysql.o(.text+0x637):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:112: undefined reference to `mysql_stat' check_mysql-check_mysql.o(.text+0x653):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:115: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0x67f):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:126: undefined reference to `mysql_query' check_mysql-check_mysql.o(.text+0x699):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:133: undefined reference to `mysql_store_result' check_mysql-check_mysql.o(.text+0x6b8):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:140: undefined reference to `mysql_num_rows' check_mysql-check_mysql.o(.text+0x6d3):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:146: undefined reference to `mysql_fetch_row' check_mysql-check_mysql.o(.text+0x6f3):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:153: undefined reference to `mysql_field_count' check_mysql-check_mysql.o(.text+0x72b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:167: undefined reference to `mysql_num_fields' check_mysql-check_mysql.o(.text+0x73d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:168: undefined reference to `mysql_fetch_fields' check_mysql-check_mysql.o(.text+0x80a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:184: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x818):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:185: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0x837):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:97: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x854):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:99: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x86d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:101: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x88a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:103: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x8a7):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:105: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0x8c4):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:100: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0x8f6):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:221: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x90b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:225: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0x9ab):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:157: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0x9b9):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:192: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xa03):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:116: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa20):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:118: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa3d):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:120: undefined reference to `mysql_errno' check_mysql-check_mysql.o(.text+0xa5a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:117: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xaca):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:191: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0xc3b):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:127: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xc53):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:128: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xc82):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:134: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xc9a):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:135: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xcb9):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:141: undefined reference to `mysql_close' check_mysql-check_mysql.o(.text+0xcde):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:147: undefined reference to `mysql_error' check_mysql-check_mysql.o(.text+0xcf4):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:148: undefined reference to `mysql_free_result' check_mysql-check_mysql.o(.text+0xd02):/usr/local/src/nagios-plugins-1.4.10/plugins/check_mysql.c:149: undefined reference to `mysql_close' collect2: ld returned 1 exit status make[2]: *** [check_mysql] Error 1 make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.10/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.10' make: *** [all] Error 2 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Fulton, David Sent: Monday, October 22, 2007 12:49 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue (now compileissuefornagios plugins) Okay, now after reading the message again I understand(Duh). What sort of errors are you getting, could you post them so maybe we can help with options. David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Fulton, David Sent: Monday, October 22, 2007 12:47 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue (now compile issuefornagios plugins) Why do you want to skip it? If it finds the mysql libraries and header file it will make the check_mysql plugin. This could come in handy later. You never know when you will need it and it will be there just in case. If it doesn't find it, then it will not build it and no harm done? David Fulton -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:42 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue (now compile issue fornagios plugins) I am trying to compile the new Nagios plugins 1.4.10 but my make errors with mysql errors. What syntax do I use to skip the mysql plugin during compile/make? --without-PACKAGE ? --disable-FEATURE ? Dylan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:01 PM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use.? again, '-h' helps ?=) ? -P, --protocol=[1|2c|3] ??? SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dylan at corp.power1.com Mon Oct 22 20:31:57 2007 From: dylan at corp.power1.com (Dylan Bouterse) Date: Mon, 22 Oct 2007 14:31:57 -0400 Subject: check_snmp syntax issue (SOLVED) In-Reply-To: <8BA6F8040A7307488313E80E045D487F6E7A9D@exchange.corp.power1.com> References: <8BA6F8040A7307488313E80E045D487F6E7A93@exchange.corp.power1.com><69AB3F80173BDD46960FB60E86DF94F827E6F7@MKEXCHVS2.Mail.Fiserv.net><8BA6F8040A7307488313E80E045D487F6E7A9B@exchange.corp.power1.com><69AB3F80173BDD46960FB60E86DF94F827E6F8@MKEXCHVS2.Mail.Fiserv.net> <8BA6F8040A7307488313E80E045D487F6E7A9D@exchange.corp.power1.com> Message-ID: <8BA6F8040A7307488313E80E045D487F6E7AD5@exchange.corp.power1.com> I installed the newest plugins and subsequently updating my check_snmp plugin. I now have an option for 2c and after using the syntax below all is good! [root at staging libexec]# ./check_snmp -H 1.1.21.3 -P 2c -o 1.3.6.1.4.1.161.19.3.4.4.13.0 -C community --eregi=OK SNMP CRITICAL - *"No SYNC"* | iso.3.6.1.4.1.161.19.3.4.4.13.0="No SYNC" [root at staging libexec]# ./check_snmp -H 1.1.20.3 -P 2c -o 1.3.6.1.4.1.161.19.3.4.4.13.0 -C community --eregi=OK SNMP OK - "SYNC OK" | iso.3.6.1.4.1.161.19.3.4.4.13.0="SYNC OK" Thanks! Dylan -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Dylan Bouterse Sent: Monday, October 22, 2007 12:01 PM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp syntax issue I guess you have a different check_snmp version than I do because I was not showing a 2c option for the version. I will investigate that and see if that's my issue. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 12:00 PM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue It looks like the -P switch will tell it which snmp version to use.? again, '-h' helps ?=) ? -P, --protocol=[1|2c|3] ??? SNMP protocol version - Josh ________________________________________ From: Dylan Bouterse [mailto:dylan at corp.power1.com] Sent: Mon 10/22/2007 10:56 AM To: Yost, Josh; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue That may do it, but I can't get the host to respond using the check_snmp plugin. I think it may be a version mismatch. It seems the check_snmp plugin only supports SNMP v1 and v3, but not v2c. I cannot snmpget my device with v1 or v3. Dylan From: Yost, Josh [mailto:josh.yost at epsiia.com] Sent: Monday, October 22, 2007 11:33 AM To: Dylan Bouterse; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_snmp syntax issue I think the:? --string='SYNC OK'?? option would do it.? Try doing a '-h' on check_snmp to see all the options. ? - Josh ? ________________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Dylan Bouterse Sent: Mon 10/22/2007 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp syntax issue I am trying to get check_snmp working to alert when my GPS sync stops working on one of my devices. I can execute the snmpget command to get the string but I'm having no luck in configuring a check_snmp syntax to return values. [root at ns1 cfg]# snmpget -v 2c -c community 1.1.20.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "SYNC OK" [root at ns1 cfg]# snmpget -v 2c -c community 1.1.21.3 1.3.6.1.4.1.161.19.3.4.4.13.0 SNMPv2-SMI::enterprises.161.19.3.4.4.13.0 = STRING: "No SYNC" How would I write the check_snmp command to show OK when "SYNC OK" and alert critical when the "No SYNC" value is returned? Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems?? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 Stanley.Hopcroft at Dest.gov.au Tue Oct 23 02:03:53 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Tue, 23 Oct 2007 10:03:53 +1000 Subject: ePN patch - testers wanted. [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear Folks, I am writing to invite testing of a small patch for the embedded Perl Nagios feature. Currently (2.10/3.x) ePN, when a plugin is modified (without a restart) refuses to run the modified plugin because compilation of the modified plugin fails when Perl attempts to redefine the modified plugins subroutines in the package corresponding to the modified plugin. The only work around is to restart Nagios. The patch deletes the Perl package (and therefore all the subroutines it contains) before the modified plugin is recompiled (the plugin and the package are therefore compiled into a nonexistent namespace). I would prefer to only send the patch to people who are 1 familiar with the ePN tradeoffs (the memory leak) 2 convinced that the ePN tradeoffs are outweighed by the benefits 3 have some experience with the memory footprint of the ePN Nagios and 4 those who do not object to testing a potentially unstable release of Nagios I have been using the patch for my production system (195 hosts, 356 service checks) with out any problem that is obvious to me (custom Perl plugins for SNMP checks of routers, spanning tree etc). I am particuarly keen on knowing whether the memory leak is worse. Please let me know privately if you are interested. Yours sincerely. 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 llow at telesphere.com Tue Oct 23 02:11:13 2007 From: llow at telesphere.com (Larry Low) Date: Mon, 22 Oct 2007 17:11:13 -0700 Subject: ePN patch - testers wanted. [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <001b01c81509$38c36e80$aa4a4b80$@com> Check the SVN, I submitted a small patch for this. You may have had a better way to do it as I don't do heavy development. ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Stanley.Hopcroft at Dest.gov.au Sent: Monday, October 22, 2007 5:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] ePN patch - testers wanted. [SEC=UNCLASSIFIED] Dear Folks, I am writing to invite testing of a small patch for the embedded Perl Nagios feature. Currently (2.10/3.x) ePN, when a plugin is modified (without a restart) refuses to run the modified plugin because compilation of the modified plugin fails when Perl attempts to redefine the modified plugins subroutines in the package corresponding to the modified plugin. The only work around is to restart Nagios. The patch deletes the Perl package (and therefore all the subroutines it contains) before the modified plugin is recompiled (the plugin and the package are therefore compiled into a nonexistent namespace). I would prefer to only send the patch to people who are 1 familiar with the ePN tradeoffs (the memory leak) 2 convinced that the ePN tradeoffs are outweighed by the benefits 3 have some experience with the memory footprint of the ePN Nagios and 4 those who do not object to testing a potentially unstable release of Nagios I have been using the patch for my production system (195 hosts, 356 service checks) with out any problem that is obvious to me (custom Perl plugins for SNMP checks of routers, spanning tree etc). I am particuarly keen on knowing whether the memory leak is worse. Please let me know privately if you are interested. Yours sincerely. 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psdelmundo2028 at gmail.com Tue Oct 23 03:03:23 2007 From: psdelmundo2028 at gmail.com (Philipp Del Mundo) Date: Tue, 23 Oct 2007 09:03:23 +0800 Subject: PROCS WARNING: 88 processes Message-ID: <97f852de0710221803o23508dbcq860fcd9307f467ea@mail.gmail.com> Hi All, I have this error on check_procs when we upgrade all our servers from redhat7.3 to ubuntu "check_procs -w 150 -c 200"....is this the correct values? Thanks -- Philipp S. Del Mundo IT.Technical Special Project Coordinator KFC/Mister Donut Philippines -------------- 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 mike.hawley at nspire.co.nz Tue Oct 23 04:14:32 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Tue, 23 Oct 2007 15:14:32 +1300 Subject: Alteon/Nortel Switches Message-ID: <000001c8151a$73f61820$4e01140a@nspire.co.nz> Hi, does anyone have a check command for the Alteon/Nortel platforms??? All the best - Mike Mike Hawley No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.15.5/1085 - Release Date: 10/22/2007 10:35 AM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlk at westpointuw.com Tue Oct 23 16:49:37 2007 From: carlk at westpointuw.com (Carl) Date: Tue, 23 Oct 2007 14:49:37 +0000 (UTC) Subject: Missing Dependency Message-ID: I am very new at this so please be kind. I ran nagios-2.9-1.rh9.rf.i386.rpm and received the following: Missing Dependency: libttf.so.2, libltdl.so.3.and libgd.so.1.8 is needed by package nagios. This is on Linux Red Hat 5 Thanks, Carl ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 15:41:43 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 23 Oct 2007 09:41:43 -0400 Subject: Alteon/Nortel Switches In-Reply-To: <000001c8151a$73f61820$4e01140a@nspire.co.nz> References: <000001c8151a$73f61820$4e01140a@nspire.co.nz> Message-ID: <1193146903.2973.15.camel@localhost.localdomain> On Tue, 2007-10-23 at 15:14 +1300, Mike Hawley wrote: > Hi, does anyone have a check command for the Alteon/Nortel platforms??? > > All the best - Mike What do you want to check? VRRP status? State table size? Farm servers? VIPs? Temperature & environmental thresholds? ~BASd ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rcupardo at tnet.it Tue Oct 23 18:34:53 2007 From: rcupardo at tnet.it (Riccardo Cupardo) Date: Tue, 23 Oct 2007 18:34:53 +0200 Subject: SNMP Traps notify-by-email hard state Message-ID: <471E22AD.6020902@tnet.it> 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 szhang at 8x8.com Tue Oct 23 21:43:27 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Tue, 23 Oct 2007 12:43:27 -0700 Subject: no status information 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 thomasm at AmeriCU.org Tue Oct 23 21:45:22 2007 From: thomasm at AmeriCU.org (Thomas Massaro) Date: Tue, 23 Oct 2007 15:45:22 -0400 Subject: no status information Message-ID: Is there a version of nagios for windows servers? -----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 23, 2007 3:43 PM To: nagios-users; Siwei Zhang Subject: [Nagios-users] no status information Hi there, Our nagios is running for quite a while and all a sudden it has problems to show status information. The monitoring features in tactical view are all disabled. I can not change them! I tried to re-install Nagios but it shows the same results. What could be wrong? 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 szhang at 8x8.com Tue Oct 23 21:46:34 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Tue, 23 Oct 2007 12:46:34 -0700 Subject: no status information In-Reply-To: References: Message-ID: NO this is for Linux. Kevin SZ -----Original Message----- From: Thomas Massaro [mailto:thomasm at AmeriCU.org] Sent: Tuesday, October 23, 2007 12:45 PM To: Siwei Zhang; nagios-users Subject: RE: [Nagios-users] no status information Is there a version of nagios for windows servers? -----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 23, 2007 3:43 PM To: nagios-users; Siwei Zhang Subject: [Nagios-users] no status information Hi there, Our nagios is running for quite a while and all a sudden it has problems to show status information. The monitoring features in tactical view are all disabled. I can not change them! I tried to re-install Nagios but it shows the same results. What could be wrong? 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 szhang at 8x8.com Tue Oct 23 21:54:12 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Tue, 23 Oct 2007 12:54:12 -0700 Subject: no status information In-Reply-To: References: Message-ID: Also the status file is not updated. Kevin SZ -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Tuesday, October 23, 2007 12:47 PM To: Thomas Massaro; Siwei Zhang; nagios-users Subject: RE: [Nagios-users] no status information No, Nagios may only be installed in Unix environments, however, Nagios does include many plugins that can be used to monitor processes and services and hardware for virtually any machine/device you can think of. The complexity and versatility is virtually unmatched. -----Original Message----- From: Thomas Massaro [mailto:thomasm at AmeriCU.org] Sent: Tuesday, October 23, 2007 3:45 PM To: Siwei Zhang; nagios-users Subject: Re: [Nagios-users] no status information Is there a version of nagios for windows servers? -----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 23, 2007 3:43 PM To: nagios-users; Siwei Zhang Subject: [Nagios-users] no status information Hi there, Our nagios is running for quite a while and all a sudden it has problems to show status information. The monitoring features in tactical view are all disabled. I can not change them! I tried to re-install Nagios but it shows the same results. What could be wrong? 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 23 23:01:37 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Tue, 23 Oct 2007 14:01:37 -0700 Subject: monitoring features all disabled In-Reply-To: References: Message-ID: Hi there, Could someone help why my Nagios 'Monitoring Features' all disabled in Tactical view? I can not enable them. 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 hvdkooij at vanderkooij.org Tue Oct 23 23:02:23 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 23 Oct 2007 23:02:23 +0200 Subject: no status information In-Reply-To: References: Message-ID: <471E615F.6030103@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Siwei Zhang wrote: > Also the status file is not updated. Check all logs. (Both Nagios and Apache) State relevant details like nagios version, OS/version/distro of installation. In general show what you have done to troubleshoot the situation and provide information so others, who known nothing but your name and the fact you have some issue wih some version of Nagios, can get at least get some grip on this. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHHmFcBvzDRVjxmYERAr/BAJ90m1T0y4s9WHBN6poIy7IwzFYeAgCcDXTM wxgbuPnGZxyVaC6iSdY/MEw= =jkwi -----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 ae at op5.se Wed Oct 24 00:13:56 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Oct 2007 00:13:56 +0200 Subject: no status information In-Reply-To: References: Message-ID: <471E7224.6030100@op5.se> Thomas Massaro wrote: > Is there a version of nagios for windows servers? > It's considered extremely rude to hijack a thread (that is, starting a new topic by replying to an already sent message) on a public mailing list. I suggest you don't do it again. It tends to upset the kind of people you're likely to want help from. As for your question: No, and there are no plans to port it to windows. Since windows has really crappy fork() support one would have to rewrite the fundamentals of Nagios to make it work there. It's just not worth doing. -- 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 Wed Oct 24 00:15:06 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Oct 2007 00:15:06 +0200 Subject: no status information In-Reply-To: References: Message-ID: <471E726A.9040107@op5.se> Siwei Zhang wrote: > Also the status file is not updated. > You almost certainly have multiple or no nagios instances running. killall nagios killall -9 nagios service nagios start -- 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 Wed Oct 24 00:17:23 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 24 Oct 2007 00:17:23 +0200 Subject: monitoring features all disabled In-Reply-To: References: Message-ID: <471E72F3.8050309@op5.se> Siwei Zhang wrote: > Hi there, > > Could someone help why my Nagios 'Monitoring Features' all disabled in Tactical view? I can not enable them. > Patience, young padawan. -- 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 szhang at 8x8.com Wed Oct 24 00:28:24 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Tue, 23 Oct 2007 15:28:24 -0700 Subject: no status information In-Reply-To: <471E726A.9040107@op5.se> References: <471E726A.9040107@op5.se> Message-ID: Thanks for the help. It is running fine now after I re-install Nagios. Kevin SZ -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Tuesday, October 23, 2007 3:15 PM To: Siwei Zhang Cc: nagios-users; svalding; thomasm Subject: Re: [Nagios-users] no status information Siwei Zhang wrote: > Also the status file is not updated. > You almost certainly have multiple or no nagios instances running. killall nagios killall -9 nagios service nagios start -- 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 Stanley.Hopcroft at Dest.gov.au Wed Oct 24 01:37:43 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 24 Oct 2007 09:37:43 +1000 Subject: ePN patch. [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear Larry, I am writing to thank you for your letter and say, > -----Original Message----- > > Check the SVN, I submitted a small patch for this. You may have had a > better way to do it as I don't do heavy development. > (CVS ?) Cool ! -# p1.pl for Nagios 2.0 +# p1.pl for Nagios use strict ; @@ -201,6 +201,13 @@ # Suppress warning display. local $SIG{__WARN__} = \&throw_exception ; + + # Following 3 lines added 10/18/07 by Larry Low to fix problem where + # modified Perl plugins didn't get recached by the epn + no strict 'refs'; + undef %{$package.'::'}; + use strict 'refs'; + # Compile &$package::hndlr. Since non executable code is being eval'd # there is no need to protect lexicals in this scope. eval $hndlr; My patch used Symbol qw(delete_package) ; this is a much better way. (for bonus marks, fix the leak [or reduce it's rate]). For the benefit of the list: As far as I can see, Larry's patch should do what my patch intended to do - namely eliminate spurious compilation failures after a Perl plugin is modified - but better, so testing of that patch is unnecessary. Yours sincerely. 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 mike.hawley at nspire.co.nz Wed Oct 24 01:46:15 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Wed, 24 Oct 2007 12:46:15 +1300 Subject: Manage Cisco Interfaces Message-ID: <003501c815ce$e6e6f0c0$1501010a@nspire.co.nz> Hi I am running a ./check_snmp_cisco_ifstatus and can not seem to get Gigabit interface statistics or VLAN statistics. Can anyone help? Mike Mike Hawley No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.15.5/1085 - Release Date: 10/22/2007 10:35 AM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Wed Oct 24 03:17:43 2007 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 23 Oct 2007 20:17:43 -0500 Subject: [Fwd: Birds of a Feather session at LISA 2007, Mon Nov 12, 2007@8PM.] Message-ID: <471E9D37.4030200@nagios.org> Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org -------------- next part -------------- An embedded message was scrubbed... From: "John P. Rouillard" Subject: [Nagios-devel] Birds of a Feather session at LISA 2007, Mon Nov 12, 2007 at 8PM. Date: Mon, 22 Oct 2007 21:12:44 -0400 Size: 5333 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 reed at reedmedia.net Wed Oct 24 03:42:49 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Tue, 23 Oct 2007 20:42:49 -0500 (CDT) Subject: [Fwd: Birds of a Feather session at LISA 2007, Mon Nov 12, 2007@8PM.] In-Reply-To: <471E9D37.4030200@nagios.org> References: <471E9D37.4030200@nagios.org> Message-ID: Do you have to pay tuition to attend Birds of Feather sessions at LISA? p.s. Since this posting is about Dallas ... any *BSD users in the DFW area? ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tony.Delov at gribbles.com.au Wed Oct 24 03:45:47 2007 From: Tony.Delov at gribbles.com.au (t) Date: Wed, 24 Oct 2007 11:45:47 +1000 Subject: nagiosgrapgh and nagios Message-ID: <1193190347.29263.14.camel@melittdelov.gribbles.com.au> Hi All, I seem to have a problem with nagiosgraph and nagios. It appears that all my rrd files have a date entered from sometime in the future and no subsequent data can be entered. As an attempt to resolve this, I've deleted all my rrd files and started from scratch, however the issue still persists after restarting the nagios service. I'm not sure if its related but I'm also using. Nagios 2.x Web Config 1.3. (nagiosweb2-1.3) Has anyone had a similar experience and or know of a what might be causing this? rpm version: nagios-2.9-1.el4.rf This is from the log file: Wed Oct 24 09:27:05 2007 INSERT info: Input servicedescr:System_Load Wed Oct 24 09:27:05 2007 INSERT info: Input output:Connection refused by host Wed Oct 24 09:27:05 2007 INSERT warn: perfdata not recognized Wed Oct 24 09:27:05 2007 INSERT info: Input lastcheck:1192490106 Wed Oct 24 09:27:05 2007 INSERT info: Input hostname:melblade1 Wed Oct 24 09:27:05 2007 INSERT info: Input perfdata:'5 min avg Load'=2%;80;95;0;100 Wed Oct 24 09:27:05 2007 INSERT info: Input servicedescr:CPU_Load Wed Oct 24 09:27:05 2007 INSERT info: Input output:CPU Load 2% (5 min average) Wed Oct 24 09:27:05 2007 INSERT info: RRDs::update /usr/share/nagios/nagiosgraph/rrd/melblade1_CPU_Load_cpu.rrd 1192490106:2 Wed Oct 24 09:27:05 2007 INSERT error: RRDs::update ERR illegal attempt to update using time 1192490106 when last update time is 1192661406 (minimum one second step) Wed Oct 24 09:27:05 2007 INSERT info: Input lastcheck:1192490106 Wed Oct 24 09:27:05 2007 INSERT info: Input hostname:melinetsrv Wed Oct 24 09:27:05 2007 INSERT info: Input perfdata: Wed Oct 24 09:27:05 2007 INSERT info: Input servicedescr:System_Load Wed Oct 24 09:27:05 2007 INSERT info: Input output:OK - load average: 1.79, 1.92, 1.95 Wed Oct 24 09:27:05 2007 INSERT info: RRDs::update /usr/share/nagios/nagiosgraph/rrd/melinetsrv_System_Load_load.rrd 1192490106:1.79:1.92:1.95 Wed Oct 24 09:27:05 2007 INSERT error: RRDs::update ERR illegal attempt to update using time 1192490106 when last update time is 1192661425 (minimum one second step) Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any system and destroy any copies. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The Gribbles Group. Thank You. Whilst every effort has been made to ensure that this e-mail message and any attachments are free from viruses, you should scan this message and any attachments. Under no circumstances do we accept liability for any loss or damage which may result from your receipt of this message or any attachment. -------------- 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 Wed Oct 24 07:28:01 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 24 Oct 2007 07:28:01 +0200 Subject: Manage Cisco Interfaces In-Reply-To: <003501c815ce$e6e6f0c0$1501010a@nspire.co.nz> References: <003501c815ce$e6e6f0c0$1501010a@nspire.co.nz> Message-ID: <471ED7E1.8020203@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Hawley wrote: > Hi I am running a ./check_snmp_cisco_ifstatus and can not seem to get > Gigabit interface statistics or VLAN statistics. > > Can anyone help? You can start helping yourself by stating what you have done to make it work. What results you have seen. What Nagios version. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHHtffBvzDRVjxmYERAoASAKCwZ19+qndS2H2KVdVkaxp5CDOj3ACdFxeZ 0/wlCsW9qfvCbaKSB7OW9Qk= =99Nl -----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 detrak at caere.fr Wed Oct 24 10:34:01 2007 From: detrak at caere.fr (Detrak) Date: Wed, 24 Oct 2007 10:34:01 +0200 Subject: nagios freeze while a long time Message-ID: Hi, We use Nagios on several servers, in version 2.9 with NDO 1.4b5 and perf2rdd (nagios write performance data in a pipe file and perf2rrd perform it in rrd file). Running on RHEL4 with package from dag.wieers.com we have 80 hosts and 420 services on this server. We can see some huge gaps in our graphs, perf2rrd works fine, my first investigation shows this message in nagios.log file : [1193178252] ndomod: Error writing to data sink! Some output may get lost... [1193178268] ndomod: Successfully reconnected to data sink! 0 items lost, 240 queued items to flush. [1193178269] ndomod: Successfully flushed 240 queued items to data sink. [1193187298] Warning: A system time change of 8729 seconds (forwards in time) has been detected. Compensating... [1193190553] Warning: A system time change of 3255 seconds (forwards in time) has been detected. Compensating... we have recompiled nagios with debug mode : --enable-DEBUG2 shows warning messages --enable-DEBUG3 shows scheduled events we don't use le DEBUG0 because it generates too much informations and the log file increases too fast. so, I found this message in debug information, with the last gap : - Masquer le texte des messages pr?c?dents - *** Event Check Loop *** Current time: Wed Oct 24 00:29:29 2007 Next High Priority Event Time: Wed Oct 24 00:29:30 2007 Next Low Priority Event Time: Wed Oct 24 00:29:29 2007 Current/Max Outstanding Service Checks: 19/65 *** Event Details *** Event time: Wed Oct 24 00:29:29 2007 Event type: 0 (service check) Service Description: LOAD_AVERAGE at LOADAVERAGE Associated Host: SGBD1 Checking service 'LOAD_AVERAGE at LOADAVERAGE' on host 'SGBD1'... - Masquer le texte des messages pr?c?dents - *** Event Check Loop *** Current time: Wed Oct 24 00:29:29 2007 Next High Priority Event Time: Wed Oct 24 00:29:30 2007 Next Low Priority Event Time: Wed Oct 24 00:29:29 2007 Current/Max Outstanding Service Checks: 20/65 *** Event Details *** Event time: Wed Oct 24 00:29:29 2007 Event type: 0 (service check) Service Description: LOAD_AVERAGE at LOADAVERAGE Associated Host: INTEG Checking service 'LOAD_AVERAGE at LOADAVERAGE' on host 'INTEG'... Warning: A system time change of 8729 seconds (forwards in time) has been detected. Compensating... *** Event Check Loop *** Current time: Wed Oct 24 02:54:58 2007 Next High Priority Event Time: Wed Oct 24 02:54:59 2007 Next Low Priority Event Time: Wed Oct 24 02:54:58 2007 Current/Max Outstanding Service Checks: 21/65 *** Event Details *** Event time: Wed Oct 24 02:54:58 2007 Event type: 0 (service check) Service Description: MONITOR_TELNET_SUIVI_PS Associated Host: PREPROD1 Checking service 'MONITOR_TELNET_SUIVI_PS' on host 'PREPROD1'... Warning: A system time change of 3255 seconds (forwards in time) has been detected. Compensating... *** Event Check Loop *** Current time: Wed Oct 24 03:49:13 2007 Next High Priority Event Time: Wed Oct 24 03:49:14 2007 Next Low Priority Event Time: Wed Oct 24 03:49:13 2007 Current/Max Outstanding Service Checks: 22/65 *** Event Details *** Event time: Wed Oct 24 03:49:13 2007 Event type: 0 (service check) Service Description: MONITOR_TELNET_SUIVI_PS Associated Host: BIDS15 Checking service 'MONITOR_TELNET_SUIVI_PS' on host 'BIDS15'... we can see the jump 00:29:29 to 02:54:58 and 02:54:58 to 03:49:13 without activity in nagios! I dont understand this! if you can give me some help to have a nagios server with more stability. I dont know how to reproduce this bug. At the time a gap was accuring, the server time was up to date. We have on this server more than a gap by day! best regards, Olivier -------------- 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 sukesh.v at jigrahak.com Wed Oct 24 11:06:16 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Wed, 24 Oct 2007 14:36:16 +0530 Subject: hi Message-ID: iam using nagios-3.0.4 and while using check_users plug in getting the number of users logged message.But is there any plugin or way to see the current users lists on that. Thanks, Sukesh V -------------- 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 hpsekhon at googlemail.com Wed Oct 24 11:12:51 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 24 Oct 2007 10:12:51 +0100 Subject: hi In-Reply-To: References: Message-ID: <471F0C93.9040305@googlemail.com> I wrote a plugin to do this, I might release it if you are interested... it's a quick plugin in bash that lists all the users on a system in the following format and always returns OK (since there is not much to not be ok about by the time it runs) USERS: hari(15) userX(3) userY(5) where the (Number) following each user is the number of sessions that you have open, either ssh sessions or xterms or whatever... -h Hari Sekhon Sukesh /IT/BLR/JIG/IN wrote: > iam using nagios-3.0.4 and while using check_users plug in getting the > number of users logged message.But is there any plugin or way to see > the current users lists on that. > > > > > Thanks, > > Sukesh V > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 hpsekhon at googlemail.com Wed Oct 24 11:16:20 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 24 Oct 2007 10:16:20 +0100 Subject: hi In-Reply-To: References: Message-ID: <471F0D64.5010902@googlemail.com> In fact, now I think about that plugin, if I am going to release it then I will likely add a couple of features like the ability to go critical if a certain user is not logged in, or if an unrecognized user is logged in, or if a user that is not part of a predefined ok list is logged in... There is already a switch to omit the (Number) after each name and just give a list of users without the figure of how many sessions they have open. Let me know if this interests you and I will attempt to release it shortly (today if possible) -h Hari Sekhon Sukesh /IT/BLR/JIG/IN wrote: > iam using nagios-3.0.4 and while using check_users plug in getting the > number of users logged message.But is there any plugin or way to see > the current users lists on that. > > > > > Thanks, > > Sukesh V > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 tom.welsh at bt.com Wed Oct 24 11:16:14 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 24 Oct 2007 10:16:14 +0100 Subject: hi In-Reply-To: <471F0C93.9040305@googlemail.com> References: <471F0C93.9040305@googlemail.com> Message-ID: <6546343904687E41B19D8E5A26AB9F53019912EB@E03MVB2-UKBR.domain1.systemhost.net> Hi Hari, I too would be interested in this plugin. If your going to release it that is. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: 24 October 2007 10:13 To: Sukesh /IT/BLR/JIG/IN Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hi I wrote a plugin to do this, I might release it if you are interested... it's a quick plugin in bash that lists all the users on a system in the following format and always returns OK (since there is not much to not be ok about by the time it runs) USERS: hari(15) userX(3) userY(5) where the (Number) following each user is the number of sessions that you have open, either ssh sessions or xterms or whatever... -h Hari Sekhon Sukesh /IT/BLR/JIG/IN wrote: > iam using nagios-3.0.4 and while using check_users plug in getting the > number of users logged message.But is there any plugin or way to see > the current users lists on that. > > > > > Thanks, > > Sukesh V > > > > > > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 sukesh.v at jigrahak.com Wed Oct 24 11:42:44 2007 From: sukesh.v at jigrahak.com (Sukesh /IT/BLR/JIG/IN) Date: Wed, 24 Oct 2007 15:12:44 +0530 Subject: hi In-Reply-To: <471F0D64.5010902@googlemail.com> References: <471F0D64.5010902@googlemail.com> Message-ID: Really intersted... Regards Sukesh -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: Wednesday, October 24, 2007 2:46 PM To: Sukesh /IT/BLR/JIG/IN Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hi In fact, now I think about that plugin, if I am going to release it then I will likely add a couple of features like the ability to go critical if a certain user is not logged in, or if an unrecognized user is logged in, or if a user that is not part of a predefined ok list is logged in... There is already a switch to omit the (Number) after each name and just give a list of users without the figure of how many sessions they have open. Let me know if this interests you and I will attempt to release it shortly (today if possible) -h Hari Sekhon Sukesh /IT/BLR/JIG/IN wrote: > iam using nagios-3.0.4 and while using check_users plug in getting the > number of users logged message.But is there any plugin or way to see > the current users lists on that. > > > > > Thanks, > > Sukesh V > > > > > > > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ---------------------------------------------------------------------- > -- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 hpsekhon at googlemail.com Wed Oct 24 11:43:42 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 24 Oct 2007 10:43:42 +0100 Subject: hi In-Reply-To: <6546343904687E41B19D8E5A26AB9F53019912EB@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F53019912EB@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <471F13CE.10200@googlemail.com> OK I will try to release it today, I am just adding the extra functionality to do things like return critical on unauthorized users etc... I'll mail back when done. I'll post it to nagiosexchange as usual when ready and tested. By the way, this is currently written in Bash for linux (but should work on most other unixes/unicies that have Bash). I was thinking about writing another one for windows systems as well but I haven't gotten round to it, that might be next... -h Hari Sekhon tom.welsh at bt.com wrote: > Hi Hari, > > I too would be interested in this plugin. If your going to release it > that is. > > Regards > > Tom > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: 24 October 2007 10:13 > To: Sukesh /IT/BLR/JIG/IN > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hi > > I wrote a plugin to do this, I might release it if you are interested... > > it's a quick plugin in bash that lists all the users on a system in the > following format and always returns OK (since there is not much to not > be ok about by the time it runs) > > USERS: hari(15) userX(3) userY(5) > > where the (Number) following each user is the number of sessions that > you have open, either ssh sessions or xterms or whatever... > > -h > > Hari Sekhon > > > > Sukesh /IT/BLR/JIG/IN wrote: > >> iam using nagios-3.0.4 and while using check_users plug in getting the >> > > >> number of users logged message.But is there any plugin or way to see >> the current users lists on that. >> >> >> >> >> Thanks, >> >> Sukesh V >> >> >> >> >> >> >> ---------------------------------------------------------------------- >> -- >> >> ---------------------------------------------------------------------- >> --- This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> > browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> ---------------------------------------------------------------------- >> -- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) 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 tom.welsh at bt.com Wed Oct 24 11:44:58 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 24 Oct 2007 10:44:58 +0100 Subject: hi In-Reply-To: <471F13CE.10200@googlemail.com> References: <471F13CE.10200@googlemail.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5301991359@E03MVB2-UKBR.domain1.systemhost.net> Thanks Hari -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: 24 October 2007 10:44 To: Welsh,T,Tom,DLS C Cc: sukesh.v at jigrahak.com; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hi OK I will try to release it today, I am just adding the extra functionality to do things like return critical on unauthorized users etc... I'll mail back when done. I'll post it to nagiosexchange as usual when ready and tested. By the way, this is currently written in Bash for linux (but should work on most other unixes/unicies that have Bash). I was thinking about writing another one for windows systems as well but I haven't gotten round to it, that might be next... -h Hari Sekhon tom.welsh at bt.com wrote: > Hi Hari, > > I too would be interested in this plugin. If your going to release it > that is. > > Regards > > Tom > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: 24 October 2007 10:13 > To: Sukesh /IT/BLR/JIG/IN > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hi > > I wrote a plugin to do this, I might release it if you are interested... > > it's a quick plugin in bash that lists all the users on a system in > the following format and always returns OK (since there is not much to > not be ok about by the time it runs) > > USERS: hari(15) userX(3) userY(5) > > where the (Number) following each user is the number of sessions that > you have open, either ssh sessions or xterms or whatever... > > -h > > Hari Sekhon > > > > Sukesh /IT/BLR/JIG/IN wrote: > >> iam using nagios-3.0.4 and while using check_users plug in getting >> the >> > > >> number of users logged message.But is there any plugin or way to see >> the current users lists on that. >> >> >> >> >> Thanks, >> >> Sukesh V >> >> >> >> >> >> >> --------------------------------------------------------------------- >> - >> -- >> >> --------------------------------------------------------------------- >> - >> --- This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> > browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> --------------------------------------------------------------------- >> - >> -- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) 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 jolivan at sertec-si.com Wed Oct 24 09:40:48 2007 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Wed, 24 Oct 2007 09:40:48 +0200 Subject: Host down, but ping works Message-ID: <471EF700.4050203@sertec-si.com> Hi, i'm monitoring several hosts with Nagios and i've encountered with a little problem some time ago... Two of my hosts appears to be down (host marked as red), but i'm monitoring ping service and it works fine. I've got more services on this "ghost" hosts and they work well. What can i do to normalize these hosts situation? Why host is marked as down when its ping is responding? Thanks in advance! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 13:14:30 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 24 Oct 2007 13:14:30 +0200 Subject: Host down, but ping works In-Reply-To: <471EF700.4050203@sertec-si.com> References: <471EF700.4050203@sertec-si.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A73FC@hermes.sapphire-int.gi> > Hi, > > i'm monitoring several hosts with Nagios and i've encountered with a > little problem some time ago... > > Two of my hosts appears to be down (host marked as red), but i'm > monitoring ping service and it works fine. I've got more services on > this "ghost" hosts and they work well. What can i do to normalize these > hosts situation? Why host is marked as down when its ping is responding? > > Thanks in advance! Resolving your problem on the first try is going to be rather difficult. It would be good to have more information. What check do you have to check the host is alive (in some sample configurations this is called check-host-alive)? And what check are you doing for check-ping? In the sample configuration (it is only a sample configuration, and many have completely home-grown ones), check-host-alive only sends a single packet, whereas check-ping sends more packets. If your first packet is always dropped then check-host-alive will always fail and check-ping will still succeed enough of the other packets work. It could be a network problem, but it could be any manner of other things. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 15:43:30 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Wed, 24 Oct 2007 08:43:30 -0500 Subject: Nagios Plugins 2.10 build problem Message-ID: I am having an issue with an up to date SLES 9.3 server and the latest release of Nagios Plugins. I have the proper devel packages installed as shown below but the plugins still will not build: if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/local/ssl/include -I/usr/local/ssl/include -g -O2 -MT check_http.o -MD -MP -MF ".deps/check_http.Tpo" -c -o check_http.o check_http.c; \ then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f ".deps/check_http.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/root/scratch/nagios-plugins-1.4.10/plugins -L/usr/local/ssl/lib ./lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x247): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x293): In function `dlfcn_bind_func': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x323): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x391): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3eb): In function `dlfcn_unload': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x485): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4e5): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50e): In function `dlfcn_load': : undefined reference to `dlerror' ~/scratch/nagios-plugins-1.4.10 # rpm -qa | grep ssl openssl-0.9.7d-15.32 openssl-devel-0.9.7d-15.32 I cannot see a requirement in ./configure for a newer version. I tried to use gnutls and met with the same sort of issue. I feel it is something obvious I am missing. Any help would be appreciated. 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 mhanby at uab.edu Wed Oct 24 16:57:42 2007 From: mhanby at uab.edu (Mike Hanby) Date: Wed, 24 Oct 2007 09:57:42 -0500 Subject: Additional chcon command for Nagios install Message-ID: <16AE1027F52DD64CB278BD8950529B634F3B52@UABEXMB5.ad.uab.edu> Howdy, I found on my system (RHEL4 with SELINUX enforcing) that I was unable to "Acknowledge this service problem" with an error: "Error: could not stat() command file /usr/local/nagios/var/rw/nagios.cmd" dmesg on the system would report: "audit(1193232913.522:2): avc: denied { getattr } for pid=9125 comm="cmd.cgi" name="nagios.cmd" dev=dm-0 ino=17121801 scontext=user_u:system_r:httpd_sys_script_t tcontext=user_u:object_r:usr_t tclass=fifo_file" Executing the following resolved the issue: chcon -R -t httpd_sys_script_rw_t /usr/local/nagios/var/rw/ Would it be possible to add this to the v3 manual with the chcon for sbin and share (page 313)? Thanks (is there a Bugzilla or other tracker we can use to submit documentation requests / bugs? Mike -------------- 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 mhanby at uab.edu Wed Oct 24 17:16:49 2007 From: mhanby at uab.edu (Mike Hanby) Date: Wed, 24 Oct 2007 10:16:49 -0500 Subject: Nagios Plugins 2.10 build problem In-Reply-To: References: Message-ID: <16AE1027F52DD64CB278BD8950529B634F3B65@UABEXMB5.ad.uab.edu> Howdy, if it is a 64bit system, you might need both 32bit and 64bit versions of openssl and openssl-devel installed. I believe I had to do that on my SLES9 PPC64 systems. ________________________________ 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 24, 2007 08:44 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Plugins 2.10 build problem I am having an issue with an up to date SLES 9.3 server and the latest release of Nagios Plugins. I have the proper devel packages installed as shown below but the plugins still will not build: if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/local/ssl/include -I/usr/local/ssl/include -g -O2 -MT check_http.o -MD -MP -MF ".deps/check_http.Tpo" -c -o check_http.o check_http.c; \ then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f ".deps/check_http.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib -o check_http check_http.o sslutils.o netutils.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/root/scratch/nagios-plugins-1.4.10/plugins -L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x247): In function `dlfcn_bind_func': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x293): In function `dlfcn_bind_func': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x323): In function `dlfcn_bind_var': : undefined reference to `dlsym' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x391): In function `dlfcn_bind_var': : undefined reference to `dlerror' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3eb): In function `dlfcn_unload': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x485): In function `dlfcn_load': : undefined reference to `dlopen' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4e5): In function `dlfcn_load': : undefined reference to `dlclose' /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50e): In function `dlfcn_load': : undefined reference to `dlerror' ~/scratch/nagios-plugins-1.4.10 # rpm -qa | grep ssl openssl-0.9.7d-15.32 openssl-devel-0.9.7d-15.32 I cannot see a requirement in ./configure for a newer version. I tried to use gnutls and met with the same sort of issue. I feel it is something obvious I am missing. Any help would be appreciated. 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 hpsekhon at googlemail.com Wed Oct 24 17:48:29 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 24 Oct 2007 16:48:29 +0100 Subject: Announce: Show Users Plugin (was Re: hi) In-Reply-To: <6546343904687E41B19D8E5A26AB9F53019912EB@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F53019912EB@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: <471F694D.6030905@googlemail.com> Hi guys, I've added a couple of extra switches to my show_users script and posted it on NagiosExchange.org so that you can use it. What started off as a quick hack seems to be more useful than I previously thought, otherwise I wouldn't have sat on this for so many months... The link to the plugin page on Nagios Exchange is http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=1132 This plugin lists all logged in users in the format ./show_users USERS OK: hari(8) userX(3) userY(5) where the (Number) after each username is the number of sessions the user has (this is the total number of ssh sessions and xterms etc - basically the number shells you have open plus any X sessions) Switches can disable the (Number) after each user as well as alert on certain users being logged in (think direct root login without auditing) or users not on a whitelist (very useful feature I just thought of if you know what users should be logged into a server this forms a nice tripwire for logins). I have added enough switches to hopefully satisfy most people but am also will to take feature requests and support issues at this address, as usual. Feedback and suggestions welcome. Thanks -h Hari Sekhon tom.welsh at bt.com wrote: > Hi Hari, > > I too would be interested in this plugin. If your going to release it > that is. > > Regards > > Tom > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: 24 October 2007 10:13 > To: Sukesh /IT/BLR/JIG/IN > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hi > > I wrote a plugin to do this, I might release it if you are interested... > > it's a quick plugin in bash that lists all the users on a system in the > following format and always returns OK (since there is not much to not > be ok about by the time it runs) > > USERS: hari(15) userX(3) userY(5) > > where the (Number) following each user is the number of sessions that > you have open, either ssh sessions or xterms or whatever... > > -h > > Hari Sekhon > > > > Sukesh /IT/BLR/JIG/IN wrote: > >> iam using nagios-3.0.4 and while using check_users plug in getting the >> > > >> number of users logged message.But is there any plugin or way to see >> the current users lists on that. >> >> >> >> >> Thanks, >> >> Sukesh V >> >> >> >> >> >> >> ---------------------------------------------------------------------- >> -- >> >> ---------------------------------------------------------------------- >> --- This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> > browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> ---------------------------------------------------------------------- >> -- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) 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 mark.potter at academy.com Wed Oct 24 18:20:40 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Wed, 24 Oct 2007 11:20:40 -0500 Subject: Nagios Plugins 2.10 build problem In-Reply-To: <16AE1027F52DD64CB278BD8950529B634F3B65@UABEXMB5.ad.uab.edu> References: <16AE1027F52DD64CB278BD8950529B634F3B65@UABEXMB5.ad.uab.edu> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 10/24/2007 10:16:49 AM: > Howdy, if it is a 64bit system, you might need both 32bit and 64bit > versions of openssl and openssl-devel installed. > > I believe I had to do that on my SLES9 PPC64 systems. > > > 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 24, 2007 08:44 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Plugins 2.10 build problem > > > I am having an issue with an up to date SLES 9.3 server and the > latest release of Nagios Plugins. I have the proper devel packages > installed as shown below but the plugins still will not build: > > > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" - > DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/ > usr/local/ssl/include -I/usr/local/ssl/include -g -O2 -MT > check_http.o -MD -MP -MF ".deps/check_http.Tpo" -c -o check_http.o > check_http.c; \ > then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f > ".deps/check_http.Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/ > local/ssl/lib -o check_http check_http.o sslutils.o netutils.o > utils.o ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto > gcc -g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o > -L/root/scratch/nagios-plugins-1.4.10/plugins -L/usr/local/ssl/lib > ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x247): In > function `dlfcn_bind_func': > : undefined reference to `dlsym' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x293): In > function `dlfcn_bind_func': > : undefined reference to `dlerror' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x323): In > function `dlfcn_bind_var': > : undefined reference to `dlsym' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x391): In > function `dlfcn_bind_var': > : undefined reference to `dlerror' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3eb): In > function `dlfcn_unload': > : undefined reference to `dlclose' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x485): In > function `dlfcn_load': > : undefined reference to `dlopen' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4e5): In > function `dlfcn_load': > : undefined reference to `dlclose' > /usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50e): In > function `dlfcn_load': > : undefined reference to `dlerror' > > ~/scratch/nagios-plugins-1.4.10 # rpm -qa | grep ssl > openssl-0.9.7d-15.32 > openssl-devel-0.9.7d-15.32 > > I cannot see a requirement in ./configure for a newer version. I > tried to use gnutls and met with the same sort of issue. I feel it > is something obvious I am missing. Any help would be appreciated. > > Best Regards, > > Mark L. Potter > Systems Engineer > Academy Sports & Outdoors > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 for the response. It is, however not a 64 bit system. # cat /etc/SuSE-release SUSE LINUX Enterprise Server 9 (i586) VERSION = 9 PATCHLEVEL = 3 However I have realized that I should be posting to the plugins list and not here. My apologies to everyone. I am off to post to the correct list. -------------- 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 vtdude2007 at yahoo.com Wed Oct 24 18:24:07 2007 From: vtdude2007 at yahoo.com (vt dude2007) Date: Wed, 24 Oct 2007 09:24:07 -0700 (PDT) Subject: Web Access : Can't Login Message-ID: <938643.7489.qm@web45203.mail.sp1.yahoo.com> ALL -- Newbie here : Running Nagios 3.0B5 on Fedora Core 6 : Everything has been working fine, even able to get a 2003 server monitored. However, now, whenever I go to access the content of the nagios site (http://localhost/nagios or remotely on my workstation), I get a username/password prompt and none of the users including root or nagios can get into the site : Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. --------------------------------- Apache/2.2.6 (Fedora) Server at 192.168.0.129 Port 80 The linux firewall is 'off' and 'selinux' is disabled. What happened ? What'd I do ? What should I do ? Any advice would be greatly appreciated ; I don't want to necessarily have to start from scratch. Best, V. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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 Wed Oct 24 19:10:48 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Wed, 24 Oct 2007 13:10:48 -0400 Subject: Notification bombardment Message-ID: Hey list, I have an issue that just came up. Notifications are being sent CONSTANTLY. By this I mean, I have over 400 in my inbox from the past 15 minutes of hosts that have gone done and recovered, gone down and recovered. The web interface through all of this has showed the hosts as up. however, when I go to shut off notifications until I can find the source of the problem, I get the wonderful "hey dork I can't read the nagios.cmd file. How about making sure it is actually running." error (In Lamens terms since I can't remember the exact text of the error.) Now, being somewhat experienced with Nagios and from reading thousands of posts that I get from the list over the months, I checked to see if nagios truly was running. Low and behold it was, like 4 times. Interesting, as this morning everything was peachy. So I killed off the stray processes, and brought everything back up and did a ps -ef | grep nagios and as expected everything was fine and dandy again. Unfortunately the problem still exists. Right now I have the nagios box turned completely off, cause I can't get the notifications to shutoff in it's current state of disarray. Ubuntu 7.10 Gutsy Gibbon (which I have a feeling is the culprit), Nagios 3.0b1 and 1.4.7 plugins. Sorry for the long, drawn out email... Stephen Valdinger -------------- 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 mark.potter at academy.com Wed Oct 24 19:27:34 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Wed, 24 Oct 2007 12:27:34 -0500 Subject: Web Access : Can't Login In-Reply-To: <938643.7489.qm@web45203.mail.sp1.yahoo.com> References: <938643.7489.qm@web45203.mail.sp1.yahoo.com> Message-ID: Best Regards, Mark L. Potter Systems Engineer Academy Sports & Outdoors 1800 N. Mason Rd Katy, Texas 77449 Office: 281-646-5857 Cell: 281-734-6965 nagios-users-bounces at lists.sourceforge.net wrote on 10/24/2007 11:24:07 AM: > ALL -- > > Newbie here : > > Running Nagios 3.0B5 on Fedora Core 6 : > > Everything has been working fine, even able to get a 2003 server monitored. > > However, now, whenever I go to access the content of the nagios site ( > http://localhost/nagios or remotely on my workstation), I get a > username/password prompt and none of the users including root or > nagios can get into the site : > Authorization Required > This server could not verify that you are authorized to access the > document requested. Either you supplied the wrong credentials (e.g., > bad password), or your browser doesn't understand how to supply the > credentials required. > > Apache/2.2.6 (Fedora) Server at 192.168.0.129 Port 80 > The linux firewall is 'off' and 'selinux' is disabled. > > What happened ? What'd I do ? What should I do ? > > Any advice would be greatly appreciated ; I don't want to > necessarily have to start from scratch. > > Best, > > V. > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null It sounds like you have not properly setup your htaccess and htpasswd authentication. This can be found in the documentation here: http://nagios.sourceforge.net/docs/2_0/installweb.html and here: http://nagios.sourceforge.net/docs/2_0/cgiauth.html Nagios does not come with a user already setup. You will have to follow those docs to setup authenticated users. -------------- 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 mark.potter at academy.com Wed Oct 24 19:31:52 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Wed, 24 Oct 2007 12:31:52 -0500 Subject: Notification bombardment In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 10/24/2007 12:10:48 PM: > Hey list, > > I have an issue that just came up. Notifications are being sent > CONSTANTLY. By this I mean, I have over 400 in my inbox from the past 15 > minutes of hosts that have gone done and recovered, gone down and > recovered. > > The web interface through all of this has showed the hosts as up. > however, when I go to shut off notifications until I can find the source > of the problem, I get the wonderful "hey dork I can't read the > nagios.cmd file. How about making sure it is actually running." error > (In Lamens terms since I can't remember the exact text of the error.) > > Now, being somewhat experienced with Nagios and from reading thousands > of posts that I get from the list over the months, I checked to see if > nagios truly was running. > > Low and behold it was, like 4 times. Interesting, as this morning > everything was peachy. So I killed off the stray processes, and brought > everything back up and did a > > ps -ef | grep nagios and as expected everything was fine and dandy again. > > Unfortunately the problem still exists. Right now I have the nagios box > turned completely off, cause I can't get the notifications to shutoff in > it's current state of disarray. > > Ubuntu 7.10 Gutsy Gibbon (which I have a feeling is the culprit), Nagios > 3.0b1 and 1.4.7 plugins. > > Sorry for the long, drawn out email... > > Stephen Valdinger > [attachment "svalding.vcf" deleted by Mark Potter/IS/Academy] > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 seem to remember there being notification issues in some of the 3.0bX versions. If this is for production it is recommended that you use the 2.X version (currently 2.10). The cmd file not found coult be a permissions issue. But as far as 3.0bX goes I wouldn't use it in production environment and for testing I would use the latest 3.0b5 and see if that changes any of the issues you might be having. -------------- 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 Wed Oct 24 20:16:00 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 24 Oct 2007 20:16:00 +0200 Subject: Notification bombardment In-Reply-To: References: Message-ID: <471F8BE0.7040708@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 svalding at kent.edu wrote: > Low and behold it was, like 4 times. Interesting, as this morning > everything was peachy. So I killed off the stray processes, and brought > everything back up and did a > > ps -ef | grep nagios and as expected everything was fine and dandy again. > > Unfortunately the problem still exists. Right now I have the nagios box > turned completely off, cause I can't get the notifications to shutoff in > it's current state of disarray. The normal approach is to stop nagios through the normal means. Then shoot any existing instances of nagios. And finally start Nagios again through the normal means. Otherwise you still have incorrect family relations within the processes. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHH4veBvzDRVjxmYERAhJoAJwOXLm5vzXTEkrsFjtR7YSlFak9bACdHpiC Rc/UpxFzLkYKjnqaKLQabHk= =YmHJ -----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 mboeckman at servicemagic.com Wed Oct 24 21:50:11 2007 From: mboeckman at servicemagic.com (Boeckman, Matthew) Date: Wed, 24 Oct 2007 13:50:11 -0600 Subject: 3.0 and dependencies Message-ID: <67CC1D2D52F85747ADE6BC83A4A7A76402C22477@Apollo.servicemagic.com> Hello - I'm running 3.0b3 and wanting to setup some service dependencies. I have read the docs, as well as object tricks and am looking for a little guidance on how best to proceed. I have a webserver farm that we monitor our application (a call to a servlet), our app engine (tomcat - check_proc for java, and check_http on port 8080) and apache (check_http). So our application check is dependent on the other 3. Similairly the tomcat check is dependent on the java process check. All services run on localhost for each system, so there is no host dependency check (host A runs apache/tomcat, but is not dependent in any way on apache/tomcat running on host B). Can I accomplish this with the servicegroup/dependent_servicegroup directives outlined here: http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_depen dency - and just leave all host definitions out of it? Or will that create an arbitrary relationship between all services in the servicegroup and all hosts they are runnign on? Thanks! Matthew ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmkeller at houseofzen.org Wed Oct 24 22:13:29 2007 From: jmkeller at houseofzen.org (James Michael Keller) Date: Wed, 24 Oct 2007 16:13:29 -0400 Subject: check_snmp: Translate the return value via a MIB? Message-ID: <471FA769.4050006@houseofzen.org> I am using check_snmp to read status of some UPS units, but I would like to get the return value translated via the MIB, not just the OID: Running the check at the command line: nagios:~# /usr/lib/nagios/plugins/check_snmp -H XX.XX.XX.XX -C YYYYYYYY -o .1.3.6.1.4.1.318.1.1.1.4.1.1.0 -c 1:2 4:8 11:12 -l 'UPS Mode' -m PowerNet-MIB UPS Mode CRITICAL - *4* | PowerNet-MIB::upsBasicOutputStatus.0=4 So the e-mail just says 'UPS Mode CRITICAL - *4* Running snmpwalk: nagios:~# snmpwalk -m PowerNet-MIB -Cc -v 2c -c YYYYYYY XX.XX.XX.XX .1.3.6.1.4.1.318.1.1.1.4.1.1.0 PowerNet-MIB::upsBasicOutputStatus.0 = INTEGER: onSmartBoost(4) nagios:~# What I would like to have is the alert say 'UPS Mode CRITICAL - onSmartBoost' or *4* (onSmartBoost) , etc. Something more descriptive. Now is this a case for a wrapper or a customized notify command for this alert? Or is there a way to do this with check_snmp in 2.6.x? Thanks in advance. -- James Michael Keller ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 23:23:43 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 24 Oct 2007 23:23:43 +0200 Subject: check_snmp: Translate the return value via a MIB? In-Reply-To: <471FA769.4050006@houseofzen.org> References: <471FA769.4050006@houseofzen.org> Message-ID: <471FB7DF.9030708@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Michael Keller wrote: > Now is this a case for a wrapper or a customized notify command for this > alert? Or is there a way to do this with check_snmp in 2.6.x? I would not change notifications to work around the output of a single plugin. I would recommend you write a wrapper so you get in effect your own plugin for this. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHH7fdBvzDRVjxmYERAtlKAKCDrbm7Wa9gJ1KnChoGJtwDXIhH8wCginA5 DnlWPNWUPvJQs+28uRSE8M4= =9YkT -----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 Stanley.Hopcroft at Dest.gov.au Thu Oct 25 02:19:33 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 25 Oct 2007 10:19:33 +1000 Subject: configuration directory and file directives ... perplexity (long and boring). [SEC=UNCLASSIFIED] Message-ID: Dear Folks, Has anyone used the nagios configuration directive cfg_dir to point to an SMB (Windows) share ? The interest in doing this is that my colleagues hate vi and 'nix; they are qualified Cisco/Window admins who respect Nagios but have no sympathy with anachronistic editors. They would be much happier using notepad/ wordpad to edit the object configuration files. When I tried it for myself (Nagios 2.9, removing all the cfg_file directives from nagios.cfg and adding cfg_dir to point to the Windows share), Nagios complained about the main configuration file directive in cgi.cfg. When I changed cfg_dir to point back to the (untouched) Unix path, nagios -v nagios.cfg still complained. I had to 1 remove the cfg_dir directive 2 replace the cfg_file directives before it would stop whining. Thanks for any helpful comments. 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 tim at tany.com Thu Oct 25 03:10:45 2007 From: tim at tany.com (Tim Palmer) Date: Wed, 24 Oct 2007 21:10:45 -0400 Subject: configuration directory and file directives ... perplexity (long and boring). [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <471FED15.4090508@tany.com> Mr Hopcroft, My first reaction was an unqualified "yuk!, what nitwit would even consider this", then I noticed it was you, and having seen your ever useful posts since the Netsaint 0.0.7 days, I relented. Although hearing vi called "anachronistic" ruffles a couple of feathers. Notepad isn't? No accounting for taste... I can't actually speak to your specific question, but it just seems like a scary thought. Better to run samba on the Nagios machine and let them mount it, and/or SVN. And then there's the GUI method, of course. good luck! tim Stanley.Hopcroft at Dest.gov.au wrote: > Dear Folks, > > Has anyone used the nagios configuration directive cfg_dir to point to > an SMB (Windows) share ? > > The interest in doing this is that my colleagues hate vi and 'nix; they > are qualified Cisco/Window admins who > respect Nagios but have no sympathy with anachronistic editors. They > would be much happier using notepad/ > wordpad to edit the object configuration files. > > When I tried it for myself (Nagios 2.9, removing all the cfg_file > directives from nagios.cfg and adding cfg_dir > to point to the Windows share), Nagios complained about the main > configuration file directive in cgi.cfg. > > When I changed cfg_dir to point back to the (untouched) Unix path, > nagios -v nagios.cfg still complained. > > I had to > > 1 remove the cfg_dir directive > 2 replace the cfg_file directives > > before it would stop whining. > > Thanks for any helpful comments. > > 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 > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 04:07:22 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 25 Oct 2007 12:07:22 +1000 Subject: configuration directory and file directives ... perplexity (long and boring). [SEC=UNCLASSIFIED] In-Reply-To: <471FED15.4090508@tany.com> References: <471FED15.4090508@tany.com> Message-ID: Dear Tim, (Yes, I am the nitwit). > -----Original Message----- > Mr Hopcroft, > > My first reaction was an unqualified "yuk!, what nitwit would even > consider this", then I noticed it was you, and having seen your ever > useful posts since the Netsaint 0.0.7 days, I relented. Although > hearing vi called "anachronistic" ruffles a couple of feathers. (OT. Have a look at what Rob Pike has been saying about Unix for some years. To an MSCE, vi is .. well I am happy with my original choice of words. I am not a Windows admin and am perfectly happy with vi to do my Nagios configuration [or my own home brew semi-automation] but not everyone who likes Nagios likes vi). > Notepad isn't? > No accounting for taste... (OT. For unambitious text mangling it's Ok. How many people depend on vi macros or even conditional substitution ?) > > I can't actually speak to your specific question, but it just seems > like a scary thought. Better to run samba on the Nagios machine and > let them mount it, and/or SVN. And then there's the GUI method, of > course. Good thought but why should they change to suit one application ? At this site there are no Unix Sys admin skills (apart from me) and everyone likes Windows. Having the configs on Win means management is happy they are adequately backed up. Does cfg_dir=/Some/Path actually work ? and if so, would anyone be so kind as to paste a few lines containing these directives from their nagios.cfg ? Here is the problem, adding a cfg_dir to point to a _Unix_ directory like so *************** *** 78,83 **** --- 78,87 ---- # extension) in a particular directory by using the cfg_dir # directive as shown below: + cfg_dir=/etc/nagios + + # cfg_dir=/mnt/dest_smb/coms/NMS/nagios + #cfg_dir=/etc/nagios/servers #cfg_dir=/etc/nagios/printers #cfg_dir=/etc/nagios/switches [root at acisp057 nagios]# causes [root at acisp057 nagios]# 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: Unexpected token or statement in file '/etc/nagios/cgi.cfg' on line 23. ***> 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. [root at acisp057 nagios]# Take out cfg_dir and all is well. > > good luck! > > tim Thank you. Yours sincerely. 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 RLAdams at AdamsInfoServ.Com Thu Oct 25 04:29:52 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 24 Oct 2007 21:29:52 -0500 Subject: configuration directory and file directives ... perplexity (long and boring). [SEC=UNCLASSIFIED] In-Reply-To: References: <471FED15.4090508@tany.com> Message-ID: <20071025022952.GA12420@odin.demosthenes.org> Real quick, how about allowing them FTP access to the config directory, and letting them use FileZilla to edit with Notepad via FTP? Russell ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu-ting_liu at agilent.com Thu Oct 25 05:05:16 2007 From: yu-ting_liu at agilent.com (yu-ting_liu at agilent.com) Date: Thu, 25 Oct 2007 11:05:16 +0800 Subject: hi In-Reply-To: <471F13CE.10200@googlemail.com> References: <6546343904687E41B19D8E5A26AB9F53019912EB@E03MVB2-UKBR.domain1.systemhost.net> <471F13CE.10200@googlemail.com> Message-ID: <927905ECF3594A47BC295595B977B7AF922D9A@sgp-sg-mb02.sgp.agilent.com> Hi, I'm interested in your plugin as well. What's your plugin name for me to look for on exchange website? Thanks. Regards, Yu Ting -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Wednesday, October 24, 2007 5:44 PM To: tom.welsh at bt.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hi OK I will try to release it today, I am just adding the extra functionality to do things like return critical on unauthorized users etc... I'll mail back when done. I'll post it to nagiosexchange as usual when ready and tested. By the way, this is currently written in Bash for linux (but should work on most other unixes/unicies that have Bash). I was thinking about writing another one for windows systems as well but I haven't gotten round to it, that might be next... -h Hari Sekhon tom.welsh at bt.com wrote: > Hi Hari, > > I too would be interested in this plugin. If your going to release it > that is. > > Regards > > Tom > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: 24 October 2007 10:13 > To: Sukesh /IT/BLR/JIG/IN > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hi > > I wrote a plugin to do this, I might release it if you are interested... > > it's a quick plugin in bash that lists all the users on a system in > the following format and always returns OK (since there is not much to > not be ok about by the time it runs) > > USERS: hari(15) userX(3) userY(5) > > where the (Number) following each user is the number of sessions that > you have open, either ssh sessions or xterms or whatever... > > -h > > Hari Sekhon > > > > Sukesh /IT/BLR/JIG/IN wrote: > >> iam using nagios-3.0.4 and while using check_users plug in getting >> the >> > > >> number of users logged message.But is there any plugin or way to see >> the current users lists on that. >> >> >> >> >> Thanks, >> >> Sukesh V >> >> >> >> >> >> >> --------------------------------------------------------------------- >> - >> -- >> >> --------------------------------------------------------------------- >> - >> --- This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> > browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> --------------------------------------------------------------------- >> - >> -- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 06:41:41 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 25 Oct 2007 14:41:41 +1000 Subject: RFC - Config files on Window shares (SMB mountpoints on Nagios host). [SEC=UNCLASSIFIED] Message-ID: Dear Folks, After giving up on the cfg_dir directive, changing the cfg_file directives to point to Windows shares containing the Nagios config files seems to work Ok. The Nagios parser/line read routines seem to tolerate an extra 0x0d at the end of the line. Does anyone have any experience doing this ? 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 mike.hawley at nspire.co.nz Thu Oct 25 08:58:06 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Thu, 25 Oct 2007 19:58:06 +1300 Subject: Manage Cisco Interfaces In-Reply-To: <471ED7E1.8020203@vanderkooij.org> References: <003501c815ce$e6e6f0c0$1501010a@nspire.co.nz> <471ED7E1.8020203@vanderkooij.org> Message-ID: <001a01c816d4$6593c500$5a01140a@nspire.co.nz> Sorry I have not been able to respond to this. Here we go... I have Nagios 3.0b5 installed running on Open source SuSe. I am trying to use a PERL plug-in to get interface statistics off a Cisco switch that has a Gigabit Interface (Not uncommon these days). The command is as follows; ./check_snmp_int.pl -H 192.168.xxx.xxx -C xxxxxx -n GigabitEthernet1/0/24 -k -w 100,50 -c 0,0 -f and I get the output below. GigabitEthernet1/0/24:UP No usable data on file (9 rows) :(1 UP): UNKNOWN | 'GigabitEthernet1/0/24_in_octet'=2876223019c 'GigabitEthernet1/0/24_out_octet'=754610251c I have tried to use the standard SNMP plugins and also the Cisco developed plugins, but they don't support this type of interface. I can use a command to look at the OID's but am concerned if the configuration is blown away, that the indexes will change. Hope this helps you to help me. All the best - Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Wednesday, October 24, 2007 6:28 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Manage Cisco Interfaces -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Hawley wrote: > Hi I am running a ./check_snmp_cisco_ifstatus and can not seem to get > Gigabit interface statistics or VLAN statistics. > > Can anyone help? You can start helping yourself by stating what you have done to make it work. What results you have seen. What Nagios version. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHHtffBvzDRVjxmYERAoASAKCwZ19+qndS2H2KVdVkaxp5CDOj3ACdFxeZ 0/wlCsW9qfvCbaKSB7OW9Qk= =99Nl -----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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.15.5/1085 - Release Date: 10/22/2007 10:35 AM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.10/1091 - Release Date: 10/24/2007 2:31 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.kraus at rz.uni-augsburg.de Thu Oct 25 09:30:29 2007 From: daniel.kraus at rz.uni-augsburg.de (Daniel Kraus) Date: Thu, 25 Oct 2007 09:30:29 +0200 Subject: Manage Cisco Interfaces Message-ID: <47204615.3040603@rz.uni-augsburg.de> Hi Mike, the plug-in check_snmp_int.pl will create a file in /tmp "tmp_Nagios_int.ip.interface" for each interface you check. If you look at one of these files you will see something like this: 1193296121:2737857960:2609034930. First one is a time stamp, the others are the counters for incoming and outgoing octets you will also find via SNMP on your Cisco switch. The problem is that the incoming or outgoing octets are counters and don't contain the actual number of incoming octets for the last 5 mins or so. If you run the plug-in it compares the returned values with the ones in the temp-file and then calculates the incoming oder outgoing traffic. When I used the plug-in first the state was UNKNOWN for the first 15 minutes and then changed to an OK-state because the plug-in needs this time to gather enough values to calculate the traffic. Sorry for my english. Hope this will help you. Best Regards Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.hawley at nspire.co.nz Thu Oct 25 09:35:05 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Thu, 25 Oct 2007 20:35:05 +1300 Subject: Manage Cisco Interfaces In-Reply-To: <47204615.3040603@rz.uni-augsburg.de> References: <47204615.3040603@rz.uni-augsburg.de> Message-ID: <001f01c816d9$90cce300$5a01140a@nspire.co.nz> Thanks for the reply. I have had this service running for the last 3 hours, and it still remains in this state... Mike Mike Hawley -----Original Message----- From: Daniel Kraus [mailto:daniel.kraus at rz.uni-augsburg.de] Sent: Thursday, October 25, 2007 8:30 PM To: Mike Hawley Cc: Nagios Users Subject: Re: [Nagios-users] Manage Cisco Interfaces Hi Mike, the plug-in check_snmp_int.pl will create a file in /tmp "tmp_Nagios_int.ip.interface" for each interface you check. If you look at one of these files you will see something like this: 1193296121:2737857960:2609034930. First one is a time stamp, the others are the counters for incoming and outgoing octets you will also find via SNMP on your Cisco switch. The problem is that the incoming or outgoing octets are counters and don't contain the actual number of incoming octets for the last 5 mins or so. If you run the plug-in it compares the returned values with the ones in the temp-file and then calculates the incoming oder outgoing traffic. When I used the plug-in first the state was UNKNOWN for the first 15 minutes and then changed to an OK-state because the plug-in needs this time to gather enough values to calculate the traffic. Sorry for my english. Hope this will help you. Best Regards Daniel No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.10/1091 - Release Date: 10/24/2007 2:31 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.10/1091 - Release Date: 10/24/2007 2:31 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 09:41:26 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 25 Oct 2007 08:41:26 +0100 Subject: hi In-Reply-To: <927905ECF3594A47BC295595B977B7AF922D9A@sgp-sg-mb02.sgp.agilent.com> References: <927905ECF3594A47BC295595B977B7AF922D9A@sgp-sg-mb02.sgp.agilent.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5301991829@E03MVB2-UKBR.domain1.systemhost.net> Hi Yu-ting, Here is the link to Hari's plugin. http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[ p_view]=1132 Hari, Great plugin, And im loving the whitelist. Now when those pesky developers sneak onto production servers we will know :) Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of yu-ting_liu at agilent.com Sent: 25 October 2007 04:05 To: hpsekhon at googlemail.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hi Hi, I'm interested in your plugin as well. What's your plugin name for me to look for on exchange website? Thanks. Regards, Yu Ting -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Wednesday, October 24, 2007 5:44 PM To: tom.welsh at bt.com Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hi OK I will try to release it today, I am just adding the extra functionality to do things like return critical on unauthorized users etc... I'll mail back when done. I'll post it to nagiosexchange as usual when ready and tested. By the way, this is currently written in Bash for linux (but should work on most other unixes/unicies that have Bash). I was thinking about writing another one for windows systems as well but I haven't gotten round to it, that might be next... -h Hari Sekhon tom.welsh at bt.com wrote: > Hi Hari, > > I too would be interested in this plugin. If your going to release it > that is. > > Regards > > Tom > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: 24 October 2007 10:13 > To: Sukesh /IT/BLR/JIG/IN > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hi > > I wrote a plugin to do this, I might release it if you are interested... > > it's a quick plugin in bash that lists all the users on a system in > the following format and always returns OK (since there is not much to > not be ok about by the time it runs) > > USERS: hari(15) userX(3) userY(5) > > where the (Number) following each user is the number of sessions that > you have open, either ssh sessions or xterms or whatever... > > -h > > Hari Sekhon > > > > Sukesh /IT/BLR/JIG/IN wrote: > >> iam using nagios-3.0.4 and while using check_users plug in getting >> the >> > > >> number of users logged message.But is there any plugin or way to see >> the current users lists on that. >> >> >> >> >> Thanks, >> >> Sukesh V >> >> >> >> >> >> >> --------------------------------------------------------------------- >> - >> -- >> >> --------------------------------------------------------------------- >> - >> --- This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a >> > browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> --------------------------------------------------------------------- >> - >> -- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) 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 ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 ae at op5.se Thu Oct 25 10:05:34 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 25 Oct 2007 10:05:34 +0200 Subject: configuration directory and file directives ... perplexity (long and boring). [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <47204E4E.4010407@op5.se> Stanley.Hopcroft at Dest.gov.au wrote: > > Here is the problem, adding a cfg_dir to point to a _Unix_ directory > like so > > *************** > *** 78,83 **** > --- 78,87 ---- > # extension) in a particular directory by using the cfg_dir > # directive as shown below: > > + cfg_dir=/etc/nagios > + > + # cfg_dir=/mnt/dest_smb/coms/NMS/nagios > + > #cfg_dir=/etc/nagios/servers > #cfg_dir=/etc/nagios/printers > #cfg_dir=/etc/nagios/switches > [root at acisp057 nagios]# > Try if http://oss.op5.se/nagios/getnagioscfg.c lists the file you expect it to and then get back to me. I think the current cfg_dir handling code is conditional to having (struct dirent *)->d_type on your system, so perhaps that's the issue. It should work equally well with just plain old stat() instead, and would be much more portable. Performance issues can probably be ignored, since most users don't have >50k config files. -- 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 stephen.wing at steria.co.uk Thu Oct 25 11:42:27 2007 From: stephen.wing at steria.co.uk (stephen wing) Date: Thu, 25 Oct 2007 10:42:27 +0100 Subject: escalation with groups Message-ID: <00a101c816eb$5abfbd20$8402a8c0@uk.sterianet> Hi all I need to setup escalations, at the minute I have successfully setup an escalation on a service. What I need to do is to setup escalations on a host_group. Can anyone let me know what the escalation type is and the variables that go with it. 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: Splunk Inc. Still grepping through log files to find problems? 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 jolivan at sertec-si.com Thu Oct 25 13:48:23 2007 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 25 Oct 2007 13:48:23 +0200 Subject: Host down, but ping works In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A73FC@hermes.sapphire-int.gi> References: <471EF700.4050203@sertec-si.com> <"9D30659ABCA7FB428CF91E386C3A574 49A73FC"@hermes.sapphire-int.gi> Message-ID: <47208287.1080100@sertec-si.com> Ok, i revised my check_commands config and i saw that check_host_alive is executing check_fping and check_ping is executing a simple ping, then i changed check_host_alive to send a single ping... but now, check_host alive info on this host isn't updated (Last check is from one hour ago). How i can change check_host_alive check_interval? Thanks for your help! :) Giles Coochey escribi?: >> Hi, >> >> i'm monitoring several hosts with Nagios and i've encountered with a >> little problem some time ago... >> >> Two of my hosts appears to be down (host marked as red), but i'm >> monitoring ping service and it works fine. I've got more services on >> this "ghost" hosts and they work well. What can i do to normalize these >> hosts situation? Why host is marked as down when its ping is responding? >> >> Thanks in advance! >> > > Resolving your problem on the first try is going to be rather difficult. It would be good to have more information. > > What check do you have to check the host is alive (in some sample configurations this is called check-host-alive)? > > And what check are you doing for check-ping? > > In the sample configuration (it is only a sample configuration, and many have completely home-grown ones), check-host-alive only sends a single packet, whereas check-ping sends more packets. > > If your first packet is always dropped then check-host-alive will always fail and check-ping will still succeed enough of the other packets work. > > It could be a network problem, but it could be any manner of other things. > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Thu Oct 25 14:12:48 2007 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 25 Oct 2007 14:12:48 +0200 Subject: Manage Cisco Interfaces In-Reply-To: <001f01c816d9$90cce300$5a01140a@nspire.co.nz> References: <47204615.3040603@rz.uni-augsburg.de> <001f01c816d9$90cce300$5a01140a@nspire.co.nz> Message-ID: <00c801c81700$5c6d87a0$2900a8c0@telindus.intra> Hi, First have a look at the FAQ : http://nagios.manubulon.com/wiki/index.php/Faq-url#No_usable_data_on_file_.2 8X_rows.29 Then read some doc : http://nagios.manubulon.com/snmp_int.html Then, - Make sure that your check interval is similar to the default average time (5 minutes) or change this with the "-d" option. - add the "-g" option to get the 64 bits counters as the standard counters aren't very accurate with Gigabit interfaces. - Use SNMP V2c ( "-2" option). - Maybe give the C plugin version a try to enable caching ("-K") as it will reduce the load on the Cisco and speed up execution time (http://nagios.manubulon.com/package_c.html). Regards, Patrick http://nagios.manubulon.com -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Mike Hawley Envoy? : jeudi 25 octobre 2007 09:35 ? : 'Daniel Kraus' Cc : 'Nagios Users' Objet : Re: [Nagios-users] Manage Cisco Interfaces Thanks for the reply. I have had this service running for the last 3 hours, and it still remains in this state... Mike Mike Hawley -----Original Message----- From: Daniel Kraus [mailto:daniel.kraus at rz.uni-augsburg.de] Sent: Thursday, October 25, 2007 8:30 PM To: Mike Hawley Cc: Nagios Users Subject: Re: [Nagios-users] Manage Cisco Interfaces Hi Mike, the plug-in check_snmp_int.pl will create a file in /tmp "tmp_Nagios_int.ip.interface" for each interface you check. If you look at one of these files you will see something like this: 1193296121:2737857960:2609034930. First one is a time stamp, the others are the counters for incoming and outgoing octets you will also find via SNMP on your Cisco switch. The problem is that the incoming or outgoing octets are counters and don't contain the actual number of incoming octets for the last 5 mins or so. If you run the plug-in it compares the returned values with the ones in the temp-file and then calculates the incoming oder outgoing traffic. When I used the plug-in first the state was UNKNOWN for the first 15 minutes and then changed to an OK-state because the plug-in needs this time to gather enough values to calculate the traffic. Sorry for my english. Hope this will help you. Best Regards Daniel No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.10/1091 - Release Date: 10/24/2007 2:31 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.10/1091 - Release Date: 10/24/2007 2:31 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 25 14:39:06 2007 From: marc at ena.com (Marc Powell) Date: Thu, 25 Oct 2007 07:39:06 -0500 Subject: RFC - Config files on Window shares (SMB mountpointson Nagios host). [SEC=UNCLASSIFIED] 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 Stanley.Hopcroft at Dest.gov.au > Sent: Wednesday, October 24, 2007 11:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RFC - Config files on Window shares (SMB > mountpointson Nagios host). [SEC=UNCLASSIFIED] > > Dear Folks, > > After giving up on the cfg_dir directive, changing the cfg_file > directives to point to Windows > shares containing the Nagios config files seems to work Ok. Hi Stanley! I'd suggest reversing your sharing logic here and export the nagios config files via samba instead of having them live on another machine. That way you could use cfg_dir and you wouldn't have a dependency on the SMB share/machine being available for nagios to work. -- 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 Thu Oct 25 14:43:38 2007 From: marc at ena.com (Marc Powell) Date: Thu, 25 Oct 2007 07:43:38 -0500 Subject: Host down, but ping works In-Reply-To: <47208287.1080100@sertec-si.com> References: <47208287.1080100@sertec-si.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jes?s Oliv?n > Sent: Thursday, October 25, 2007 6:48 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host down, but ping works > > Ok, i revised my check_commands config and i saw that check_host_alive > is executing check_fping and check_ping is executing a simple ping, then > i changed check_host_alive to send a single ping... but now, check_host > alive info on this host isn't updated (Last check is from one hour ago). > How i can change check_host_alive check_interval? With nagio-2x and prior, hosts are only ever checked when a service on the host changes state. That is normal and desired behavior. Has a service on the host changed state in that hour? -- 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 btmanmeh at verizon.net Thu Oct 25 15:20:28 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 25 Oct 2007 09:20:28 -0400 Subject: Announce: Show Users Plugin (was Re: hi) In-Reply-To: <471F694D.6030905@googlemail.com> References: <6546343904687E41B19D8E5A26AB9F53019912EB@E03MVB2-UKBR.domain1.systemhost.net> <471F694D.6030905@googlemail.com> Message-ID: <4720981C.2010404@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon wrote: > Hi guys, > > I've added a couple of extra switches to my show_users script and > posted it on NagiosExchange.org so that you can use it. What started off > as a quick hack seems to be more useful than I previously thought, > otherwise I wouldn't have sat on this for so many months... > Thanks a bunch for this! I can find it very useful as well. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHIJgcHoeeepPau2ERAvlDAJ96LADnvsbLN+JJDNlQ+5nFz2nbfACfdwZe O65J1VMraihf1Lf29xUo2iE= =4S8T -----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 tim at tany.com Thu Oct 25 15:23:56 2007 From: tim at tany.com (Tim Palmer) Date: Thu, 25 Oct 2007 09:23:56 -0400 Subject: configuration directory and file directives ... perplexity (long and boring). [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <472098EC.1080405@tany.com> Stanley.Hopcroft at Dest.gov.au wrote: > Dear Tim, > > (Yes, I am the nitwit). :) >> I can't actually speak to your specific question, but it just seems >> like a scary thought. Better to run samba on the Nagios machine and >> let them mount it, and/or SVN. And then there's the GUI method, of >> course. > > Good thought but why should they change to suit one application ? I'm with Mark Powell on this - a better question might be - why risk a critical infrastructure component's ability to function to make things a bit easier for a few? Of course, I'm implying a general statement, and you have a specific situation to address. > Does cfg_dir=/Some/Path actually work ? and if so, would anyone be so > kind as to paste a few lines containing these directives from their > nagios.cfg ? I understand "cfg_dir" to only relate to object config files, and putting cgi.cfg in cfg_dir won't work. I've just done a quick test on my FreeBSD 6 test box, and thats how I found it to work. - Set cfg_dir (to local *nix dir) - put all object config files in there - comment out specific object config lines in nagios.cfg - leave cgi.cfg in same dir as nagios.cfg nagios -v works properly, and nagios starts happily - copy cgi.cfg into cfg_dir - I get the same error you reported. - remove cgi.cfg from cfg_dir - all better again. tim ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From george.monappallil at rpfl.com Thu Oct 25 15:50:16 2007 From: george.monappallil at rpfl.com (Monappallil, George) Date: Thu, 25 Oct 2007 09:50:16 -0400 Subject: Checks on active and passive hosts Message-ID: <50CEF36ACC0B0C4197EBCD31C1834148147302@blaster.Platinum.root.rpfl.com> All: I have two hosts; one is active and one is passive providing DNS services. The passive hosts doesn't allow icmp checks and only comes alive when the active host is down. What I want is to check both hosts if they are alive (check_host_alive) but do not want alerts to be sent out for the passive host. Is this possible ? Thanks in advance. -George -------------- 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 jolivan at sertec-si.com Thu Oct 25 16:10:31 2007 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 25 Oct 2007 16:10:31 +0200 Subject: Host down, but ping works In-Reply-To: References: Message-ID: <4720A3D7.2030807@sertec-si.com> No, problem is that several host only have got two services, and twice are down since several days ago... Is there any way to force this kind of check? Marc Powell escribi?: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Jes?s Oliv?n >> Sent: Thursday, October 25, 2007 6:48 AM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Host down, but ping works >> >> Ok, i revised my check_commands config and i saw that check_host_alive >> is executing check_fping and check_ping is executing a simple ping, then >> i changed check_host_alive to send a single ping... but now, check_host >> alive info on this host isn't updated (Last check is from one hour ago). >> How i can change check_host_alive check_interval? >> > > With nagio-2x and prior, hosts are only ever checked when a service on the host changes state. That is normal and desired behavior. Has a service on the host changed state in that hour? > > -- > 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 25 16:16:11 2007 From: marc at ena.com (Marc Powell) Date: Thu, 25 Oct 2007 09:16:11 -0500 Subject: Host down, but ping works In-Reply-To: <4720A3D7.2030807@sertec-si.com> References: <4720A3D7.2030807@sertec-si.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jes?s Oliv?n > Sent: Thursday, October 25, 2007 9:11 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host down, but ping works > > No, problem is that several host only have got two services, and twice > are down since several days ago... Is there any way to force this kind > of check? I still don't understand why they're showing down if your host check command properly detects the host state but in the web interface, click on the host you want to force a check for then "Re-schedule the next check of 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 dfulton at mail.fdn.com Thu Oct 25 16:34:18 2007 From: dfulton at mail.fdn.com (Fulton, David) Date: Thu, 25 Oct 2007 10:34:18 -0400 Subject: configuration directory and file directives ...perplexity (long and boring). [SEC=UNCLASSIFIED] 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 > Stanley.Hopcroft at Dest.gov.au > Sent: Wednesday, October 24, 2007 10:07 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] configuration directory and file > directives ...perplexity (long and boring). [SEC=UNCLASSIFIED] > > Dear Tim, > > (Yes, I am the nitwit). > > > -----Original Message----- > > Mr Hopcroft, > > > > My first reaction was an unqualified "yuk!, what nitwit would even > > consider this", then I noticed it was you, and having seen your ever > > useful posts since the Netsaint 0.0.7 days, I relented. Although > > hearing vi called "anachronistic" ruffles a couple of feathers. > > (OT. Have a look at what Rob Pike has been saying about Unix for some > years. To an MSCE, vi is .. well I am happy with my original choice of > words. I am not a Windows admin and am perfectly happy with vi to do > my Nagios configuration [or my own home brew semi-automation] but not > everyone who likes Nagios likes vi). > > > Notepad isn't? > > No accounting for taste... > > (OT. For unambitious text mangling it's Ok. How many people depend on > vi macros or even conditional substitution ?) > > > > > I can't actually speak to your specific question, but it just seems > > like a scary thought. Better to run samba on the Nagios machine and > > let them mount it, and/or SVN. And then there's the GUI method, of > > course. > > Good thought but why should they change to suit one application ? > > At this site there are no Unix Sys admin skills (apart from me) and > everyone likes Windows. Having the configs on Win means management is > happy they are adequately backed up. > > Does cfg_dir=/Some/Path actually work ? and if so, would anyone be so > kind as to paste a few lines containing these directives from their > nagios.cfg ? > > Here is the problem, adding a cfg_dir to point to a _Unix_ directory > like so > > *************** > *** 78,83 **** > --- 78,87 ---- > # extension) in a particular directory by using the cfg_dir > # directive as shown below: > > + cfg_dir=/etc/nagios > + > + # cfg_dir=/mnt/dest_smb/coms/NMS/nagios > + > #cfg_dir=/etc/nagios/servers > #cfg_dir=/etc/nagios/printers > #cfg_dir=/etc/nagios/switches > [root at acisp057 nagios]# > > causes > > [root at acisp057 nagios]# 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: Unexpected token or statement in file '/etc/nagios/cgi.cfg' on > line 23. > > ***> 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. > > [root at acisp057 nagios]# If you are setting cfg_dir equal to the directory where you store your main configuration it is part of the problem. The reasons are twofold: 1. Nagios will try to recursively open the main configuration file, as you can imagine this would cause issues. 2. Nagios will open all configuration files that end in .cfg including ones that it is not supposed to, like cgi.cfg which is only intended to be read by the cgi programs that the web server runs. The workaround that I might use for this is to make a subdirectory for configuration datat and mount your smb filesystem there. It is a tradeoff though. The windows admins won't be able to modify the main nagios.cfg file. On the other hand, how often do you change those options? The big configuration file changes always happen in the object definitions. My nagios.cfg file has the following cfg_dir directives in it: cfg_dir=/usr/local/etc/nagios/objects/contacts cfg_dir=/usr/local/etc/nagios/objects/times cfg_dir=/usr/local/etc/nagios/objects/services cfg_dir=/usr/local/etc/nagios/objects/templates cfg_dir=/usr/local/etc/nagios/objects/hosts/firewalls cfg_dir=/usr/local/etc/nagios/objects/hosts/routers cfg_dir=/usr/local/etc/nagios/objects/hosts/switches cfg_dir=/usr/local/etc/nagios/objects/hosts/ironports cfg_dir=/usr/local/etc/nagios/objects/hosts/unix/freebsd cfg_dir=/usr/local/etc/nagios/objects/hosts/unix/linux cfg_dir=/usr/local/etc/nagios/objects/hosts/unix/solaris cfg_dir=/usr/local/etc/nagios/objects/hosts/windows cfg_dir=/usr/local/etc/nagios/objects/hosts/vmware cfg_dir=/usr/local/etc/nagios/objects/hosts/netapp cfg_dir=/usr/local/etc/nagios/objects/hosts/virtual_services cfg_dir=/usr/local/etc/nagios/objects/hostgroups cfg_dir=/usr/local/etc/nagios/objects/servicegroups This gives me flexibility in configuration file names (as long as it ends in .cfg) and the ability to keep different types of objects separate. Hope this helps > > Take out cfg_dir and all is well. > > > > > good luck! > > > > tim > > Thank you. > > Yours sincerely. > > > 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 Regards, 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 From jaimeventura at ipp.pt Thu Oct 25 16:38:21 2007 From: jaimeventura at ipp.pt (Jaime Ventura) Date: Thu, 25 Oct 2007 15:38:21 +0100 Subject: Minimum size area for host for nagios circular map Message-ID: <4720AA5D.5000600@ipp.pt> Hello, After adding several host on a hierarchical base to nagios, some of the host are shown on a tiny area causing a big mess. Is there any way to specify the minimum size area a host may take on the circular map? 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 jolivan at sertec-si.com Thu Oct 25 16:50:10 2007 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 25 Oct 2007 16:50:10 +0200 Subject: Host down, but ping works In-Reply-To: References: Message-ID: <4720AD22.1000002@sertec-si.com> I've done what u say, but after several times of "Re-shedulation" and after disabling and enabling host checks, it returned me Host Status: UP Status Information: FPING OK - ap-cien08 (loss=0%, rta=2.620000 ms) Performance Data: loss=0%;;;0;100 rta=0.002620s;;;0.000000 Current Attempt: 1/20 State Type: HARD Last Check Type: ACTIVE Last Check Time: 28-05-2007 11:07:31 Status Data Age: 150d 5h 42m 58s Next Scheduled Active Check: 25-10-2007 16:32:11 Latency: 0.000 seconds Check Duration: 0.031 seconds Last State Change: 25-05-2007 15:22:57 Current State Duration: 153d 1h 27m 32s Last Host Notification: N/A Current Notification Number: 0 Is This Host Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 25-10-2007 16:47:18 Take a look at Last check time... i didn't find any way to force it to change. Marc Powell escribi?: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Jes?s Oliv?n >> Sent: Thursday, October 25, 2007 9:11 AM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Host down, but ping works >> >> No, problem is that several host only have got two services, and twice >> are down since several days ago... Is there any way to force this kind >> of check? >> > > I still don't understand why they're showing down if your host check command properly detects the host state but in the web interface, click on the host you want to force a check for then "Re-schedule the next check of 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 > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 16:57:28 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Thu, 25 Oct 2007 16:57:28 +0200 Subject: Host down, but ping works In-Reply-To: <4720AD22.1000002@sertec-si.com> References: <4720AD22.1000002@sertec-si.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A74BA@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jes?s Oliv?n > Sent: 25 October 2007 16:50 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host down, but ping works > > I've done what u say, but after several times of "Re-shedulation" and > after disabling and enabling host checks, it returned me > > Host Status: > UP > Status Information: FPING OK - ap-cien08 (loss=0%, rta=2.620000 ms) > Performance Data: loss=0%;;;0;100 rta=0.002620s;;;0.000000 > Current Attempt: 1/20 > State Type: HARD > Last Check Type: ACTIVE > Last Check Time: 28-05-2007 11:07:31 > Status Data Age: 150d 5h 42m 58s > Next Scheduled Active Check: 25-10-2007 16:32:11 > Latency: 0.000 seconds > Check Duration: 0.031 seconds > Last State Change: 25-05-2007 15:22:57 > Current State Duration: 153d 1h 27m 32s > Last Host Notification: N/A > Current Notification Number: 0 > Is This Host Flapping? N/A > Percent State Change: N/A > In Scheduled Downtime? > NO > Last Update: 25-10-2007 16:47:18 > > [Giles Coochey] What happens if you submit a failed passive service check for one of the services on the host? I'm wondering whether that could force a host check. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 17:14:09 2007 From: Joel.Roberts at pinkardcc.com (Joel Roberts) Date: Thu, 25 Oct 2007 09:14:09 -0600 Subject: 3-D Status Map Goes Blank Message-ID: <2CE4DD25946EB940B8EE93877AF62531FE3653@lwmailserver1.pinkard.com> Using Nagios 3.0b5, just wondering if anyone else has run into the same thing: When opening the 3-D status map in IE7, sometimes it's all white. Trying to move it around or rotate leaves black lines across the screen. If I close the map in IE7, open it in FireFox, it's fine. Go back into IE7 and it's working again. Not a big hassle, just wondering if anyone else has seen the same thing and found a workaround or fix. -------------- 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 Sebastian.Ries at dtnet.de Thu Oct 25 18:14:53 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 25 Oct 2007 18:14:53 +0200 Subject: HPProrCurve SNMP Plugin Questions Message-ID: Hi there As we got some ProCurve 4202vl 48G Switches I looked for scriptes to integrate the into our Nagios. I just found the configuration files on nagiosexchange.org: http://www.nagiosexchange.org/SNMP.64.0.html?&tx_netnagext_pi1[p_view]=4 26 But I have a view Questions about that: 1. check_hp_cpu doesn't seem to work it just reports "No Data" 2. What do the Numbers for warning and critical mean? Espezially for the fan-check - where do I have to look for that? Does anyone have experiences with these checkcommands? Regards Sebastian Ries ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 18:27:04 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 25 Oct 2007 16:27:04 +0000 Subject: Nagios and IM notification Message-ID: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> Hi everyone. I have been using nagios for a couple of months and it's a wonderful NMS. I have successfully implemented email and SMS notification. I was wondering how I could send notifications using Instant Messaging particularly yahoo IM service. Basically, what I would like to see is this. A service or host goes down, nagios sends a notification to my yahoo IM, it appears as an offline if I am offline or a pop-up message if I am online. Can this be done? Regards, -- 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 aharrison at gmail.com Thu Oct 25 18:52:45 2007 From: aharrison at gmail.com (Andy Harrison) Date: Thu, 25 Oct 2007 12:52:45 -0400 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/25/07, Alex Dehaini wrote: > Hi everyone. > > I have been using nagios for a couple of months and it's a wonderful NMS. I > have successfully implemented email and SMS notification. I was wondering > how I could send notifications using Instant Messaging particularly yahoo IM > service. > > Basically, what I would like to see is this. A service or host goes down, > nagios sends a notification to my yahoo IM, it appears as an offline if I am > offline or a pop-up message if I am online. Can this be done? I wrote one myself using the Net::OSCAR perl module, but I found that it was extremely unreliable. The biggest thing is that you can't simply write a script that logs into aim, sends a message, then logs out. You'll get dinged for logging in too many times if you connect more than about 8 times per hour (or something like that). Eventually what I'm going to do is write a script that runs as a daemon connected to aim all the time. I'll just have a nagios notification script plop a message file into a directory and have the daemon watch for that directory for files and just send the contents of each file in an instant message and then delete them. It's just harder to write something that stays connected all the time. I don't have any experience programming for event loops like that. - -- Andy Harrison public key: 0x67518262 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFHIMn1NTm8fWdRgmIRAtfQAKC7H1MPlf/a996/WmWu09PeE0j1LgCg7XHj NyDnTuqXgR1l1o63jhKM1M4= =LY/m -----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 jolivan at sertec-si.com Thu Oct 25 19:26:41 2007 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs_Oliv=E1n?=) Date: Thu, 25 Oct 2007 19:26:41 +0200 Subject: Host down, but ping works In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A74BA@hermes.sapphire-int.gi> References: <"4720A D22.1000002"@sertec-si.com> Message-ID: <4720D1D1.9000009@sertec-si.com> Yeah! finally it worked... first i submited a failed passive check like u suggested, followed by a forced check on the host, and then host state finally changed :) Thanks! Giles Coochey escribi?: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Jes?s Oliv?n >> Sent: 25 October 2007 16:50 >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Host down, but ping works >> >> I've done what u say, but after several times of "Re-shedulation" and >> after disabling and enabling host checks, it returned me >> >> Host Status: >> UP >> Status Information: FPING OK - ap-cien08 (loss=0%, rta=2.620000 ms) >> Performance Data: loss=0%;;;0;100 rta=0.002620s;;;0.000000 >> Current Attempt: 1/20 >> State Type: HARD >> Last Check Type: ACTIVE >> Last Check Time: 28-05-2007 11:07:31 >> Status Data Age: 150d 5h 42m 58s >> Next Scheduled Active Check: 25-10-2007 16:32:11 >> Latency: 0.000 seconds >> Check Duration: 0.031 seconds >> Last State Change: 25-05-2007 15:22:57 >> Current State Duration: 153d 1h 27m 32s >> Last Host Notification: N/A >> Current Notification Number: 0 >> Is This Host Flapping? N/A >> Percent State Change: N/A >> In Scheduled Downtime? >> NO >> Last Update: 25-10-2007 16:47:18 >> >> >> > > [Giles Coochey] > What happens if you submit a failed passive service check for one of the services on the host? > > I'm wondering whether that could force a host check. > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 19:39:13 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 25 Oct 2007 17:39:13 +0000 Subject: Nagios and IM notification In-Reply-To: References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> Message-ID: <4b008f7d0710251039u2a4c1173reee0455727cfd00f@mail.gmail.com> Andy, If you get it working, do let me know. I was reading a book where you can implement IM notification by installing a jabber IM server on the same box as nagios. I will look it up and try and install it and let you know. On 10/25/07, Andy Harrison wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/25/07, Alex Dehaini wrote: > > Hi everyone. > > > > I have been using nagios for a couple of months and it's a wonderful > NMS. I > > have successfully implemented email and SMS notification. I was > wondering > > how I could send notifications using Instant Messaging particularly > yahoo IM > > service. > > > > Basically, what I would like to see is this. A service or host goes > down, > > nagios sends a notification to my yahoo IM, it appears as an offline if > I am > > offline or a pop-up message if I am online. Can this be done? > > > I wrote one myself using the Net::OSCAR perl module, but I found that > it was extremely unreliable. The biggest thing is that you can't > simply write a script that logs into aim, sends a message, then logs > out. You'll get dinged for logging in too many times if you connect > more than about 8 times per hour (or something like that). > > Eventually what I'm going to do is write a script that runs as a > daemon connected to aim all the time. I'll just have a nagios > notification script plop a message file into a directory and have the > daemon watch for that directory for files and just send the contents > of each file in an instant message and then delete them. > > It's just harder to write something that stays connected all the time. > I don't have any experience programming for event loops like that. > > - -- > Andy Harrison > public key: 0x67518262 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: http://firegpg.tuxfamily.org > > iD8DBQFHIMn1NTm8fWdRgmIRAtfQAKC7H1MPlf/a996/WmWu09PeE0j1LgCg7XHj > NyDnTuqXgR1l1o63jhKM1M4= > =LY/m > -----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 > -- 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 btmanmeh at verizon.net Thu Oct 25 19:48:01 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 25 Oct 2007 13:48:01 -0400 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710251039u2a4c1173reee0455727cfd00f@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <4b008f7d0710251039u2a4c1173reee0455727cfd00f@mail.gmail.com> Message-ID: <4720D6D1.5070707@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alex Dehaini wrote: > Andy, > > If you get it working, do let me know. I was reading a book where you > can implement IM notification by installing a jabber IM server on the > same box as nagios. I will look it up and try and install it and let you > know. Hi, Andy. This set of plugins used to have a notify-by-jabber plugin for this purpose, I believe. I've never implemented it, but do remember seeing it. You'll have to install the Nagios::Plugin module available on CPAN to use their plugins. I use their check_yum and check_linux_raid plugins and they work well, so you might want to check out the notify-by-jabber script included in the tar. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHINbRHoeeepPau2ERApjVAJ9MMyQxwVNtJHEF3xPsSuxbjcftwACdHkpn EpMQ74xB5DCDu9jMZQVNX1I= =RODh -----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 alexdehaini at gmail.com Thu Oct 25 20:09:23 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 25 Oct 2007 18:09:23 +0000 Subject: Nagios and IM notification In-Reply-To: <4720D6D1.5070707@verizon.net> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <4b008f7d0710251039u2a4c1173reee0455727cfd00f@mail.gmail.com> <4720D6D1.5070707@verizon.net> Message-ID: <4b008f7d0710251109s4344d5c7n7c3420ae0c771c42@mail.gmail.com> I didn't see anything on jabber IM there On 10/25/07, Max Hetrick wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Alex Dehaini wrote: > > Andy, > > > > If you get it working, do let me know. I was reading a book where you > > can implement IM notification by installing a jabber IM server on the > > same box as nagios. I will look it up and try and install it and let you > > know. > > Hi, Andy. This set of plugins used to have a notify-by-jabber plugin for > this purpose, I believe. > > > > I've never implemented it, but do remember seeing it. > > You'll have to install the Nagios::Plugin module available on CPAN to > use their plugins. I use their check_yum and check_linux_raid plugins > and they work well, so you might want to check out the notify-by-jabber > script included in the tar. > > Regards, > Max > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFHINbRHoeeepPau2ERApjVAJ9MMyQxwVNtJHEF3xPsSuxbjcftwACdHkpn > EpMQ74xB5DCDu9jMZQVNX1I= > =RODh > -----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 > -- 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 slackamp at gmail.com Thu Oct 25 20:14:03 2007 From: slackamp at gmail.com (slamp slamp) Date: Thu, 25 Oct 2007 14:14:03 -0400 Subject: notification_options default Message-ID: <78926d250710251114n12b9b950wfb7bb426bf0f47a9@mail.gmail.com> what is the default options for notification_options for a service? i inherited a nagios 2.9 setup on a centos 4.5. alot of the services do not have notification_options, some do. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Oct 25 20:13:42 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 25 Oct 2007 14:13:42 -0400 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710251109s4344d5c7n7c3420ae0c771c42@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <4b008f7d0710251039u2a4c1173reee0455727cfd00f@mail.gmail.com> <4720D6D1.5070707@verizon.net> <4b008f7d0710251109s4344d5c7n7c3420ae0c771c42@mail.gmail.com> Message-ID: <4720DCD6.8070000@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alex Dehaini wrote: > I didn't see anything on jabber IM there Sorry, I meant Alex, not Andy. They don't mention it on the website, but if you download: There is a notify-by-jabber script with their tools. It's written in Perl, so I don't know what all it does. # notify_by_jabber - utility to send nagios alerts using Jabber Again, I don't know if this helps you or not, but I thought I would mention it. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHINzWHoeeepPau2ERAg/vAKC3/JRVkWnT+jkYDYOeMbCGrSPB0gCcC+PP svMvDkxlCm55Yt2DhGKll40= =R2+R -----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 alexdehaini at gmail.com Thu Oct 25 20:17:24 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Thu, 25 Oct 2007 18:17:24 +0000 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710251117u3efcd55ev79cfd2ad64595545@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <4b008f7d0710251039u2a4c1173reee0455727cfd00f@mail.gmail.com> <4720D6D1.5070707@verizon.net> <4b008f7d0710251109s4344d5c7n7c3420ae0c771c42@mail.gmail.com> <4720DCD6.8070000@verizon.net> <4b008f7d0710251117u3efcd55ev79cfd2ad64595545@mail.gmail.com> Message-ID: <4b008f7d0710251117w4eee1e19w1880b9e71e1cd09d@mail.gmail.com> > Thanks man, I will check it out. > > But if anyone has any practical and straight-forward way to do IM > notification, please let me know. > > Alex > > On 10/25/07, Max Hetrick wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Alex Dehaini wrote: > > > I didn't see anything on jabber IM there > > > > Sorry, I meant Alex, not Andy. > > > > They don't mention it on the website, but if you download: > > > > > > > > There is a notify-by-jabber script with their tools. It's written in > > Perl, so I don't know what all it does. > > > > # notify_by_jabber - utility to send nagios alerts using Jabber > > > > Again, I don't know if this helps you or not, but I thought I would > > mention it. > > > > Regards, > > Max > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.2.6 (GNU/Linux) > > > > iD8DBQFHINzWHoeeepPau2ERAg/vAKC3/JRVkWnT+jkYDYOeMbCGrSPB0gCcC+PP > > svMvDkxlCm55Yt2DhGKll40= > > =R2+R > > -----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 > > > > > > -- > 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 btmanmeh at verizon.net Thu Oct 25 20:20:36 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 25 Oct 2007 14:20:36 -0400 Subject: notification_options default In-Reply-To: <78926d250710251114n12b9b950wfb7bb426bf0f47a9@mail.gmail.com> References: <78926d250710251114n12b9b950wfb7bb426bf0f47a9@mail.gmail.com> Message-ID: <4720DE74.7000207@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 slamp slamp wrote: > what is the default options for notification_options for a service? i > inherited a nagios 2.9 setup on a centos 4.5. alot of the services do > not have notification_options, some do. Depends on what you want bugged about. I only do critical and recovery alerts for both hosts and services. I only want to know when the service goes down and comes back up. I don't really care about most unknown, warning, and flapping states, with a few exceptions. I wouldn't say there is a default for this, only want you want to get notifications about. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHIN50HoeeepPau2ERAiEwAJ9f1B15MWPQBfuCAxx7lxetrvPNMQCdH6Bt WzH6mCvAZ0+M+HmDxw+442g= =0rbI -----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 fvanhee at gmail.com Thu Oct 25 20:33:47 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Thu, 25 Oct 2007 20:33:47 +0200 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710251117w4eee1e19w1880b9e71e1cd09d@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <4b008f7d0710251039u2a4c1173reee0455727cfd00f@mail.gmail.com> <4720D6D1.5070707@verizon.net> <4b008f7d0710251109s4344d5c7n7c3420ae0c771c42@mail.gmail.com> <4720DCD6.8070000@verizon.net> <4b008f7d0710251117u3efcd55ev79cfd2ad64595545@mail.gmail.com> <4b008f7d0710251117w4eee1e19w1880b9e71e1cd09d@mail.gmail.com> Message-ID: <4720E18B.3070807@gmail.com> Alex Dehaini wrote: > > Thanks man, I will check it out. > > But if anyone has any practical and straight-forward way to do IM > notification, please let me know. > > Alex > > On 10/25/07, * Max Hetrick* > wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Alex Dehaini wrote: > > I didn't see anything on jabber IM there > > Sorry, I meant Alex, not Andy. > > They don't mention it on the website, but if you download: > > > > > There is a notify-by-jabber script with their tools. It's > written in > Perl, so I don't know what all it does. > > # notify_by_jabber - utility to send nagios alerts using Jabber > > Again, I don't know if this helps you or not, but I thought I > would > mention it. > > Regards, > Max > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFHINzWHoeeepPau2ERAg/vAKC3/JRVkWnT+jkYDYOeMbCGrSPB0gCcC+PP > svMvDkxlCm55Yt2DhGKll40= > =R2+R > -----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 > > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > > > > > -- > 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 Would anyone be interested in a how-to to setup a local jabber server and jabber IM with Nagios ? Please let me know, I am willing to write a little how-to. 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 junkski at bredband.net Thu Oct 25 20:52:30 2007 From: junkski at bredband.net (JunkMail) Date: Thu, 25 Oct 2007 20:52:30 +0200 Subject: contact_groups not working for services Message-ID: <4720E5EE.7080005@bredband.net> Hi, We use contact groups with our hosts to deliver notifications. It only works for host states though. When using contacts with the host service states are also sent notifications for. I've tried both 3.0b3 and 3.0b5, same thing. Since host notifications are sent out the contact group itself is apparently applied, it's just the notifications for services that isn't working. I've set up tests where I can see in the notifications log that notifications are/are not sent out correctly. Working for hosts but not services: define host{ use linux-server host_name localhost alias localhost address 127.0.0.1 contact_groups test } Working for both hosts and services: define host{ use linux-server host_name localhost alias localhost address 127.0.0.1 contacts test } Best regards, Tina Danielsson ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akennedy at cyberlinkint.com Thu Oct 25 21:30:05 2007 From: akennedy at cyberlinkint.com (Adam Kennedy) Date: Thu, 25 Oct 2007 15:30:05 -0400 Subject: Nagios and IM notification In-Reply-To: <4720E18B.3070807@gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <4b008f7d0710251039u2a4c1173reee0455727cfd00f@mail.gmail.com> <4720D6D1.5070707@verizon.net> <4b008f7d0710251109s4344d5c7n7c3420ae0c771c42@mail.gmail.com> <4720DCD6.8070000@verizon.net> <4b008f7d0710251117u3efcd55ev79cfd2ad64595545@mail.gmail.com> <4b008f7d0710251117w4eee1e19w1880b9e71e1cd09d@mail.gmail.com> <4720E18B.3070807@gmail.com> Message-ID: <4720EEBD.1030506@cyberlinkint.com> Odd that this thread started today, I was just asked by our IT Director if this is possible. I would be interested in a how-to on Jabber server + nagios Vanhee Frederik wrote: > Alex Dehaini wrote: >> Thanks man, I will check it out. >> >> But if anyone has any practical and straight-forward way to do IM >> notification, please let me know. >> >> Alex >> >> On 10/25/07, * Max Hetrick* > > wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Alex Dehaini wrote: >> > I didn't see anything on jabber IM there >> >> Sorry, I meant Alex, not Andy. >> >> They don't mention it on the website, but if you download: >> >> > > >> >> There is a notify-by-jabber script with their tools. It's >> written in >> Perl, so I don't know what all it does. >> >> # notify_by_jabber - utility to send nagios alerts using Jabber >> >> Again, I don't know if this helps you or not, but I thought I >> would >> mention it. >> >> Regards, >> Max >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.6 (GNU/Linux) >> >> iD8DBQFHINzWHoeeepPau2ERAg/vAKC3/JRVkWnT+jkYDYOeMbCGrSPB0gCcC+PP >> svMvDkxlCm55Yt2DhGKll40= >> =R2+R >> -----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 >> >> >> >> >> -- >> Alex Dehaini >> Developer >> Site - www.alexdehaini.com >> Email - alexdehaini at gmail.com >> >> >> >> >> -- >> 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 > Would anyone be interested in a how-to to setup a local jabber server > and jabber IM with Nagios ? > Please let me know, I am willing to write a little how-to. > > 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 -- Adam Kennedy Network Administrator Cyberlink International Phone: 888-293-3693 x4352 Fax: 574-855-5761 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vtdude2007 at yahoo.com Thu Oct 25 21:54:48 2007 From: vtdude2007 at yahoo.com (vt dude2007) Date: Thu, 25 Oct 2007 12:54:48 -0700 (PDT) Subject: Monitor : MS SQL 2000 & Event Logs Message-ID: <276321.93108.qm@web45202.mail.sp1.yahoo.com> ALL -- Thanks for the help ! Up and running now on close to 10 servers : however, it's only the basic data. What tools are available in conjunction with Nagios to monitor Windows Event Logs and Sql Server 2000 as well ? I've googled galore and can't find any plugins (unless my google galore search is off). Any pointers would be appreciated, V. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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 25 22:00:01 2007 From: dennis at huenseler.net (=?ISO-8859-1?Q?Dennis_H=FCnseler?=) Date: Thu, 25 Oct 2007 22:00:01 +0200 Subject: contact_groups not working for services In-Reply-To: <4720E5EE.7080005@bredband.net> References: <4720E5EE.7080005@bredband.net> Message-ID: <4720F5C1.1070601@huenseler.net> Hi, did you define contacts for the services as well? Just defining contacts for the host wont be enough. kind regards, dennis > Hi, > > We use contact groups with our hosts to deliver notifications. It only > works for host states though. When using contacts with the host service > states are also sent notifications for. I've tried both 3.0b3 and 3.0b5, > same thing. > > Since host notifications are sent out the contact group itself is > apparently applied, it's just the notifications for services that isn't > working. I've set up tests where I can see in the notifications log that > notifications are/are not sent out correctly. > > Working for hosts but not services: > define host{ > use linux-server > host_name localhost > alias localhost > address 127.0.0.1 > contact_groups test > } > > Working for both hosts and services: > define host{ > use linux-server > host_name localhost > alias localhost > address 127.0.0.1 > contacts test > } > > Best regards, > Tina Danielsson > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 btmanmeh at verizon.net Thu Oct 25 22:07:09 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 25 Oct 2007 16:07:09 -0400 Subject: notification_options default In-Reply-To: <78926d250710251210h5d76967au3e91e92973b45295@mail.gmail.com> References: <78926d250710251114n12b9b950wfb7bb426bf0f47a9@mail.gmail.com> <4720DE74.7000207@verizon.net> <78926d250710251210h5d76967au3e91e92973b45295@mail.gmail.com> Message-ID: <4720F76D.1000200@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 slamp slamp wrote: > so you're pretty much saying that if notification_options is not > specified then you will not get notifcation at all? or does it depend > on the contact if that contact has service_notification_options set? Correct, if no notification options are in the service definition, then you will not receive a notification on that service. Same applies for hosts. If you don't want a host to bother you, but you want to be able to see status of something on the interface, you just don't put in a notification_option. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHIPdtHoeeepPau2ERAo9OAJ4idx1SNOWsynYUrwlWS6DdtgZncQCdEH9v zbzyy2K5s9E/euQa3q4CtLs= =tiGV -----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 btmanmeh at verizon.net Thu Oct 25 23:01:33 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Thu, 25 Oct 2007 17:01:33 -0400 Subject: notification_options default In-Reply-To: <4721028F.3090402@omniture.com> References: <78926d250710251114n12b9b950wfb7bb426bf0f47a9@mail.gmail.com><4720DE74.7000207@verizon.net><78926d250710251210h5d76967au3e91e92973b45295@mail.gmail.com> <4720F76D.1000200@verizon.net> <4721028F.3090402@omniture.com> Message-ID: <4721042D.7080409@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aaron Devey wrote: > The default for notification_options is changing (or has changed) in > later versions of nagios. Instead of leaving out notification_options > to disable alerts, you should explicitly configure your service to use > notification_options n, otherwise you'll see a lot of alerts when you > upgrade nagios. Hi, Aaron. Cool, I'll make sure to go through and start doing this now to my config. I looked and saw that they have mention of this under the object configuration overview for notification_options under services, but they don't have it up above in the example. Meaning, they have listed above: notification_options [w,u,c,r,f] Then when you scroll down to the paragraph explaining they mention none for the option. I feel silly, I've been running Nagios for a long time and completely missed this. Sorry for the wrong advise before! Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHIQQtHoeeepPau2ERAvCgAJ91RWqecUWAT87gcZ2Mz7Hv0G5tjQCgnJf2 2us259nE/k4rMBfElSr7dw0= =wRkY -----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 amontibello at gmail.com Fri Oct 26 00:56:59 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 25 Oct 2007 18:56:59 -0400 Subject: Monitor : MS SQL 2000 & Event Log In-Reply-To: <276321.93108.qm@web45202.mail.sp1.yahoo.com> References: <276321.93108.qm@web45202.mail.sp1.yahoo.com> Message-ID: check Nagios Exchange. NC_Net can do these things, as well as some other NRPE scripts. and other plugins SQL may be checked via performance counters and posibly WMI. availlibility of SQL server may be checked via some other ecripts check the archives of this user-lists. Several plugins give connection to Perfromance counters and only a few give access to WMI NC_Net and a several other things on Nagios Exchange give access to Event Logs.. Tony (Author of NC_Net) On 10/25/07, vt dude2007 wrote: > > ALL -- > > Thanks for the help ! > > Up and running now on close to 10 servers : however, it's only the basic > data. > > What tools are available in conjunction with Nagios to monitor Windows > Event Logs and Sql Server 2000 as well ? I've googled galore and can't find > any plugins (unless my google galore search is off). > > Any pointers would be appreciated, > > V. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Stanley.Hopcroft at Dest.gov.au Fri Oct 26 01:14:44 2007 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 26 Oct 2007 09:14:44 +1000 Subject: configuration directory and file directive ...perplexity [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: Dear Folks, I am writing to to express my gratitude for all the valuable (and good natured) contributions about this matter. All the suggestions were valuable and helpful. Thank you very much, Yours sincerely. 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 mwlucas at blackhelicopters.org Fri Oct 26 05:43:45 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Thu, 25 Oct 2007 23:43:45 -0400 Subject: check_nt and nsclient++: treat unknown as critical Message-ID: <20071026034345.GA53596@bewilderbeast.blackhelicopters.org> Hi, I'm using nsclient++ and check_nt to monitor services on a whole slew of Windows boxes. Works very nicely, but I have to change part of the system behavior and the plugin doesn't seem to have that option. When you check a service and the service is not installed, the plugin returns "unknown". I need to treat those unknowns as critical. In our environment, those errors mean that someone is playing games with their server. Any suggestions? Or should I use a different plugin if I want this behavior? I can get this with SNMP easily enough, but nsclient++ seems easiest. Thanks, ==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 gcoochey at sapphire.gi Fri Oct 26 09:52:52 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Fri, 26 Oct 2007 09:52:52 +0200 Subject: Monitor : MS SQL 2000 & Event Logs In-Reply-To: <276321.93108.qm@web45202.mail.sp1.yahoo.com> References: <276321.93108.qm@web45202.mail.sp1.yahoo.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A74D9@hermes.sapphire-int.gi> I seem to remember that there is a method to create traps from Windows events, you can then set up the SNMP Trap receiver with a passive service check in Nagios for hosts and configure Windows to send traps for particular Windows events in the event log. You need Windows Server, and to configure traps from the event log events do Start --> Run... --> evntwin Select Custom, and hit the Edit button to configure which events you want as traps. Rather undocumented little feature within Windows, which I think would work extremely well. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of vt dude2007 Sent: 25 October 2007 21:55 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitor : MS SQL 2000 & Event Logs ALL -- Thanks for the help ! Up and running now on close to 10 servers : however, it's only the basic data. What tools are available in conjunction with Nagios to monitor Windows Event Logs and Sql Server 2000 as well ? I've googled galore and can't find any plugins (unless my google galore search is off). Any pointers would be appreciated, V. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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 Fri Oct 26 10:15:04 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 26 Oct 2007 08:15:04 +0000 Subject: Nagios and IM notification In-Reply-To: <1193380509.9005.39.camel@bofh.dtnet.de> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <1193380509.9005.39.camel@bofh.dtnet.de> Message-ID: <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> That is the funny thing, I am sure I can use Jabber or another IM server installed beside the nagios server. We offer services to clients and these clients can use yahoo or hotmail IM services, we want nagios to be able to talk to these IM servers. Alex On 10/26/07, Sebastian Ries wrote: > > Hi > > > Basically, what I would like to see is this. A service or host goes > > down, nagios sends a notification to my yahoo IM, it appears as an > > offline if I am offline or a pop-up message if I am online. Can this > > be done? > > You Could use CenterICQ / CenterIM to arcieve this. > > Add an account for your nagios, run CenterIM in screen (be sure that it > ist running) and write a script that sends a message via command line. > http://www.centerim.org/index.php/Main_Page > > Regards > Sebastian Ries > > -- > ------------------------------------------------------------ > DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart > Tel: +49-711-849910-36 Fax: +49-711-849910-936 > WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de > -- 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 hpsekhon at googlemail.com Fri Oct 26 10:29:16 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 26 Oct 2007 09:29:16 +0100 Subject: check_nt and nsclient++: treat unknown as critical In-Reply-To: <20071026034345.GA53596@bewilderbeast.blackhelicopters.org> References: <20071026034345.GA53596@bewilderbeast.blackhelicopters.org> Message-ID: <4721A55C.2030300@googlemail.com> I suspect you'd have to either change the source code of the nsclient++ or to write a quick shell wrapper script around check_nt or check_nrpe for those checks. If the check return UNKNOWN because of a missing definition or some such, the shell can change it's return code and output to CRITICAL with some custom message. It's quite easy to do in Bash, I've done this in a couple of places myself, primarily to change the check_dhcp plugin to return warning on extra dhcp servers which indicates rogue dhcp on the network... so you should be able to do this for your windows checks, test the return codes and output and adjust them to your own specification. This is probably much easier than changing the source and recompiling nsclient++ everywhere (not to mention you only need a single point of change on your Nagios monitoring server rather that across all the windows servers). -h Hari Sekhon Michael W. Lucas wrote: > Hi, > > I'm using nsclient++ and check_nt to monitor services on a whole slew > of Windows boxes. Works very nicely, but I have to change part of the > system behavior and the plugin doesn't seem to have that option. > > When you check a service and the service is not installed, the plugin > returns "unknown". I need to treat those unknowns as critical. In > our environment, those errors mean that someone is playing games with > their server. > > Any suggestions? Or should I use a different plugin if I want this > behavior? I can get this with SNMP easily enough, but nsclient++ > seems easiest. > > Thanks, > ==ml > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Oct 26 10:48:41 2007 From: m.borsani at it.net (Marco Borsani) Date: Fri, 26 Oct 2007 10:48:41 +0200 Subject: Compare nagios.cfg parameteres between 1.4.1 e 2.10 Message-ID: <00f201c817ad$02dd7cb0$0900d40a@intranet.it.net> Hi all . I am looking at the differences between 1.4.1 and 2.10,including the default values. Here there are some compared parameters : Nagios 1.4.1 (used actually) : service_reaper_frequency=1 sleep_time=1 retention_update_interval=0 use_retained_program_state=0 check_for_orphaned_services=0 aggregate_status_updates=0 Nagios 2.10 (defaults after installation) : service_reaper_frequency=10 sleep_time=0.25 retention_update_interval=60 use_retained_program_state=1 check_for_orphaned_services=1 aggregate_status_updates=1 Do you see any performance (or other aspects) improvement ??? I have about 400 hosts and 1000 services Regards Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- 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 Sebastian.Ries at dtnet.de Fri Oct 26 11:38:52 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 26 Oct 2007 11:38:52 +0200 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <1193380509.9005.39.camel@bofh.dtnet.de> <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> Message-ID: <1193391532.18978.2.camel@bofh.dtnet.de> Hi Am Freitag, den 26.10.2007, 08:15 +0000 schrieb Alex Dehaini: > That is the funny thing, I am sure I can use Jabber or another IM > server installed beside the nagios server. We offer services to > clients and these clients can use yahoo or hotmail IM services, we > want nagios to be able to talk to these IM servers. I think I dont't really get what you want to do... Do you want to get service notifications via IM instead of mail or do you want to do a service check on your IM-servers that you get a message if these are not really working? Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsymonkj at gmail.com Fri Oct 26 11:44:44 2007 From: jsymonkj at gmail.com (joseph symon) Date: Fri, 26 Oct 2007 15:14:44 +0530 Subject: Nagios issue fix - 'obsessive_host_handler' is not defined anywhere! Message-ID: <83b47f4c0710260244h3694cb34xb8e0abc66988ab2e@mail.gmail.com> Hi Kausal, I have found an issue ('obsessive_host_handler' is not defined anywhere!) in the nagios mailing list http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg07094.html. But there is no fix mentioned in the thread. The exact fix which I have done is specified below: Create the file obsessive_host_handler with the following content: +++++++++++++++++++++++++++ # Based on # OBSESSIVE_SVC_HANDLER # Written by Ethan Galstad (nagios at nagils.org) # Last Modified: 07-19-2001 # # This script is intended to run as the OCSP command # on a distributed monitoring server. The script calls # submit_check_result_via_nsca to send the service check # results to the central monitoring server. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $3 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Location of the submit_check_result_via_nsca script SubmitCmd="/usr/local/nagios/libexec/eventhandlers/submit_check_result" # Convert the state string to the corresponding return code return_code=-1 case "$2" in UP) return_code=0 ;; DOWN) return_code=1 ;; UNREACHEBLE) return_code=2 ;; esac # Send the service check results to the central monitoring server $SubmitCmd "$1" $return_code "$3" +++++++++++++++++++++++++++ You need to specify the exact location of SubmitCmd. Here it is /usr/local/nagios/libexec/eventhandlers/submit_check_result. Add the command in commands configuration file according to nagios.cfg. The define part of command is specified below: +++++++++++++++++++++++++++ define command{ command_name obsessive_host_handler command_line /usr/local/nagios/libexec/obsessive_host_handler $HOSTNAME$ $SERVICESTATEID$ '$SERVICEOUTPUT$' } +++++++++++++++++++++++++++ Reload the nagios. This will fix the issue. Here the exact location of obsessive_host_handler is /usr/local/nagios/libexec/obsessive_host_handler. Modify it as per your requirement. -- Regards, Joseph Symon Bobcares.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 alexdehaini at gmail.com Fri Oct 26 11:45:47 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 26 Oct 2007 09:45:47 +0000 Subject: Nagios and IM notification In-Reply-To: <1193391532.18978.2.camel@bofh.dtnet.de> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <1193380509.9005.39.camel@bofh.dtnet.de> <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> <1193391532.18978.2.camel@bofh.dtnet.de> Message-ID: <4b008f7d0710260245m63ee7a08gccc374499991632@mail.gmail.com> If a service or host goes down, I want to be notified via IM On 10/26/07, Sebastian Ries wrote: > > Hi > > Am Freitag, den 26.10.2007, 08:15 +0000 schrieb Alex Dehaini: > > That is the funny thing, I am sure I can use Jabber or another IM > > server installed beside the nagios server. We offer services to > > clients and these clients can use yahoo or hotmail IM services, we > > want nagios to be able to talk to these IM servers. > > I think I dont't really get what you want to do... > > Do you want to get service notifications via IM instead of mail or do > you want to do a service check on your IM-servers that you get a message > if these are not really working? > > Regards > Sebastian Ries > > -- > ------------------------------------------------------------ > DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart > Tel: +49-711-849910-36 Fax: +49-711-849910-936 > WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sebastian.Ries at dtnet.de Fri Oct 26 11:56:52 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 26 Oct 2007 11:56:52 +0200 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710260245m63ee7a08gccc374499991632@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <1193380509.9005.39.camel@bofh.dtnet.de> <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> <1193391532.18978.2.camel@bofh.dtnet.de> <4b008f7d0710260245m63ee7a08gccc374499991632@mail.gmail.com> Message-ID: <1193392612.18978.7.camel@bofh.dtnet.de> Hi Am Freitag, den 26.10.2007, 09:45 +0000 schrieb Alex Dehaini: > If a service or host goes down, I want to be notified via IM So why not use CenterIM, it supports many IM-Protocolls and is scriptable via command line... e.g. echo test |centerim -s msg -p icq -t (I think centerim must be running while sending, that's why I mentioned running centerim in screen) Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 12:41:42 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 26 Oct 2007 10:41:42 +0000 Subject: Nagios and IM notification In-Reply-To: <1193392612.18978.7.camel@bofh.dtnet.de> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <1193380509.9005.39.camel@bofh.dtnet.de> <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> <1193391532.18978.2.camel@bofh.dtnet.de> <4b008f7d0710260245m63ee7a08gccc374499991632@mail.gmail.com> <1193392612.18978.7.camel@bofh.dtnet.de> Message-ID: <4b008f7d0710260341o4f9d9ae6x345fa923dfcaa1b7@mail.gmail.com> Can it send service and host notification to yahoo IM? On 10/26/07, Sebastian Ries wrote: > > Hi > > Am Freitag, den 26.10.2007, 09:45 +0000 schrieb Alex Dehaini: > > If a service or host goes down, I want to be notified via IM > So why not use CenterIM, it supports many IM-Protocolls and is > scriptable via command line... > > e.g. > echo test |centerim -s msg -p icq -t > > (I think centerim must be running while sending, that's why I mentioned > running centerim in screen) > > Regards > Sebastian Ries > > -- > ------------------------------------------------------------ > DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart > Tel: +49-711-849910-36 Fax: +49-711-849910-936 > WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sebastian.Ries at dtnet.de Fri Oct 26 12:46:51 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 26 Oct 2007 12:46:51 +0200 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710260341o4f9d9ae6x345fa923dfcaa1b7@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <1193380509.9005.39.camel@bofh.dtnet.de> <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> <1193391532.18978.2.camel@bofh.dtnet.de> <4b008f7d0710260245m63ee7a08gccc374499991632@mail.gmail.com> <1193392612.18978.7.camel@bofh.dtnet.de> <4b008f7d0710260341o4f9d9ae6x345fa923dfcaa1b7@mail.gmail.com> Message-ID: <1193395611.18978.9.camel@bofh.dtnet.de> Hi Am Freitag, den 26.10.2007, 10:41 +0000 schrieb Alex Dehaini: > Can it send service and host notification to yahoo IM? > As centerim can connect to the yahoo network, yes Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 13:03:59 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 26 Oct 2007 11:03:59 +0000 Subject: Nagios and IM notification In-Reply-To: <1193395611.18978.9.camel@bofh.dtnet.de> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <1193380509.9005.39.camel@bofh.dtnet.de> <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> <1193391532.18978.2.camel@bofh.dtnet.de> <4b008f7d0710260245m63ee7a08gccc374499991632@mail.gmail.com> <1193392612.18978.7.camel@bofh.dtnet.de> <4b008f7d0710260341o4f9d9ae6x345fa923dfcaa1b7@mail.gmail.com> <1193395611.18978.9.camel@bofh.dtnet.de> Message-ID: <4b008f7d0710260403h189ae439k3bf3c2af08edfeda@mail.gmail.com> In that case I will give it a spin. Are there instructions on how to integrate it with nagios? On 10/26/07, Sebastian Ries wrote: > > Hi > > Am Freitag, den 26.10.2007, 10:41 +0000 schrieb Alex Dehaini: > > Can it send service and host notification to yahoo IM? > > > As centerim can connect to the yahoo network, yes > > Regards > Sebastian Ries > > -- > ------------------------------------------------------------ > DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart > Tel: +49-711-849910-36 Fax: +49-711-849910-936 > WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sebastian.Ries at dtnet.de Fri Oct 26 13:27:57 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 26 Oct 2007 13:27:57 +0200 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710260403h189ae439k3bf3c2af08edfeda@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> <1193380509.9005.39.camel@bofh.dtnet.de> <4b008f7d0710260115j51229b8emb7d8692431f5351c@mail.gmail.com> <1193391532.18978.2.camel@bofh.dtnet.de> <4b008f7d0710260245m63ee7a08gccc374499991632@mail.gmail.com> <1193392612.18978.7.camel@bofh.dtnet.de> <4b008f7d0710260341o4f9d9ae6x345fa923dfcaa1b7@mail.gmail.com> <1193395611.18978.9.camel@bofh.dtnet.de> <4b008f7d0710260403h189ae439k3bf3c2af08edfeda@mail.gmail.com> Message-ID: <1193398077.18978.15.camel@bofh.dtnet.de> Hi Am Freitag, den 26.10.2007, 11:03 +0000 schrieb Alex Dehaini: > In that case I will give it a spin. Are there instructions on how to > integrate it with nagios? I've not looked for that... But it shouldn't be that complicated to define a command like notify-by-yahoo which uses the mentioned command... Maybe you post your command configuration when it works... Could help someone else, too. Another hint: - test if it is possible to send messages throug centerim as it is not running or - be shure that centerim is (and stayes) running! (maybe another script or a service check?) ;-) Regards Sebastian Ries > > > > On 10/26/07, Sebastian Ries wrote: > Hi > > Am Freitag, den 26.10.2007, 10:41 +0000 schrieb Alex Dehaini: > > Can it send service and host notification to yahoo IM? > > > As centerim can connect to the yahoo network, yes > > Regards > Sebastian Ries > > -- > ------------------------------------------------------------ > DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart > Tel: +49-711-849910-36 Fax: +49-711-849910-936 > WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.fortier at simondelivers.com Fri Oct 26 15:13:05 2007 From: joe.fortier at simondelivers.com (Josef Fortier) Date: Fri, 26 Oct 2007 08:13:05 -0500 Subject: Monitor : MS SQL 2000 & Event Logs In-Reply-To: <276321.93108.qm@web45202.mail.sp1.yahoo.com> References: <276321.93108.qm@web45202.mail.sp1.yahoo.com> Message-ID: <20071026131302.GA10330@simondelivers.com> > What tools are available in conjunction with Nagios to monitor Windows > Event Logs and Sql Server 2000 as well ? I've googled galore and can't > find any plugins (unless my google galore search is off). I think the natural fit is to install freetds, and use the SQL Client to query the DB directly. This 1) does the high level test naturally (can you log into the DB) 2) Reduces dependencies -- Joe Fortier ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 26 15:45:36 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Fri, 26 Oct 2007 13:45:36 +0000 (GMT) Subject: check_dhcp on infoblox Message-ID: <609592.59025.qm@web23309.mail.ird.yahoo.com> Has anyone successfully had any check_dhcp nagios plugin working on infoblox? I could not get it to working on Infoblox network appliance, I not even getting any log in infoblox logs I am running Nagios 2.5 on Suse enterprise linux 10, I am running check_dhcp version 0.1 Do you have ideas why check_dhcp.pl is not working for infoblox network alliances? What am I doing rough? Can you help please? ___________________________________________________________ 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 zkenton at outcome.com Fri Oct 26 16:17:18 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 26 Oct 2007 16:17:18 +0200 (CEST) Subject: Smart UPS SNMP? Message-ID: <20071026141718.3F952588003@desire.netways.de> Hi list I got a perl script off of the exchange which checks the health of an APC UPS through SNMP. Now running it from the command line like ./check_snmp_apcups -H hostname -C community it works wonderful, so I know the snmp agent is running on the UPS. However, when I run from within nagios, I get a warning return of SNMP agent is not responding, but I know its up and running? Any insight? - 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 Fri Oct 26 16:18:51 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 26 Oct 2007 16:18:51 +0200 (CEST) Subject: Smart UPS SNMP? Message-ID: <20071026141851.6D861588003@desire.netways.de> Hi list I got a perl script off of the exchange which checks the health of an APC UPS through SNMP. Now running it from the command line like ./check_snmp_apcups -H hostname -C community it works wonderful, so I know the snmp agent is running on the UPS. However, when I run from within nagios, I get a warning return of SNMP agent is not responding, but I know its up and running? Any insight? - 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 Fri Oct 26 16:27:39 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 26 Oct 2007 15:27:39 +0100 Subject: Smart UPS SNMP? In-Reply-To: <20071026141851.6D861588003@desire.netways.de> References: <20071026141851.6D861588003@desire.netways.de> Message-ID: <4721F95B.5050003@googlemail.com> Have you tried running it as the nagios user? Have you double checked your checkcommand is using the right macros $HOSTADDRESS$ and the the ip address of the apc ups host is correct? Perhaps nagios is using -H $HOSTADDRESS$ which is not the same as -H hostname? -h Hari Sekhon zack kenton wrote: > Hi list > > I got a perl script off of the exchange which checks the health of an APC UPS through SNMP. Now running it from the command line like ./check_snmp_apcups -H hostname -C community it works wonderful, so I know the snmp agent is running on the UPS. However, when I run from within nagios, I get a warning return of SNMP agent is not responding, but I know its up and running? Any insight? > > - 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 tom.vandenberg at connexeon.com Fri Oct 26 16:32:10 2007 From: tom.vandenberg at connexeon.com (Tom Van den Berg) Date: Fri, 26 Oct 2007 16:32:10 +0200 Subject: ndoutils-1.4b6: nebmodule_init error - nagios 3.0b4 Message-ID: <52ECA73D678B2D42818D78F3699F804E0597D1@zeta-alpha.connexeon.local> Hi, I have a problem with getting ndoutils working with nagios. I had no errors while compiling but when I try to start nagios I get following error in the nagios.log [root at voyager1-beta ndoutils-1.4b6]# tail -f /usr/local/nagios/var/nagios.log [1193405405] Event broker module '/usr/bin/ndomod.o' deinitialized successfully. [1193405405] Finished daemonizing... (New PID=25428) [1193406706] Caught SIGTERM, shutting down... [1193406706] Successfully shutdown... (PID=25428) [1193406706] Nagios 3.0b4 starting... (PID=29029) [1193406706] LOG VERSION: 2.0 [1193406706] ndomod: NDOMOD 1.4b6 (09-27-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1193406706] Error: Function nebmodule_init() in module '/usr/bin/ndomod.o' returned an error. Module will be unloaded. [1193406706] Event broker module '/usr/bin/ndomod.o' deinitialized successfully. [1193406706] Finished daemonizing... (New PID=29030) I have nagios nagios-3.0b4 installed and I'm using ndoutils-1.4b6 Any suggestions? Tom Van den Berg -------------- 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 mboeckman at servicemagic.com Fri Oct 26 16:34:50 2007 From: mboeckman at servicemagic.com (Boeckman, Matthew) Date: Fri, 26 Oct 2007 08:34:50 -0600 Subject: 3.0 and dependencies Message-ID: <67CC1D2D52F85747ADE6BC83A4A7A76402C224A5@Apollo.servicemagic.com> Is this the wrong list for this question? Is there a better forum for this discussion? Thanks -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Boeckman, Matthew Sent: Wednesday, October 24, 2007 1:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 3.0 and dependencies Hello - I'm running 3.0b3 and wanting to setup some service dependencies. I have read the docs, as well as object tricks and am looking for a little guidance on how best to proceed. I have a webserver farm that we monitor our application (a call to a servlet), our app engine (tomcat - check_proc for java, and check_http on port 8080) and apache (check_http). So our application check is dependent on the other 3. Similairly the tomcat check is dependent on the java process check. All services run on localhost for each system, so there is no host dependency check (host A runs apache/tomcat, but is not dependent in any way on apache/tomcat running on host B). Can I accomplish this with the servicegroup/dependent_servicegroup directives outlined here: http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_depen dency - and just leave all host definitions out of it? Or will that create an arbitrary relationship between all services in the servicegroup and all hosts they are runnign on? Thanks! Matthew ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 zkenton at outcome.com Fri Oct 26 16:49:33 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 26 Oct 2007 16:49:33 +0200 (CEST) Subject: Smart UPS SNMP? In-Reply-To: <4721F95B.5050003@googlemail.com> References: <4721F95B.5050003@googlemail.com> Message-ID: <20071026144933.345F7588003@desire.netways.de> Hi Hari Unforutnately the nagios user has no problem runnign the script from the command line, and I believe that the proper IP of the UPS has been provided in service definition. The snmp agent on the UPS just doesnt seem to like nagios. Could it be some sort of environmental variable? - 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]=5870 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgj at unb.ca Fri Oct 26 17:25:27 2007 From: mgj at unb.ca (Michael Jewett) Date: Fri, 26 Oct 2007 12:25:27 -0300 Subject: Host Dependencies Message-ID: <472206E7.9080103@unb.ca> Hi, I'm starting to monitor my Access Points with Nagios. The problem is they have "multiple" parents. Each AP is connected to the parent switch, which is simple, just a parent line in the APs host definition. If the switch goes down I don't get alerted about the 15 APs behind. The problem is these are thin APs, so they tunnel all their traffic back to a "Management Switch". If this "Management Switch" goes down then the APs reboot continually until they can re-establish their connection back to that "Management Switch". I thought about having multiple parents in the host definition, but this only suppresses warnings if both parents go down, not it only one goes down. Any suggestions? Thanks, Michael -- Michael Jewett Network Analyst ITS - Communications & Network Services mgj at unb.ca (506) 447-3022 (506) 453-3590 (FAX) ITS at UNB - Services, Solutions, Strategies ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Fri Oct 26 17:28:55 2007 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Fri, 26 Oct 2007 09:28:55 -0600 Subject: Host Dependencies In-Reply-To: <472206E7.9080103@unb.ca> References: <472206E7.9080103@unb.ca> Message-ID: <1689390EF608584D85BA56D958A5D1E44DE5B769FB@CorpExMBS1.arcadis-us.com> Host Dependencies. Make each AP dependent upon the WLC or Management Switch. Make the parent the actual switch that the AP connects to. Thanks, Garry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Jewett Sent: Friday, October 26, 2007 9:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host Dependencies Hi, I'm starting to monitor my Access Points with Nagios. The problem is they have "multiple" parents. Each AP is connected to the parent switch, which is simple, just a parent line in the APs host definition. If the switch goes down I don't get alerted about the 15 APs behind. The problem is these are thin APs, so they tunnel all their traffic back to a "Management Switch". If this "Management Switch" goes down then the APs reboot continually until they can re-establish their connection back to that "Management Switch". I thought about having multiple parents in the host definition, but this only suppresses warnings if both parents go down, not it only one goes down. Any suggestions? Thanks, Michael -- Michael Jewett Network Analyst ITS - Communications & Network Services mgj at unb.ca (506) 447-3022 (506) 453-3590 (FAX) ITS at UNB - Services, Solutions, Strategies ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgj at unb.ca Fri Oct 26 18:20:41 2007 From: mgj at unb.ca (Michael Jewett) Date: Fri, 26 Oct 2007 13:20:41 -0300 Subject: Host Dependencies In-Reply-To: <1689390EF608584D85BA56D958A5D1E44DE5B769FB@CorpExMBS1.arcadis-us.com> References: <472206E7.9080103@unb.ca> <1689390EF608584D85BA56D958A5D1E44DE5B769FB@CorpExMBS1.arcadis-us.com> Message-ID: <472213D9.1090505@unb.ca> Can I do something like this? define hostdependency{ host_name 2380-hh-1 notification_failure_criteria d,u dependent_hostgroup Access-Points } Instead of listing each AP out separately? Michael On 2007-10-26 12:28 PM, Cook, Garry wrote: > Host Dependencies. Make each AP dependent upon the WLC or Management Switch. Make the parent the actual switch that the AP connects to. > > Thanks, > Garry > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Jewett > Sent: Friday, October 26, 2007 9:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host Dependencies > > Hi, > > I'm starting to monitor my Access Points with Nagios. The problem is > they have "multiple" parents. Each AP is connected to the parent > switch, which is simple, just a parent line in the APs host definition. > If the switch goes down I don't get alerted about the 15 APs behind. > > The problem is these are thin APs, so they tunnel all their traffic back > to a "Management Switch". If this "Management Switch" goes down then > the APs reboot continually until they can re-establish their connection > back to that "Management Switch". > > I thought about having multiple parents in the host definition, but this > only suppresses warnings if both parents go down, not it only one goes down. > > Any suggestions? > > Thanks, > > Michael > > > -- > Michael Jewett > Network Analyst > ITS - Communications & Network Services > mgj at unb.ca (506) 447-3022 (506) 453-3590 (FAX) > > ITS at UNB - Services, Solutions, Strategies > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibite d and disclaimed by ARCADIS U.S., Inc. and its affiliates. -- Michael Jewett Network Analyst ITS - Communications & Network Services mgj at unb.ca (506) 447-3022 (506) 453-3590 (FAX) ITS at UNB - Services, Solutions, Strategies ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 26 18:40:42 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 26 Oct 2007 17:40:42 +0100 Subject: Smart UPS SNMP? In-Reply-To: <20071026144933.345F7588003@desire.netways.de> References: <4721F95B.5050003@googlemail.com> <20071026144933.345F7588003@desire.netways.de> Message-ID: <4722188A.3010402@googlemail.com> To be honest, I have had similar problems on one or two occasions in the last year and a half and it's always been something subtly wrong in configuration. Nagios only executes the plugin the same way that you would from the command line, so I'm not sure about a difference of environment variables. If I recall correctly, the environment variables should be reset by Nagios, so perhaps if you are relying on them then that is your problem, but this seems less likely to me. You could try doing a "su - nagiosuser" and then removing all environment variables and then re-running the plugin exactly as it appears in your definitions taking your macros into account. Remember that $HOSTADDRESS$ is not hostname but ip address specified in your hosts configuration file. Then the test should be closer to what you are actually getting Nagios to do. -h Hari Sekhon zack kenton wrote: > Hi Hari > > Unforutnately the nagios user has no problem runnign the script from the command line, and I believe that the proper IP of the UPS has been provided in service definition. The snmp agent on the UPS just doesnt seem to like nagios. Could it be some sort of environmental variable? > > > - 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]=5870 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 hpsekhon at googlemail.com Fri Oct 26 18:47:06 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 26 Oct 2007 17:47:06 +0100 Subject: check_dhcp on infoblox In-Reply-To: <609592.59025.qm@web23309.mail.ird.yahoo.com> References: <609592.59025.qm@web23309.mail.ird.yahoo.com> Message-ID: <47221A0A.20408@googlemail.com> trevor obba wrote: > Has anyone successfully had any check_dhcp nagios plugin working on infoblox? I could not get it to working on Infoblox > network appliance, I not even getting any log in infoblox logs > It should work from your linux server over the standard ethernet for any dhcp server that responds over the network. If your black box solution "Infoblox" which I am not familiar with, actually responds to dhcp requests with dhcp offers then it should work the same as any other dhcp server test. > I am running Nagios 2.5 on Suse enterprise linux 10, I am running check_dhcp > version 0.1 > > Do you have ideas why check_dhcp.pl is not working for infoblox network > alliances? What am I doing rough? Can you help please? > > Version 0.1? That sounds completely wrong. I am using the standard plugin from the nagios plugins distribution which is not a perl plugin but a compiled plugin, and that is version 1.8 from nagios-plugins 1.4.8. Check you are using the right plugin and then try again? -h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlozier at spindletopoil.com Fri Oct 26 20:12:02 2007 From: mlozier at spindletopoil.com (Matt Lozier) Date: Fri, 26 Oct 2007 13:12:02 -0500 Subject: SNMP and Nagio newbie question. Message-ID: Hello, I've got Nagios installed and configured managing several Linux and Windows XP boxes. On each of the Windows machines I have the SNMP utilities installed, so that if I execute: #> snmpwalk -v 2c -c I retrieve the contents of the MIB. The print out lists lots of useful information, among which is a listing of each program that is installed on the Windows machine. My question: Is there an easy way for Nagios to retrieve this information, or do I need to write a shell script that executes the SNMPwalk, and parses out the needed info? Any and all input is appreciated! Thank you, --- Matt Lozier IT Analyst 972.644.2581, ext. 248 972.661.2701 fax The information contained in this message or any attached document is confidential and intended only for the individual(s) or entity to which it is addressed. The information should be considered privileged and confidential. If you are not the intended recipient, you are hereby notified that any unauthorized use of the information contained in or transmitted with the communication, or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please inform the sender by immediately returning this communication to the sender and then deleting the original message and any copy of it in your possession. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3595 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 mark.potter at academy.com Fri Oct 26 20:19:56 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Fri, 26 Oct 2007 13:19:56 -0500 Subject: SNMP and Nagio newbie question. In-Reply-To: References: Message-ID: > Hello, > > I?ve got Nagios installed and configured managing several Linux and > Windows XP boxes. On each of the Windows machines I have the SNMP > utilities installed, so that if I execute: > > #> snmpwalk ?v 2c ?c > > I retrieve the contents of the MIB. The print out lists lots of > useful information, among which is a listing of each program that is > installed on the Windows machine. > > My question: Is there an easy way for Nagios to retrieve this > information, or do I need to write a shell script that executes the > SNMPwalk, and parses out the needed info? > > Any and all input is appreciated! > > Thank you, > > --- > Matt Lozier > IT Analyst > 972.644.2581, ext. 248 > 972.661.2701 fax > > [image removed] > > The information contained in this message or any attached document > is confidential and intended only for the individual(s) or entity to > which it is addressed. The information should be considered > privileged and confidential. If you are not the intended recipient, > you are hereby notified that any unauthorized use of the information > contained in or transmitted with the communication, or > dissemination, distribution, or copying of this communication is > strictly prohibited by law. If you have received this communication > in error, please inform the sender by immediately returning this > communication to the sender and then deleting the original message > and any copy of it in your possession. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null check_snmp -h in the libexec dir will give you the information that you seek. You will need to define a command but check_snmp should do what you need it to do. -------------- 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 mlozier at spindletopoil.com Fri Oct 26 21:10:20 2007 From: mlozier at spindletopoil.com (Matt Lozier) Date: Fri, 26 Oct 2007 14:10:20 -0500 Subject: SNMP and Nagio newbie question. In-Reply-To: References: Message-ID: Hi Mark, Thank you for taking the time to respond to my question - much appreciated! One more question branching off of your input: to get *every* instance of 'hrSWInstalledName.X' would I need to write a shell script to serve as a wrapper program? Or is there a way to get check_snmp to do this for me? Many thanks, --- Matt Lozier IT Analyst 972.644.2581, ext. 248 972.661.2701 fax The information contained in this message or any attached document is confidential and intended only for the individual(s) or entity to which it is addressed. The information should be considered privileged and confidential. If you are not the intended recipient, you are hereby notified that any unauthorized use of the information contained in or transmitted with the communication, or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please inform the sender by immediately returning this communication to the sender and then deleting the original message and any copy of it in your possession. _____ 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: Friday, October 26, 2007 1:20 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SNMP and Nagio newbie question. > Hello, > > I've got Nagios installed and configured managing several Linux and > Windows XP boxes. On each of the Windows machines I have the SNMP > utilities installed, so that if I execute: > > #> snmpwalk -v 2c -c > > I retrieve the contents of the MIB. The print out lists lots of > useful information, among which is a listing of each program that is > installed on the Windows machine. > > My question: Is there an easy way for Nagios to retrieve this > information, or do I need to write a shell script that executes the > SNMPwalk, and parses out the needed info? > > Any and all input is appreciated! > > Thank you, > > --- > Matt Lozier > IT Analyst > 972.644.2581, ext. 248 > 972.661.2701 fax > > [image removed] > > The information contained in this message or any attached document > is confidential and intended only for the individual(s) or entity to > which it is addressed. The information should be considered > privileged and confidential. If you are not the intended recipient, > you are hereby notified that any unauthorized use of the information > contained in or transmitted with the communication, or > dissemination, distribution, or copying of this communication is > strictly prohibited by law. If you have received this communication > in error, please inform the sender by immediately returning this > communication to the sender and then deleting the original message > and any copy of it in your possession. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null check_snmp -h in the libexec dir will give you the information that you seek. You will need to define a command but check_snmp should do what you need it to do. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3595 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 mark.potter at academy.com Fri Oct 26 21:28:36 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Fri, 26 Oct 2007 14:28:36 -0500 Subject: SNMP and Nagio newbie question. In-Reply-To: <6al73f$1ud58l@ironport01.academy.com> References: <6al73f$1ud58l@ironport01.academy.com> Message-ID: "Matt Lozier" wrote on 10/26/2007 02:10:20 PM: > Hi Mark, > > Thank you for taking the time to respond to my question ? much appreciated! > > One more question branching off of your input: to get *every* > instance of ?hrSWInstalledName.X? would I need to write a shell > script to serve as a wrapper program? Or is there a way to get > check_snmp to do this for me? > > Many thanks, > > --- What exactly are you wanting to monitor? Are you looking to make sure certain things are installed or trying to make sure that nothing outside of certain things get installed? I think that more information is needed in order to discern what is best for 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 mlozier at spindletopoil.com Fri Oct 26 22:34:46 2007 From: mlozier at spindletopoil.com (Matt Lozier) Date: Fri, 26 Oct 2007 15:34:46 -0500 Subject: SNMP and Nagio newbie question. In-Reply-To: References: Message-ID: Mark, Well, I'm trying to monitor both. I just want to be able to get a listing at a moment's notice of which applications are installed on a given machine. Seems that it would be easy enough, using the check_snmp plugin, to write a wrapper program that will notify me via e-mail should a given application be installed on someone's machine, or if a given application was removed from a machine. But I'd really like to get a listing of all of the installed apps. I currently use SNMP w/Nagios to get a listing of all running applications (everything that gets listed in the task manager) and services on a given machine, and I'd like to have similar functionality with installed programs. All advice is appreciated. Thank you, --- Matt Lozier IT Analyst 972.644.2581, ext. 248 972.661.2701 fax The information contained in this message or any attached document is confidential and intended only for the individual(s) or entity to which it is addressed. The information should be considered privileged and confidential. If you are not the intended recipient, you are hereby notified that any unauthorized use of the information contained in or transmitted with the communication, or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please inform the sender by immediately returning this communication to the sender and then deleting the original message and any copy of it in your possession. _____ 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: Friday, October 26, 2007 2:29 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SNMP and Nagio newbie question. "Matt Lozier" wrote on 10/26/2007 02:10:20 PM: > Hi Mark, > > Thank you for taking the time to respond to my question - much appreciated! > > One more question branching off of your input: to get *every* > instance of 'hrSWInstalledName.X' would I need to write a shell > script to serve as a wrapper program? Or is there a way to get > check_snmp to do this for me? > > Many thanks, > > --- What exactly are you wanting to monitor? Are you looking to make sure certain things are installed or trying to make sure that nothing outside of certain things get installed? I think that more information is needed in order to discern what is best for you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 3595 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 amontibello at gmail.com Sat Oct 27 01:30:11 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 26 Oct 2007 19:30:11 -0400 Subject: check_nt and nsclient++: treat unknown as critical In-Reply-To: <20071026034345.GA53596@bewilderbeast.blackhelicopters.org> References: <20071026034345.GA53596@bewilderbeast.blackhelicopters.org> Message-ID: Hi Michael, This is the default behaviour of NC_NEt. since you are using Check_nt it should not require any modification of Nagios config files to get running. Worst case scenario is you can test it out and try an alternate plugin if you do not like it. Good Luck Tony (Author of NC_Net) On 10/25/07, Michael W. Lucas wrote: > > Hi, > > I'm using nsclient++ and check_nt to monitor services on a whole slew > of Windows boxes. Works very nicely, but I have to change part of the > system behavior and the plugin doesn't seem to have that option. > > When you check a service and the service is not installed, the plugin > returns "unknown". I need to treat those unknowns as critical. In > our environment, those errors mean that someone is playing games with > their server. > > Any suggestions? Or should I use a different plugin if I want this > behavior? I can get this with SNMP easily enough, but nsclient++ > seems easiest. > > Thanks, > ==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 > -------------- 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 jtabasz at cisco.com Sat Oct 27 02:55:53 2007 From: jtabasz at cisco.com (John Tabasz (jtabasz)) Date: Fri, 26 Oct 2007 17:55:53 -0700 Subject: NRPE error "CHECK_NRPE: Response packet had invalid CRC32" In-Reply-To: <46B0FB37.2080604@intercable.com.ve> References: <4E20E7F01BC85746A7A29FDFBFEC988D05885B84@MAIL-STORE-1.pppl.gov> <46B0FB37.2080604@intercable.com.ve> Message-ID: <999D9C7316770741A028EF2A88B8E46804043C30@xmb-sjc-22a.amer.cisco.com> Hi, Nagios 2.9 NRPE 2.8.1 Solaris 2.8 on both Client and Server hosts. I'm trying to test whether nrpe works on a client host. I have built nrpe on my server host and copied it to the client. I have inetd set up to start the nrpe daemon as needed. I'm running into the classic problem mentioned in the subject. To get this I run, while logged in to the client box, #/opt/nagios/libexec/check_nrpe -n -H 127.0.0.1 -c check_procs The response comes back: CHECK_NRPE: Response packet had invalid CRC32 I found a reference to a patch for this developed by Simon Kitching some time in 2003 or 2004 that redirects the STD_ERR of the output of the check command to /dev/null: http://osdir.com/ml/network.nagios.devel/2004-03/msg00004.html (It's at the bottom of the page) What do I do with this patch? Is it already incorporated into the source code of Nagios 2.9? Does everyone run nrpe as a standalone daemon? Apparantly running this way causes the STD_ERR to be redirected to /dev/null already. I would rather use inetd to control operation of the nrpe. Please advise. Thanks John ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Oct 27 04:03:54 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 26 Oct 2007 22:03:54 -0400 Subject: Monitor : MS SQL 2000 & Event Logs In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A74D9@hermes.sapphire-int.gi> References: <276321.93108.qm@web45202.mail.sp1.yahoo.com> <9D30659ABCA7FB428CF91E386C3A57449A74D9@hermes.sapphire-int.gi> Message-ID: <47229C8A.3030107@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 26/10/07 03:52 AM, Giles Coochey wrote: > I seem to remember that there is a method to create traps from Windows > events, you can then set up the SNMP Trap receiver with a passive > service check in Nagios for hosts and configure Windows to send traps > for particular Windows events in the event log. > > > > You need Windows Server, and to configure traps from the event log > events do Start ? Run? ? evntwin > > Select Custom, and hit the Edit button to configure which events you > want as traps. > > > > Rather undocumented little feature within Windows, which I think would > work extremely well. Indeed. I used it in the past. I used SNMPTT for trap translations with submit_check_result (script bundled with Nagios) to send back results to Nagios. You can also export the configs from evntwin and import them directly to remote servers with evntcmd. While this is only a matter of preference, I used Volatile service leaving active checks on. The active check command runs something like 'check_dummy 0 "Trap reset on $LONGDADETIME$"' so that by forcing an active check you can reset the Trap service to the OK state (another option I guess would be to have it set as a passive check with freshness checking with the same active command but I haven't tried that). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHIpyK6dZ+Kt5BchYRApLTAKCoC5HB2QeuSc7Je5Ud7I8WZii4AACfY1Ci rlgzOeBS9Qv+YPSs2it3ofQ= =Vg8z -----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 fvanhee at gmail.com Sat Oct 27 14:40:24 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Sat, 27 Oct 2007 14:40:24 +0200 Subject: Nagios and IM notification In-Reply-To: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> References: <4b008f7d0710250927u1746f02dldd0c57999e428bdd@mail.gmail.com> Message-ID: <472331B8.1080704@gmail.com> Alex Dehaini wrote: > Hi everyone. > > I have been using nagios for a couple of months and it's a wonderful > NMS. I have successfully implemented email and SMS notification. I was > wondering how I could send notifications using Instant Messaging > particularly yahoo IM service. > > Basically, what I would like to see is this. A service or host goes > down, nagios sends a notification to my yahoo IM, it appears as an > offline if I am offline or a pop-up message if I am online. Can this > be done? > > Regards, > > -- > 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, I wanted to add a documentation on setting up jabber notification with Nagios on the Nagioscommunity website, but it is already there, written by someone else. you can find it on : http://xavier.dusart.free.fr/nagios/en/jabber.html 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 marc at ena.com Sat Oct 27 17:29:51 2007 From: marc at ena.com (Marc Powell) Date: Sat, 27 Oct 2007 10:29:51 -0500 Subject: Host Dependencies In-Reply-To: <472213D9.1090505@unb.ca> References: <472213D9.1090505@unb.ca> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Jewett > Sent: Friday, October 26, 2007 11:21 AM > To: Cook, Garry > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host Dependencies > > Can I do something like this? > > define hostdependency{ > host_name 2380-hh-1 > notification_failure_criteria d,u > dependent_hostgroup Access-Points > } I haven't tried it myself but the implication from http://nagios.sourceforge.net/docs/2_0/templatetricks.html#hostdependenc y, presuming that Access-Points is a hostgroup, is that you can use define hostdependency{ host_name 2380-hh-1 notification_failure_criteria d,u dependent_hostgroup_name Access-Points } All hosts in Access-Points would then be dependent on 2380-hh-1. Should be straightforward to TAFO. -- 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 fvanhee at gmail.com Sat Oct 27 19:30:34 2007 From: fvanhee at gmail.com (Vanhee Frederik) Date: Sat, 27 Oct 2007 19:30:34 +0200 Subject: nagios freeze while a long time In-Reply-To: References: Message-ID: <472375BA.6090807@gmail.com> Detrak wrote: > Hi, > > > We use Nagios on several servers, in version 2.9 with NDO 1.4b5 and > perf2rdd (nagios write performance data in a pipe file and perf2rrd > perform it in rrd file). Running on RHEL4 with package from > dag.wieers.com > > we have 80 hosts and 420 services on this server. > > > > We can see some huge gaps in our graphs, perf2rrd works fine, my > first investigation shows this message in nagios.log file : > [1193178252] ndomod: Error writing to data sink! Some output may get > lost... > [1193178268] ndomod: Successfully reconnected to data sink! 0 items > lost, 240 queued items to flush. > [1193178269] ndomod: Successfully flushed 240 queued items to data sink. > [1193187298] Warning: A system time change of 8729 seconds (forwards > in time) has been detected. Compensating... > [1193190553] Warning: A system time change of 3255 seconds (forwards > in time) has been detected. Compensating... > > > > we have recompiled nagios with debug mode : > --enable-DEBUG2 shows warning messages > --enable-DEBUG3 shows scheduled events > > we don't use le DEBUG0 because it generates too much informations and > the log file increases too fast. > > > so, I found this message in debug information, with the last gap : > - Masquer le texte des messages pr?c?dents - > > > *** Event Check Loop *** > Current time: Wed Oct 24 00:29:29 2007 > Next High Priority Event Time: Wed Oct 24 00:29:30 2007 > Next Low Priority Event Time: Wed Oct 24 00:29:29 2007 > Current/Max Outstanding Service Checks: 19/65 > *** Event Details *** > Event time: Wed Oct 24 00:29:29 2007 > Event type: 0 (service check) > Service Description: LOAD_AVERAGE at LOADAVERAGE > Associated Host: SGBD1 > Checking service 'LOAD_AVERAGE at LOADAVERAGE' on host 'SGBD1'... > > - Masquer le texte des messages pr?c?dents - > *** Event Check Loop *** > Current time: Wed Oct 24 00:29:29 2007 > Next High Priority Event Time: Wed Oct 24 00:29:30 2007 > Next Low Priority Event Time: Wed Oct 24 00:29:29 2007 > Current/Max Outstanding Service Checks: 20/65 > *** Event Details *** > Event time: Wed Oct 24 00:29:29 2007 > Event type: 0 (service check) > Service Description: LOAD_AVERAGE at LOADAVERAGE > Associated Host: INTEG > Checking service 'LOAD_AVERAGE at LOADAVERAGE' on host 'INTEG'... > Warning: A system time change of 8729 seconds (forwards in time) has > been detected. Compensating... > > *** Event Check Loop *** > Current time: Wed Oct 24 02:54:58 2007 > Next High Priority Event Time: Wed Oct 24 02:54:59 2007 > Next Low Priority Event Time: Wed Oct 24 02:54:58 2007 > Current/Max Outstanding Service Checks: 21/65 > *** Event Details *** > Event time: Wed Oct 24 02:54:58 2007 > Event type: 0 (service check) > Service Description: MONITOR_TELNET_SUIVI_PS > Associated Host: PREPROD1 > Checking service 'MONITOR_TELNET_SUIVI_PS' on host 'PREPROD1'... > Warning: A system time change of 3255 seconds (forwards in time) has > been detected. Compensating... > > *** Event Check Loop *** > Current time: Wed Oct 24 03:49:13 2007 > Next High Priority Event Time: Wed Oct 24 03:49:14 2007 > Next Low Priority Event Time: Wed Oct 24 03:49:13 2007 > Current/Max Outstanding Service Checks: 22/65 > *** Event Details *** > Event time: Wed Oct 24 03:49:13 2007 > Event type: 0 (service check) > Service Description: MONITOR_TELNET_SUIVI_PS > Associated Host: BIDS15 > Checking service 'MONITOR_TELNET_SUIVI_PS' on host 'BIDS15'... > > > we can see the jump > 00:29:29 to 02:54:58 > and 02:54:58 to 03:49:13 > > without activity in nagios! I dont understand this! > > > if you can give me some help to have a nagios server with more > stability. I dont know how to reproduce this bug. At the time a gap > was accuring, the server time was up to date. > > We have on this server more than a gap by day! > > > > best regards, > 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 At least you should upgrade to ndoutils 1.4b6, this solves already one problem, the very frequent disconnects and reconnects to the data sink. 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 grover1711 at gmail.com Sun Oct 28 14:50:03 2007 From: grover1711 at gmail.com (ankush grover) Date: Sun, 28 Oct 2007 19:20:03 +0530 Subject: Monitor NFS Mounts Message-ID: <5f638b360710280650w3d0d78c0pfadda4a121d298e4@mail.gmail.com> Hi friends, We are using Nagios to monitor around 500 Linux Servers. Now we want to monitor nfs mounts on few servers. For ex Server A: NFS server Server B: NFS Client Server C: NFS Client What we want to monitor nfs mounts on Servers B and C that is nfs clients that if Server A mount point is not mounting on Server B or C send an alert. Is there any plugin which can do the same? Regards Ankush ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 06:48:01 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 29 Oct 2007 01:48:01 -0400 Subject: Monitor NFS Mounts In-Reply-To: <5f638b360710280650w3d0d78c0pfadda4a121d298e4@mail.gmail.com> References: <5f638b360710280650w3d0d78c0pfadda4a121d298e4@mail.gmail.com> Message-ID: <47257411.1050706@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28/10/07 09:50 AM, ankush grover wrote: > Hi friends, > > We are using Nagios to monitor around 500 Linux Servers. Now we want > to monitor nfs mounts on few servers. For ex > > Server A: NFS server > Server B: NFS Client > Server C: NFS Client > > What we want to monitor nfs mounts on Servers B and C that is nfs > clients that if Server A mount point is not mounting on Server B or C > send an alert. Is there any plugin which can do the same? I believe you can do something like: ./check_rpc -H -C nfs This is not a full functionality check, but if you do one (something like reading a file off NFS) keep in mind that is can cause a lot of interruptible processes while your NFS server is down. A better solution might possibly be monitoring applications running on top of NFS, if that's possible in your specific case. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHJXQR6dZ+Kt5BchYRAvDIAKDg/4HTsCuYgE60xGvg7SzFnqLgcACg+SXc pIFp9wmqoNu6Do0ty40tv4E= =fDhF -----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 Mon Oct 29 09:30:08 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 29 Oct 2007 09:30:08 +0100 Subject: [Nagiosplug-help] check_dhcp on infoblox In-Reply-To: <47221A0A.20408@googlemail.com> References: <609592.59025.qm@web23309.mail.ird.yahoo.com> <47221A0A.20408@googlemail.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A7547@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: 26 October 2007 18:47 > To: trevor obba > Cc: nagiosplug; nagios-user > Subject: Re: [Nagios-users] [Nagiosplug-help] check_dhcp on infoblox > > trevor obba wrote: > > Has anyone successfully had any check_dhcp nagios plugin working on > infoblox? I could not get it to working on Infoblox > > network appliance, I not even getting any log in infoblox logs > > > It should work from your linux server over the standard ethernet for any > dhcp server that responds over the network. If your black box solution > "Infoblox" which I am not familiar with, actually responds to dhcp > requests with dhcp offers then it should work the same as any other dhcp > server test. > > I am running Nagios 2.5 on Suse enterprise linux 10, I am running > check_dhcp > > version 0.1 > > > > Do you have ideas why check_dhcp.pl is not working for infoblox network > > alliances? What am I doing rough? Can you help please? > > > > > Version 0.1? That sounds completely wrong. I am using the standard plugin > from the nagios plugins distribution which is not a perl plugin but a > compiled plugin, and that is version 1.8 from nagios-plugins 1.4.8. > > Check you are using the right plugin and then try again? > The Infoblox appliance is running a customised version of ISC dhcpd, check_dhcp should work just fine. I will give it a go at some point as we have a couple of these devices. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 29 11:39:43 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 29 Oct 2007 10:39:43 +0000 Subject: check_dhcp on infoblox In-Reply-To: <668884.35284.qm@web23312.mail.ird.yahoo.com> References: <668884.35284.qm@web23312.mail.ird.yahoo.com> Message-ID: <4725B86F.9000301@googlemail.com> Please make sure you reply to the mailing list rather than me personally. This way other people can follow the thread and help you as well, or see a solution if they have this problem and are reading an archive of it. What is your primary interface on the box on which you are running this plugin? If it is eth1 for example, the plugin uses eth0 by default and you will get no response on the interface because it is not the active one. In that case you would need to run ./check_dhcp -i eth1 to make it use the right interface. Also, have you tried doing ./check_dhcp -vvv [other options you need] could you please reply with the full output of that? We really need more information otherwise all we can do it guess what the problem is. -h Hari Sekhon trevor obba wrote: > Thanks for your reply. > > Sorry i am using using check_dhcp from nagios plugins > > ./check_dhcp -h > check_dhcp (nagios-plugins 1.4.3) 1.1 > Copyright (c) 2001-2004 Ethan Galstad (nagios at nagios.org) > > my black box (infoblox) lease ip addresses to windows workstation, linux workstation but not check_dhcp nagios plugin. > it does not even log any ip requirest from check_dhcp. > > Can you help? please. > > > ----- Original Message ---- > From: Hari Sekhon > To: trevor obba > Cc: nagiosplug ; nagios-user > Sent: Friday, 26 October, 2007 5:47:06 PM > Subject: Re: [Nagios-users] check_dhcp on infoblox > > trevor obba wrote: > >> Has anyone successfully had any check_dhcp nagios plugin working on infoblox? I could not get it to working on Infoblox >> network appliance, I not even getting any log in infoblox logs >> >> > It should work from your linux server over the standard ethernet for any > dhcp server that responds over the network. If your black box solution > "Infoblox" which I am not familiar with, actually responds to dhcp > requests with dhcp offers then it should work the same as any other dhcp > server test. > >> I am running Nagios 2.5 on Suse enterprise linux 10, I am running check_dhcp >> version 0.1 >> >> Do you have ideas why check_dhcp.pl is not working for infoblox network >> alliances? What am I doing rough? Can you help please? >> >> >> > Version 0.1? That sounds completely wrong. I am using the standard plugin from the nagios plugins distribution which is not a perl plugin but a compiled plugin, and that is version 1.8 from nagios-plugins 1.4.8. > > Check you are using the right plugin and then try again? > > -h > > > ___________________________________________________________ > 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 jmkeller at houseofzen.org Mon Oct 29 12:43:35 2007 From: jmkeller at houseofzen.org (James Michael Keller) Date: Mon, 29 Oct 2007 07:43:35 -0400 Subject: Check_snmp critical ranges? Message-ID: <4725C767.3080000@houseofzen.org> I'm monitoring the mode status of a UPS unit via check_snmp, and I only want to return critical on a few of the returns. I was doing ranges for critical: -c 1:2 4:8 11:12 Which should have been giving me alerts for 3, 9, and 10 only. However I'm still getting alerts on 12, which should be excluded. -- James Michael Keller ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bogdan.bolo at gmail.com Mon Oct 29 14:17:18 2007 From: bogdan.bolo at gmail.com (bolovan bogdan) Date: Mon, 29 Oct 2007 15:17:18 +0200 Subject: High number of hosts monitoring problem Message-ID: Hello , I have a problem monitoring a big number of Cisco and non unix hosts. ( about 5000) I use nagios 3.0a5. i do nothing but "host checks" to these hosts.( no service checks), as all I need is availability. I initially used check_ping for all and the hosts were polled in about 7-8 minutes. Check_ping opens about 100 -> 200 processes , and takes my machine to loads between 2 and 7 I have 50% free memory left and the CPU usage reaches 20% I tried "check_fping" for all ,( for a few hosts check_fping works just fine , it's way faster than normal ping) but the problem is that it opens lots and lots of processes that stay in the sleep state a while and then close. It reached 4000 processes if you can belive that and the load reached 270 :)) -- incredible right... This is not a server problem 4* Intel(R) Xeon(TM) CPU 3.40GHz 7GB RAM 280 GB HD space So is there any way to limit the number of fping processes ?? Should I upgrade to 3.0b5 ?? is there any major difference? Is this a known issue that is solved by changing some config line ?? Does anybody monitor a huge number of hosts with Nagios, if yes, how does he do it? Any help will be appreciated.. Thanks a lot Bogdan -------------- 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 Mon Oct 29 14:28:35 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 29 Oct 2007 14:28:35 +0100 Subject: High number of hosts monitoring problem In-Reply-To: References: Message-ID: <4725E003.1040908@op5.se> bolovan bogdan wrote: > Hello , > > I have a problem monitoring a big number of Cisco and non unix hosts. ( > about 5000) > I use nagios 3.0a5. > i do nothing but "host checks" to these hosts.( no service checks), as all I > need is availability. > > > I initially used check_ping for all and the hosts were polled in about 7-8 > minutes. > Check_ping opens about 100 -> 200 processes , and takes my machine to loads > between 2 and 7 > I have 50% free memory left and the CPU usage reaches 20% > > > I tried "check_fping" for all ,( for a few hosts check_fping works just fine > , it's way faster than normal ping) but the problem is that it opens lots > and lots of processes that stay in the sleep state a while and then close. > It reached 4000 processes if you can belive that and the load reached 270 > :)) > -- incredible right... > > This is not a server problem > > 4* Intel(R) Xeon(TM) CPU 3.40GHz > 7GB RAM > 280 GB HD space > > > > So is there any way to limit the number of fping processes ?? Use check_icmp instead. It will provide an enormous performance boost for you, especially if you do it like this: ln -s check_icmp check_host and then run check_host $HOSTADDRESS$ in your command object definition. > Should I upgrade to 3.0b5 ?? Yes. > is there any major difference? Yes. $ git diff --stat nagios-3.0a5 nagios-3.0b5 | tail -1 159 files changed, 11292 insertions(+), 8640 deletions(-) Besides that, nagios-3.0a5 is alpha-code, meaning "you're lucky if it runs a week straight without crashing", more or less. -- 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 Mon Oct 29 15:10:29 2007 From: florencio.cano at gmail.com (Florencio Cano) Date: Mon, 29 Oct 2007 15:10:29 +0100 Subject: Issue tracking system for Nagios Message-ID: Hi! I'm looking for a standard open source solution for tracking issues that come from different sources and that integrates well with Nagios. I want to be able to track from Windows Event Log events to Uptime statistics and I want to attach tasks to this issues in order to solve them. I have red information about Splunk and OneOrZero but OneOrZero seems outdated in its opensource version and Splunk has the 500mb limit and I'm not sure if they fullfill my requeriments. What are you using? -- 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 m.borsani at it.net Mon Oct 29 15:32:00 2007 From: m.borsani at it.net (Marco Borsani) Date: Mon, 29 Oct 2007 15:32:00 +0100 Subject: Directive "addressX" in the contacts Message-ID: <00c801c81a38$78ee19e0$0900d40a@intranet.it.net> Hi all I am testing the directive "addressX" in the contact definition... May anyone tell me how to use it ? I tried to put: email myname at domain.it address1 name at domain.it address2 name2 at domain2.it .... but mail arrived only to "myname" address .. any idea ?!?! Have I to use same tipology in addressX that in email or I can use a pager contact too ? Thanks a lot Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Weather Investments S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- 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 Mon Oct 29 15:45:07 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 29 Oct 2007 15:45:07 +0100 Subject: Directive "addressX" in the contacts In-Reply-To: <00c801c81a38$78ee19e0$0900d40a@intranet.it.net> References: <00c801c81a38$78ee19e0$0900d40a@intranet.it.net> Message-ID: <4725F1F3.2010000@op5.se> Marco Borsani wrote: > Hi all > > I am testing the directive "addressX" in the contact definition... > > May anyone tell me how to use it ? > > I tried to put: > > email myname at domain.it > address1 name at domain.it > address2 name2 at domain2.it > .... > > but mail arrived only to "myname" address .. any idea ?!?! > > Have I to use same tipology in addressX that in email or I can use a pager > contact too ? > You can use whatever you want, but you'll have to pass the addressX variables to the notification program you're using. I imagine that's the problem. Check the nagios docs for the correct name of the macros to use. AFAIR, it's $CONTACTADDRESS[1-6]$, but I might be mistaken. -- 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 g.digiambelardini at fabaris.it Mon Oct 29 14:24:55 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Mon, 29 Oct 2007 14:24:55 +0100 (CET) Subject: cgi problem Message-ID: <55704.192.168.1.1.1193664295.squirrel@webmail2.fabaris.it> Hi to all, I have a great problem, I installed on CentOs 4.5 nagios nagios-2.9-1.el4.rf.x86_64.rpm with apache 2.0.52, every thing go well until I try to open the webconsole. If I try to open Hose Detail, or Status Map or all another page I have this error: [Mon Oct 29 15:42:32 2007] [error] [client 10.10.10.1] Premature end of script headers: history.cgi, referer: http://10.10.10.1/nagios/side.html some body can help me??? thanks in advance ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.digiambelardini at fabaris.it Mon Oct 29 14:42:07 2007 From: g.digiambelardini at fabaris.it (Di Giambelardini Gabriele) Date: Mon, 29 Oct 2007 14:42:07 +0100 (CET) Subject: cgi problem In-Reply-To: <55704.192.168.1.1.1193664295.squirrel@webmail2.fabaris.it> References: <55704.192.168.1.1.1193664295.squirrel@webmail2.fabaris.it> Message-ID: <56291.192.168.1.1.1193665327.squirrel@webmail2.fabaris.it> Hi to all, I solved... the problem was selinux.... I hate selinux.. > Hi to all, I have a great problem, I installed on CentOs 4.5 nagios > nagios-2.9-1.el4.rf.x86_64.rpm with apache 2.0.52, every thing go well > until I try to open the webconsole. If I try to open Hose Detail, or > Status Map or all another page I have this error: > > [Mon Oct 29 15:42:32 2007] [error] [client 10.10.10.1] Premature end of > script headers: history.cgi, referer: http://10.10.10.1/nagios/side.html > > some body can help me??? > thanks in advance > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 mhanby at uab.edu Mon Oct 29 16:43:57 2007 From: mhanby at uab.edu (Mike Hanby) Date: Mon, 29 Oct 2007 10:43:57 -0500 Subject: cgi problem In-Reply-To: <56291.192.168.1.1.1193665327.squirrel@webmail2.fabaris.it> References: <55704.192.168.1.1.1193664295.squirrel@webmail2.fabaris.it> <56291.192.168.1.1.1193665327.squirrel@webmail2.fabaris.it> Message-ID: <16AE1027F52DD64CB278BD8950529B634F410F@UABEXMB5.ad.uab.edu> I hope you resolved the issue without permanently disabling SELinux. On my 2.10 install I've had to do the following to get Nagios web interface working with SELinux (note that I compiled and installed, so your file locations are probably different because of RPM install): # chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ # chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ # chcon -R -t httpd_sys_script_rw_t /usr/local/nagios/var/rw/ The last line was required so that you can "Acknowledge this host problem" and make comments and such. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Di Giambelardini Gabriele Sent: Monday, October 29, 2007 08:42 To: Di Giambelardini Gabriele Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] cgi problem Hi to all, I solved... the problem was selinux.... I hate selinux.. > Hi to all, I have a great problem, I installed on CentOs 4.5 nagios > nagios-2.9-1.el4.rf.x86_64.rpm with apache 2.0.52, every thing go well > until I try to open the webconsole. If I try to open Hose Detail, or > Status Map or all another page I have this error: > > [Mon Oct 29 15:42:32 2007] [error] [client 10.10.10.1] Premature end of > script headers: history.cgi, referer: http://10.10.10.1/nagios/side.html > > some body can help me??? > thanks in advance > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 mhanby at uab.edu Mon Oct 29 16:49:29 2007 From: mhanby at uab.edu (Mike Hanby) Date: Mon, 29 Oct 2007 10:49:29 -0500 Subject: check_nrpe trouble In-Reply-To: References: Message-ID: <16AE1027F52DD64CB278BD8950529B634F4114@UABEXMB5.ad.uab.edu> Could this be an SELinux issue? (modify below to point to the correct paths): You can test if this is the case before executing the chcon commands by running: $ sudo echo 0 > /selinux/enforce Then let schedule another nrpe check, if it succeeds, then run the chcon commands. $ sudo echo 1 > /selinux/enforce $ sudo chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ $ sudo chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ $ sudo chcon -R -t httpd_sys_script_rw_t /usr/local/nagios/var/rw/ -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hiamal Llanos Sent: Wednesday, October 17, 2007 17:06 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nrpe trouble Hi, I'm having trouble with check_nrpe and I don't know whats wrong, what I'm doing wrong. I followed the nagios and nrpe doc's but it don't work :-P /var/log/nagios2/nagios.log says: SERVICE ALERT: otherhost;nrpe_load;UNKNOWN;SOFT;1;(No output returned from plugin) But if I run the command on the terminal window it works happily: $ sudo -u nagios /usr/lib/nagios/plugins/check_nrpe -H otherhost -c check_load OK - load average: 0.00, 0.00, 0.00|load1=0..... Hope someone has som clues what could be wrong. The Nagios server host is a i386 smp with Debian Etch and otherhost is a amd64 x2 also with Debian Etch. On the Nagios server I'm runnig: nagios2 2.6-2+etch1 nagios-nrpe-plugin 2.5.1-3 nagios-nrpe-server 2.5.1-3 on otherhost: nagios-nrpe-plugin 2.5.1-3 nagios-nrpe-server 2.5.1-3 Nagios config: define service{ use generic-service host_name otherhost service_description nrpe_load check_command check_nrpe!check_load } nrpe config: command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 TiA ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 haydn.solomon at gmail.com Mon Oct 29 17:51:34 2007 From: haydn.solomon at gmail.com (Haydn Solomon) Date: Mon, 29 Oct 2007 12:51:34 -0400 Subject: check_nrpe trouble In-Reply-To: <16AE1027F52DD64CB278BD8950529B634F4114@UABEXMB5.ad.uab.edu> References: <16AE1027F52DD64CB278BD8950529B634F4114@UABEXMB5.ad.uab.edu> Message-ID: On 10/29/07, Mike Hanby wrote: > > Could this be an SELinux issue? (modify below to point to the correct > paths): > > You can test if this is the case before executing the chcon commands by > running: > > $ sudo echo 0 > /selinux/enforce > > Then let schedule another nrpe check, if it succeeds, then run the chcon > commands. > > $ sudo echo 1 > /selinux/enforce > $ sudo chcon -R -t httpd_sys_content_t /usr/local/nagios/sbin/ > $ sudo chcon -R -t httpd_sys_content_t /usr/local/nagios/share/ > $ sudo chcon -R -t httpd_sys_script_rw_t /usr/local/nagios/var/rw/ > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hiamal > Llanos > Sent: Wednesday, October 17, 2007 17:06 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_nrpe trouble > > Hi, > > I'm having trouble with check_nrpe and I don't know whats wrong, what > I'm doing wrong. > I followed the nagios and nrpe doc's but it don't work :-P > > /var/log/nagios2/nagios.log says: > SERVICE ALERT: otherhost;nrpe_load;UNKNOWN;SOFT;1;(No output returned > from plugin) > > But if I run the command on the terminal window it works happily: > $ sudo -u nagios /usr/lib/nagios/plugins/check_nrpe -H otherhost -c > check_load > OK - load average: 0.00, 0.00, 0.00|load1=0..... > > Hope someone has som clues what could be wrong. > > > The Nagios server host is a i386 smp with Debian Etch and otherhost > is a amd64 x2 also with Debian Etch. > > On the Nagios server I'm runnig: > nagios2 2.6-2+etch1 > nagios-nrpe-plugin 2.5.1-3 > nagios-nrpe-server 2.5.1-3 > > on otherhost: > nagios-nrpe-plugin 2.5.1-3 > nagios-nrpe-server 2.5.1-3 > > Nagios config: > define service{ > use generic-service > host_name otherhost > service_description nrpe_load > check_command check_nrpe!check_load > } > > nrpe config: > command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > > > TiA I would check everything from the server to the client to give a clue to problem. You can try checking in the following order. 1. run the check command locally ie. on the nrpe server run as user nagios ( or whatever user is configured in nrpe.cfg but nagios is default ) PATH/check_load -w 15.. 2. from the client run the command PATH/check_nrpe -H -c check_load These tests should narrow down your problem. Haydn ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 -------------- 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 mlozier at spindletopoil.com Mon Oct 29 18:24:17 2007 From: mlozier at spindletopoil.com (Matt Lozier) Date: Mon, 29 Oct 2007 12:24:17 -0500 Subject: NSClient++ install: "Too big to fit in memory" Message-ID: Hello, Has anyone ever run into this problem before when trying to install the NSClient as a service? At the command prompt I run: C:\> nsclient++ /install and the program reports "Too big to fit in memory" and finishes out. The service isn't installed - just closes out. Any input is appreciated! Thanks, --- Matt Lozier Network Administrator 972.644.2581, ext. 248 972.661.2701 fax The information contained in this message or any attached document is confidential and intended only for the individual(s) or entity to which it is addressed. The information should be considered privileged and confidential. If you are not the intended recipient, you are hereby notified that any unauthorized use of the information contained in or transmitted with the communication, or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please inform the sender by immediately returning this communication to the sender and then deleting the original message and any copy of it in your possession. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3595 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 mike.hawley at nspire.co.nz Mon Oct 29 21:38:11 2007 From: mike.hawley at nspire.co.nz (Mike Hawley) Date: Tue, 30 Oct 2007 09:38:11 +1300 Subject: Subject Line Message-ID: <00d001c81a6b$9fe8b4f0$0402010a@nspire.co.nz> Hi guys and girls, can anyone let me know how I add a subject, and display the sent to (to:) line to the emails that leave the Nagios server. I am running Nagios 3.0b5 on a OpenSuSe server, with Sendmail 8.13. Thanks in advance. Mike No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: 10/28/2007 1:58 PM ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 29 21:45:20 2007 From: llow at telesphere.com (Larry Low) Date: Mon, 29 Oct 2007 13:45:20 -0700 Subject: Subject Line In-Reply-To: <00d001c81a6b$9fe8b4f0$0402010a@nspire.co.nz> References: <00d001c81a6b$9fe8b4f0$0402010a@nspire.co.nz> Message-ID: <011b01c81a6c$9eb373d0$dc1a5b70$@com> Look at your notify commands. (default notify-host-by-email and notify-service-by-email) ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mike Hawley > Sent: Monday, October 29, 2007 1:38 PM > To: 'Nagios Users' > Subject: [Nagios-users] Subject Line > > Hi guys and girls, can anyone let me know how I add a subject, and > display > the sent to (to:) line to the emails that leave the Nagios server. > > I am running Nagios 3.0b5 on a OpenSuSe server, with Sendmail 8.13. > > Thanks in advance. > > Mike > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date: > 10/28/2007 > 1:58 PM > > > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 benny at bennyvision.com Mon Oct 29 21:56:10 2007 From: benny at bennyvision.com (C. Bensend) Date: Mon, 29 Oct 2007 15:56:10 -0500 (CDT) Subject: Global users and time zones Message-ID: <2953.134.244.169.17.1193691370.squirrel@webmail.stinkweasel.net> Hey folks, I'm in the process of designing a system to integrate our existing systems database and Nagios. It will query our database, stuff the results into an interim database, that I will use to build a Nagios config. However, I'd appreciate any suggestions on how to handle users with different time zones. We have a number of admins that will be accessing this from many areas, including the US zones and India. I realize this is borderline relevant, but I'm sure some of you have had to deal with this in the past. How do you do it? I'm trying to avoid having times displayed in a single time zone and having the local admins do time calculations and offsets just to get their systems monitored. I REALLY don't want to have a Nagios server in each time zone if I can in any way avoid it. I'd also be open to any third-party front ends that may handle this more gracefully than I might. :) As of right now, I'm using PHP and PostgreSQL, and will be building the config files with perl. Thanks for any thoughts, Benny -- "It sounds like you're killing a seagull with a bagpipe!" -- Khan, on King Of The Hill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 22:09:16 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 29 Oct 2007 22:09:16 +0100 Subject: Global users and time zones In-Reply-To: <2953.134.244.169.17.1193691370.squirrel@webmail.stinkweasel.net> References: <2953.134.244.169.17.1193691370.squirrel@webmail.stinkweasel.net> Message-ID: <47264BFC.2040009@op5.se> C. Bensend wrote: > Hey folks, > > I'm in the process of designing a system to integrate our > existing systems database and Nagios. It will query our database, > stuff the results into an interim database, that I will use to > build a Nagios config. > > However, I'd appreciate any suggestions on how to handle users > with different time zones. We have a number of admins that will be > accessing this from many areas, including the US zones and India. > > I realize this is borderline relevant, but I'm sure some of you > have had to deal with this in the past. How do you do it? I'm > trying to avoid having times displayed in a single time zone and > having the local admins do time calculations and offsets just to > get their systems monitored. I REALLY don't want to have a Nagios > server in each time zone if I can in any way avoid it. > > I'd also be open to any third-party front ends that may handle > this more gracefully than I might. :) As of right now, I'm using > PHP and PostgreSQL, and will be building the config files with > perl. > What's the main issue? Timeperiods with india-workhours and so on should work nicely for both *check_period and *notification_period, shouldn't it? Since you'd probably want templates to up timeouts and stuff when checking the really remote things anyway, I'm thinking it won't be much of a chore. -- 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 benny at bennyvision.com Mon Oct 29 22:18:43 2007 From: benny at bennyvision.com (C. Bensend) Date: Mon, 29 Oct 2007 16:18:43 -0500 (CDT) Subject: Global users and time zones In-Reply-To: <47264BFC.2040009@op5.se> References: <2953.134.244.169.17.1193691370.squirrel@webmail.stinkweasel.net> <47264BFC.2040009@op5.se> Message-ID: <3165.134.244.169.17.1193692723.squirrel@webmail.stinkweasel.net> > C. Bensend wrote: >> Hey folks, >> >> I'm in the process of designing a system to integrate our >> existing systems database and Nagios. It will query our database, >> stuff the results into an interim database, that I will use to >> build a Nagios config. >> >> However, I'd appreciate any suggestions on how to handle users >> with different time zones. We have a number of admins that will be >> accessing this from many areas, including the US zones and India. >> >> I realize this is borderline relevant, but I'm sure some of you >> have had to deal with this in the past. How do you do it? I'm >> trying to avoid having times displayed in a single time zone and >> having the local admins do time calculations and offsets just to >> get their systems monitored. I REALLY don't want to have a Nagios >> server in each time zone if I can in any way avoid it. >> >> I'd also be open to any third-party front ends that may handle >> this more gracefully than I might. :) As of right now, I'm using >> PHP and PostgreSQL, and will be building the config files with >> perl. >> > > What's the main issue? Timeperiods with india-workhours and so on > should work nicely for both *check_period and *notification_period, > shouldn't it? Since you'd probably want templates to up timeouts > and stuff when checking the really remote things anyway, I'm thinking > it won't be much of a chore. Functionally, I don't have any real huge issues. I can get it done. What I'm unsure of, is how much the presentation of the data will confuse the remote guys. Everyone will *presume* the numbers and times they're seeing are in their local time, and that might present some confusion. This can be handled somewhat with education and clearly-written help, but it will still be an issue. And since this is likely a common thing for people that do this type of thing globally, I thought I'd ask to see how others are handling it. Thanks, Benny -- "It sounds like you're killing a seagull with a bagpipe!" -- Khan, on King Of The Hill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 22:57:59 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 29 Oct 2007 22:57:59 +0100 Subject: Global users and time zones In-Reply-To: <3165.134.244.169.17.1193692723.squirrel@webmail.stinkweasel.net> References: <2953.134.244.169.17.1193691370.squirrel@webmail.stinkweasel.net> <47264BFC.2040009@op5.se> <3165.134.244.169.17.1193692723.squirrel@webmail.stinkweasel.net> Message-ID: <47265767.5030906@op5.se> C. Bensend wrote: >> C. Bensend wrote: >>> Hey folks, >>> >>> I'm in the process of designing a system to integrate our >>> existing systems database and Nagios. It will query our database, >>> stuff the results into an interim database, that I will use to >>> build a Nagios config. >>> >>> However, I'd appreciate any suggestions on how to handle users >>> with different time zones. We have a number of admins that will be >>> accessing this from many areas, including the US zones and India. >>> >>> I realize this is borderline relevant, but I'm sure some of you >>> have had to deal with this in the past. How do you do it? I'm >>> trying to avoid having times displayed in a single time zone and >>> having the local admins do time calculations and offsets just to >>> get their systems monitored. I REALLY don't want to have a Nagios >>> server in each time zone if I can in any way avoid it. >>> >>> I'd also be open to any third-party front ends that may handle >>> this more gracefully than I might. :) As of right now, I'm using >>> PHP and PostgreSQL, and will be building the config files with >>> perl. >>> >> What's the main issue? Timeperiods with india-workhours and so on >> should work nicely for both *check_period and *notification_period, >> shouldn't it? Since you'd probably want templates to up timeouts >> and stuff when checking the really remote things anyway, I'm thinking >> it won't be much of a chore. > > Functionally, I don't have any real huge issues. I can get it > done. > > What I'm unsure of, is how much the presentation of the data > will confuse the remote guys. Everyone will *presume* the > numbers and times they're seeing are in their local time, and > that might present some confusion. This can be handled somewhat > with education and clearly-written help, but it will still be > an issue. > > And since this is likely a common thing for people that do this > type of thing globally, I thought I'd ask to see how others are > handling it. > Ah. If it weren't for the fact that the C-based cgi's are going away, I'd suggest creating tz-aware wrapper functions around all the time-displaying commands, or perhaps just trying to get the tz from the browser. I'm unfamiliar with such things, but I assume most modern browsers somehow communicate their timezone information to the server when connecting. That's still an option, ofcourse, but you might be better off waiting for the next gui to come along. ymmv. -- 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 livio.zanol.puppim at gmail.com Tue Oct 30 01:12:17 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Mon, 29 Oct 2007 21:12:17 -0300 Subject: Monitor : MS SQL 2000 & Event Log In-Reply-To: References: <276321.93108.qm@web45202.mail.sp1.yahoo.com> Message-ID: You can use the "eventlog handler" for windows. It comes with Windows 2003 Server and can enable the server to send the events via syslog... You can also configure the server to send snmptraps on specified event messages... Have a look at evntcmd.exe, evntwin.exe and eventtriggers.exe []'s Livio Zanol Puppim 2007/10/25, Anthony Montibello : > > check Nagios Exchange. > > NC_Net can do these things, as well as some other NRPE scripts. and other > plugins > SQL may be checked via performance counters and posibly WMI. availlibility > of SQL server may be checked via some other ecripts check the archives of > this user-lists. > > Several plugins give connection to Perfromance counters and only a few > give access to WMI > NC_Net and a several other things on Nagios Exchange give access to Event > Logs.. > > Tony (Author of NC_Net) > > On 10/25/07, vt dude2007 wrote: > > > ALL -- > > > > Thanks for the help ! > > > > Up and running now on close to 10 servers : however, it's only the basic > > data. > > > > What tools are available in conjunction with Nagios to monitor Windows > > Event Logs and Sql Server 2000 as well ? I've googled galore and can't find > > any plugins (unless my google galore search is off). > > > > Any pointers would be appreciated, > > > > V. > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) 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 -------------- 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 alexus at gmail.com Tue Oct 30 04:06:59 2007 From: alexus at gmail.com (alexus) Date: Mon, 29 Oct 2007 23:06:59 -0400 Subject: nrpe timesout! Message-ID: <6ae50c2d0710292006l3fe843f3s3b1551192ea9a8d5@mail.gmail.com> does it make sense for anyone? d# ~nagios/libexec/check_nrpe -H 10.10.10.34 NRPE v2.6 d# ~nagios/libexec/check_nrpe -H 10.10.10.34 -c check_http -a 10.10.10.34 CHECK_NRPE: Socket timeout after 10 seconds. d# -- 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 rtanner at linfield.edu Tue Oct 30 04:23:24 2007 From: rtanner at linfield.edu (Rob Tanner) Date: Mon, 29 Oct 2007 20:23:24 -0700 Subject: How do I get more detail in email notifications?? Message-ID: <4726A3AC.8060501@linfield.edu> Hi, Below is an example of an email notification. There's really very little detail. It would be nice to get the CPU load. Or when it's a disk check, or mailq, etc. Is there a how-to or FAQ around that covers that information. I've looked through the documentation and haven't found anything so far. Any pointers? Thanks, Rob ***** Nagios ***** Notification Type: PROBLEM Service: CPU LOAD Host: Brandywine Address: 10.171.255.20 State: CRITICAL Date/Time: $ Additional Info: $ -------------- 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 rtanner at linfield.edu Tue Oct 30 18:04:02 2007 From: rtanner at linfield.edu (Rob Tanner) Date: Tue, 30 Oct 2007 10:04:02 -0700 Subject: How do I get more detail in email notifications?? In-Reply-To: References: Message-ID: <47276402.3070709@linfield.edu> Marc, You're only half right. It's the Fedora distro on a new server and so the Fedora folks are really the guilty party. And yes, it was $DATETIME$ and $OUTPUT$ macros. But now I'm getting what I want. So thanks, you put your finger right on the problem. -- Rob Marc Powell said the following on 10/30/2007 05:34 AM: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Rob Tanner >> Sent: Monday, October 29, 2007 10:23 PM >> To: Nagios Users Mailinglist >> Subject: [Nagios-users] How do I get more detail in email >> > notifications?? > >> Hi, >> >> Below is an example of an email notification. There's really very >> > little > >> detail. It would be nice to get the CPU load. Or when it's a disk >> > check, > >> or mailq, etc. Is there a how-to or FAQ around that covers that >> information. I've looked through the documentation and haven't found >> anything so far. Any pointers? >> > > > >> Date/Time: $ >> >> Additional Info: >> >> $ >> > > This tells me that you've upgraded from 1.x to 2.x without reading the > What's New documentation. You're using macros in your notification > command that no longer exist. Take a look at your notification commands > and the "Using Macros in Commands" documentation. I'll bet you're using > the now non-existent $DATETIME$ and $OUTPUT$ macros. There are > replacements but you need to determine which you want. > > -- > 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 v-alloo at ti.com Tue Oct 30 18:10:18 2007 From: v-alloo at ti.com (Alloo, Vincent) Date: Tue, 30 Oct 2007 18:10:18 +0100 Subject: NSCA, mcrypt and Solaris 10 x86 Message-ID: Hello, I have an issue with NSCA on Solaris 10 x86 machine (SunOS svxnagios02 5.10 Generic_120012-14 i86pc i386 i86pc): On a Linux RH4 machine, no issue: % printf "toto\t0\tcomment\n" | /apps/nagios/libexec/send_nsca -H monitoring -c /db/sysadmin/nagios/send_nsca.cfg 1 data packet(s) sent to host successfully. On a Solaris 10 x86 machine: --SSH-- > printf "toto\t0\tcomment\n" | /apps/nagios/libexec/send_nsca -H monitoring -c /db/sysadmin/nagios/send_nsca.cfg Error: Failed to initialize encryption libraries for method 14 Segmentation fault If I select decryption_method=0 or 1, it works fine. The error message I have is: Oct 30 17:54:36 svxnagios02 send_nsca[22865]: [ID 334271 user.error] Could not open mcrypt algorithm 'rijndael-128' with mode 'cfb' I have: NSCA Client 2.7.2 Copyright (c) 2000-2007 Ethan Galstad (www.nagios.org) Last Modified: 07-03-2007 License: GPL v2 Encryption Routines: AVAILABLE NSCA - Nagios Service Check Acceptor Copyright (c) 2000-2007 Ethan Galstad (www.nagios.org) Version: 2.7.2 Last Modified: 07-03-2007 License: GPL v2 Encryption Routines: AVAILABLE TCP Wrappers Available % /apps/free/libmcrypt/2.5.8/bin/libmcrypt-config --version 2.5.8 Can you help?? Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -------------- 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 szhang at 8x8.com Tue Oct 30 18:13:04 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Tue, 30 Oct 2007 10:13:04 -0700 Subject: Error: Could not read object configuration data! 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 ton.voon at altinity.com Tue Oct 30 18:22:19 2007 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 30 Oct 2007 17:22:19 +0000 Subject: Global users and time zones In-Reply-To: <2953.134.244.169.17.1193691370.squirrel@webmail.stinkweasel.net> References: <2953.134.244.169.17.1193691370.squirrel@webmail.stinkweasel.net> Message-ID: <70288BC8-E29C-416D-BDA3-D10CF65E667C@altinity.com> Hi Benny, On 29 Oct 2007, at 20:56, C. Bensend wrote: > I realize this is borderline relevant, but I'm sure some of you > have had to deal with this in the past. How do you do it? I'm > trying to avoid having times displayed in a single time zone and > having the local admins do time calculations and offsets just to > get their systems monitored. I REALLY don't want to have a Nagios > server in each time zone if I can in any way avoid it. I think this is as simple as setting TZ=new_timezone before executing the CGIs. This seems to be the case running on command line. What you may want to do is setup different Apache virtual hosts, say http://india.nagios.example.com//cgi-bin/status.cgi, http:/// uk.nagios.example.com/cgi-bin/status.cgi, etc and within each of those virtual hosts in Apache, set the TZ variable. Then, from the website, it is obvious which timezone data you are looking at. > I'd also be open to any third-party front ends that may handle > this more gracefully than I might. :) As of right now, I'm using > PHP and PostgreSQL, and will be building the config files with > perl. With Opsview (http://opsview.org), we'd like to incorporate timezone support so that a user can choose their timezone and get data displayed accordingly (http://trac.opsview.org/wiki/RoadMap). Let us know if your interested in sponsoring this development. 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 gurdeep_chd2000 at yahoo.com Tue Oct 30 07:15:03 2007 From: gurdeep_chd2000 at yahoo.com (gurdeep johal) Date: Mon, 29 Oct 2007 23:15:03 -0700 (PDT) Subject: Default password for Nagios Message-ID: <232451.19758.qm@web53005.mail.re2.yahoo.com> Hi I have Installed the nagios nagios-2.8-1.el5.rf.i386.rpm. when I want to run this application through my web browser. it ask me for user name and password. I don't know the user name and password. plz help Gurdeep Singh __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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 fan.jacques at gmail.com Tue Oct 30 08:23:28 2007 From: fan.jacques at gmail.com (Jacques FAN) Date: Tue, 30 Oct 2007 08:23:28 +0100 Subject: Check disk Message-ID: <72f6f4340710300023m436030b1ra4bc2379c42cd0cf@mail.gmail.com> Hi All, I always monitore the HDD of computer which are running with Windows, now I want to monitore the HDD of some server which are running on linux plate form. So I'm looking for how to write the commande, I know that I've to use "check_disk" Some body can tell me how Thanks -- 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 dennis at huenseler.net Tue Oct 30 09:09:56 2007 From: dennis at huenseler.net (Dennis =?iso-8859-1?Q?H=FCnseler?=) Date: Tue, 30 Oct 2007 09:09:56 +0100 (CET) Subject: Check disk In-Reply-To: <72f6f4340710300023m436030b1ra4bc2379c42cd0cf@mail.gmail.com> References: <72f6f4340710300023m436030b1ra4bc2379c42cd0cf@mail.gmail.com> Message-ID: <39135.87.78.157.242.1193731796.squirrel@81.169.132.64> Hi, in nagios 3.0 for example use a service-definition like check_command check_local_disk!20!10!/var where 20 stands for the warning level of 20 % free 10 stands for the critical level of 10 % free /var gives the script the system-path to check this will make a check like: check_disk -w 20 -c 10 -p /var DISK OK - free space: /var 10538 MB (56% inode=99%);| /var=8147MB;19665;19675;0;19685 kind regards, Dennis > Hi All, > > I always monitore the HDD of computer which are running with Windows, now > I > want to monitore the HDD of some server which are running on linux plate > form. So I'm looking for how to write the commande, I know that I've to > use > "check_disk" > Some body can tell me how > > Thanks > > -- > JFK > "In God we trust, the rest we monitore" > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 szhang at 8x8.com Tue Oct 30 18:36:48 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Tue, 30 Oct 2007 10:36:48 -0700 Subject: Error: Could not read object configuration data! 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 hpsekhon at googlemail.com Tue Oct 30 11:06:58 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 30 Oct 2007 10:06:58 +0000 Subject: nrpe timesout! In-Reply-To: <6ae50c2d0710292006l3fe843f3s3b1551192ea9a8d5@mail.gmail.com> References: <6ae50c2d0710292006l3fe843f3s3b1551192ea9a8d5@mail.gmail.com> Message-ID: <47270242.5090705@googlemail.com> alexus wrote: > does it make sense for anyone? > > d# ~nagios/libexec/check_nrpe -H 10.10.10.34 > NRPE v2.6 > d# ~nagios/libexec/check_nrpe -H 10.10.10.34 -c check_http -a 10.10.10.34 > CHECK_NRPE: Socket timeout after 10 seconds. > d# > > > This does not make sense to me. Why are you using nrpe against a machine and then testing the web server on the same local machine? If you have a good reason and insist on doing this, then try logging in the the machine 10.10.10.34 and running the check_http -a 10.10.10.34 command manually to see if the plugin is returning properly. Nrpe could timeout waiting for the plugin. Alternatively you can also try to increase the check_nrpe timeout to 30 secs with -t 30. -h Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 30 11:08:40 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 30 Oct 2007 10:08:40 +0000 Subject: How do I get more detail in email notifications?? In-Reply-To: <4726A3AC.8060501@linfield.edu> References: <4726A3AC.8060501@linfield.edu> Message-ID: <472702A8.5040408@googlemail.com> The additional info section is where the message details are given. Look at your misccommands.cfg or equivalent, specifically look for your notify-by-email command (or equivalent if you have called it something else in your contact info). -h Hari Sekhon Rob Tanner wrote: > Hi, > > Below is an example of an email notification. There's really very > little detail. It would be nice to get the CPU load. Or when it's a > disk check, or mailq, etc. Is there a how-to or FAQ around that > covers that information. I've looked through the documentation and > haven't found anything so far. Any pointers? > > Thanks, > Rob > > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: CPU LOAD > Host: Brandywine > Address: 10.171.255.20 > State: CRITICAL > > Date/Time: $ > > Additional Info: > > $ > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 hpsekhon at googlemail.com Tue Oct 30 11:10:36 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 30 Oct 2007 10:10:36 +0000 Subject: Default password for Nagios In-Reply-To: <232451.19758.qm@web53005.mail.re2.yahoo.com> References: <232451.19758.qm@web53005.mail.re2.yahoo.com> Message-ID: <4727031C.6040602@googlemail.com> go read these 2 pages again: http://nagios.sourceforge.net/docs/2_0/configcgi.html http://nagios.sourceforge.net/docs/2_0/cgiauth.html you need to set up your htpasswd files or equivalent (In fact I recommend not using .ht... files but instead put it in your central webserver configuration). -h Hari Sekhon gurdeep johal wrote: > Hi > I have Installed the nagios *nagios-2.8-1.el5.rf.i386.rpm.* when I > want to run this application through my web browser. it ask me for > user name and password. I don't know the user name and password. *plz > help* > > > Gurdeep Singh > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 gillnaldo at yahoo.com Tue Oct 30 13:00:36 2007 From: gillnaldo at yahoo.com (sunchai (gillnaldo : sun)) Date: Tue, 30 Oct 2007 05:00:36 -0700 (PDT) Subject: Nagios service latency Message-ID: <545775.11756.qm@web32201.mail.mud.yahoo.com> Hi all, I faced problem with nagios service latency. My requirement is active service monitoring to router/ network device using "SNMP" and "Ping" command. My environment is big router with ~100 services per device. How can I optimized nagios config? Thank in advance. Note: I have information below ########## nagios -s ################ HOST SCHEDULING INFORMATION --------------------------- Total hosts: 173 Total scheduled hosts: 173 Host inter-check delay method: NONE Host inter-check delay: 0.00 sec Max host check spread: 2 min First scheduled check: Tue Oct 30 18:55:33 2007 Last scheduled check: Tue Oct 30 18:55:33 2007 SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 1071 Total scheduled services: 1071 Service inter-check delay method: NONE Inter-check delay: 0.00 sec Interleave factor method: SMART Average services per host: 6.19 Service interleave factor: 7 Max service check spread: 3 min First scheduled check: Tue Oct 30 18:55:33 2007 Last scheduled check: Tue Oct 30 18:55:33 2007 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: 2000 ####### nagiostats ############ Total Services: 1071 Services Checked: 1071 Services Scheduled: 1071 Active Service Checks: 1071 Passive Service Checks: 0 Total Service State Change: 0.000 / 28.360 / 0.321 % Active Service Latency: 0.131 / 162.251 / 63.118 sec Active Service Execution Time: 0.034 / 12.306 / 2.001 sec Active Service State Change: 0.000 / 28.360 / 0.321 % Active Services Last 1/5/15/60 min: 93 / 1071 / 1071 / 1071 Passive Service State Change: 0.000 / 0.000 / 0.000 % Passive Services Last 1/5/15/60 min: 0 / 0 / 0 / 0 Services Ok/Warn/Unk/Crit: 1011 / 0 / 2 / 58 Services Flapping: 2 Services In Downtime: 0 Total Hosts: 173 Hosts Checked: 173 Hosts Scheduled: 173 Active Host Checks: 173 Passive Host Checks: 0 Total Host State Change: 0.000 / 12.370 / 1.127 % Active Host Latency: 0.000 / 441.785 / 258.783 sec Active Host Execution Time: 2.519 / 2.632 / 2.534 sec Active Host State Change: 0.000 / 12.370 / 1.127 % Active Hosts Last 1/5/15/60 min: 17 / 67 / 173 / 173 Passive Host State Change: 0.000 / 0.000 / 0.000 % Passive Hosts Last 1/5/15/60 min: 0 / 0 / 0 / 0 Hosts Up/Down/Unreach: 172 / 1 / 0 Hosts Flapping: 0 Hosts In Downtime: 0 ####### My hardware ######## CPU: Xeon 2.8 x 2 RAM: 4 GB Disk: SCSI 36 GB 10000 RPM BR, Gillnaldo SC - __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- 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 30 13:29:44 2007 From: marc at ena.com (Marc Powell) Date: Tue, 30 Oct 2007 07:29:44 -0500 Subject: Nagios service latency In-Reply-To: <545775.11756.qm@web32201.mail.mud.yahoo.com> References: <545775.11756.qm@web32201.mail.mud.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 sunchai (gillnaldo : sun) > Sent: Tuesday, October 30, 2007 7:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios service latency > > Hi all, > > I faced problem with nagios service latency. My requirement is active > service monitoring to router/ network device using "SNMP" and "Ping" > command. My environment is big router with ~100 services per device. > > How can I optimized nagios config? Thank in advance. > > Note: I have information below > ########## nagios -s ################ > HOST SCHEDULING INFORMATION > --------------------------- > Total hosts: 173 > Total scheduled hosts: 173 If this is nagios-2.x or prior, do not force scheduled host checks. You don't need to because Nagios will perform them on an as needed basis by default when a service on the host returns a non-ok state. When those versions of nagios perform host checks, they're done sequentially, not in parallel, and _nothing_ else happens, not even service checks. This introduces significant delays, especially when you're trying to complete many service checks in a short interval. -- 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 Tue Oct 30 13:34:52 2007 From: marc at ena.com (Marc Powell) Date: Tue, 30 Oct 2007 07:34:52 -0500 Subject: How do I get more detail in email notifications?? In-Reply-To: <4726A3AC.8060501@linfield.edu> References: <4726A3AC.8060501@linfield.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rob Tanner > Sent: Monday, October 29, 2007 10:23 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] How do I get more detail in email notifications?? > > Hi, > > Below is an example of an email notification. There's really very little > detail. It would be nice to get the CPU load. Or when it's a disk check, > or mailq, etc. Is there a how-to or FAQ around that covers that > information. I've looked through the documentation and haven't found > anything so far. Any pointers? > Date/Time: $ > > Additional Info: > > $ This tells me that you've upgraded from 1.x to 2.x without reading the What's New documentation. You're using macros in your notification command that no longer exist. Take a look at your notification commands and the "Using Macros in Commands" documentation. I'll bet you're using the now non-existent $DATETIME$ and $OUTPUT$ macros. There are replacements but you need to determine which you want. -- 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 bcook at poughkeepsieschools.org Tue Oct 30 15:56:13 2007 From: bcook at poughkeepsieschools.org (B. Cook) Date: Tue, 30 Oct 2007 10:56:13 -0400 Subject: Can nagios check proxy and do auth? Message-ID: <4727460D.8040106@poughkeepsieschools.org> I'm just getting started with setting up Nagios for my environment.. I have the simple ping, and services thing going, to a degree that is acceptable. I'm now starting to think about doing more with it. I run a proxy here at the school, and what I would like to do have nagios check the proxy, perform auth, and see if it can get to a blocked site. If I can get to the blocked site.. that is a problem. Would I possibly be able to do something like that w/ nagios? Thanks in advance. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 30 16:09:40 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 30 Oct 2007 16:09:40 +0100 Subject: Can nagios check proxy and do auth? In-Reply-To: <4727460D.8040106@poughkeepsieschools.org> References: <4727460D.8040106@poughkeepsieschools.org> Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A761A@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of B. Cook > Sent: 30 October 2007 15:56 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can nagios check proxy and do auth? > > I'm just getting started with setting up Nagios for my environment.. > > I have the simple ping, and services thing going, to a degree that is > acceptable. I'm now starting to think about doing more with it. > > I run a proxy here at the school, and what I would like to do have > nagios check the proxy, perform auth, and see if it can get to a blocked > site. > > If I can get to the blocked site.. that is a problem. > > Would I possibly be able to do something like that w/ nagios? > > Thanks in advance. > check_http -H $HOSTADDRESS$ -p 3128 -u http://news.bbc.co.uk Works for me to check whether the proxy is working (might need some other stuff for exactly what you want). $HOSTADDRESS$ is the proxy address by the way. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 16:07:53 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Tue, 30 Oct 2007 11:07:53 -0400 Subject: Missing nagios.cmd Message-ID: Hey list, I recently threw a 2.10 installation together into our production environment, as the 3.x series in testing was just not as reliable enough for our needs. I'm having a problem with the external commands piece through the web interface however. I seem to be missing the /rw/nagios.cmd file. I have read through the external commands documentation, and have the cgi.cfg and nagios.cfg setup to do it properly, but if I check the logs I see that it can't find the file, or that another process may be running. I can verify that nagios is not running with ps -ef | grep nagios. I am leaning towards a permissions issue somewhere. Does anyone have any suggestions for me? Thanks. Nagios 2.10 with latest plugins (can't remember version 1.4.8 maybe?) on Ubuntu 7.10 Gutsy Gibbon. Next challenge will be NDOUtils.... Thanks, Stephen -------------- 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 gcoochey at sapphire.gi Tue Oct 30 16:14:38 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 30 Oct 2007 16:14:38 +0100 Subject: Missing nagios.cmd In-Reply-To: References: Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A761E@hermes.sapphire-int.gi> > Hey list, > > I recently threw a 2.10 installation together into our production > environment, as the 3.x series in testing was just not as reliable > enough for our needs. I'm having a problem with the external commands > piece through the web interface however. I seem to be missing the > /rw/nagios.cmd file. I have read through the external commands > documentation, and have the cgi.cfg and nagios.cfg setup to do it > properly, but if I check the logs I see that it can't find the file, or > that another process may be running. I can verify that nagios is not > running with ps -ef | grep nagios. I am leaning towards a permissions > issue somewhere. Does anyone have any suggestions for me? Thanks. > Nagios 2.10 with latest plugins (can't remember version 1.4.8 maybe?) on > Ubuntu 7.10 Gutsy Gibbon. > So what exactly is the permissions of the folder that nagios.cmd resides in? The rw folder that is... You do need special permissions there, something like: drwxrwsr-x 2 nagios nagcmd 4096 Oct 30 12:29 rw nagios is the nagios process, while nagcmd is a group with nagios and your apache user in. > Next challenge will be NDOUtils.... > Good luck, that looks on the horizon eventually for us as well. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Oct 30 19:47:41 2007 From: benny at bennyvision.com (C. Bensend) Date: Tue, 30 Oct 2007 13:47:41 -0500 (CDT) Subject: Global users and time zones In-Reply-To: <70288BC8-E29C-416D-BDA3-D10CF65E667C@altinity.com> References: <2953.134.244.169.17.1193691370.squirrel@webmail.stinkweasel.net> <70288BC8-E29C-416D-BDA3-D10CF65E667C@altinity.com> Message-ID: <2432.134.244.169.17.1193770061.squirrel@webmail.stinkweasel.net> Hi Ton, > I think this is as simple as setting TZ=new_timezone before executing > the CGIs. This seems to be the case running on command line. > > What you may want to do is setup different Apache virtual hosts, say > http://india.nagios.example.com//cgi-bin/status.cgi, http:/// > uk.nagios.example.com/cgi-bin/status.cgi, etc and within each of > those virtual hosts in Apache, set the TZ variable. Then, from the > website, it is obvious which timezone data you are looking at. Hmmmm. Yes, another poster mentioned the TZ variable, but I didn't ponder setting this within a virtual host. That might be something to think about. > With Opsview (http://opsview.org), we'd like to incorporate timezone > support so that a user can choose their timezone and get data > displayed accordingly (http://trac.opsview.org/wiki/RoadMap). Let us > know if your interested in sponsoring this development. :) I wish I could, let me assure you. Thanks for all your help, Benny -- "It sounds like you're killing a seagull with a bagpipe!" -- Khan, on King Of The Hill ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Chapin at t8design.com Tue Oct 30 23:16:59 2007 From: Jeff.Chapin at t8design.com (Jeff Chapin) Date: Tue, 30 Oct 2007 17:16:59 -0500 Subject: Notification by sms In-Reply-To: <6b8cee7e0710140436x2c3a9387i56f45741bbdb29b9@mail.gmail.com> References: <72f6f4340710130459y43cfb0dft8b0b9f6cd85a4397@mail.gmail.com> <6b8cee7e0710140436x2c3a9387i56f45741bbdb29b9@mail.gmail.com> Message-ID: <9A53DDE1FE082F4D952FDF20AC87E21F388AEC@exchange2.t8design.com> Here at work, I use notify-by-epager, and then @email.uscc.net to SMS our cingular phones. Many people overlook the fact that many cell providers have a similar setup. Jeff JEFF CHAPIN SYSTEM ADMINISTRATOR T8DESIGN.COM | P 319.266.7574 - x267 | 877.T8IDEAS | F 888.290.4675 This e-mail, including attachments, is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential, and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, and then please delete it. Thank you. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Peter Edmonds Sent: Sunday, October 14, 2007 6:37 AM To: Jacques FAN Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notification by sms On 10/13/07, Jacques FAN wrote: > I setting up the lynx for sending sms alerts, but I'm not able to > synchronise the alarms to be sending, > who can help me with a commands. This is what I use for sending sms alerts in Nagios / Groundwork Open Source notify-by-sms echo -e "<$HOSTNAME$>\n$SERVICEDESC$\n$SERVICESTATE$\n$SERVICEOUTPUT$\n$LONGDATE TIME$" |gnokii --sendsms $CONTACTPAGER$ >> /usr/local/groundwork/nagios/var/gnokii.log 2>&1 Gnokii and a Telular GSM phone plugged into the serial port and you are good to go. Other alternatives might be a Motorola GSM phone via USB.... 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 00:57:02 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Tue, 30 Oct 2007 23:57:02 +0000 (GMT) Subject: check_dhcp on infoblox Message-ID: <62381.81701.qm@web23307.mail.ird.yahoo.com> when i run my nagios server as dhcp client i get ip lease to it. dhcp work fine however when i try to run check_dhcp it fails. here is how i am runing check_dhcp ./check_dhcp -s 160.78.76.54 -t 40 -i eth0 -v DHCP socket: 3 Hardware address: 000e0cb529c0 DHCPDISCOVER to 255.255.255.255 port 67 DHCPDISCOVER XID: 465293895 (0x1BBBD247) DHCDISCOVER ciaddr: 0.0.0.0 DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER giaddr: 0.0.0.0 send_dhcp_packet result: 548 No (more) data received Result=ERROR Total responses seen on the wire: 0 Valid responses for this machine: 0 DHCP problem: No DHCPOFFERs were received. please note when i run check_dhcp my nagios server is using a static ip address and eth0 is the only interface present on my nagios server. my dhcp server is an infoblox network device (Black Box) ----- Original Message ---- From: Hari Sekhon To: trevor obba Cc: Nagios Users mailinglist Sent: Monday, 29 October, 2007 10:39:43 AM Subject: Re: [Nagios-users] check_dhcp on infoblox Please make sure you reply to the mailing list rather than me personally. This way other people can follow the thread and help you as well, or see a solution if they have this problem and are reading an archive of it. What is your primary interface on the box on which you are running this plugin? If it is eth1 for example, the plugin uses eth0 by default and you will get no response on the interface because it is not the active one. In that case you would need to run ./check_dhcp -i eth1 to make it use the right interface. Also, have you tried doing ./check_dhcp -vvv [other options you need] could you please reply with the full output of that? We really need more information otherwise all we can do it guess what the problem is. -h Hari Sekhon trevor obba wrote: > Thanks for your reply. > > Sorry i am using using check_dhcp from nagios plugins > > ./check_dhcp -h > check_dhcp (nagios-plugins 1.4.3) 1.1 > Copyright (c) 2001-2004 Ethan Galstad (nagios at nagios.org) > > my black box (infoblox) lease ip addresses to windows workstation, linux workstation but not check_dhcp nagios plugin. > it does not even log any ip requirest from check_dhcp. > > Can you help? please. > > > ----- Original Message ---- > From: Hari Sekhon > To: trevor obba > Cc: nagiosplug ; nagios-user > Sent: Friday, 26 October, 2007 5:47:06 PM > Subject: Re: [Nagios-users] check_dhcp on infoblox > > trevor obba wrote: > >> Has anyone successfully had any check_dhcp nagios plugin working on infoblox? I could not get it to working on Infoblox >> network appliance, I not even getting any log in infoblox logs >> >> > It should work from your linux server over the standard ethernet for any > dhcp server that responds over the network. If your black box solution > "Infoblox" which I am not familiar with, actually responds to dhcp > requests with dhcp offers then it should work the same as any other dhcp > server test. > >> I am running Nagios 2.5 on Suse enterprise linux 10, I am running check_dhcp >> version 0.1 >> >> Do you have ideas why check_dhcp.pl is not working for infoblox network >> alliances? What am I doing rough? Can you help please? >> >> >> > Version 0..1? That sounds completely wrong. I am using the standard plugin from the nagios plugins distribution which is not a perl plugin but a compiled plugin, and that is version 1.8 from nagios-plugins 1.4.8. > > Check you are using the right plugin and then try again? > > -h > > > ___________________________________________________________ > 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 ___________________________________________________________ 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 patrick.morris at hp.com Wed Oct 31 01:32:56 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 30 Oct 2007 17:32:56 -0700 Subject: check_dhcp on infoblox In-Reply-To: <62381.81701.qm@web23307.mail.ird.yahoo.com> References: <62381.81701.qm@web23307.mail.ird.yahoo.com> Message-ID: <20071031003256.GV6054@pmorris.usa.hp.com> > when i run my nagios server as dhcp client i get ip lease to it. dhcp work fine however when i try to run check_dhcp it fails. Check the archives -- this one comes up a lot. The short answer is that check_dhcp needs root privileges to work correctly. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Wed Oct 31 07:30:40 2007 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 31 Oct 2007 07:30:40 +0100 Subject: Error: Could not read object configuration data! In-Reply-To: References: Message-ID: <200710310730.41343.pitchfork@ederdrom.de> Am Dienstag, 30. Oktober 2007 18:36 schrieb Siwei Zhang: > I found out that there is a file called ?perfdata.log? in > /usr/local/nagios/var/ directory. > > If I remove it then I can start Nagios again. What is wrong? Do you use the PNP Perfdata Grapher ? J?rg ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmohammed at batelco.jo Wed Oct 31 11:04:27 2007 From: mmohammed at batelco.jo (Moayad Mohammad) Date: Wed, 31 Oct 2007 12:04:27 +0200 Subject: Ping Check Problem References: <200710310730.41343.pitchfork@ederdrom.de> Message-ID: <591D8758FF6E69408854F8B2D5887B3FDE2981@BATEXCH.batelcojordan.jo> Today I received new message when I use check_ping library, this message is /bin/ping -n -U -w 30 -c 5 CRITICAL - Could not interpret output from ping command This message just for one IP, and it's working for others Please I need help ASAP Regards, Moayad Mohammad ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 13:15:01 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 31 Oct 2007 13:15:01 +0100 Subject: Passive Check Notifications (stalking) In-Reply-To: <9D30659ABCA7FB428CF91E386C3A57449A767A@hermes.sapphire-int.gi> References: <9D30659ABCA7FB428CF91E386C3A57449A767A@hermes.sapphire-int.gi> Message-ID: <472871C5.6050708@op5.se> Giles Coochey wrote: > Hi, > > Can anyone see why I am not getting a notification here? > Is there a way to generate a notification for this? > > I have setup a passive check, it is returning an "OK" state. > > Within the GUI I see that the passive check result is received. > > Within the Nagios Event Log I do not see any notifications generated. > Yet I have stalking enabled, notifications enabled and so on. > stalking only tells nagios to *log* each check-result, not to notify on each received check-result. Nagios otherwise only logs state-changes. > > This is Nagios 2.9 from source, I see notifications for normal active > services when I get state changes, I only have stalking enabled for this > service template. > > Shouldn't I get a notification for a passive check result? Not unless they change state, no. > If not, can I? > Assuming you want to take the time to write a NEB-module to send one upon receiving a non-state change result (presumably only for stalking hosts), then yes. Otherwise no. -- 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 Sebastian.Ries at dtnet.de Wed Oct 31 11:26:51 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Wed, 31 Oct 2007 11:26:51 +0100 Subject: Ping Check Problem In-Reply-To: <591D8758FF6E69408854F8B2D5887B3FDE2981@BATEXCH.batelcojordan.jo> References: <200710310730.41343.pitchfork@ederdrom.de> <591D8758FF6E69408854F8B2D5887B3FDE2981@BATEXCH.batelcojordan.jo> Message-ID: <1193826411.18978.47.camel@bofh.dtnet.de> Hi > /bin/ping -n -U -w 30 -c 5 > CRITICAL - Could not interpret output from ping command Try to run the command manually for some IP-Adresses and compare (and paste) the output. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pico at cocco.biz Wed Oct 31 13:16:10 2007 From: pico at cocco.biz (PiCo) Date: Wed, 31 Oct 2007 13:16:10 +0100 Subject: Can NAGIOS check HOST via PROXY ? Message-ID: Hi! I'm using nagios from one month. I'm starting to use is for checking some service inside my LAN/WAN with NRPE (Linux host) and NSClient++ (windows host). Now I want to extent the check to some customer host. This customers are connected with my company via LAN2LAN VPN. All this VPN starting from one single HOST. How can I check host on customers site from my nagios host (Nagios in inside my LAN) ?? Is it possible ?? let me know -- ,,, /'^'\ ( o o ) ----------------------------------------oOOO--(_)--OOOo------ Pierfrancesco Cocco EMail: pico at cocco.biz Web: www.cocco.biz ICQ#: 105570291 SkypeID: cocco.biz Tel.: +39 335 1234 475 Fax.: +39 06 233 2401 88 .oooO ( ) Oooo. ------------------------------------------\ (----( )------- \_) ) / (_/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 12:30:30 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Wed, 31 Oct 2007 12:30:30 +0100 Subject: Passive Check Notifications (stalking) Message-ID: <9D30659ABCA7FB428CF91E386C3A57449A767A@hermes.sapphire-int.gi> Hi, Can anyone see why I am not getting a notification here? Is there a way to generate a notification for this? I have setup a passive check, it is returning an "OK" state. Within the GUI I see that the passive check result is received. Within the Nagios Event Log I do not see any notifications generated. Yet I have stalking enabled, notifications enabled and so on. Here is the service template definition: define service{ name generic-snmptrap active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 notification_interval 120 notification_options w,u,c,r notification_period 24x7 contact_groups testing event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 normal_check_interval 1 retry_check_interval 1 check_freshness 0 check_period none max_check_attempts 1 check_command passive_check_missing is_volatile 1 stalking_options o,w,u,c register 0 } Here is the actual service: define service{ use generic-snmptrap host_name * contact_groups testing service_description TRAP-OK } This is Nagios 2.9 from source, I see notifications for normal active services when I get state changes, I only have stalking enabled for this service template. Shouldn't I get a notification for a passive check result? If not, can I? Thanks 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 hpsekhon at googlemail.com Wed Oct 31 13:45:59 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 31 Oct 2007 12:45:59 +0000 Subject: Can NAGIOS check HOST via PROXY ? In-Reply-To: References: Message-ID: <47287907.5050906@googlemail.com> PiCo wrote: > Hi! > > I'm using nagios from one month. > I'm starting to use is for checking some service inside my LAN/WAN with > NRPE (Linux host) and NSClient++ (windows host). > Now I want to extent the check to some customer host. > This customers are connected with my company via LAN2LAN VPN. > All this VPN starting from one single HOST. > > How can I check host on customers site from my nagios host (Nagios in > inside my LAN) ?? > > Is it possible ?? > > let me know > > is the vpn NAT-ed? can you see the customer host directly or can you only see the vpn host and the customer host is hidden behind it? If you can connect to the customer host directly, the proceed as you would for any other host. If the customer host is hidden behind the vpn device and you cannot access it directly, then either you must forward ports or you see if that customer host can see your nagios server and then set up passive host checks to send results back to your nagios server. I can't think of any other way of doing it off the top of my head... -h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 13:51:55 2007 From: marc at ena.com (Marc Powell) Date: Wed, 31 Oct 2007 07:51:55 -0500 Subject: Can NAGIOS check HOST via PROXY ? 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 PiCo > Sent: Wednesday, October 31, 2007 7:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Can NAGIOS check HOST via PROXY ? > > Hi! > > I'm using nagios from one month. > I'm starting to use is for checking some service inside my LAN/WAN with > NRPE (Linux host) and NSClient++ (windows host). > Now I want to extent the check to some customer host. > This customers are connected with my company via LAN2LAN VPN. > All this VPN starting from one single HOST. > > How can I check host on customers site from my nagios host (Nagios in > inside my LAN) ?? You'll need to tell us more about the proxy host and what you're wanting to check on the remote hosts to get a definite answer but, if the proxy is a linux box you could use NRPE to launch checks of the remote boxen from the proxy. A few examples -- Nagios Proxy Remote Server Check_nrpe -> check_ping -> server ip Check_nrpe -> check_http -> web server Check_nrpe -> check_nrpe -> check_disk -- 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 hpsekhon at googlemail.com Wed Oct 31 14:39:38 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 31 Oct 2007 13:39:38 +0000 Subject: Can NAGIOS check HOST via PROXY ? In-Reply-To: References: <47287907.5050906@googlemail.com> Message-ID: <4728859A.9010105@googlemail.com> PiCo wrote: > No I can't reach directly... > Which ports ?? > nagios server in in my LAN... customers can't reach it!! I need some clarification, if you cannot reach your customers and they cannot reach you, then how is it a vpn? What does it connect? Ports? 5666 on the client side if using nrpe. 5667 on your side if using nsca. basic stuff... Really, Marc's idea may be best for you. If your proxy box is linux, then just nrpe to that box and get it to check your hosts. More info needed. -h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederic.schaer at cea.fr Wed Oct 31 14:42:42 2007 From: frederic.schaer at cea.fr (SCHAER Frederic) Date: Wed, 31 Oct 2007 14:42:42 +0100 Subject: no newlines in notification emails ? Message-ID: Hi, Using nagios 3.0b5, I have the following notification command defined : define command{ command_name notify-by-email command_line /usr/bin/printf "check went wrong on host $HOSTALIAS$\nService : $SERVICEDESC$\nCheck Command :$SERVICECHECKCOMMAND$\nOutput summary : $ SERVICEOUTPUT$\nLong output : $LONGSERVICEOUTPUT$\n" | /bin/mail -s '$SERVICESTATE$ alert for $HOSTALIAS$/$SERVICEDESC$' $CONTACTEMAIL$ } When I receive an email, This is what I get : check went wrong on host xxx Service : firewall Check Command :check_nrpe_firewall Output summary : Connection refused by host Long output : Is it me or are the \n stripped ? Are you also facing this with 3.0b5 ? trying the same kind of printf | mail command on the nagios host sends me a mail with newlines, so I doubt it's the host software that's having a problem here... Regards Frederic -------------- 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 mh+nagios-users at zugschlus.de Wed Oct 31 15:00:28 2007 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Wed, 31 Oct 2007 15:00:28 +0100 Subject: Log rotation with Logrotate Message-ID: <20071031140028.GA31499@torres.zugschlus.de> Hi, Packaging Nagios for Debian means doing things in a way that users might expect them to be done to avoid confusion. One of these expected things is that logs are rotated using logrotate, which allows people to specify, for example, how many log generations are to be held. Unfortunately, to do so, we need to disable nagios' built-in log rotation or we get double rotated logs. Is it possible to tell nagios not to rotate the logs? How will nagios react when logrotate moves the log file away? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Oct 31 15:05:55 2007 From: reed at reedmedia.net (Jeremy C. Reed) Date: Wed, 31 Oct 2007 09:05:55 -0500 (CDT) Subject: Log rotation with Logrotate In-Reply-To: <20071031140028.GA31499@torres.zugschlus.de> References: <20071031140028.GA31499@torres.zugschlus.de> Message-ID: On Wed, 31 Oct 2007, Marc Haber wrote: > Is it possible to tell nagios not to rotate the logs? How will nagios > react when logrotate moves the log file away? log_rotation_method=n According to http://nagios.sourceforge.net/docs/2_0/configmain.html#log_rotation_method "n" (none) is the default ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 15:10:36 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 31 Oct 2007 15:10:36 +0100 Subject: Log rotation with Logrotate In-Reply-To: <20071031140028.GA31499@torres.zugschlus.de> References: <20071031140028.GA31499@torres.zugschlus.de> Message-ID: <47288CDC.4090701@op5.se> Marc Haber wrote: > Hi, > > Packaging Nagios for Debian means doing things in a way that users > might expect them to be done to avoid confusion. Nagios users' confusion, or Debian users' confusion? The Nagios users will ofcourse expect Nagios to rotate its own logs, while Debian folks with no clue of Nagios will (most likely) expect logrotate to do it for them. Nagios is a state machine. It reacts on state switches. It can load state from files, but doing so is obviously less optimal than just keeping them in memory. For large to huge networks, loading them from file may not be an option. Apart from that, you'll have to make sure that the nagios.cfg file is kept in sync with the logrotate config somehow, since the cgi's do some clever things that requires them to know when the logs are rotated. AFAIK, logrotate can't make logfiles with the names expected by the CGI's, so unless you have another gui to use with Nagios, I'd really recommend you either patch the cgi's (extensively) or don't fiddle with it. > One of these expected > things is that logs are rotated using logrotate, which allows people > to specify, for example, how many log generations are to be held. > Historical monitoring data can be of great value and should, basically, never be rotated out. > Unfortunately, to do so, we need to disable nagios' built-in log > rotation or we get double rotated logs. > > Is it possible to tell nagios not to rotate the logs? Not that I know of, no. > How will nagios > react when logrotate moves the log file away? > Try and find out? All in all, it's probably not worth bothering with, as you'll break more things than you'll fix. -- 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 jaimie at onebutterfly.com Wed Oct 31 15:52:59 2007 From: jaimie at onebutterfly.com (Jaimie Livingston) Date: Wed, 31 Oct 2007 15:52:59 +0100 (CET) Subject: Nagios & SELinux Message-ID: <20071031145259.8BE50580017@desire.netways.de> Hi list I see that a lot of folks have problems running Nagios with SELinux in Enforcing mode. Try this profile: It should work with Nagios 2.x and NagiosQL. If it works - great. If it doesn't, try building your own by trying the following process. audit2allow -m local -l -i /var/log/audit/audit.log > local.te mv local.te nagios.te checkmodule -M -m -o nagios.mod nagios.te semodule_package -o nagios.pp -m nagios.mod semodule -i nagios.pp Here's the profile I built on a clean install of Nagios 2.9, with NagiosQL on a CentOS 5 system, SELinux in Enforcing mode: module local 1.0; require { class chr_file read; class dir { getattr search }; class fifo_file { getattr read write }; class file { execute read write }; class process { sigkill signal }; type httpd_sys_content_t; type httpd_sys_script_rw_t; type httpd_sys_script_t; type httpd_t; type initrc_var_run_t; type ls_exec_t; type nagios_cgi_t; type nagios_etc_t; type nagios_t; type ping_t; type prelink_t; type public_content_t; type urandom_device_t; type user_home_t; type useradd_t; type usr_t; type var_log_t; role system_r; }; allow httpd_sys_script_t nagios_etc_t:dir search; allow httpd_sys_script_t httpd_sys_content_t:fifo_file getattr; allow httpd_sys_script_t httpd_sys_content_t:fifo_file write; allow httpd_sys_script_t httpd_t:file read; allow httpd_sys_script_t public_content_t:fifo_file getattr; allow httpd_sys_script_t usr_t:fifo_file getattr; allow httpd_t httpd_sys_content_t:fifo_file getattr; allow httpd_t httpd_sys_content_t:fifo_file write; allow httpd_t nagios_cgi_t:process { sigkill signal }; allow httpd_t user_home_t:dir { getattr search }; allow httpd_t usr_t:file execute; allow nagios_cgi_t httpd_sys_content_t:dir search; allow nagios_t httpd_sys_script_rw_t:dir search; allow nagios_t initrc_var_run_t:file write; allow nagios_t urandom_device_t:chr_file read; allow ping_t httpd_sys_content_t:fifo_file read; allow ping_t public_content_t:fifo_file read; allow ping_t usr_t:fifo_file read; allow ping_t usr_t:file { read write }; allow prelink_t httpd_sys_content_t:file read; allow useradd_t var_log_t:file { read write }; If you see a way to make this better, or more secure without breaking Nagios, let me know... - Jaimie Livingston (jaimielives) ----------------------- 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 patrickm at garlic.com Wed Oct 31 17:21:12 2007 From: patrickm at garlic.com (Patrick M.) Date: Wed, 31 Oct 2007 09:21:12 -0700 Subject: How to monitor temp on Cisco 7200's? Message-ID: <4728AB78.80402@garlic.com> Hi all, I was wondering if anyone had any recommendations on what plugins to use to check temperature for a Cisco 7200 router. If possible I'd like to monitor temp on our other devices like our 3560 Catalyst switches as well as our 3550's. I tried looking on NagiosExchange but the plugins I found didn't monitor temp for these devices. Has anyone else had any luck? Thanks in advance. 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 nagios at lamp.xs4all.nl Wed Oct 31 17:47:44 2007 From: nagios at lamp.xs4all.nl (Lennard Bakker) Date: Wed, 31 Oct 2007 17:47:44 +0100 Subject: NRPE output Message-ID: <4728B1B0.2010602@lamp.xs4all.nl> Hello, All tests with check_nrpe are giving a Crititcal "Connection refused or timed out" result if the target host is down. Is it possible to get an Unknown result is check_nrpe is called with the -c para but no connection could be made (the remote check is never performed). If nrped itself is checked (no -c para) is should still give an Critital if no connection could be made. Kind regards, Lennard ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 18:14:39 2007 From: marc at ena.com (Marc Powell) Date: Wed, 31 Oct 2007 12:14:39 -0500 Subject: How to monitor temp on Cisco 7200's? In-Reply-To: <4728AB78.80402@garlic.com> References: <4728AB78.80402@garlic.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Patrick M. > Sent: Wednesday, October 31, 2007 11:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to monitor temp on Cisco 7200's? > > Hi all, > > I was wondering if anyone had any recommendations on what plugins to use > to check temperature for a Cisco 7200 router. If possible I'd like to > monitor temp on our other devices like our 3560 Catalyst switches as > well as our 3550's. Simple check_snmp works great here. Note that the OID changes based on whether it has an NPE-G1 or not. I'm 99% sure that below is inlet temperature. For other devices, just do an snmpwalk or look at the MIB to identify the temperature OID you're interested in. -- define command { command_name check_temperature command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.2 -C $USER3$ -w 37:32 -c 99:38 -l 'Temperature is' } define command { command_name check_temperature_npe-g1 command_line $USER1$/check_snmp -H $HOSTADDRESS$ -u 'Degrees Celsius' -o .1.3.6.1.4.1.9.9.13.1.3.1.3.1 -C $USER3$ -w 37:32 -c 99:38 -l 'Temperature 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 hpsekhon at googlemail.com Wed Oct 31 18:21:44 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 31 Oct 2007 17:21:44 +0000 Subject: NRPE output In-Reply-To: <4728B1B0.2010602@lamp.xs4all.nl> References: <4728B1B0.2010602@lamp.xs4all.nl> Message-ID: <4728B9A8.5050908@googlemail.com> Lennard Bakker wrote: > Hello, > > All tests with check_nrpe are giving a Crititcal "Connection refused or > timed out" result if the target host is down. Is it possible to get an > Unknown result is check_nrpe is called with the -c para but no > connection could be made (the remote check is never performed). > If nrped itself is checked (no -c para) is should still give an Critital > if no connection could be made. > Write a shell wrapper to achieve this. Test the output, change the exit code and possibly the message. easy. -h Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s4nag at no-where.at Wed Oct 31 18:25:11 2007 From: s4nag at no-where.at (Peter Gritsch) Date: Wed, 31 Oct 2007 18:25:11 +0100 Subject: How to monitor temp on Cisco 7200's? In-Reply-To: <4728AB78.80402@garlic.com> References: <4728AB78.80402@garlic.com> Message-ID: <200710311825.11782.s4nag@no-where.at> On Wednesday 31 October 2007, Patrick M. wrote: > Hi all, > > I was wondering if anyone had any recommendations on what plugins > to use to check temperature for a Cisco 7200 router. If possible > I'd like to monitor temp on our other devices like our 3560 > Catalyst switches as well as our 3550's. Hi Patrick, hi all, SNMP4Nagios (http://snmp4nagios.sourceforge.net) contains a plugin which monitors Cisco temperatures. It does work with "my" 7204s. I can't tell if 3560s and 3550s support the appropriate objects. 2950 and 2960 do not 4506 and 4510 do HTH, Peter -- Peter Gritsch mail: s4nag at no-where.at web: http://snmp4nagios.sourceforge.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at onetruemedia.com Wed Oct 31 18:51:56 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Wed, 31 Oct 2007 10:51:56 -0700 Subject: How to monitor temp on Cisco 7200's? In-Reply-To: <4728AB78.80402@garlic.com> References: <4728AB78.80402@garlic.com> Message-ID: <4728C0BC.90100@onetruemedia.com> You should be able to use SNMP to do this if you have the MIB and appropriate OID for environmental monitor on the router. I don't have a 7200 router so can't check on it for you. You can read more here though: http://tinyurl.com/2pqrru Patrick M. wrote, On 10/31/2007 09:21 AM: > Hi all, > > I was wondering if anyone had any recommendations on what plugins to use > to check temperature for a Cisco 7200 router. If possible I'd like to > monitor temp on our other devices like our 3560 Catalyst switches as > well as our 3550's. > > I tried looking on NagiosExchange but the plugins I found didn't monitor > temp for these devices. Has anyone else had any luck? > > Thanks in advance. > > 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 jtabasz at cisco.com Wed Oct 31 19:02:06 2007 From: jtabasz at cisco.com (John Tabasz (jtabasz)) Date: Wed, 31 Oct 2007 11:02:06 -0700 Subject: NRPE error "CHECK_NRPE: Response packet had invalidCRC32" In-Reply-To: <999D9C7316770741A028EF2A88B8E46804043C30@xmb-sjc-22a.amer.cisco.com> References: <4E20E7F01BC85746A7A29FDFBFEC988D05885B84@MAIL-STORE-1.pppl.gov><46B0FB37.2080604@intercable.com.ve> <999D9C7316770741A028EF2A88B8E46804043C30@xmb-sjc-22a.amer.cisco.com> Message-ID: <999D9C7316770741A028EF2A88B8E4680409F0B3@xmb-sjc-22a.amer.cisco.com> Anyone seen this before? I run the command #./check_nrpe -n -H 127.0.0.1 -c check_procs on the remote host to check if nrpe is working and I get the error message in the subject heading. The nrpe is ver 2.8 as is the ver of the rest of the plug-ins. The host is a Solaris 2.8 host. Please advise. Thanks, John ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aragonx at dcsnow.com Wed Oct 31 20:02:28 2007 From: aragonx at dcsnow.com (aragonx at dcsnow.com) Date: Wed, 31 Oct 2007 15:02:28 -0400 (EDT) Subject: Manual only check and file copy Message-ID: <41968.192.35.79.70.1193857348.squirrel@www.dcsnow.com> I would like to have two things that an administrator could do with my Nagios monitoring system. 1) I would like to be able to launch a check manually only. I know I can disable active checks then reschedule a check and disable it again. This looks really ugly. Is there another way to do this that would be more simple? 2) I would like to be able to copy a file to all members of a host group. Thank you ahead of time for your help. Will Y. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 20:08:06 2007 From: llow at telesphere.com (Larry Low) Date: Wed, 31 Oct 2007 12:08:06 -0700 Subject: Manual only check and file copy In-Reply-To: <41968.192.35.79.70.1193857348.squirrel@www.dcsnow.com> References: <41968.192.35.79.70.1193857348.squirrel@www.dcsnow.com> Message-ID: <00be01c81bf1$5e8bd5f0$1ba381d0$@com> 1) Use a time schedule that has nothing but the name and alias defined. I use this myself for a couple services. 2) Copy a file? ---- Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of aragonx at dcsnow.com > Sent: Wednesday, October 31, 2007 12:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Manual only check and file copy > > I would like to have two things that an administrator could do with my > Nagios monitoring system. > > 1) I would like to be able to launch a check manually only. I know I > can > disable active checks then reschedule a check and disable it again. > This > looks really ugly. Is there another way to do this that would be more > simple? > > 2) I would like to be able to copy a file to all members of a host > group. > > Thank you ahead of time for your help. > > Will Y. > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 31 20:20:26 2007 From: marc at ena.com (Marc Powell) Date: Wed, 31 Oct 2007 14:20:26 -0500 Subject: Manual only check and file copy In-Reply-To: <41968.192.35.79.70.1193857348.squirrel@www.dcsnow.com> References: <41968.192.35.79.70.1193857348.squirrel@www.dcsnow.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of aragonx at dcsnow.com > Sent: Wednesday, October 31, 2007 2:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Manual only check and file copy > > I would like to have two things that an administrator could do with my > Nagios monitoring system. > > 1) I would like to be able to launch a check manually only. I know I can > disable active checks then reschedule a check and disable it again. This > looks really ugly. Is there another way to do this that would be more > simple? Leave active checks enabled but set a check_period of none (a standard timeperiod definition). > 2) I would like to be able to copy a file to all members of a host group. Sounds like a job for cfengine or the like _but_, if this were a recurring task, a custom plugin that scp'd the file then reported success or failure using plugin guidelines might do. Set that as the check_command in a service definition assigned to all members of the hostgroup. Kind of like using a fork to eat ice cream though. It'll work, but not as good as a spoon. -- 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 aragonx at dcsnow.com Wed Oct 31 20:26:18 2007 From: aragonx at dcsnow.com (aragonx at dcsnow.com) Date: Wed, 31 Oct 2007 15:26:18 -0400 (EDT) Subject: Manual only check and file copy In-Reply-To: <00be01c81bf1$5e8bd5f0$1ba381d0$@com> References: <41968.192.35.79.70.1193857348.squirrel@www.dcsnow.com> <00be01c81bf1$5e8bd5f0$1ba381d0$@com> Message-ID: <59209.192.35.79.70.1193858778.squirrel@www.dcsnow.com> > 1) Use a time schedule that has nothing but the name and alias defined. I > use this myself for a couple services. > > 2) Copy a file? I know, I know... Security risks abound with this one but management rules... I guess what I really want is to be able to do my first request on a host group. i.e. can you force a check on a group of servers with one click? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 20:31:29 2007 From: patrickm at garlic.com (Patrick M.) Date: Wed, 31 Oct 2007 12:31:29 -0700 Subject: How to monitor temp on Cisco 7200's? In-Reply-To: References: Message-ID: <4728D811.4080409@garlic.com> I tried them, and I Don't get an actual readin, I just get a 'temp OK'. I even tried to specify a celcius value and when I specify 1 as the measurement it still tells me OK. I dont know if this is working or not, but thanks though - are there any others out there? Patrick Valdinger, Stephen (DOV, MSX) wrote: > You could try googling for Patrick Proy's SNMP plugins. I believe he has > the stuff to do just what you are asking. > > -----Original Message----- > From: Patrick M. [mailto:patrickm at garlic.com] > Sent: Wednesday, October 31, 2007 12:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to monitor temp on Cisco 7200's? > > Hi all, > > I was wondering if anyone had any recommendations on what plugins to use > > to check temperature for a Cisco 7200 router. If possible I'd like to > monitor temp on our other devices like our 3560 Catalyst switches as > well as our 3550's. > > I tried looking on NagiosExchange but the plugins I found didn't monitor > > temp for these devices. Has anyone else had any luck? > > Thanks in advance. > > 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 > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christy.new at cancer.org Wed Oct 31 21:00:39 2007 From: christy.new at cancer.org (Christy New) Date: Wed, 31 Oct 2007 20:00:39 +0000 (UTC) Subject: Nagios monitoring windows machines Message-ID: NSC.ini file for monitoring windows machines. Should I just remove all the ( ; ) or the (#) too, and can some one break this part of the process down in laymens terms. If I remove these, am I suppose to reboot these systems, in order for this to take affect. Also what exactly will this one INI file do......I just want to be really careful, because the two window machines I want to set nagios to monitor, are what we run monitoring utilities on for the network on. We are experianceing down time of these devices and I want to monitor why they keep getting shutdown. If I restart these machines, we may loose some documentation's. Not say we will, but if there are any mistakes, we can loose vital information. Please Advise. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aragonx at dcsnow.com Wed Oct 31 21:09:40 2007 From: aragonx at dcsnow.com (aragonx at dcsnow.com) Date: Wed, 31 Oct 2007 16:09:40 -0400 (EDT) Subject: Manual only check and file copy In-Reply-To: References: Message-ID: <49331.192.35.79.70.1193861380.squirrel@www.dcsnow.com> >> 2) I would like to be able to copy a file to all members of a host > group. > > Sounds like a job for cfengine or the like _but_, if this were a > recurring task, a custom plugin that scp'd the file then reported > success or failure using plugin guidelines might do. Set that as the > check_command in a service definition assigned to all members of the > hostgroup. Kind of like using a fork to eat ice cream though. It'll > work, but not as good as a spoon. You are right of course. I think the idea is to be able to use a single web interface to do a few simple tasks. I guess the real question is if I can reschedule checks by group instead of singly by host. If so I can coble together a way to do it. I just didn't see a way to reschedule a check like this. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at onetruemedia.com Wed Oct 31 21:13:04 2007 From: anthony at onetruemedia.com (Anthony Mendoza) Date: Wed, 31 Oct 2007 13:13:04 -0700 Subject: Nagios monitoring windows machines In-Reply-To: References: Message-ID: <4728E1D0.1070208@onetruemedia.com> Just an FYI - but sometimes when I've seen (what appears to be) random reboots on Windows servers it's because Automatic Updates is scheduled to run and install. Make sure that's either set to Download only or disabled as applicable for your environment. Christy New wrote, On 10/31/2007 01:00 PM: > are what we run monitoring utilities on for the network on. We are > experianceing down time of these devices and I want to monitor why they > keep getting shutdown. If I restart these machines, we may loose some ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 21:20:44 2007 From: marc at ena.com (Marc Powell) Date: Wed, 31 Oct 2007 15:20:44 -0500 Subject: Manual only check and file copy In-Reply-To: <49331.192.35.79.70.1193861380.squirrel@www.dcsnow.com> References: <49331.192.35.79.70.1193861380.squirrel@www.dcsnow.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of aragonx at dcsnow.com > Sent: Wednesday, October 31, 2007 3:10 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Manual only check and file copy > > I guess the real question is if I can reschedule checks by group instead > of singly by host. If so I can coble together a way to do it. I just > didn't see a way to reschedule a check like this. Well, these are the command options for hostgroups that the CGI's support directly. There don't appear to be any that are promising other than enable/disable active checks -- Schedule downtime for all hosts in this hostgroup Schedule Downtime For All Services In This Hostgroup Enable Notifications For All Hosts In This Hostgroup Disable Notifications For All Hosts In This Hostgroup Enable Notifications For All Services In This Hostgroup Disable Notifications For All Services In This Hostgroup Enable Active Checks Of All Services In This Hostgroup Disable Active Checks Of All Services In This Hostgroup -- 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 Wed Oct 31 21:48:21 2007 From: szhang at 8x8.com (Siwei Zhang) Date: Wed, 31 Oct 2007 13:48:21 -0700 Subject: statuwrl.cgi not working for IE 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 jcall at verio.net Wed Oct 31 23:35:27 2007 From: jcall at verio.net (Jonathan Call) Date: Wed, 31 Oct 2007 18:35:27 -0400 Subject: How to monitor temp on Cisco 7200's? In-Reply-To: <4728AB78.80402@garlic.com> References: <4728AB78.80402@garlic.com> Message-ID: <04F3233F47E2714CB7431AE913E57E7702511626@IAD-WPRD-XCHB02.corp.verio.net> Hello Patrick The Cisco 3560 and 3550 are very different from the Cisco 7200. You cannot get an actual temperature value from them, just a temperature state. You'll need to use this SNMP Table: ciscoEnvMonTemperatureState .1.3.6.1.4.1.9.9.13.1.3.1.6 Possible states are: 1:normal 2:warning 3:critical 4:shutdown 5:notPresent 6:notFunctioning The 3560 and 3550 only have one thermal sensor so it's 1.3.6.1.4.1.9.9.13.1.3.1.6.1 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Patrick M. > Sent: Wednesday, October 31, 2007 10:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to monitor temp on Cisco 7200's? > > Hi all, > > I was wondering if anyone had any recommendations on what plugins to use > to check temperature for a Cisco 7200 router. If possible I'd like to > monitor temp on our other devices like our 3560 Catalyst switches as > well as our 3550's. > > I tried looking on NagiosExchange but the plugins I found didn't monitor > temp for these devices. Has anyone else had any luck? > > Thanks in advance. > > Patrick > This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank 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